@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Open+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy: #1a2e5a;
  --navy-dark: #0f1d3a;
  --blue-mid: #2c5fa3;
  --blue-light: #e8f2fc;
  --blue-pale: #f2f7fd;
  --white: #ffffff;
  --text-dark: #0f1d3a;
  --text-mid: #3a4f6e;
  --text-light: #6b82a0;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 100%;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #dce8f5;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--blue-mid);
}

/* ── HERO ── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-left {
  background: var(--white);
  padding: 80px 5% 80px 8%;
}

.hero-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero-left h1 {
  font-family: var(--font-display);
  /* font-size: 42px; */
  font-size: 60px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-left h1 em {
  color: var(--blue-mid);
  font-style: normal;
}

.hero-left p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--blue-mid);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  border: 1.5px solid var(--navy);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--blue-light);
}

.hero-right {
  background: var(--blue-light);
  height: 100%;
  min-height: calc(100vh - 72px);
  padding: 80px 8% 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 28px;
  border-left: 4px solid var(--blue-mid);
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
}

.stat-card .label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
  font-family: var(--font-body);
}

.coverage-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 24px 28px;
  color: var(--white);
}

.coverage-card .title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 14px;
}

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

.state-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
}

/* ── CLIENTES ── */
.clients-section {
  padding: 48px 0;
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid #dce8f5;
}

.clients-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 32px;
}

.clients-track-wrapper {
  overflow: hidden;
  position: relative;
  /* Fade nas bordas */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: var(--clients-gap, 48px);
  width: max-content;
  will-change: transform;
  transition: gap 0.3s ease;
}

/* .clients-track.is-animating {
  animation: scroll-clients var(--scroll-duration, 28s) linear infinite;
}

.clients-track.is-paused {
  animation-play-state: paused;
} */

/* @keyframes scroll-clients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--scroll-width, 50%)));
  }
} */

.client-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 8px;
}

.client-item img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s;
}

.client-item img:hover {
  filter: grayscale(0) opacity(1);
}

.client-item.client-photo {
  height: 72px;
  width: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.client-item.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  max-width: none;
  border-radius: 8px;
  filter: grayscale(0.3) opacity(0.75);
}

.client-item.client-photo img:hover {
  filter: none;
}

.client-item.client-placeholder {
  height: 56px;
  width: 140px;
  border: 1.5px dashed #d0dff0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-item.client-placeholder span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: #dce8f5;
  margin: 0 5%;
}

/* ── SERVIÇOS ── */
.section {
  padding: 88px 8%;
  background: var(--blue-pale);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-mid);
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 52px;
  max-width: 480px;
  line-height: 1.25;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid #dce8f5;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--blue-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44, 95, 163, 0.10);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-mid);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── SOBRE ── */
.about {
  padding: 88px 8%;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  overflow: hidden;
  /* aspect-ratio: 4/5; */
  box-shadow: 0 12px 40px rgba(26, 46, 90, 0.12);
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-text .section-label {
  margin-bottom: 12px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text p:last-of-type {
  margin-bottom: 32px;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crc {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid #dce8f5;
  padding: 7px 16px;
  border-radius: 4px;
  width: fit-content;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 64px 8%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.foot-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 16px;
  display: block;
}

footer .foot-brand p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.5;
  max-width: 240px;
}

footer h4 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0.4;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer ul li {
  font-size: 14px;
  opacity: 0.7;
}

footer ul li a {
  color: inherit;
  text-decoration: none;
}

footer ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.foot-bottom {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

.foot-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.foot-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ── FONT SWITCHER ── */
#font-switcher {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 300;
  background: var(--white);
  border: 1px solid #dce8f5;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  min-width: 210px;
}

#font-switcher h5 {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 600;
  font-family: var(--font-display);
}

.font-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.font-option:hover {
  background: var(--blue-pale);
}

.font-option.active {
  background: var(--blue-light);
}

.font-option .font-label {
  font-size: 13px;
  color: var(--text-dark);
}

.font-option .font-preview {
  font-size: 16px;
  color: var(--text-mid);
  margin-left: auto;
}

#switcher-toggle {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 301;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  cursor: pointer;
  display: none;
}

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    min-height: auto;
  }

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

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

  .nav-links {
    display: none;
  }

  .hero-left h1 {
    font-size: 32px;
  }
}

/* Container da logo e texto lado a lado */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Garante que a imagem não distorça */
.nav-logo img {
  height: 40px;
  /* Ajuste conforme o tamanho ideal da sua imagem */
  width: auto;
}

/* Bloco de texto empilhado */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  /* Esmaga o espaço vazio entre as duas palavras */
}

/* Lamezon (Maior e Negrito) */
.logo-text .name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1B2B4A;
  /* Substitua pelo azul marinho da marca deles */
  text-transform: uppercase;
}

/* Contabilidade (Menor, mais leve e espaçada) */
.logo-text .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #64748B;
  /* Um cinza/azul mutado */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}