/* ============================================================
   MAYA LOCAÇÕES — Landing Page Premium
   Mobile First | Pegue e Monte em Piracicaba
   ============================================================ */

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

:root {
  /* Brand Colors from logo */
  --pink:        #FF3E8E;
  --pink-light:  #FF6DAE;
  --pink-pale:   #FFF0F7;
  --pink-deep:   #D4006A;
  --purple:      #7B2D8B;
  --purple-light:#A855C4;
  --purple-pale: #F5EEFF;

  /* Neutral */
  --white:       #FFFFFF;
  --off-white:   #FAFAFA;
  --gray-100:    #F5F5F5;
  --gray-200:    #EBEBEB;
  --gray-400:    #AAAAAA;
  --gray-600:    #666666;
  --gray-800:    #333333;
  --black:       #111111;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #FFF0F7 0%, #F5EEFF 50%, #FFF0F7 100%);
  --grad-brand:  linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  --grad-cta:    linear-gradient(135deg, #C8006A 0%, #6A1A7A 100%);

  /* Typography */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(255, 62, 142, 0.08);
  --shadow-md:  0 4px 24px rgba(255, 62, 142, 0.14);
  --shadow-lg:  0 8px 48px rgba(255, 62, 142, 0.20);

  /* Header height */
  --header-h: 64px;
  --floating-h: 76px;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
  padding-bottom: var(--floating-h);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

.section-inner {
  text-align: center;
  padding: 0 1.25rem;
  margin-bottom: var(--space-lg);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
  padding: 0 1.25rem;
}

/* ---------- BUTTONS ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--grad-brand);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  min-height: 52px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 4px 20px rgba(255, 62, 142, 0.35);
  white-space: nowrap;
  text-decoration: none !important;
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 62, 142, 0.45);
  filter: brightness(1.06);
}

.btn-whatsapp:active { transform: scale(0.97); }

.btn-whatsapp-header {
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
  min-height: 40px;
}

.btn-whatsapp-primary {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  min-height: 56px;
  width: 100%;
  max-width: 380px;
  justify-content: center;
}

.btn-whatsapp-cta {
  font-size: 1.1rem;
  padding: 1.1rem 2.2rem;
  min-height: 60px;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}

.btn-whatsapp-fixed {
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(255, 62, 142, 0.4);
}

.btn-whatsapp-text {
  background: none !important;
  box-shadow: none !important;
  color: var(--pink) !important;
  padding: 0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: auto;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--purple) !important;
  border: 2px solid var(--purple);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  min-height: 52px;
  transition: all 0.18s ease;
}
.btn-location:hover, .btn-location:focus-visible {
  background: var(--purple);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(123, 45, 139, 0.3);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  min-height: 52px;
  transition: all 0.18s ease;
}
.btn-instagram:hover, .btn-instagram:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
  filter: brightness(1.08);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 62, 142, 0.1);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(255, 62, 142, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* ---------- HERO ---------- */
.hero {
  min-height: auto;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg) 1.25rem var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,62,142,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(123,45,139,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 62, 142, 0.12);
  color: var(--pink-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 62, 142, 0.2);
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-800);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 12px rgba(255, 62, 142, 0.15);
}

.hero-title em {
  font-style: normal;
  font-weight: 900;
  display: block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 1.75rem;
}

.hero-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.9rem;
}
.hero-hint svg { color: var(--pink); flex-shrink: 0; }

/* Hero Image */
.hero-image-wrap {
  width: 100%;
  max-width: 480px;
  margin-top: var(--space-lg);
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
}

.hero-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  font-size: 0.9rem;
}
.hero-image-badge span { font-size: 1.4rem; }
.hero-image-badge strong { display: block; font-weight: 700; color: var(--gray-800); font-size: 0.85rem; }
.hero-image-badge small { color: var(--gray-600); font-size: 0.75rem; }

/* ---------- CAROUSEL ---------- */
.carousel-section {
  background: var(--white);
  padding: var(--space-xl) 0;
}

/* Carrossel dentro do hero */
.hero-carousel {
  width: 100vw;
  margin-left: calc(-1.25rem);   /* compensate hero padding */
  margin-top: var(--space-md);
}

.hero-carousel-cta {
  text-align: center;
  margin-top: var(--space-md);
  padding: 0 1.25rem;
  width: 100%;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 1.25rem;
  position: relative;
}

.carousel-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: block;
  background: #f9f0f5;
}

.carousel-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  color: var(--gray-800);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.18s ease;
  border: none;
}
.carousel-arrow:hover { background: var(--pink); color: var(--white); }
.carousel-prev { left: 1.8rem; }
.carousel-next { right: 1.8rem; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0 1.25rem;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.carousel-dot.is-active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
}

/* ---------- BENEFITS ---------- */
.benefits-section {
  background: var(--grad-hero);
  padding: var(--space-xl) 1.25rem;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 62, 142, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--pink-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
}

.benefit-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ---------- HOW IT WORKS ---------- */
.how-section {
  background: var(--white);
  padding: var(--space-xl) 1.25rem;
  position: relative;
  overflow: hidden;
}

.how-bg-shape {
  position: absolute;
  top: 0; right: -100px;
  width: 300px; height: 300px;
  background: var(--pink-pale);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.steps-list {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--grad-brand);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 62, 142, 0.35);
  position: relative;
  z-index: 1;
}

.step-content { padding-bottom: 0.5rem; }

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.step-connector {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--pink-light), var(--purple-light));
  margin-left: 23px;
  opacity: 0.4;
}

/* ---------- LOCATION ---------- */
.location-section {
  background: var(--grad-hero);
  padding: var(--space-xl) 1.25rem;
  text-align: center;
}

.location-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  text-align: center;
}

.location-map-placeholder {
  max-width: 480px;
  margin: 1.75rem auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 2px dashed rgba(255, 62, 142, 0.2);
}

.map-pin-icon { font-size: 3rem; }
.location-map-placeholder span { font-weight: 700; font-size: 1.1rem; color: var(--gray-800); }
.location-map-placeholder small { color: var(--gray-600); font-size: 0.85rem; }

.location-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--grad-cta);
  padding: var(--space-xl) 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
}

.cta-deco { font-size: 3rem; margin-bottom: 1rem; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.85);
  padding: var(--space-lg) 1.25rem var(--space-md);
  text-align: center;
}

.footer-inner { max-width: 480px; margin: 0 auto; }

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.15s ease;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contact:hover { color: var(--pink-light); }
.footer-address { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* ---------- FLOATING BAR ---------- */
.floating-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--floating-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 62, 142, 0.12);
  box-shadow: 0 -4px 24px rgba(255, 62, 142, 0.12);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.floating-bar-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.floating-bar-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}

.floating-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  position: relative;
}
.floating-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 1.8s ease-out infinite;
}

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

/* ============================================================
   DESKTOP BREAKPOINTS
   ============================================================ */

/* Tablet: 640px+ */
@media (min-width: 640px) {

  .hero {
    padding: var(--space-xl) 2rem calc(var(--space-xl) + 1rem);
  }

  .carousel-slide {
    padding: 0 2rem;
    min-width: 80%;
  }

  .carousel-track { padding: 0 10%; }

  .benefits-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .benefit-card {
    flex: 1 1 280px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .location-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }

  .site-header { height: var(--header-h); }
  .header-logo img { height: 50px; }

  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) 3rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 1.75rem; }
  .hero-hint { justify-content: center; }

  .section-title { font-size: 2.4rem; }

  .carousel-slide {
    min-width: 50%;
    padding: 0 0.75rem;
  }
  .carousel-track { padding: 0 25%; }

  .benefits-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 900px;
  }

  /* Hide floating bar on desktop */
  .floating-bar { display: none; }
  body { padding-bottom: 0; }

  .how-section { max-width: none; }
  .steps-list { max-width: 600px; }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
  .hero { max-width: 1400px; }
  .section-title { font-size: 2.6rem; }
}

/* ============================================================
   ACCESSIBILITY & PERFORMANCE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .floating-pulse::before { animation: none; }
  .carousel-track { transition: none; }
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
