/* ==========================================
   LAVANDERIA DMG - RED & WHITE OFFICIAL BRAND DESIGN
   ========================================== */

:root {
    --bg-dark: #0c0507;
    --bg-card: rgba(28, 10, 14, 0.82);
    --bg-card-border: rgba(230, 25, 53, 0.28);
    --brand-red: #e61935;
    --brand-red-light: #ff2a4b;
    --brand-red-dark: #9e0b1d;
    --brand-red-glow: rgba(230, 25, 53, 0.45);
    --primary: #e61935;
    --secondary: #ffffff;
    --text-main: #ffffff;
    --text-muted: #d1cbd0;
    --whatsapp-green: #25d366;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-blur: blur(16px);
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography & Brand Accent Colors */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

.red-dmg {
    color: var(--brand-red) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px var(--brand-red-glow);
}

.red-dmg-tag {
    color: var(--brand-red-light) !important;
}

.gradient-text-red {
    background: linear-gradient(135deg, #ffffff 0%, #ff2a4b 50%, #e61935 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), #ffffff, var(--brand-red-light));
    width: 0%;
    z-index: 1000;
    box-shadow: 0 0 12px var(--brand-red);
    transition: width 0.1s linear;
}

/* Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 1rem 0;
    background: rgba(12, 5, 7, 0.75);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(230, 25, 53, 0.2);
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(230, 25, 53, 0.5));
    transition: var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--brand-red);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #ffffff;
    box-shadow: 0 4px 20px var(--brand-red-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 25, 53, 0.6);
    background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-card {
    width: 100%;
    justify-content: center;
    background: rgba(230, 25, 53, 0.12);
    color: #ffffff;
    border: 1px solid var(--bg-card-border);
}

.btn-card:hover {
    background: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--brand-red-glow);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Canvas Background Engine */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

#scroll-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.canvas-overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(12, 5, 7, 0.2) 0%, rgba(12, 5, 7, 0.85) 100%),
                linear-gradient(180deg, rgba(12, 5, 7, 0.6) 0%, rgba(12, 5, 7, 0.3) 50%, rgba(12, 5, 7, 0.98) 100%);
    pointer-events: none;
}

.frame-counter-badge {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    background: rgba(12, 5, 7, 0.85);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: var(--glass-blur);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition-fast);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-red);
    box-shadow: 0 0 10px var(--brand-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* SECTION 1: INTRO ZONE (100% CLEAN ANIMATION AREA) */
.intro-section {
    height: 140vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5rem;
    position: relative;
}

.intro-hint {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    background: rgba(12, 5, 7, 0.8);
    border: 1px solid var(--brand-red);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 0 15px rgba(230, 25, 53, 0.25);
}

.badge-pill i {
    color: var(--brand-red-light);
}

.scroll-instruction {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.scroll-arrow {
    font-size: 1.2rem;
    color: var(--brand-red);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* MAIN CONTENT (STARTS AFTER INTRO ANIMATION) */
.main-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(12, 5, 7, 0.3) 0%, rgba(12, 5, 7, 0.96) 15%, rgba(12, 5, 7, 0.99) 100%);
}

/* Glass Box Components */
.glass-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-box:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(230, 25, 53, 0.2);
}

/* Section Shared */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    color: var(--brand-red-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* HERO SECTION IN MAIN CONTENT */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-content {
    text-align: center;
    max-width: 850px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 18px;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* SERVICES SECTION & CARDS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-red);
    box-shadow: 0 15px 40px rgba(230, 25, 53, 0.25);
}

.service-card.featured {
    border-color: var(--brand-red);
    background: linear-gradient(180deg, rgba(230, 25, 53, 0.12) 0%, rgba(28, 10, 14, 0.85) 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px var(--brand-red-glow);
}

/* Icon Container - Fixed & Crisp */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(230, 25, 53, 0.15);
    border: 1px solid rgba(230, 25, 53, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(230, 25, 53, 0.2);
}

.service-icon i {
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.service-features li i {
    color: var(--brand-red);
}

/* PROCESS TIMELINE (PASSO A PASSO) */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-red);
    min-width: 70px;
    text-shadow: 0 0 15px var(--brand-red-glow);
}

.timeline-content {
    flex-grow: 1;
}

.timeline-icon {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.timeline-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* FEATURES GRID (DIFERENCIAIS & ESPECIALIDADES) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    background: rgba(230, 25, 53, 0.15);
    border: 1px solid rgba(230, 25, 53, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 15px rgba(230, 25, 53, 0.25);
}

.feature-icon i {
    color: #ffffff;
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* LOCATION SECTION */
.location-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--brand-red);
    margin-top: 0.2rem;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-placeholder {
    height: 100%;
    min-height: 320px;
    border-radius: 20px;
    background: rgba(12, 5, 7, 0.9);
    border: 1px solid rgba(230, 25, 53, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-logo-img {
    height: 85px;
    width: 85px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 18px var(--brand-red-glow));
}

/* FOOTER */
.footer {
    background: rgba(8, 3, 4, 0.98);
    border-top: 1px solid rgba(230, 25, 53, 0.2);
    padding: 3.5rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 75px;
    width: 75px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 18px var(--brand-red-glow));
}

.footer-brand h3 {
    font-size: 1.6rem;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--brand-red);
}

.footer-copy {
    color: #7a6e73;
    font-size: 0.85rem;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: wa-pulse 2s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    background: #0c0507;
    color: #fff;
    border: 1px solid rgba(37, 211, 102, 0.5);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    pointer-events: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.8);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .location-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 0.5rem; }
    .timeline-number { min-width: auto; }
}
