/* =========================
   Base do projeto
   ========================= */
:root {
  --azul-950: #061a2f;
  --azul-900: #08233f;
  --azul-800: #0a355d;
  --azul-600: #0b79b8;
  --azul-500: #10a7d8;
  --ciano: #32d3e6;
  --verde-whatsapp: #25d366;
  --texto: #132238;
  --texto-suave: #5e6b7a;
  --linha: rgba(15, 23, 42, 0.11);
  --fundo: #f7fafc;
  --branco: #ffffff;
  --sombra: 0 24px 70px rgba(8, 35, 63, 0.13);
  --sombra-menor: 0 14px 35px rgba(8, 35, 63, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--branco);
  background: var(--azul-900);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.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;
}

/* =========================
   Componentes reutilizáveis
   ========================= */
.section {
  padding: 92px 0;
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(16, 167, 216, 0.12), transparent 34%),
    #ffffff;
}

.section-dark {
  color: var(--branco);
  background: var(--azul-950);
}

.compact-dark {
  position: relative;
  overflow: hidden;
}

.compact-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(50, 211, 230, 0.15), transparent 35%),
    radial-gradient(circle at 80% 25%, rgba(16, 167, 216, 0.18), transparent 30%);
  pointer-events: none;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading.light p,
.section-heading.light h2 {
  color: var(--branco);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--azul-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.compact-dark .eyebrow {
  color: var(--ciano);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.35rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

p {
  color: var(--texto-suave);
}

.section-dark p,
.compact-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;

  white-space: nowrap;
  flex-shrink: 0;

  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.btn-whatsapp {
  color: #042814;
  background: var(--verde-whatsapp);
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.37);
}

.btn-outline {
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   Header
   ========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 26, 47, 0.7);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: height 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  height: 76px;
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 30px rgba(8, 35, 63, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
  gap: 12px;
  color: var(--branco);
}

.site-header.scrolled .brand {
  color: var(--azul-950);
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--branco);
}

.site-header.scrolled .brand img {
  width: 56px;
  height: 56px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.scrolled .brand small {
  color: var(--texto-suave);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-header.scrolled .nav {
  color: var(--texto);
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--ciano);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-header.scrolled .menu-toggle {
  border-color: var(--linha);
  background: var(--branco);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--branco);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.scrolled .menu-toggle span {
  background: var(--azul-950);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 47, 0.96) 0%, rgba(6, 26, 47, 0.88) 37%, rgba(6, 26, 47, 0.35) 72%, rgba(6, 26, 47, 0.68) 100%),
    linear-gradient(180deg, rgba(6, 26, 47, 0.18), rgba(6, 26, 47, 0.72));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  align-items: center;
  justify-content: start;
  gap: 46px;
  padding: 98px 0 82px;
}

.hero-content {
  max-width: 760px;
}

.hero-text {
  width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 750;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-card img {
  width: 94px;
  height: 94px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--branco);
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero-card p {
  margin-bottom: 0;
}

/* =========================
   Serviços
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--linha);
  border-radius: var(--radius-lg);
  background: var(--branco);
  box-shadow: var(--sombra-menor);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(16, 167, 216, 0.11);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 167, 216, 0.35);
  box-shadow: var(--sombra);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 16px;
  color: var(--azul-900);
  background: linear-gradient(135deg, rgba(16, 167, 216, 0.17), rgba(50, 211, 230, 0.07));
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
}

/* =========================
   Sobre
   ========================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 56px;
}

.about-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 47, 0.48));
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-content p {
  font-size: 1.04rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stats-row div {
  padding: 20px;
  border: 1px solid var(--linha);
  border-radius: var(--radius-md);
  background: var(--branco);
}

.stats-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--azul-800);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-row span {
  color: var(--texto-suave);
  font-size: 0.9rem;
  font-weight: 750;
}

/* =========================
   Portfólio
   ========================= */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  color: var(--texto);
  background: var(--branco);
  font-weight: 850;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.filter-btn.active {
  color: var(--branco);
  border-color: var(--azul-800);
  background: var(--azul-900);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 24px;
  background: #dce8ef;
  box-shadow: var(--sombra-menor);
  cursor: zoom-in;
  transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(8, 35, 63, 0.16);
}

.portfolio-item:focus-visible {
  outline: 3px solid var(--azul-500);
  outline-offset: 4px;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(4, 15, 28, 0.66));
  pointer-events: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-item:hover img {
  transform: scale(1.035);
}

.portfolio-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--branco);
  background: rgba(6, 26, 47, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

/* =========================
   Vantagens
   ========================= */
.advantages-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.advantage-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.advantage-card h3 {
  color: var(--branco);
}

.advantage-card p {
  margin-bottom: 0;
}

/* =========================
   Processo
   ========================= */
.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.process-grid .section-heading {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--linha);
  border-radius: var(--radius-lg);
  background: var(--branco);
  box-shadow: var(--sombra-menor);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: var(--branco);
  background: var(--azul-900);
  font-weight: 950;
}

.step p {
  margin-bottom: 0;
}

/* =========================
   CTA e footer
   ========================= */
.cta-section {
  padding: 74px 0;
  background: var(--branco);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 50px);
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 10px);
  color: var(--branco);
  background:
    linear-gradient(135deg, rgba(6, 26, 47, 0.94), rgba(10, 53, 93, 0.92)),
    url("assets/porta-entrada-noite.webp") center / cover;
  box-shadow: var(--sombra);
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p {
  width: min(640px, 100%);
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 58px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #06111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--branco);
}

.footer-brand p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--branco);
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp img {
  width: 64px;
  height: 64px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 58px rgba(37, 211, 102, 0.4);
}

/* =========================
   Lightbox do portfólio
   ========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(3, 10, 20, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 1180px);
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(100%, calc(100vw - 112px));
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-caption {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox-close,
.lightbox-arrow {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--branco);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.lightbox-prev {
  left: clamp(18px, 4vw, 46px);
}

.lightbox-next {
  right: clamp(18px, 4vw, 46px);
}

/* =========================
   Animações discretas
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CARROSSEL DE AVALIAÇÕES
   ========================= */
.review-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: 4px 0 4px;
  width: 100%;
}

.review-carousel::before,
.review-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: min(4.2vw, 52px);
  pointer-events: none;
}

.review-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--fundo, #f7fafc), rgba(247, 250, 252, 0));
}

.review-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--fundo, #f7fafc), rgba(247, 250, 252, 0));
}

.review-track {
  display: flex;
  gap: 0;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.review-group {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
  padding-right: 18px;
}

.review-card {
  flex: 0 0 clamp(300px, 28vw, 380px); /* ligeiramente menor para caber mais cards */
  min-height: 220px; /* altura mais compacta */
  padding: 22px 24px 18px; /* padding reduzido */
  border: 1px solid var(--linha, rgba(15, 23, 42, 0.11));
  border-radius: var(--radius-lg, 28px);
  background: var(--branco, #ffffff);
  box-shadow: var(--sombra-menor, 0 14px 35px rgba(8, 35, 63, 0.11));
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza verticalmente */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra, 0 24px 70px rgba(8, 35, 63, 0.13));
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px; /* menos espaçamento */
  margin-bottom: 10px; /* menos espaçamento */
  flex-wrap: wrap;
}

.review-author-info {
  flex: 1;
  min-width: 100px;
}

.review-author-info strong {
  display: block;
  color: var(--azul-800, #0a355d);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.review-author-info span {
  font-size: 0.78rem;
  color: var(--texto-suave, #5e6b7a);
}

.review-stars {
  color: #f2b705;
  font-size: 1rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-left: auto;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 42px; /* um pouco menor */
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--azul-800, #0a355d);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-avatar--soft {
  background: var(--azul-600, #0b79b8);
}

.review-avatar--dark {
  background: var(--azul-900, #08233f);
}

.review-text {
  color: var(--texto, #132238);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;   /* espaçamento entre o carrossel e o botão */
  margin-bottom: 60px; /* espaçamento até a próxima seção */
}

/* Remove a regra conflitante que estava com padding-bottom: 2px */
#avaliacoes {
  padding-bottom: 10px; /* valor mínimo, pois o espaçamento é feito pelo margin do botão */
}

/* =========================
   Botão Google Avaliações
   ========================= */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}


.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.btn-google svg {
  flex-shrink: 0;
}

.site-footer{
    background:#071321;
    color:#fff;
    padding-top:70px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1.5fr;
    gap:60px;
    align-items:start;
}

.footer-column h3{
    margin-bottom:18px;
    font-size:1.1rem;
}

.footer-column ul,
.footer-brand ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color:#fff;
    text-decoration:none;
}

.footer-brand img{
    width:90px;
    margin-bottom:20px;
}

.footer-brand p{
    max-width:290px;
    line-height:1.7;
}
.footer-locations{
    display:grid;
    grid-template-columns:repeat(2,minmax(120px,1fr));
    gap:10px 24px;
    list-style:none;
    margin:0;
    padding:0;
}

.footer-locations li{
    white-space:nowrap;
}

.footer-bottom{
    width:100%;
    margin-top:60px;
    padding:22px 0;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#b8c1d1;
    font-size:.95rem;
}

@media (max-width:900px){

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

    .footer-locations{
        grid-template-columns:1fr 1fr;
    }

}



/* Responsivo */
@media (max-width: 620px) {
  .btn-google {
    width: 100%;
    padding: 0 18px;
    font-size: 0.88rem;
    min-height: 48px;
  }
}

/* Ajustes para telas menores */
@media (max-width: 760px) {
  .review-carousel {
    margin-inline: calc((100vw - 100%) / -2);
    padding-inline: 14px;
  }

  .review-carousel::before,
  .review-carousel::after {
    width: 26px;
  }

  .review-card {
    flex-basis: min(86vw, 360px);
    min-height: 280px;
  }
}

@media (max-width: 430px) {
  .review-carousel::before,
  .review-carousel::after {
    width: 18px;
  }
}

/* Compatibilidade com prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .review-track {
    overflow-x: auto;
    width: auto;
    scroll-snap-type: x mandatory;
  }

  .review-group[aria-hidden="true"] {
    display: none;
  }

  .review-card {
    scroll-snap-align: start;
  }
}

/* =========================
   Responsividade geral
   ========================= */
@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .hero-grid,
  .about-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 820px) {
  :root {
    --header-height: 80px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }


  .brand img {
    width: 58px;
    height: 58px;
  }

  .site-header.scrolled .brand img {
    width: 52px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--linha);
    border-radius: 24px;
    color: var(--texto);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--sombra);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav a:hover {
    background: #eef7fb;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    padding: 92px 0 52px;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(6, 26, 47, 0.94), rgba(6, 26, 47, 0.72));
  }

  .section {
    padding: 70px 0;
  }

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

  .lightbox img {
    max-width: calc(100vw - 32px);
  }

  .lightbox-arrow {
    top: auto;
    bottom: 22px;
    width: 48px;
    height: 48px;
    font-size: 1.65rem;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .process-grid .section-heading {
    text-align: center;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .services-grid,
  .advantages-grid,
  .review-cards,
  .stats-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .portfolio-item {
    aspect-ratio: 5 / 4;
  }

  .lightbox {
    padding: 18px 14px 92px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox img {
    max-height: calc(100vh - 190px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-points span {
    flex: 1 1 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .floating-whatsapp img {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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