/* =============================================
   MEU IMOB — Landing Page Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --navy:      #17262D;
  --green:     #B7CF5B;
  --green-dark:#8fa33a;
  --white:     #f4f6f4;
  --light-bg:  #f5f7f2;
  --light-bg2: #ffffff;
  --dark-text: #1e2a2f;
  --mid-text:  #2e3e44;
  --radius:    14px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--light-bg2);
  color: var(--dark-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ─── Scroll Animation Base ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--light-bg2);
}

/* Dot-grid geometric background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(143,163,58,0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(183,207,91,0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
}

.hero__logo {
  width: clamp(160px, 40vw, 260px);
  margin: 0 auto 40px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(143,163,58,0.1);
  border: 1px solid rgba(143,163,58,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(143,163,58,0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(143,163,58,0.25); }
  50%       { box-shadow: 0 0 0 7px rgba(143,163,58,0.08); }
}

.hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.hero__title span {
  color: var(--green-dark);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--mid-text);
  max-width: 640px;
  margin: 0 auto;
}

/* Scroll arrow */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2.2s ease-in-out infinite;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--green-dark));
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--green-dark);
  border-bottom: 1.5px solid var(--green-dark);
  transform: rotate(45deg);
  margin-top: -12px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
  background-color: var(--light-bg);
  padding: 100px 24px;
  position: relative;
}

.features__container {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Phone mockup — realistic frame */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone {
  width: 260px;
  height: 530px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 44px;
  border: 2px solid #2a2a2a;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    inset 0 2px 4px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding: 12px;
}

/* Dynamic Island */
.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000;
  border-radius: 100px;
  z-index: 10;
}

/* Glass reflection */
.phone::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: linear-gradient(
    165deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.02) 30%,
    transparent 50%
  );
  z-index: 5;
  pointer-events: none;
}


/* Screen area */
.phone__screen {
  position: absolute;
  inset: 12px;
  border-radius: 34px;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}


/* Real screenshot variant */
.phone__screen--img {
  padding: 0;
  border-radius: 34px;
  overflow: hidden;
}
.phone__screen--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
}

/* Glow ring behind phone */
.phone-wrap::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,207,91,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.features__label {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.features__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.features__desc {
  font-size: 1.05rem;
  color: var(--mid-text);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 36px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--dark-text);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: rgba(143,163,58,0.12);
  border: 1.5px solid var(--green-dark);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%238fa33a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
  padding: 100px 24px;
  text-align: center;
  background-color: var(--light-bg2);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(143,163,58,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta__eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.cta__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--dark-text);
}

.cta__subtitle {
  font-size: 1.05rem;
  color: var(--mid-text);
  font-weight: 400;
  margin-bottom: 44px;
  line-height: 1.6;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-store__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.btn-store__text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.btn-store--apple {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-store--apple:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.btn-store--google {
  background: var(--green);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(183,207,91,0.2);
}

.btn-store--google:hover {
  transform: translateY(-3px);
  background: #c6de62;
  box-shadow: 0 12px 32px rgba(183,207,91,0.35);
}

.cta__whatsapp {
  margin-top: 32px;
}

.cta__whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  border: 1px solid #20bd5a;
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.cta__whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.cta__whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .features__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features__text {
    order: 2;
  }

  .phone-wrap {
    order: 1;
  }

  .phone {
    width: 220px;
    height: 450px;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 72px; }
  .features, .cta { padding: 72px 20px; }
}
