/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #FFFFFF;
  --cream:      #FAF8F5;
  --sand:       #EDE8DF;
  --sage:       #8FAF8A;
  --sage-light: #C8DBC5;
  --sage-dark:  #5F8A5A;
  --warm-gray:  #9A9490;
  --charcoal:   #3A3530;
  --text:       #4A4540;
  --text-soft:  #6E6A65;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(58,53,48,.07);
  --shadow-md:  0 8px 32px rgba(58,53,48,.10);
  --shadow-lg:  0 20px 60px rgba(58,53,48,.13);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .9rem;
}

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 6rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(95,138,90,.35);
}
.btn-primary:hover { background: #4a7045; box-shadow: 0 8px 28px rgba(95,138,90,.40); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-dark); color: var(--white); }

.btn-wa {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
}
.btn-wa:hover { background: #1ebe5a; box-shadow: 0 8px 28px rgba(37,211,102,.40); }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(237,232,223,.6);
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--charcoal);
  line-height: 1.1;
}
.logo span { display: block; font-size: .72rem; font-family: var(--font-body); font-weight: 400; color: var(--warm-gray); letter-spacing: .06em; }

nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
nav a { font-size: .9rem; font-weight: 500; color: var(--text-soft); transition: color var(--transition); }
nav a:hover { color: var(--sage-dark); }

.nav-cta { margin-left: .5rem; padding: .6rem 1.4rem; font-size: .88rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .3rem; }
.hamburger span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
#hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, #F0EDE6 100%);
  padding-top: 90px;
  overflow: hidden;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,175,138,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { padding: 3rem 2rem 3rem 0; }
.hero-text .eyebrow { margin-bottom: 1.2rem; }

.hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-trust {
  margin-top: 2.8rem;
  display: flex;
  gap: 1.8rem;
}
.trust-item { text-align: left; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--charcoal); }
.trust-item span { font-size: .78rem; color: var(--text-soft); letter-spacing: .04em; }

.hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  min-height: 560px;
}

.hero-photo-wrap {
  position: relative;
  width: 88%;
  max-width: 440px;
  margin-bottom: 0;
}

.hero-photo-bg {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 85%;
  height: 85%;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
  border-radius: var(--radius-xl) var(--radius-xl) 0 var(--radius-xl);
  z-index: 0;
}

.hero-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top;
  aspect-ratio: 3/4;
}

.hero-badge {
  position: absolute;
  bottom: 40px; left: -20px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .85rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .82rem;
  white-space: nowrap;
}
.hero-badge .badge-icon { font-size: 1.4rem; }
.hero-badge strong { display: block; color: var(--charcoal); font-size: .88rem; }
.hero-badge span { color: var(--text-soft); font-size: .75rem; }

/* ===== SOBRE ===== */
#sobre {
  background: var(--white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-photo-wrap {
  position: relative;
}

.sobre-photo-bg {
  position: absolute;
  top: 30px; left: 30px;
  right: -30px; bottom: -30px;
  background: var(--sand);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.sobre-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top;
  aspect-ratio: 3/4;
}

.sobre-crp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.sobre-text h2 { font-size: clamp(1.7rem,2.5vw,2.2rem); margin-bottom: 1.4rem; color: var(--charcoal); }
.sobre-text p { color: var(--text-soft); margin-bottom: 1rem; line-height: 1.8; }

.sobre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}
.chip {
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--text-soft);
  font-size: .78rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-weight: 500;
}

/* ===== ATUAÇÃO ===== */
#atuacao { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem,2.8vw,2.5rem); color: var(--charcoal); margin-bottom: .75rem; }
.section-header p { color: var(--text-soft); max-width: 540px; margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(237,232,223,.8);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.card h3 { font-size: 1rem; font-weight: 600; color: var(--charcoal); font-family: var(--font-body); }
.card p { font-size: .82rem; color: var(--text-soft); line-height: 1.6; }

/* ===== ABORDAGEM ===== */
#abordagem { background: var(--white); }

.abordagem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.abordagem-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--sand);
  transition: box-shadow var(--transition), transform var(--transition);
}
.abordagem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.abordagem-card .tag {
  display: inline-block;
  background: var(--sage-dark);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.abordagem-card h3 { font-size: 1.35rem; color: var(--charcoal); margin-bottom: .9rem; }
.abordagem-card p { color: var(--text-soft); font-size: .92rem; line-height: 1.75; }

/* ===== PROCESSO ===== */
#processo { background: var(--cream); }

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage-light), var(--sage));
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-num {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--sage-dark);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: background var(--transition), color var(--transition);
}

.timeline-item:hover .timeline-num {
  background: var(--sage-dark);
  color: var(--white);
  border-color: var(--sage-dark);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(237,232,223,.8);
  transition: box-shadow var(--transition);
}
.timeline-item:hover .timeline-content { box-shadow: var(--shadow-md); }

.timeline-content h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--charcoal); margin-bottom: .4rem; }
.timeline-content p { font-size: .87rem; color: var(--text-soft); line-height: 1.7; }

/* ===== DEPOIMENTOS / VALORES ===== */
#valores {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2520 100%);
  color: var(--white);
}

#valores .section-header h2 { color: var(--white); }
#valores .section-header p { color: rgba(255,255,255,.6); }
#valores .eyebrow { color: var(--sage-light); }

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.valor-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: background var(--transition), transform var(--transition);
}
.valor-card:hover { background: rgba(255,255,255,.10); transform: translateY(-3px); }

.valor-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.2rem;
}
.valor-quote::before { content: '"'; color: var(--sage-light); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-right: .2rem; }

.valor-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-light);
}

/* ===== CTA FINAL ===== */
#cta {
  background: var(--sand);
  text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem,3vw,2.5rem); color: var(--charcoal); margin-bottom: 1rem; }
.cta-inner p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.75; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTATO ===== */
#contato { background: var(--white); }

.contato-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.contato-info p { color: var(--text-soft); font-size: 1rem; margin-bottom: .5rem; }
.contato-info a { color: var(--sage-dark); font-weight: 600; font-size: 1.1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 2rem 0;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-logo { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; }
.footer-sub { font-size: .82rem; }
.footer-crp { font-size: .78rem; opacity: .55; margin-top: .2rem; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding-top: 80px; min-height: auto; }
  .hero-text { padding: 3rem 0 1.5rem; order: 1; }
  .hero-image { order: 2; justify-content: center; min-height: 420px; }
  .hero-photo-wrap { max-width: 320px; width: 80%; }

  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-photo-wrap { max-width: 360px; margin: 0 auto; }

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

  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 1.5rem; box-shadow: var(--shadow-md); gap: 1rem; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .section-pad { padding: 4rem 0; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 1.2rem; }
  .timeline::before { left: 24px; }
  .timeline-num { width: 48px; height: 48px; font-size: 1rem; }
}
