/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:      #FFFFFF;
  --beige:      #F7F3EE;
  --beige-dark: #EDE8E0;
  --green:      #A8C3A0;
  --green-dark: #8AAF82;
  --text:       #2C2C2C;
  --text-soft:  #6B6B6B;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --radius:     4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:     0 8px 40px rgba(0,0,0,0.07);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================
   TYPOGRAPHY HELPERS
   ========================================= */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
}

em {
  font-style: italic;
  color: var(--green-dark);
}

.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.label--light {
  color: rgba(255,255,255,0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-top: 0.25rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(138,175,130,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 0.95rem;
}

/* =========================================
   FADE-IN ANIMATION
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: url('hero.png') center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 44, 44, 0.62) 0%,
    rgba(44, 44, 44, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 2rem;
  margin-left: clamp(1rem, 8vw, 7rem);
}

.hero__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* =========================================
   SOBRE
   ========================================= */
.sobre {
  padding: 8rem 0;
  background: var(--white);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre__img-wrap {
  position: relative;
}

.sobre__img-wrap::before {
  content: '';
  position: absolute;
  inset: -20px -20px 20px 20px;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius);
  z-index: 0;
}

.sobre__img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  filter: grayscale(8%);
}

.sobre__text h2 {
  margin-bottom: 1.5rem;
}

.sobre__text p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

/* =========================================
   DORES
   ========================================= */
.dores {
  padding: 8rem 0;
  background: var(--beige);
}

.dores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}

.card__icon {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================
   COMO FUNCIONA
   ========================================= */
.como {
  padding: 8rem 0;
  background: var(--white);
}

.como__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  padding: 0 2rem;
  text-align: center;
}

.step__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--beige-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.step p {
  font-size: 0.88rem;
}

.step__divider {
  width: 1px;
  height: 60px;
  background: var(--beige-dark);
  align-self: center;
  flex-shrink: 0;
}

/* =========================================
   DIFERENCIAIS
   ========================================= */
.diferenciais {
  padding: 8rem 0;
  background: var(--beige);
}

.diferenciais__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}

.diferencial {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.diferencial__icon {
  font-size: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1.3;
}

.diferencial h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.diferencial p {
  font-size: 0.9rem;
}

/* =========================================
   CTA FINAL
   ========================================= */
.cta-final {
  padding: 9rem 0;
  background: var(--text);
  text-align: center;
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.cta-final em {
  color: var(--green);
}

.cta-final p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.8rem;
  font-size: 1.05rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 2.5rem 0;
  background: #1a1a1a;
  text-align: center;
}

.footer p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 2;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.2);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.25); opacity: 0; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 860px) {
  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre__img-wrap::before {
    display: none;
  }

  .sobre__img-wrap img {
    height: 420px;
  }

  .diferenciais__list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .como__steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .step__divider {
    width: 60px;
    height: 1px;
  }

  .step {
    padding: 0;
  }
}

@media (max-width: 600px) {
  .hero__content {
    margin-left: 0;
    padding: 2rem 1.5rem;
  }

  .dores__grid {
    grid-template-columns: 1fr;
  }

  .sobre,
  .dores,
  .como,
  .diferenciais,
  .cta-final {
    padding: 5rem 0;
  }

  .btn--lg {
    width: 100%;
  }
}