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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

:root {
  --preto: #111;
  --texto-suave: #555;
  --fundo-site: #f8f8f5;
--caixa-clara: #fff;
  --caixa-suave: #f8f8f5;
  --verde: #556b5d;
  --verde-escuro: #445648;
  --sombra-suave: 0 10px 28px rgba(53,70,58,.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--fundo-site);
  color: var(--preto);
}

main,
section {
  background: transparent;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================================================
   HERO
========================================================= */

.landing-intro,
.home-intro {
  max-width: 1060px;
  margin: 0 auto;
  padding: 42px 20px 26px;
  text-align: center;
  background: none;
}

.landing-intro h1,
.home-intro h1 {
  max-width: 900px;
  margin: 0 auto 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -1px;
  color: #1a1a1a;
}

.landing-intro p,
.home-intro p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--texto-suave);
  font-size: 17px;
  line-height: 1.65;
}

.hero-subtitle {
  white-space: normal;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--caixa-clara);
  color: #1a1a1a;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
}

.btn.dark {
  background: var(--verde);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: none;
}

.btn.dark:hover {
  background: var(--verde-escuro);
}

.btn.outline,
.btn.secondary {
  background: var(--caixa-clara);
  color: var(--verde-escuro);
}

/* =========================================================
   MÉTRICAS DO HERO
========================================================= */

.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-action .btn {
  order: 1;
  margin-top: 0;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hero-action .mini-stats {
  order: 2;
  width: 100%;
  max-width: 430px;
  margin: 6px 0 0;
  padding: 14px 18px;
  background: #fffdf8;
  border-radius: 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,.045);
}

.mini-stats div {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 6px 14px;
  text-align: center;
  box-shadow: none;
}

.mini-stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16%;
  width: 1px;
  height: 68%;
  background: rgba(0,0,0,.22);
}

.mini-stats strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #151515;
  line-height: 1.1;
}

.mini-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--texto-suave);
  line-height: 1.2;
}

/* =========================================================
   SERVIÇOS DA HOME
========================================================= */

.services-section {
  background: var(--fundo-site);
  padding: 14px 8px 42px;
}

.servicos-wrapper {
  max-width: 1160px;
  margin: auto;
  position: relative;
}

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

.service-card {
  display: block;
  overflow: hidden;
  background: var(--caixa-clara);
  border-radius: 18px;
  color: #1a1a1a;
  transition: transform .25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.service-card div {
  padding: 14px 14px 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.service-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--texto-suave);
}

.serv-btn {
  display: none;
  border: 0;
}

/* =========================================================
   SEÇÕES GERAIS / SOBRE
========================================================= */

.section {
  padding: 44px 20px;
}

.compact {
  padding-top: 28px;
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -.5px;
  color: #1a1a1a;
}

.about {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.about p {
  color: var(--texto-suave);
  font-size: 17px;
  line-height: 1.75;
}

#sobre.section {
  background: var(--verde);
  color: #fff;
  margin-top: 22px;
  padding: 70px 20px;
}

#sobre .about {
  max-width: 880px;
}

#sobre .section-title,
#sobre h1,
#sobre h2,
#sobre h3,
#sobre .about p {
  color: #fff;
}

#sobre .about p {
  opacity: .9;
}

#sobre .btn.outline {
  background: var(--caixa-clara);
  color: var(--verde-escuro);
}

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--texto-suave);
  font-size: 14px;
  background: var(--fundo-site);
}

/* =========================================================
   AJUSTES PARA TELAS MENORES
========================================================= */

@media(max-width: 1180px) {

  .landing-intro,
  .home-intro {
    padding: 28px 18px 22px;
  }

  .landing-intro h1,
  .home-intro h1 {
    font-size: 31px;
    line-height: 1.12;
    max-width: 380px;
  }

  .landing-intro p,
  .home-intro p {
    max-width: 360px;
    font-size: 16px;
  }

  .section {
    padding: 34px 20px;
  }

  .compact {
    padding-top: 18px;
  }

  .section-title {
    font-size: 29px;
    margin-bottom: 16px;
  }

  .hero-action {
    gap: 32px;
    margin-top: 24px;
  }

  .hero-action .mini-stats {
    max-width: 330px;
    margin-top: 4px;
    padding: 13px 14px;
    border-radius: 24px;
  }

  .hero-action .mini-stats div {
    padding: 6px 8px;
  }

  .hero-action .mini-stats div:not(:last-child)::after {
    top: 14%;
    height: 72%;
    background: rgba(0,0,0,.28);
  }

  .services-section {
    padding: 34px 0 40px;
  }

  .servicos-wrapper {
    overflow: hidden;
    position: relative;
  }

  .services-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 12px 10px;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 86%;
    min-width: 86%;
    max-width: 86%;
    scroll-snap-align: center;
  }

  .serv-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(0,0,0,.28);
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    z-index: 5;
  }

  .serv-prev {
    left: 6px;
  }

  .serv-next {
    right: 6px;
  }

  #sobre.section {
    margin-top: 16px;
    padding: 58px 20px;
  }
}

/* =========================================================
   ESPAÇAMENTO PADRÃO DO TOPO
   Mantém respiro abaixo do menu fixo sem criar buracos grandes.
========================================================= */
.landing-intro,
.home-intro {
  padding-top: 46px;
  padding-bottom: 28px;
}

.section:first-of-type {
  padding-top: 46px;
}

@media (min-width: 901px) {
  body {
    padding-top: 72px;
  }

  .landing-intro,
  .home-intro {
    padding-top: 56px;
  }

  .section:first-of-type {
    padding-top: 52px;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 66px;
  }

  .landing-intro,
  .home-intro {
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .section:first-of-type {
    padding-top: 30px;
  }
}
