:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --fg: #111111;
  --muted: #6b6b6b;
  --border: #e6e6e6;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

a {
  color: var(--fg);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: transform .32s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
  height: var(--header-h)
}

header.hide {
  transform: translateY(calc(-1 * var(--header-h)))
}

header.elevate {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
  height: 100%
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: .4px
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06)
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center
}

nav li {
  display: flex;
  align-items: center
}

nav a {
  font-size: .95rem;
  color: var(--muted)
}

nav a:hover {
  color: var(--fg)
}

nav li.cta .btn-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none
}

nav li.cta .btn-cta:hover {
  background: transparent;
  color: #111;
  transform: translateY(-1px)
}

.hamb {
  display: none;
  background: none;
  border: 1px solid var(--fg);
  border-radius: 10px;
  padding: 8px 10px
}

.hamb span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  position: relative
}

.hamb span::before,
.hamb span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #111
}

.hamb span::before {
  top: -6px
}

.hamb span::after {
  top: 6px
}

/* ============ HERO COM IMAGEM DE FUNDO ============ */
.hero {
  position: relative;
  padding: 110px 0 64px;
  min-height: 72vh;
  background: url('../img/hero-giselle.jpg') center -100px / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

/* overlay mais leve para deixar a foto visível */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .35) 0%,
      rgba(0, 0, 0, .25) 40%,
      rgba(0, 0, 0, .45) 100%);
}

.hero::after {
  content: none
}

/* remove círculos antigos */

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: rgba(255, 255, 255, .85)
}

h1 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 10px 0 14px;
  color: #fff
}

.lead {
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem
}

.hero-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}

.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.bullet svg {
  flex: 0 0 18px;
  margin-top: 2px
}

/* Botão secundário claro no Hero */
.hero .btn-cta[style*="background:transparent"] {
  color: #fff !important;
  border-color: #fff !important
}

.hero .btn-cta[style*="background:transparent"]:hover {
  background: #fff !important;
  color: #111 !important
}

section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header-h) + 12px)
}

.section-title {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
  margin: 0 0 18px
}

.muted {
  color: var(--muted)
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr)
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow)
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem
}

.card p {
  margin: 0;
  color: #2f2f2f;
  font-size: .98rem
}

.span-4 {
  grid-column: span 4
}

.span-6 {
  grid-column: span 6
}

.span-12 {
  grid-column: span 12
}

.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

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

footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: .9rem
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.reveal.delay-1 {
  transition-delay: .08s
}

.reveal.delay-2 {
  transition-delay: .16s
}

.reveal.delay-3 {
  transition-delay: .24s
}

@media (max-width:880px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  .span-4,
  .span-6 {
    grid-column: span 12
  }

  /* Navbar mobile */
  nav {
    position: relative;
    width: 100%
  }

  .hamb {
    display: inline-block;
    margin-left: auto;
    z-index: 2
  }

  nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px 0;
    flex-direction: column;
    gap: 0;
    z-index: 1;
  }

  nav.open ul {
    display: flex
  }

  nav li {
    display: block;
    border-bottom: 1px solid var(--border)
  }

  nav li:last-child {
    border-bottom: none
  }

  nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--fg)
  }

  nav li.cta .btn-cta {
    width: calc(100% - 16px);
    margin: 8px auto;
    background: transparent;
    color: #111
  }

  nav li.cta .btn-cta:hover {
    background: #111;
    color: #fff
  }

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

  header {
    backdrop-filter: none
  }

  .hero {
    padding: 92px 0 48px;
    min-height: 64vh;
    background-position: center 50%
  }

  .hero-card {
    background: rgba(255, 255, 255, .94)
  }
}

/* ===== AJUSTE: só aplica altura fixa nas imagens dos serviços ===== */
#servicos .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 12px;
}

.sobre-img {
  grid-column: span 12;
  text-align: center;
  margin: 24px 0
}

.sobre-img img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

@media (max-width:880px) {
  .sobre-img {
    grid-column: span 12
  }
}