/* ---------- Design tokens ---------- */
:root {
  --green-900: #1f3a2c;
  --green-800: #2c4a39;
  --green-700: #335844;
  --green-600: #3e6b54;
  --cream-50: #fbf7ee;
  --cream-100: #f3ecdb;
  --cream-200: #e8dec5;
  --ink-900: #1a1a17;
  --ink-700: #3a3a35;
  --ink-500: #6b6b62;
  --ink-300: #b8b3a6;
  --bg: #fbf9f2;
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 58, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 58, 44, 0.08);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

ul {
  list-style: none;
  padding: 0;
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-900)
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3
}

em {
  font-style: italic;
  font-weight: 500
}

p {
  margin: 0
}

.skip-link {
  position: absolute;
  left: -9999px
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
  z-index: 100
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

.section {
  padding: 120px 0
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-block;
  margin-bottom: 18px
}

.eyebrow.light {
  color: #cdd6cf
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: .95rem;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--green-800);
  color: var(--cream-50)
}

.btn-primary:hover {
  background: var(--green-900)
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid rgba(0, 0, 0, .12)
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, .04)
}

.btn-sm {
  padding: .65rem 1.05rem;
  font-size: .85rem
}

.round-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 1.05rem;
  transition: background .15s ease
}

.round-btn:hover {
  background: rgba(0, 0, 0, .05)
}

.round-btn-dark {
  background: var(--green-800);
  color: var(--cream-50);
  border-color: transparent
}

.round-btn-dark:hover {
  background: var(--green-900)
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(251, 249, 242, .75)
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm)
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--cream-50);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem
}

.brand-name {
  font-weight: 500;
  font-size: .92rem
}

.nav {
  display: flex;
  gap: 26px
}

.nav a {
  font-size: .9rem;
  color: var(--ink-700)
}

.nav a:hover {
  color: var(--ink-900)
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 80px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: start
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--green-800)
}

.lead {
  margin: 24px 0 32px;
  color: var(--ink-700);
  max-width: 46ch;
  font-size: 1.02rem
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
  padding-top: 22px;
  max-width: 560px
}

.hero-stats dt {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -.02em
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--ink-500);
  font-size: .78rem
}

.foot-copy h2 em {
  color: var(--green-800)
}

.hero-photo {
  position: relative
}

.photo-frame {
  background: var(--green-800);
  border-radius: 240px 240px 240px 240px / 280px 280px 240px 240px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top
}

.photo-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  color: var(--ink-700);
  white-space: nowrap
}

/* ---------- Ciência ---------- */
.ciencia {
  background: var(--bg)
}

.ciencia-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start
}

.ciencia p {
  color: var(--ink-700);
  margin-top: 18px;
  max-width: 42ch
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.credentials li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream-100);
  border-radius: var(--radius-pill);
  padding: 18px 24px
}

.credentials li>div {
  flex: 1;
  display: flex;
  flex-direction: column
}

.credentials strong {
  font-weight: 600;
  font-size: .98rem
}

.credentials span {
  color: var(--ink-500);
  font-size: .82rem;
  margin-top: 2px
}

.chip {
  background: #fff;
  color: var(--ink-700);
  font-size: .78rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500
}

/* ---------- Método ---------- */
.metodo {
  background: var(--bg);
  padding-top: 40px
}

.metodo-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px
}

.metodo-head p {
  color: var(--ink-500);
  max-width: 38ch;
  justify-self: end;
  text-align: right
}

.metodo-head em {
  color: var(--green-800)
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, .04)
}

.step h3 {
  margin-top: 4px
}

.step p {
  color: var(--ink-500);
  font-size: .92rem;
  line-height: 1.55
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-300)
}

.step-wide {
  grid-column: 1 / -1
}

/* ---------- Abordagem (verde) ---------- */
.abordagem {
  background: var(--green-800);
  color: var(--cream-50);
  border-radius: 36px;
  margin: 80px 28px;
  padding: 100px 0
}

.abordagem .container {
  padding: 0 60px
}

.abordagem h2.light {
  color: var(--cream-50)
}

.abordagem h2 em {
  color: #cdd6cf;
  font-style: italic;
  color: var(--green-800)
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px
}

.pillar {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px
}

.pillar-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem
}

.pillar-tag {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #cdd6cf
}

.pillar h3 {
  color: var(--cream-50);
  font-size: 1.4rem
}

.pillar p {
  color: #dde3dd;
  font-size: .92rem;
  line-height: 1.55
}

/* ---------- Avaliações ---------- */
.aval-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  gap: 24px
}

.aval-head em {
  color: var(--green-800);
}

.aval-nav {
  display: flex;
  gap: 10px
}

.testimonials-viewport {
  overflow: hidden
}

.testimonials {
  display: flex;
  gap: 20px;
  transition: transform .5s ease
}

.testimonial {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box
}

.testimonial-dark {
  background: var(--green-800)
}

.testimonial-dark p,
.testimonial-dark footer strong,
.testimonial-dark footer span {
  color: var(--cream-50)
}

.stars {
  color: #d8a54a;
  letter-spacing: 2px;
  font-size: .95rem
}

.testimonial p {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-700);
  flex: 1
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-800);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  flex-shrink: 0
}

.testimonial footer strong {
  display: block;
  font-size: .88rem;
  font-weight: 600
}

.testimonial footer span {
  font-size: .75rem;
  color: var(--ink-500)
}

/* ---------- Onde ---------- */
.onde {
  background: var(--bg)
}

.onde-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start
}

.onde p {
  color: var(--ink-500);
  margin-top: 18px;
  max-width: 34ch
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm)
}

.locations li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.locations li:last-child {
  border-bottom: 0
}

.locations li>div {
  flex: 1;
  display: flex;
  flex-direction: column
}

.locations strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500
}

.locations span {
  color: var(--ink-500);
  font-size: .82rem;
  margin-top: 4px
}

.tag {
  min-width: 140px;
  color: var(--green-800);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(0, 0, 0, .08)
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap
}

.footer-inner>div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink-700)
}

.footer-inner small {
  color: var(--ink-500);
  font-size: .8rem
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section {
    padding: 80px 0
  }

  .hero-grid,
  .ciencia-grid,
  .metodo-head,
  .onde-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .metodo-head p {
    justify-self: start;
    text-align: left
  }

  .steps,
  .pillars {
    grid-template-columns: 1fr
  }

  .testimonial {
    flex: 0 0 100%
  }

  .step-wide {
    grid-column: auto
  }

  .nav {
    display: none
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .abordagem {
    margin: 40px 16px;
    border-radius: 24px
  }

  .abordagem .container {
    padding: 0 28px
  }

  .photo-frame {
    aspect-ratio: 3/4
  }
}