/* =========================================
   AMIGA DE ALUGUEL – CSS PREMIUM (BEM)
   ========================================= */

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

:root {
  /* Colors */
  --c-rose-50:  #fff1f2;
  --c-rose-100: #ffe4e6;
  --c-rose-300: #fda4af;
  --c-rose-500: #f43f5e;
  --c-rose-600: #e11d48;
  
  --c-burgundy-900: #2a111a;
  --c-burgundy-800: #4a2130;
  
  --c-surface: #ffffff;
  --c-surface-soft: #fcf9f9;
  --c-surface-glass: rgba(255, 255, 255, 0.85);

  --c-text-main: #2a111a;
  --c-text-muted: #6b525b;

  --c-success: #10b981;
  --c-danger: #ef4444;

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing & Sizes */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(42, 17, 26, 0.05), 0 2px 4px -2px rgba(42, 17, 26, 0.05);
  --shadow-md: 0 10px 25px -3px rgba(42, 17, 26, 0.08), 0 4px 10px -4px rgba(42, 17, 26, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(244, 63, 94, 0.07);
  
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--c-text-main);
  background-color: var(--c-surface-soft);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
}

.section-spacing {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section-spacing { padding: 7rem 0; }
}

.bg-soft {
  background-color: var(--c-rose-50);
}

.text-center {
  text-align: center;
}

/* ---- Typography ---- */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-rose-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-burgundy-900);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.text-highlight {
  position: relative;
  display: inline-block;
  color: var(--c-rose-600);
  font-style: italic;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.15em;
  left: -2%;
  width: 104%;
  height: 0.3em;
  background-color: var(--c-rose-100);
  z-index: -1;
  border-radius: 4px;
}

/* ---- Components ---- */
.glass-panel {
  background: var(--c-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn--primary {
  background-color: var(--c-rose-500);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(244, 63, 94, 0.39);
}

.btn--primary:hover {
  background-color: var(--c-rose-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
}

.btn--full {
  width: 100%;
}

.btn__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-burgundy-900);
}

.badge--glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-rose-50) 0%, var(--c-surface-soft) 100%);
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.hero__bg-glow--1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background-color: var(--c-rose-200);
}

.hero__bg-glow--2 {
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background-color: #fce7f3; /* pink-100 */
}

.hero__nav {
  padding: 2rem 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  color: var(--c-burgundy-900);
  letter-spacing: 0.05em;
}

.hero__wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .hero__wrapper {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
  }
}

.hero__content {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 992px) {
  .hero__content {
    text-align: left;
    margin: 0;
  }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--c-burgundy-900);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 992px) {
  .hero__actions {
    align-items: flex-start;
  }
}

.hero__price-hint {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* Hero Image */
.hero__image-area {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glass);
}

.hero__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 1.25rem;
}

.hero__image-glass {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 40%);
  width: 85%;
  background: var(--c-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.glass-content strong {
  display: block;
  font-size: 1.25rem;
  color: var(--c-rose-600);
  font-family: var(--font-display);
}

.glass-content span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* ============================================================
   ABOUT & RULES SECTION
   ============================================================ */
.about__text-block {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  margin-bottom: 4rem;
  text-align: center;
}
.about__text-block p {
  margin-bottom: 1rem;
}
.about__text-block strong {
  color: var(--c-burgundy-900);
  font-weight: 600;
}

.rules-card {
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .rules-card { padding: 3.5rem; }
}

.rules-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-burgundy-900);
  text-align: center;
  margin-bottom: 0.5rem;
}

.rules-card__subtitle {
  text-align: center;
  color: var(--c-text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

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

@media (min-width: 768px) {
  .rules-card__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.rule-group {
  background: var(--c-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

.rule-group--no {
  background: linear-gradient(to bottom right, #fff, #fef2f2);
  border-color: #fee2e2;
}

.rule-group__title {
  font-size: 1.2rem;
  color: var(--c-burgundy-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rule-list {
  list-style: none;
}

.rule-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

.rule-group--yes .rule-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.rule-group--no .rule-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-danger);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

/* ============================================================
   HOW IT WORKS (STEPS)
   ============================================================ */
.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

@media (min-width: 900px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .steps-container::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-rose-200) 0%, transparent 100%);
    z-index: 0;
  }
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.step-card__number {
  width: 4rem;
  height: 4rem;
  background-color: var(--c-rose-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px var(--c-rose-50), 0 4px 12px rgba(244, 63, 94, 0.4);
}

.step-card__title {
  font-size: 1.25rem;
  color: var(--c-burgundy-900);
  margin-bottom: 0.75rem;
}

.step-card__text {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   PRICING & CTA FINAL
   ============================================================ */
.pricing {
  position: relative;
}

.pricing-panel {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .pricing-panel { padding: 4rem; }
}

.pricing-panel__content {
  position: relative;
  z-index: 10;
  max-width: 400px;
  margin: 0 auto;
}

.pricing-panel__price {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--c-rose-600);
  line-height: 1;
  margin: 1rem 0;
}

.pricing-panel__price span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text-muted);
  font-weight: 500;
  vertical-align: super;
}

.pricing-panel__desc {
  font-size: 1.05rem;
  color: var(--c-burgundy-900);
  margin-bottom: 2rem;
  font-weight: 500;
}

.pricing-panel__features {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
}

.pricing-panel__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.pricing-panel__features li:last-child { margin-bottom: 0; }

.pricing-panel__features .check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-rose-500);
  flex-shrink: 0;
}

.pricing-panel__pix-hint {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-top: 1rem;
  font-weight: 500;
}

/* Abstract art behind pricing */
.pricing-panel__bg-art {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.circle-1 {
  width: 300px; height: 300px;
  background: var(--c-rose-300);
  top: -100px; left: -100px;
}

.circle-2 {
  width: 250px; height: 250px;
  background: var(--c-rose-200);
  bottom: -50px; right: -50px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--c-burgundy-900);
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer__copy {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 500;
}

.footer__sub {
  font-size: 0.8rem;
}
