/* Variaveis globais */
:root {
  --bg: #f8f3ed;
  --bg-soft: #fffaf4;
  --text: #2e2a27;
  --muted: #6f6962;
  --accent: #7f9b86;
  --accent-dark: #4f6b58;
  --accent-soft: #dfe9df;
  --line: rgba(46, 42, 39, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(76, 58, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
}

/* Reset/base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(79, 107, 88, 0.58);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.045em;
  font-weight: 600;
}

section {
  padding: 86px 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease both;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 46px;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Navegacao */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 243, 237, 0.78);
  border-bottom: 1px solid var(--line);
  animation: dropIn 0.75s ease both;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--white));
  border: 1px solid rgba(127, 155, 134, 0.35);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-family: 'Playfair Display', serif;
  font-size: 23px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.menu a {
  position: relative;
  transition: color 0.25s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.menu a:hover {
  color: var(--text);
}

.menu a:hover::after {
  width: 100%;
}

/* Botoes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  background: var(--accent-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(79, 107, 88, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 22px 48px rgba(79, 107, 88, 0.28);
  background: #405a49;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 18px 44px rgba(37, 211, 102, .32);
  z-index: 50;
  animation: pulse 2.2s ease-in-out infinite;
}

/* Hero */
.hero {
  position: relative;
  padding: 86px 0 74px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  top: -250px;
  right: -180px;
  background: radial-gradient(circle, rgba(127, 155, 134, 0.22), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 58px;
  align-items: center;
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  max-width: 660px;
  animation: fadeUp 0.8s 0.08s ease both;
}

.hero p {
  margin-top: 24px;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  animation: fadeUp 0.8s 0.16s ease both;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.8s 0.24s ease both;
}

.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-card {
  position: relative;
  min-height: 610px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: imageReveal 1s 0.12s cubic-bezier(.2,.8,.2,1) both;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.95);
  transform: scale(1.04);
  animation: slowZoom 8s ease-in-out infinite alternate;
}

.floating-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: calc(100% - 56px);
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(46, 42, 39, 0.12);
  animation: floatSoft 4.5s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.trust-row {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  animation: fadeUp 0.8s 0.32s ease both;
}

.trust-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.6);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.75s ease both;
}

.card:nth-child(2) {
  animation-delay: .08s;
}

.card:nth-child(3) {
  animation-delay: .16s;
}

.card:nth-child(4) {
  animation-delay: .24s;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 54px rgba(76, 58, 42, 0.10);
  border-color: rgba(127, 155, 134, 0.32);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 20px;
  font-size: 24px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Secao split */
.split {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 560px;
}

.portrait img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.98);
  transition: transform 0.8s ease;
}

.portrait:hover img {
  transform: scale(1.04);
}

.content h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 26px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}

.step:hover {
  transform: translateX(6px);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.step span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Depoimento/CTA */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

.quote {
  padding: 46px;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(76, 58, 42, 0.08);
}

.quote-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 86px;
  color: var(--accent);
  line-height: 0.75;
  margin-bottom: 8px;
}

.quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.quote span {
  color: var(--muted);
}

.cta-panel {
  padding: 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-dark), #8aa292);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  right: -80px;
  top: -80px;
}

.cta-panel h2 {
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1.06;
  position: relative;
}

.cta-panel p {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  position: relative;
}

.cta-panel .btn {
  background: var(--white);
  color: var(--accent-dark);
  box-shadow: none;
  margin-top: 30px;
  width: fit-content;
  position: relative;
}

.eyebrow-light {
  color: rgba(255,255,255,.72);
}

/* Footer */
footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

/* Animacoes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.98);
    clip-path: inset(12% 0 0 0 round 32px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0 0 round 32px);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.09);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .quote-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-card,
  .hero-card img {
    min-height: 470px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    height: 70px;
  }

  .brand small {
    display: none;
  }

  .btn {
    padding: 13px 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  section {
    padding: 66px 0;
  }

  .quote,
  .cta-panel {
    padding: 30px;
  }

  .portrait,
  .portrait img {
    min-height: 430px;
    height: 430px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}
