/* ==========================================
   Doutor Beleza Estética - Premium Styles
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&family=Allura&family=Chewy&display=swap');

:root {
  /* Colors */
  --primary: rgb(109, 10, 138);       /* Original Purple */
  --primary-hover: rgb(89, 7, 115);
  --secondary: #333333;     /* Original Dark Grey */
  --secondary-hover: #1a1a1a;
  --accent: rgba(109, 10, 138, 0.1);  /* Derived from primary */
  
  --bg-main: #FFEFEF;       /* Matched exactly to logo true background */
  --surface: #ffffff;
  --surface-alt: #FFEFEF;   /* Matched exactly to logo true background */
  
  --text-main: #333333;
  --text-muted: #666666;
  
  --border: rgba(0,0,0,0.08);

  /* Typography */
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-script: 'Allura', cursive;

  /* Sizing & spacing */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 10px 30px rgba(109, 10, 138, 0.3);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.center {
  text-align: center;
}

/* ==========================================
   Layout
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

/* ==========================================
   Components
   ========================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(109, 10, 138, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: #fff;
}

/* Pill Badge */
.pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(109, 10, 138, 0.15);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* WhatsApp Fixed */
.wa-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.wa-fixed:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Topbar & Navigation */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-logo {
  height: 80px; /* Reduced from 120px to sit nicely next to text */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Failsafe blending since background is exact match */
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  line-height: 0.8;
  color: #c92a2a;
  margin-bottom: 2px;
  font-weight: normal;
}

.brand-title {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  font-family: 'Chewy', 'Playfair Display', cursive;
}

.lucci-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: brightness(0);
}
.lucci-logo:hover {
  transform: scale(1.05);
}

.logos-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navline {
  padding: 1.5rem 0;
}

.navline a {
  font-weight: 600;
  color: var(--secondary);
}
.navline a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109, 10, 138, 0.08) 0%, rgba(255, 245, 245, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
}

.hero-card .main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.6s ease;
}

.hero-card:hover .main {
  transform: scale(1.02);
}

/* Bubbles */
.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: float 6s ease-in-out infinite;
}

.b1 { top: 10%; left: -10%; animation-delay: 0s; }
.b2 { bottom: 15%; right: -5%; animation-delay: 3s; }

.bubble small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.bubble strong {
  display: block;
  color: var(--secondary);
  font-size: 1.1rem;
}

/* Feature Grid under Hero */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.feature {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 10, 138, 0.3);
}

.feature .icon {
  width: 60px;
  height: 60px;
  background: rgba(109, 10, 138, 0.06);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature .icon svg {
  width: 30px;
  height: 30px;
}

/* ==========================================
   Services Grid
   ========================================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  text-align: left;
}

.service {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service:hover img {
  transform: scale(1.05);
}

.service-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body p {
  color: var(--text-muted);
  flex: 1;
}

/* ==========================================
   Tags Section
   ========================================== */
.tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tag:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109, 10, 138, 0.3);
}

/* ==========================================
   Steps Section
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step .n {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

/* Connecting line for desktop */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: dashed 2px var(--border);
    z-index: 1;
  }
}

.step h3 {
  font-size: 1.25rem;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
}

.testimonial {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.person strong {
  display: block;
  font-size: 1.1rem;
  color: var(--secondary);
}

.person span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stars {
  color: #f3b400;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================
   Inner Pages Specifics
   ========================================== */
.list {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: left;
}

.list-item {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.list-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.list-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.kpi {
  padding: 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}

.kpi strong {
  display: block;
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--bg-main);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ==========================================
   CTA Box
   ========================================== */
.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #201526 100%);
  color: #fff;
  padding: 5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyBvcGFjaXR5PSIwLjA1IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iMSIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==') repeat;
  pointer-events: none;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background: var(--surface-alt);
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ==========================================
   Animations & Keyframes
   ========================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Scroll Reveal Classes */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal {
  transform: translateY(40px);
}
.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}
.reveal-zoom {
  transform: scale(0.95);
}

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .lead {
    margin: 0 auto 2rem;
  }
  .b1 { left: 0; }
  .b2 { right: 0; }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .tags {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 1.5rem;
  }
  h1 {
    font-size: 2.5rem;
  }
  .cta-box {
    padding: 3rem 1.5rem;
  }
  .footer-wrap {
    flex-direction: column;
  }
}
