/* =========================================================
   Grupo Soul — Home
   Sumário:
   1. Tokens   2. Base   3. Utilitários   4. Botões
   5. Header   6. Hero   7. Quem somos    8. Soluções
   9. Diferenciais  10. Manifesto  11. Portfolio
   12. Carrossel (base)  13. Clientes  14. Depoimentos
   15. CTA  16. Footer  17. Animações  18. Responsivo
   ========================================================= */

/* 1. TOKENS ------------------------------------------------ */
:root {
  --navy: #01305e;
  --navy-900: #002959;
  --navy-700: #1d4677;
  --texto: #4a5f7e;
  --texto-suave: #6b7f99;

  --rosa: #eecfcc;
  --rosa-linha: #eed0d0;
  --rosa-fundo: #fbf1f0;
  --cinza-azul: #d6dee1;
  --menta: #e1f9e9;
  --menta-tag: #e3f6ec;

  --fundo-cinza: #ececec;
  --fundo-claro: #fbfdfc;
  --fundo-depo: #f1f5f6;
  --branco: #ffffff;
  --divisor: #e3e5e8;

  --font-titulo: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-texto: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-logo: "DM Serif Display", "Didot", Georgia, serif;

  --container: 1260px;
  --gutter: 24px;
  --header-h: 84px;

  --raio-sm: 14px;
  --raio: 24px;
  --raio-lg: 36px;
  --sombra: 0 2px 6px rgba(1, 48, 94, .05), 0 12px 32px rgba(1, 48, 94, .07);
  --sombra-forte: 0 20px 50px rgba(1, 48, 94, .18);
}

/* 2. BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px); /* âncoras não ficam sob o header fixo */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--font-texto);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; }

/* 3. UTILITÁRIOS ------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.section { padding: 96px 0; }
.section--cinza { background: var(--fundo-cinza); }
.section--claro { background: var(--fundo-claro); }

.eyebrow {
  font-family: var(--font-texto);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.title {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy);
}
.title--xl { font-weight: 900; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.005em; }
.divider { display: block; width: 68px; height: 3px; border-radius: 3px; background: var(--rosa-linha); margin-top: 26px; }
.divider--claro { background: var(--rosa); }

.section__head--center { text-align: center; }
.section__head--center .divider { margin-left: auto; margin-right: auto; }
.section__sub { margin-top: 18px; font-size: 17px; color: var(--texto); }

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--menta-tag);
  color: #13303e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* 4. BOTÕES ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-texto);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--primary { background: var(--navy-900); color: #fff; box-shadow: 0 10px 22px rgba(0, 41, 89, .22); }
.btn--primary:hover { background: var(--navy-700); box-shadow: 0 14px 28px rgba(0, 41, 89, .28); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--pill { width: 100%; padding: 12px 20px; font-size: 15px; color: var(--navy); }
.btn--rosa { background: var(--rosa); }
.btn--cinza { background: var(--cinza-azul); }
.btn--menta { background: var(--menta); }
.btn--pill:hover { box-shadow: 0 8px 18px rgba(1, 48, 94, .12); }
.btn__icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn__arrow { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-sublinhado {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--rosa-linha);
  transition: border-color .25s ease;
}
.link-sublinhado:hover { border-color: var(--navy); }

/* 5. HEADER ------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s ease;
}
/* fundo translúcido num pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro dele */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(1, 48, 94, .08); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo tipográfico — substitua pelo SVG oficial quando disponível */
.logo { display: inline-flex; flex-direction: column; color: var(--navy); line-height: 1; }
.logo__grupo { font-family: var(--font-texto); font-size: 7.5px; letter-spacing: .28em; margin: 0 0 1px 2px; }
.logo__soul { font-family: var(--font-logo); font-size: 40px; letter-spacing: -.035em; line-height: .9; }
.logo--claro { color: #fff; }

.nav__list { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--rosa-linha); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }

.nav__item--sub { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 200px;
  padding: 10px;
  list-style: none;
  background: #fff;
  border-radius: var(--raio-sm);
  box-shadow: var(--sombra-forte);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* ponte do hover */
.nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--navy); font-weight: 500; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: var(--fundo-depo); }
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub,
.nav__item--sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--sub:hover .nav__chevron,
.nav__item--sub.is-open .nav__chevron { transform: rotate(180deg); }

.header__toggle { display: none; }

/* 6. HERO -------------------------------------------------- */
.hero { position: relative; padding: 4px 0 90px; overflow: hidden; }
.hero::before { /* brilho rosado suave atrás da imagem, como no layout */
  content: ""; position: absolute; right: -6%; top: 8%; width: 46%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(238, 207, 204, .35), rgba(238, 207, 204, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.06fr 1fr; gap: 48px; align-items: start; }
.hero__title {
  margin-top: 26px;
  font-family: var(--font-titulo);
  font-weight: 900;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.07;
  letter-spacing: -.01em;
  color: var(--navy);
}
.hero__text { margin-top: 36px; max-width: 34em; font-size: 17px; line-height: 1.75; color: var(--texto); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__media { margin-top: 70px; }
.hero__media img { width: 100%; aspect-ratio: 1600 / 1046; object-fit: cover; border-radius: var(--raio); box-shadow: var(--sombra-forte); }

.marcas { display: flex; gap: 14px; margin-top: 30px; list-style: none; }
.marca {
  width: 84px; height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 18px;
  color: var(--navy);
  transition: transform .25s ease, box-shadow .25s ease;
}
.marca:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(1, 48, 94, .12); }
.marca__nome { font-family: var(--font-logo); font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.marca__area { margin-top: 3px; font-size: 5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.marca--rosa { background: #f1d9d5; }
.marca--cinza { background: #d9dee1; }
.marca--menta { background: #e3f4e8; }

/* 7. QUEM SOMOS -------------------------------------------- */
.sobre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sobre__text { margin-top: 56px; display: grid; gap: 22px; font-size: 16px; line-height: 1.85; }
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 36px; padding-top: 34px; border-top: 1px solid #dcdfe3;
}
.stats__item { display: flex; flex-direction: column-reverse; }
.stats__value { font-family: var(--font-titulo); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--navy); }
.stats__label { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }

.sobre__media { position: relative; margin-top: 26px; padding-bottom: 28px; }
.sobre__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 30%; border-radius: var(--raio); box-shadow: var(--sombra-forte); }
.sobre__quote {
  position: absolute; left: -26px; bottom: -6px; width: min(300px, 75%);
  padding: 24px 26px 22px;
  background: #fff; border-radius: 16px; box-shadow: var(--sombra-forte);
}
.sobre__quote p { font-size: 14px; font-style: italic; line-height: 1.6; color: var(--navy); }
.sobre__quote figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.sobre__quote figcaption::before { content: ""; width: 34px; height: 2px; background: var(--rosa-linha); border-radius: 2px; }

/* 8. SOLUÇÕES ---------------------------------------------- */
.solucoes { padding-top: 26px; }
.solucoes__head { display: grid; }
.solucoes__intro { justify-self: end; max-width: 30em; margin-top: -2px; font-size: 15px; color: var(--texto-suave); }
.solucoes__grid { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; }
.solucao {
  display: flex; flex-direction: column;
  padding: 34px 34px 36px;
  background: #fff; border-radius: var(--raio);
  box-shadow: 0 0 0 1px #eef1f2, 0 4px 14px rgba(1, 48, 94, .04);
  transition: box-shadow .3s ease, transform .3s ease;
}
.solucao:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #eef1f2, var(--sombra); }
.solucao__img { width: 150px; aspect-ratio: 150 / 164; object-fit: cover; border-radius: var(--raio-sm); }
.solucao__title { margin-top: 30px; font-family: var(--font-titulo); font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; color: var(--navy); }
.solucao__text { margin-top: 12px; margin-bottom: 30px; font-size: 14px; line-height: 1.7; color: var(--texto-suave); flex: 1; }

/* 9. DIFERENCIAIS ------------------------------------------ */
.diferenciais { padding-top: 64px; padding-bottom: 50px; border-top: 1px solid #f2f3f4; }
.mvv { margin: 70px auto 0; max-width: 940px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.mvv__item { text-align: left; }
.mvv__icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto;
  border-radius: 50%; background: var(--menta); color: var(--navy);
}
.mvv__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mvv__title { margin: 22px 0 22px; text-align: center; font-family: var(--font-titulo); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.mvv__item p, .mvv__list { font-size: 12.5px; line-height: 1.6; color: var(--texto-suave); }
.mvv__list { padding-left: 1.3em; }

/* 10. MANIFESTO -------------------------------------------- */
.manifesto { padding: 30px 0 110px; border-top: 1px solid #f2f3f4; }
.manifesto__box {
  position: relative; overflow: hidden;
  padding: 44px 40px 40px;
  border-radius: var(--raio-lg);
  background: var(--navy);
  text-align: center;
}
.manifesto__box::before, .manifesto__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.manifesto__box::before { width: 210px; height: 210px; right: -70px; top: -70px; }
.manifesto__box::after { width: 120px; height: 120px; left: -50px; bottom: -60px; }
.manifesto__text { position: relative; font-family: var(--font-titulo); font-weight: 700; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.3; color: #fff; }
.manifesto .divider { width: 54px; margin: 22px auto 0; }

/* 11. PORTFOLIO -------------------------------------------- */
.portfolio__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.portfolio__grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.projeto__frame {
  padding: 26px 48px 0;
  background: #fff; border-radius: var(--raio-lg);
  box-shadow: var(--sombra);
  overflow: hidden;
  aspect-ratio: 782 / 440;
}
.projeto__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.projeto:hover .projeto__frame img { transform: scale(1.03); }
.projeto__title { margin-top: 28px; font-family: var(--font-titulo); font-weight: 700; font-size: 20px; color: var(--navy); }
.projeto__cat { margin-top: 6px; font-size: 14px; color: var(--texto-suave); }

/* 12. CARROSSEL (BASE) ------------------------------------- */
.carousel { --visiveis: 3; --gap: 32px; position: relative; }
.carousel__viewport { overflow: hidden; touch-action: pan-y; }
.carousel__track { display: flex; align-items: flex-start; gap: var(--gap); list-style: none; will-change: transform; }
.carousel__track.is-animating { transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel__slide { flex: 0 0 calc((100% - var(--gap) * (var(--visiveis) - 1)) / var(--visiveis)); min-width: 0; }
.carousel__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  transform: translateY(-50%);
  transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}
.carousel__arrow:hover { transform: translateY(-50%) scale(1.06); }
.carousel__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.carousel__dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b4c1d2; transition: background-color .25s ease, transform .25s ease; }
.carousel__dot:hover::before { transform: scale(1.2); }
.carousel__dot[aria-current="true"]::before { background: var(--navy); }

/* 13. CLIENTES --------------------------------------------- */
.clientes { padding-top: 110px; padding-bottom: 110px; }
.carousel--logos { --visiveis: 5; --gap: 40px; margin: 64px auto 0; max-width: 1180px; padding: 0 72px; }
.carousel--logos .carousel__arrow { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(1, 48, 94, .25); width: 40px; height: 40px; }
.carousel--logos .carousel__arrow svg { width: 16px; height: 16px; }
.carousel--logos .carousel__arrow--prev { left: 0; }
.carousel--logos .carousel__arrow--next { right: 0; }
.cliente {
  width: 100%; max-width: 104px; margin: 0 auto; aspect-ratio: 1; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.cliente:hover { filter: none; opacity: 1; transform: scale(1.05); }

/* 14. DEPOIMENTOS ------------------------------------------ */
.depoimentos { background: var(--fundo-depo); padding-top: 90px; padding-bottom: 56px; border-top: 1px solid #e6eaec; }
.carousel--depoimentos { --visiveis: 3; --gap: 28px; margin: 56px auto 0; max-width: 1240px; padding: 0 92px; }
.carousel--depoimentos .carousel__viewport { padding: 14px 4px 28px; margin: -14px -4px -28px; }
.carousel--depoimentos .carousel__arrow { top: calc(50% - 26px); background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(1, 48, 94, .12); }
.carousel--depoimentos .carousel__arrow--prev { left: 28px; }
.carousel--depoimentos .carousel__arrow--next { right: 28px; }

.depoimento { background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 30px 28px 28px; transition: box-shadow .3s ease; }
.depoimento:hover { box-shadow: 0 4px 10px rgba(1, 48, 94, .06), 0 16px 36px rgba(1, 48, 94, .1); }
.depoimento__icone {
  display: block; width: 36px; height: 35px; margin: 0 0 24px 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 82' fill='none' stroke='%23e8cccc' stroke-width='5.5' stroke-linejoin='round'%3E%3Cpath d='M19 3.5c8.6 0 15.5 6.9 15.5 15.5v14.5c0 21-9.5 37-27.5 45l-4-7.8c10.2-5.4 15.8-13.6 17-23.5C10.6 46.6 3.5 39.6 3.5 30V19C3.5 10.4 10.4 3.5 19 3.5z'/%3E%3Cpath d='M65 3.5c8.6 0 15.5 6.9 15.5 15.5v14.5c0 21-9.5 37-27.5 45l-4-7.8c10.2-5.4 15.8-13.6 17-23.5-9.4-.6-16.5-7.6-16.5-17.2V19C49.5 10.4 56.4 3.5 65 3.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.depoimento__texto p { font-size: 14.5px; line-height: 1.65; color: var(--texto); }
.depoimento__autor { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #eceef2; }
.depoimento__foto { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.depoimento__foto--inicial { display: grid; place-items: center; background: var(--fundo-depo); color: var(--navy); font: 700 18px/1 var(--font-titulo); }
.depoimento__nome { font-family: var(--font-titulo); font-style: normal; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--navy); }

/* 15. CTA -------------------------------------------------- */
.cta { padding: 76px 0 80px; }
.cta__box {
  position: relative; overflow: hidden;
  padding: 82px 40px 76px;
  border-radius: var(--raio-lg);
  background: var(--rosa-fundo);
  text-align: center;
}
.cta__box::before { content: ""; position: absolute; left: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.cta__box::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 220, 224, .6), rgba(220, 220, 224, 0)); }
.cta__title { position: relative; max-width: 12em; margin: 0 auto; font-family: var(--font-titulo); font-weight: 900; font-size: clamp(32px, 4vw, 56px); line-height: 1.14; color: var(--navy); }
.cta__text { position: relative; max-width: 36em; margin: 26px auto 34px; font-size: 16px; line-height: 1.7; color: var(--texto); }
.cta .btn { position: relative; }

/* 16. FOOTER ----------------------------------------------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 90px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 30px; max-width: 22em; line-height: 1.75; }
.footer .logo__soul { font-size: 46px; }
.footer .logo__grupo { font-size: 8px; }
.social { display: flex; gap: 14px; margin-top: 30px; list-style: none; }
.social a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff;
  transition: background-color .25s ease, border-color .25s ease;
}
.social a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__title { font-family: var(--font-titulo); font-weight: 700; font-size: 16px; color: var(--rosa); margin-bottom: 26px; }
.footer__col ul { list-style: none; display: grid; gap: 14px; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__contato address { font-style: normal; display: flex; flex-direction: column; gap: 4px; line-height: 1.6; }
.footer__contato strong { color: #fff; font-weight: 700; margin-top: 18px; margin-bottom: 4px; }
.footer__contato strong:first-child { margin-top: 0; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 70px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px; color: rgba(255, 255, 255, .6);
}
.footer__bottom ul { display: flex; gap: 26px; list-style: none; }
.footer__bottom a:hover { color: #fff; }

/* 17. ANIMAÇÕES (aparição progressiva) --------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--delay { transition-delay: .12s; }
/* âncoras (cards com id) só fazem fade: o deslocamento alteraria o ponto de parada do scroll */
.js .reveal[id] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .carousel__track.is-animating { transition: none; }
  .btn:hover, .solucao:hover, .marca:hover { transform: none; }
}

/* 18. RESPONSIVO ------------------------------------------- */
@media (max-width: 1180px) {
  .nav__list { gap: 24px; }
  .solucoes__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel--depoimentos { --visiveis: 2; }
  .carousel--logos { --visiveis: 4; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .section { padding: 72px 0; }

  /* Menu mobile */
  .header__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer; color: var(--navy);
  }
  .header__toggle-bar, .header__toggle-bar::before, .header__toggle-bar::after {
    display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .3s ease, background-color .3s ease;
  }
  .header__toggle-bar { position: relative; }
  .header__toggle-bar::before, .header__toggle-bar::after { content: ""; position: absolute; left: 0; }
  .header__toggle-bar::before { top: -7px; }
  .header__toggle-bar::after { top: 7px; }
  .header__toggle[aria-expanded="true"] .header__toggle-bar { background: transparent; }
  .header__toggle[aria-expanded="true"] .header__toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] .header__toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: #fff; overflow-y: auto;
    padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid #eef0f2; }
  .nav__link { width: 100%; padding: 16px 0; font-size: 17px; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__sub {
    position: static; transform: none; min-width: 0; box-shadow: none; padding: 0 0 12px 12px;
    opacity: 1; visibility: visible; display: none;
  }
  .nav__item--sub.is-open .nav__sub { display: block; transform: none; }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { transform: none; }
  .nav__sub::before { display: none; }
  .nav__sub a { font-size: 16px; padding: 10px 12px; }
  .nav__cta-item { border-bottom: 0 !important; padding-top: 24px; }
  .nav__cta-item .btn { width: 100%; padding: 15px 20px; font-size: 16px; }
  body.menu-aberto { overflow: hidden; }

  .hero { padding-bottom: 64px; }
  .hero__grid, .sobre__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { margin-top: 0; }
  .sobre__text { margin-top: 36px; }
  .sobre__media { margin-top: 0; padding-bottom: 60px; }
  .sobre__quote { left: 16px; bottom: 0; }

  .mvv { grid-template-columns: 1fr; gap: 44px; max-width: 560px; }
  .mvv__item p, .mvv__list { font-size: 14.5px; }

  .portfolio__grid { grid-template-columns: 1fr; gap: 44px; }

  .carousel--logos { --visiveis: 3; padding: 0 56px; }
  .carousel--depoimentos { padding: 0 72px; }
  .carousel--depoimentos .carousel__arrow--prev { left: 14px; }
  .carousel--depoimentos .carousel__arrow--next { right: 14px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 60px 0; }
  .hero__title { margin-top: 20px; }
  .hero__text { margin-top: 24px; font-size: 16px; }
  .hero__actions { flex-direction: column; margin-top: 30px; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .marcas { gap: 10px; }

  .stats__value { font-size: 24px; }
  .sobre__quote { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 16px 0; }
  .sobre__media { padding-bottom: 0; }

  .solucoes__intro { justify-self: start; margin-top: 24px; }
  .solucoes__grid { grid-template-columns: 1fr; margin-top: 44px; gap: 20px; }
  .solucao { padding: 28px 24px; }

  .diferenciais { padding-top: 56px; }
  .manifesto { padding-bottom: 70px; }
  .manifesto__box { padding: 36px 22px 32px; border-radius: var(--raio); }

  .projeto__frame { padding: 18px 22px 0; border-radius: var(--raio); }

  .clientes { padding: 70px 0; }
  .carousel--logos { --visiveis: 2; --gap: 24px; margin-top: 40px; padding: 0 48px; }

  .depoimentos { padding-top: 64px; }
  .carousel--depoimentos { --visiveis: 1; --gap: 16px; padding: 0 16px 0; margin-top: 40px; }
  .carousel--depoimentos .carousel__arrow { top: auto; bottom: -8px; transform: none; width: 40px; height: 40px; }
  .carousel--depoimentos .carousel__arrow:hover { transform: scale(1.05); }
  .carousel--depoimentos .carousel__arrow--prev { left: 16px; }
  .carousel--depoimentos .carousel__arrow--next { right: 16px; }
  .carousel--depoimentos .carousel__dots { min-height: 40px; align-items: center; }

  .cta { padding: 56px 0; }
  .cta__box { padding: 56px 22px 52px; border-radius: var(--raio); }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; padding-top: 28px; }
}
