/* ============================================================
   STOCKLER — Main Stylesheet
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --green-dark:    #1B3429;
  --green-medium:  #234D38;
  --green-btn:     #2C5E3C;
  --green-hover:   #1E4A2F;
  --green-footer:  #111C15;
  --white:         #FFFFFF;
  --gray-light:    #F5F6F5;
  --gray-border:   #E0E4E0;
  --text-dark:     #1A1A1A;
  --text-body:     #444444;
  --text-muted:    #777777;
  --font:          'Inter', sans-serif;
  --radius:        8px;
  --shadow:        0 4px 24px rgba(0,0,0,.10);
  --transition:    .3s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select {
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  border: none;
}

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; color: var(--text-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title { letter-spacing: .04em; }
.section-title.light, h1.light, h2.light, h3.light, p.light { color: var(--white); }

.label-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.label-tag.light { color: rgba(255,255,255,.65); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header .section-subtitle {
  margin-top: .75rem;
  color: var(--text-muted);
  max-width: 600px;
}
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Sections ───────────────────────────────────────────── */
.section         { padding: 80px 0; }
.section-dark    { background: var(--green-dark); color: var(--white); padding: 80px 0; }
.section-dark p  { color: rgba(255,255,255,.75); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--green-btn);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-hover); }

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover { background: var(--gray-light); }

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
}
.btn-outline-dark:hover {
  background: var(--green-dark);
  color: var(--white);
}
.btn-icon-green { margin-left: 4px; font-size: .85em; vertical-align: middle; transform: rotate(-45deg); display: inline-block; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: 0 2px 18px rgba(0,0,0,.25);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--green-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.nav-logo .logo-img { height: 42px; width: auto; }
.nav-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .12em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: fill;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27,52,41,.88) 0%,
    rgba(27,52,41,.65) 55%,
    rgba(27,52,41,.15) 100%
  );
}

/* Hero for subpages (shorter) */
.hero-subpage { min-height: 100vh; }

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  max-width: 1200px;
  width: 100%;
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}
.hero-text {
  color: #fff;
  font-size: 20px;
  margin-bottom: 2rem;
  max-width: 100%;
}

/* ============================================================
   LANÇAMENTO — BOULEVARD JARDINS
   ============================================================ */
.lancamento {
  background:
    linear-gradient(to bottom, transparent 0%, #ffffff 70%),
    url('../img/bgimage.png') top center / cover no-repeat;
}

.lancamento-header {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}
.lancamento-header .label-tag { color: rgba(255,255,255,.7); }
.lancamento-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: .06em;
  margin: .4rem 0 1rem;
  color: var(--white);
}
.lancamento-text {
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}

.lancamento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.lancamento-img-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.lancamento-img-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.lancamento-img-item:hover img { transform: scale(1.04); }

/* ============================================================
   SOBRE HOME
   ============================================================ */
.sobre-home { background: #fff; }

.sobre-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-home-text .label-tag { margin-bottom: .25rem; }
.sobre-home-text h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .06em;
}
.sobre-home-text p { color: var(--text-body); margin-bottom: .9rem; }
.sobre-home-text .btn { margin-top: .75rem; }

.sobre-home-img {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #F5F6F5;
}
.sobre-home-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  padding: 56px 0;
  /* border-top: 1px solid var(--gray-border); */
  /* border-bottom: 1px solid var(--gray-border); */
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--gray-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   CTA BANNER (centro e rodapé)
   ============================================================ */
.cta-footer-banner {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../img/img.bannerfinalgrandefundoclaro.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.cta-footer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: rgba(20, 22, 20, 0.72); */
  z-index: 0;
}
.cta-footer-banner .cta-banner-content {
  position: relative;
  z-index: 1;
}
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  min-height: 700px;
  justify-content: center;
  display: flex;
  text-align: center;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}
.cta-banner-overlay {
  position: absolute;
  border-radius: 30px;
  height: 100%;
  inset: 0;
  background: rgba(18, 19, 18, 0.82);
}
.cta-banner-overlay.dark {
  background: rgba(26, 27, 26, 0.88);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 670px;
}
.cta-banner-content.centered { text-align: center; margin-left: auto; margin-right: auto; }
.cta-banner-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner-content p  { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas { background: var(--white); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.area-card {
  height: 380px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}
.area-card-img {
  height: 190px;
  margin: 10px 10px 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.area-card-body {
  padding: 16px 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.area-card-body h3 {
  margin-bottom: .5rem;
  font-size: .95rem;
  color: var(--green-btn);
  line-height: 1.3;
}
.area-card-body p {
  font-size: .82rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.5;
}
.area-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: auto;
  padding: .7rem 1rem;
  background: var(--text-dark);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background var(--transition);
  border-radius: 20px;
}
.area-link::after {
  content: '→';
  font-size: 1rem;
}
.area-link:hover { background: var(--green-dark); color: var(--white); }

/* ============================================================
   DIFERENCIAIS — Por que escolher
   ============================================================ */
.diferenciais { background: var(--white); }
.diferenciais .section-header .label-tag { color: var(--text-muted); }
.diferenciais .section-header h2 { color: var(--text-dark); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 3.5rem;
}
.diferencial-item {
  background: var(--green-dark);
  border-radius: 16px;
  padding: 48px 16px 28px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.diferencial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(27,52,41,.22);
}
.diferencial-icon {
  width: 54px; height: 54px;
  background: var(--green-dark);
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: -27px;
  left: 50%; transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--white);
}
.diferencial-item h4 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ============================================================
   DESENVOLVIMENTO DE EMPREENDIMENTOS
   ============================================================ */
.desenvolvimento { background: var(--white); }

.desenvolvimento-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
}
.dev-item { text-align: center; padding: 8px; }
.dev-icon {
  width: 64px; height: 64px;
  background: var(--gray-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: var(--green-btn);
}
.dev-item h4 {
  margin-bottom: .75rem;
  font-size: 1rem;
  color: var(--text-dark);
}
.dev-item p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  min-height: 585px;
  background: linear-gradient(to right, var(--green-dark) 50%, var(--white) 50%);
}

.contato-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 585px;
}

/* Left info panel */
.contato-info {
  background: var(--green-dark);
  padding: 80px 64px 80px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contato-info .label-tag { color: rgba(255,255,255,.65); margin-bottom: .75rem; }
.contato-info h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.contato-info p { color: rgba(255,255,255,.65); font-size: .9rem; max-width: 320px; }

/* Right white panel */
.contato-panel {
  background: var(--white);
  padding: 56px 0px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tabs */
.contato-tabs {
  display: flex;
  border-bottom: 1.5px solid #e0e0e0;
  margin-bottom: 40px;
  gap: 0;
}
.contato-tab {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  padding: .6rem 1.1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
  letter-spacing: .01em;
  white-space: nowrap;
}
.contato-tab:hover { color: var(--text-dark); }
.contato-tab.active {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
  font-weight: 600;
}

/* Tab panels */
.contato-tab-panel { display: none; }
.contato-tab-panel.active { display: block; }

/* Form inside panel */
.contato-panel .form-group { margin-bottom: 28px; }
.contato-panel .form-group label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.contato-panel .form-group input,
.contato-panel .form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #d0d0d0;
  border-radius: 0;
  padding: .5rem 0;
  font-size: .95rem;
  color: var(--text-dark);
  transition: border-color .2s;
  box-shadow: none;
}
.contato-panel .form-group input:focus,
.contato-panel .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--green-dark);
  box-shadow: none;
}
.contato-panel .form-group textarea { resize: none; min-height: 80px; }

.btn-enviar {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 8px;
  font-family: var(--font);
  letter-spacing: .03em;
}
.btn-enviar:hover { background: var(--green-hover); }

.contato-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: .75rem;
}

.contato-cta p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.contato-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  width: fit-content;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: opacity .2s ease;
}

.contato-link:hover {
  opacity: 0.85;
}

.contato-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1rem;
}

.contato-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row.three-cols { grid-template-columns: 1fr 1fr 1fr; }
.form-row.two-cols   { grid-template-columns: 1fr 1fr; }

.form-group { margin-bottom: 12px; }
.form-group:last-child { margin-bottom: 0; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.9);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--text-dark);
  transition: box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(44,94,60,.5);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input.input-error,
.form-group textarea.input-error {
  box-shadow: 0 0 0 2px rgba(200,50,50,.55);
  border-color: transparent;
}

.contato-form .btn { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-footer);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.5); }

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul li {
  margin-bottom: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-col ul li i { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  display: block;
  margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 64px; height: 64px;
  box-shadow: none;
  transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   SERVIÇOS PAGE
   ============================================================ */
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.hero-breadcrumb a:hover { color: var(--white); }
.hero-breadcrumb span { opacity: .5; }

/* Serviços intro text */
.servicos-intro { background: var(--white); }
.servicos-intro-title { margin-bottom: 1.5rem; }
.servicos-intro p { max-width: 100%; color: var(--text-body); }

/* Processo */
.processo { background: var(--white); }
.processo-header { text-align: center; margin-bottom: 3.5rem; }
.processo-header .label-tag {
  margin-bottom: .6rem;
  color: var(--text-muted);
  letter-spacing: .14em;
}
.processo-header h2 { letter-spacing: .02em; }

.processo-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
  align-items: start;
}
/* Dashed wavy line through icon centers */
.processo-steps::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 12.5%;
  right: 12.5%;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='32'%3E%3Cpath d='M0,16 Q35,2 70,16 Q105,30 140,16' stroke='%23c8c8c8' stroke-width='1.5' fill='none' stroke-dasharray='4,4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 140px 32px;
  border: none;
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 24px 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  /* Scroll reveal initial state */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.step-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.step-item:nth-child(1) { transition-delay: .0s; }
.step-item:nth-child(2) { transition-delay: .15s; }
.step-item:nth-child(3) { transition-delay: .30s; }
.step-item:nth-child(4) { transition-delay: .45s; }
.step-item.active { background: transparent; }

/* Number badge circle */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #e8e8e8;
  font-size: .72rem;
  font-weight: 700;
  color: #aaa;
  margin: 0 0 16px;
}
.step-item.active .step-number {
  background: var(--text-dark);
  color: var(--white);
}

/* Icon circle */
.step-icon {
  width: 88px; height: 88px;
  background: #efefef;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}
.step-item.active .step-icon {
  background: #efefef;
  color: var(--text-dark);
}

.step-item h4 {
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.step-item.active h4 { color: var(--green-btn); }
.step-item > p:not(.step-number) { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.step-item.active > p:not(.step-number) { color: var(--green-btn); }

/* Áreas — alternating timeline layout */
/* ============================================================
   ÁREAS DE ATUAÇÃO — timeline alternating layout
   ============================================================ */
.areas-alt { background: var(--white); }

.areas-alt-header { text-align: center; }

/* Wrapper: holds the continuous vertical line */
.areas-alt-timeline {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* Each row: 3 cols — content | 60px center | content */
.areas-alt-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  grid-template-rows: 380px;
  grid-template-areas: "text dot img";
}
.areas-alt-item + .areas-alt-item {
  margin-top: 184px;
}
.areas-alt-item:nth-child(even) {
  grid-template-areas: "img dot text";
}

/* ── Text cell ── */
.areas-alt-text {
  grid-area: text;
  padding: 48px 60px 48px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.areas-alt-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.areas-alt-text p {
  color: var(--text-body);
  font-size: .93rem;
  line-height: 1.7;
}

/* ── Center dot cell ── */
.areas-alt-dot {
  grid-area: dot;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
/* Vertical line — runs full height of the cell, connecting dot to dot */
.areas-alt-dot::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--green-dark);
  z-index: 0;
}
/* First item: line starts at the dot, not above it */
.areas-alt-item:first-child .areas-alt-dot::before {
  top: 50%;
}
/* Last item: line ends at the dot, not below it */
.areas-alt-item:last-child .areas-alt-dot::before {
  bottom: 50%;
}
/* All items except last: extend the line through the 184px gap to the next item */
.areas-alt-item:not(:last-child) .areas-alt-dot::before {
  bottom: -184px;
}
/* The circle — sits on top of the line */
.areas-alt-dot::after {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-dark);
  box-shadow: 0 0 0 4px rgba(27,52,41,.13);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* ── Image cell ── */
.areas-alt-img {
  grid-area: img;
  overflow: hidden;
}
.areas-alt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.areas-alt-item:hover .areas-alt-img img { transform: scale(1.04); }

/* Scroll reveal */
.areas-alt-item {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .7s ease, transform .7s ease;
}
.areas-alt-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.areas-alt-item:nth-child(2) { transition-delay: .15s; }
.areas-alt-item:nth-child(3) { transition-delay: .05s; }
.areas-alt-item:nth-child(4) { transition-delay: .15s; }

/* ============================================================
   SOBRE PAGE
   ============================================================ */
.sobre-nos { background: var(--white); }
.sobre-nos-content { max-width: 1150px; }
.sobre-nos-content h2 { margin-bottom: 2rem; }
.sobre-nos-content p { margin-bottom: 1rem; color: var(--text-body); }
.sobre-nos-content p strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Quote banner */
.quote-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 750px;
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}
.quote-banner-bg {
  position: absolute; inset: 0;
}
.quote-banner-img { width: 100%; height: 100%; object-fit: cover; }
.quote-banner-overlay {
  position: absolute; inset: 0;
  background: url('../img/sobre/fumaçaSobre.png') center center / cover no-repeat;
}
.quote-banner-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.quote-banner-content h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.quote-banner-content p { color: rgba(255,255,255,.8); font-size: .98rem; }

/* Missão Visão Valores */
.mvv { background: var(--white); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}
.mvv-item h3 {
  font-size: .95rem;
  letter-spacing: .1em;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.mvv-item p { font-size: .9rem; color: var(--text-body); }

/* CTA Sobre */
.cta-sobre {
  min-height: 720px;
  position: relative;
  padding: 110px 0;
  text-align: center;
  align-content: center;
}
.cta-sobre-bg {
  position: absolute; inset: 0;
  background: url('../img/sobre/img.sobrebannerfinaaal.png') center center / cover no-repeat;
  background-attachment: fixed;
}
.cta-sobre-overlay {
  position: absolute; inset: 0;
  background: rgba(27,52,41,.82);
}
.cta-sobre-content {
  position: relative; z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-sobre h2 { color: var(--white); font-size: clamp(1.4rem,2.8vw,2rem); margin-bottom: 1.25rem; }
.cta-sobre-content p { color: rgba(255,255,255,.80); margin-bottom: 2.5rem; line-height: 1.7; }
.btn-cta-sobre {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--green-dark);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
  cursor: pointer;
}
.btn-cta-sobre:hover { background: var(--green-medium); border-color: rgba(255,255,255,.45); }

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFade .9s ease both;
}

/* ── Splash Intro ── */
#splash {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  will-change: transform;
}
#splash-logo {
  width: clamp(160px, 18vw, 240px);
  clip-path: inset(0 100% 0 0);
  animation: splashLogoReveal 1.8s cubic-bezier(.25, 0, .1, 1) .6s forwards;
}
@keyframes splashLogoReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}
#splash.is-exiting {
  animation: splashSlideUp 1.1s cubic-bezier(.76, 0, .24, 1) forwards;
  pointer-events: none;
}
@keyframes splashSlideUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* — Tablet ≤ 1024px — */
@media (max-width: 1024px) {
  .diferenciais-grid { grid-template-columns: repeat(3,1fr); }
  .desenvolvimento-grid { grid-template-columns: repeat(2,1fr); }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* — Tablet ≤ 768px — */
@media (max-width: 768px) {
  .section, .section-dark { padding: 56px 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: .95rem; }

  /* Hero */
  .hero { min-height: 600px; }
  
  .hero-content { 
    padding-top: 80px;
    margin-bottom: 40px; 
  }
  .hero-overlay { background: rgba(27,52,41,.80); }

  /* Grids */
  .lancamento-grid { grid-template-columns: 1fr; gap: 12px; }
  .sobre-home-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--gray-border); }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:last-child { border-bottom: none; }

  /* Processo — hide connecting line on 2-col layout */
  .processo-steps { grid-template-columns: repeat(2,1fr); }
  .processo-steps::before { display: none; }

  .mvv-grid { grid-template-columns: 1fr; gap: 28px; }
  .contato { background: var(--green-dark); }
  .contato-inner { grid-template-columns: 1fr; }
  .contato-info { padding: 56px 32px; }
  .contato-panel { padding: 40px 32px; }
  .contato-tabs { flex-wrap: wrap; gap: 4px; }
  .contato-tab { padding: .5rem .75rem; font-size: .78rem; }
  .form-row.three-cols { grid-template-columns: 1fr; }
  .form-row.two-cols   { grid-template-columns: 1fr; }

  /* Áreas alt timeline — stack vertically */
  .areas-alt-timeline::before { display: none; }
  .areas-alt-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "img" "text";
    height: auto;
  }
  .areas-alt-item + .areas-alt-item { margin-top: 0; }
  .areas-alt-item:not(:last-child) .areas-alt-dot::before { bottom: 0; }
  .areas-alt-item:nth-child(even) {
    grid-template-areas: "img" "text";
  }
  .areas-alt-dot { display: none; }
  .areas-alt-img { height: 240px; position: relative; }
  .areas-alt-text { padding: 32px 28px; }

  /* CTA Banner — full bleed on tablet */
  .cta-banner { min-height: 480px; padding: 64px 0; }
  .cta-banner-img,
  .cta-banner-overlay { border-radius: 12px; }

  /* Quote Banner — shorten on tablet */
  .quote-banner { min-height: 520px; }

  /* Disable background-attachment: fixed on mobile (iOS Safari fix) */
  .cta-sobre-bg { background-attachment: scroll; }
  .cta-footer-banner { background-attachment: scroll; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner-content { max-width: 100%; }
}

/* — Mobile ≤ 480px — */
@media (max-width: 480px) {
  .hero { min-height: 480px; }

  .diferenciais-grid { grid-template-columns: 1fr; }
  .desenvolvimento-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  /* Restore border-bottom removed by the 768px nth-child(3) rule */
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-border); }
  .stat-item:nth-child(3) { border-bottom: 1px solid var(--gray-border); }
  .stat-item:last-child { border-bottom: none; }
  .processo-steps { grid-template-columns: 1fr; }
  .lancamento-grid { grid-template-columns: 1fr; }
  .sobre-home-inner { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner { min-height: 360px; padding: 48px 0; }
  .cta-banner-img,
  .cta-banner-overlay { border-radius: 0; }

  /* Quote Banner */
  .quote-banner { min-height: 400px; padding: 64px 0; }

  /* WhatsApp float — smaller on phones */
  .whatsapp-float {
    bottom: 16px; right: 16px;
    width: 52px; height: 52px;
  }
  /* Ajustes mobile para hero: h1 32px, p 18px e margin-top de 15px */

  .hero-content .hero-title { font-size: 32px; margin-top: 15px; }
  .hero-content .hero-text  { font-size: 18px; }
  /* Remover quebras manuais (<br>) no hero apenas em mobile
     para evitar quebras estranhas mantendo o layout do desktop. */
  .hero-content .hero-title br,
  .hero-content .hero-text br {
    display: none;
  }

  .areas-alt-header .section-title {padding: 0px 0 0 !important;}

  .hero-img{object-fit:cover}
}
