/* ==========================================================================
   ARTE EXPRESSO (@arte.expresso) — Contemporary Editorial Design System
   Inspired by Minimalist Travel & Art Reference UI
   WhatsApp: (11) 95793-4714
   ========================================================================== */

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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #F1F3F5;
  --bg-dark: #0F0F12;
  --bg-dark-card: #18181C;
  
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  --border-light: #E5E7EB;
  --border-subtle: #F3F4F6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   1. TYPOGRAPHY & FLUID HEADINGS (Reference Style)
   -------------------------------------------------------------------------- */
.font-sans {
  font-family: var(--font-sans);
}

.font-serif {
  font-family: var(--font-serif);
}

h1, h2, h3, h4, h5 {
  text-wrap: balance;
  letter-spacing: -0.03em;
}

p {
  text-wrap: pretty;
}

.fluid-hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.fluid-section-title {
  font-size: clamp(1.65rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   2. ACCESSIBLE SELECTION & FOCUS
   -------------------------------------------------------------------------- */
::selection {
  background: #111827;
  color: #FFFFFF;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #111827;
}

@media (max-width: 640px) {
  input, 
  textarea, 
  select {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   3. HERO PANORAMIC & INTEGRATED SEARCH BAR (Exact Reference Pattern)
   -------------------------------------------------------------------------- */
.hero-panoramic-container {
  border-radius: 0 0 2.5rem 2.5rem;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .hero-panoramic-container {
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

.hero-search-bar {
  background: rgba(45, 30, 20, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-search-input {
  background: transparent;
  color: #FFFFFF;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   4. ASYMMETRIC EDITORIAL GALLERY CARDS (Reference Pattern)
   -------------------------------------------------------------------------- */
.editorial-card {
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
}

@media (hover: hover) {
  .editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  }
}

/* --------------------------------------------------------------------------
   5. CATALOG PRODUCT CARDS (Reference "Pick the Place" Pattern)
   -------------------------------------------------------------------------- */
.product-reference-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1px solid #E5E7EB;
  padding: 1rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .product-reference-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
  }
}

/* Filter Strip in Reference Layout */
.reference-filter-bar {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 1.25rem;
  box-shadow: 0 4px 25px -4px rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   6. BUTTONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
.btn-solid-black {
  background: #0F0F12;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.18s ease;
  user-select: none;
}

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

@media (hover: hover) {
  .btn-solid-black:hover {
    background: #27272A;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  }
}

.btn-outline-clean {
  background: #FFFFFF;
  color: #111827;
  border: 1px solid #E5E7EB;
  font-weight: 600;
  transition: all 0.18s ease;
  user-select: none;
}

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

@media (hover: hover) {
  .btn-outline-clean:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
  }
}

/* Decorative Dotted Line & Target Icon */
.dotted-accent-line {
  background-image: radial-gradient(#9CA3AF 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* --------------------------------------------------------------------------
   7. SCROLL ANIMATIONS (INTERSECTION OBSERVER REVEAL)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 80ms; }
.delay-200 { transition-delay: 160ms; }
.delay-300 { transition-delay: 240ms; }
.delay-400 { transition-delay: 320ms; }
.delay-500 { transition-delay: 400ms; }

/* --------------------------------------------------------------------------
   8. TACTILE 3D CARD PARALLAX TILT (Desktop Only)
   -------------------------------------------------------------------------- */
@media (pointer: fine) and (hover: hover) {
  .interactive-tilt {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
}

/* --------------------------------------------------------------------------
   9. SITE PRELOADER (MONOCHROME BLACK & WHITE WITH BLUR PULSE)
   -------------------------------------------------------------------------- */
#site-preloader {
  background-color: #000000;
}

#site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.preloader-blur-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 45%, transparent 70%);
  filter: blur(50px);
  animation: blurAuraPulse 2s ease-in-out infinite alternate;
  will-change: transform, opacity, filter;
}

@keyframes blurAuraPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
    filter: blur(40px);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
    filter: blur(65px);
  }
  100% {
    transform: scale(1.35);
    opacity: 0.55;
    filter: blur(75px);
  }
}

.preloader-logo-pulse {
  animation: logoBreathPulse 2s ease-in-out infinite alternate;
  will-change: transform, opacity, filter;
}

@keyframes logoBreathPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.4;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2)) blur(0.4px);
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 75px rgba(255, 255, 255, 0.5)) blur(0px);
  }
  100% {
    transform: scale(1.08);
    opacity: 0.7;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) blur(0.2px);
  }
}

/* Pulsing effect for WhatsApp floating button */
@keyframes pulse-emerald-subtle {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

.animate-pulse-green {
  animation: pulse-emerald-subtle 2.5s infinite;
}

/* --------------------------------------------------------------------------
   10. VERTICAL CUT REVEAL (Spring-staggered typography on scroll)
   -------------------------------------------------------------------------- */
.cut-reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  padding-bottom: 0.08em;
}

.cut-reveal-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  will-change: transform, opacity;
  opacity: 0;
}

.cut-reveal-revealed .cut-reveal-inner {
  transform: translateY(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. TEXT FADE IN (Graceful word-by-word opacity motion)
   -------------------------------------------------------------------------- */
.text-fade-in-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.text-fade-in-revealed .text-fade-in-word {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. PROCESS STEP CARDS (Scroll-Driven Interactive Illumination)
   -------------------------------------------------------------------------- */
.process-step-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, background-color, border-color;
}

.process-step-card:not(.is-illuminated) {
  opacity: 0.55;
  transform: translateY(0) scale(0.97);
  background-color: #ffffff;
  border-color: #e5e7eb;
}

.process-step-card.is-illuminated {
  opacity: 0.9;
  background-color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.12), 0 8px 10px -6px rgba(16, 185, 129, 0.08);
}

.process-step-card.is-current {
  opacity: 1;
  transform: translateY(-8px) scale(1.03);
  background-color: #09090b !important;
  border-color: rgba(16, 185, 129, 0.9) !important;
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(16, 185, 129, 0.5) !important;
}

.process-step-card.is-current h4 {
  color: #ffffff !important;
}

.process-step-card.is-current p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.process-step-card.is-current .step-badge {
  background-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.8);
  transform: scale(1.15);
}

.process-step-card.is-completed {
  opacity: 1;
  transform: translateY(-2px) scale(1);
  background-color: #f0fdf4;
  border-color: #86efac;
}

.process-step-card.is-completed .step-badge {
  background-color: #10b981;
  color: #ffffff;
}

.process-step-card .step-badge {
  transition: all 0.35s ease;
}

