/* 
========================================================================
   OLÁ REFORMAS - GLOBAL STYLES & DESIGN SYSTEM
   Modern, responsive, premium vanilla CSS for Curitiba residential renovations.
========================================================================
*/

/* 1. IMPORTS & GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* 2. DESIGN TOKENS (VARIABLES) */
:root {
    /* Color Palette */
    --primary: #0A3A2F;         /* Deep Forest Green / Premium Teal */
    --primary-rgb: 10, 58, 47;
    --primary-light: #165345;   /* Lighter primary for hover states */
    --primary-light-rgb: 22, 83, 69;
    --primary-ultra-light: #f0f7f5;
    
    --accent: #D4AF37;          /* Warm Ochre / Metallic Gold */
    --accent-rgb: 212, 175, 55;
    --accent-hover: #C29D2C;
    
    --secondary: #1F2A38;       /* Slate Dark for heavy text/contrast */
    --secondary-rgb: 31, 42, 56;
    
    --text-main: #2D3A36;       /* Body text color (softer than black) */
    --text-muted: #4E5F5A;      /* Muted text for captions/subtitles (darker gray for contrast) */
    --bg-main: #F8FAF9;         /* Very soft, warm off-white */
    --bg-card: #FFFFFF;
    
    --white: #FFFFFF;
    --success: #2E7D32;
    --error: #D32F2F;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows (Smooth & Deep) */
    --shadow-sm: 0 2px 8px rgba(10, 58, 47, 0.04);
    --shadow-md: 0 12px 30px -10px rgba(10, 58, 47, 0.08), 0 4px 12px -5px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 24px 48px -15px rgba(10, 58, 47, 0.15), 0 8px 24px -10px rgba(0, 0, 0, 0.03);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-accent: 0 8px 24px -6px rgba(212, 175, 55, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border: 3px solid var(--bg-main);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 4. UTILITIES & HELPER CLASSES */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--primary-ultra-light);
}

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

.section-header {
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(10, 58, 47, 0.08);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--secondary);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.5);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(37, 211, 102, 0.5);
}

/* 5. HEADER & NAVIGATION */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 250, 249, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 58, 47, 0.05);
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo svg {
    fill: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* 6. HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
}

/* Hero Background Pattern / Glassmorphism Details */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(22, 83, 69, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: -10%;
    right: 0;
    width: 50%;
    height: 120%;
    object-fit: cover;
    object-position: right bottom;
    opacity: 0.35;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    transform: translateY(0);
    will-change: transform;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-tag span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 0 8px #25D366;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title span {
    color: var(--accent);
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-number {
    display: inline-block;
}

.stat-number.shine {
    animation: counter-shine 0.8s ease-out;
}

@keyframes counter-shine {
    0% {
        transform: scale(1);
        text-shadow: none;
    }
    30% {
        transform: scale(1.2);
        text-shadow: 0 0 15px var(--accent), 0 0 25px var(--accent);
    }
    70% {
        transform: scale(1.2);
        text-shadow: 0 0 20px var(--accent), 0 0 30px var(--accent);
    }
    100% {
        transform: scale(1);
        text-shadow: none;
    }
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Card / Interactive Highlight in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 3;
}

.hero-card-title {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-title svg {
    fill: var(--accent);
}

.hero-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.hero-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(4px);
}

.hero-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-pill-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hero-pill-text {
    font-weight: 500;
    color: var(--white);
}

/* 7. DIFFERENTIALS (AS TRÊS PROMESSAS) */
.differentials {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding-bottom: 60px;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diff-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(10, 58, 47, 0.03);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.35);
}

.diff-card:hover::before {
    transform: scaleX(1);
}

.diff-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(10, 58, 47, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.diff-card:hover .diff-icon {
    background-color: var(--primary);
    color: var(--white);
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.diff-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.diff-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* 8. SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(10, 58, 47, 0.04);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: flex;
    gap: 24px;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.35);
}

.service-img-container {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.service-bullet {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

.service-bullet svg {
    width: 12px;
    height: 12px;
    fill: var(--accent);
}

/* 9. INTERACTIVE SIMULATOR (SIMULADOR DE ORÇAMENTO) */
.simulator {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 58, 47, 0.04);
    overflow: hidden;
}

.sim-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.sim-form-area {
    padding: 60px;
}

.sim-header-inner {
    margin-bottom: 36px;
}

.sim-header-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary);
}

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

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Room selection radio cards */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.room-option {
    position: relative;
    cursor: pointer;
}

.room-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.room-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid rgba(10, 58, 47, 0.08);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    transition: var(--transition-normal);
}

.room-option:hover .room-card {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 58, 47, 0.15);
}

.room-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(10, 58, 47, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.room-card-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.room-card-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.room-option input:checked + .room-card {
    border-color: var(--primary);
    background-color: var(--primary-ultra-light);
}

.room-option input:checked + .room-card .room-card-icon {
    background-color: var(--primary);
    color: var(--white);
}

/* Range input styling */
.range-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.range-slider-wrapper {
    flex-grow: 1;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(10, 58, 47, 0.08);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-light);
}

.range-value-display {
    width: 80px;
    padding: 10px;
    background-color: var(--primary-ultra-light);
    border: 2px solid rgba(10, 58, 47, 0.08);
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Standard select dropdown */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--primary);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.custom-select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(10, 58, 47, 0.08);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    color: var(--secondary);
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    transition: var(--transition-normal);
}

.custom-select:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

/* Output display pane */
.sim-output-area {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.sim-output-area::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.output-header h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.output-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.output-row.total-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    align-items: baseline;
}

.output-row.total-row span:first-child {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.price-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent);
}

.output-notice {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent);
    padding: 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
    margin-bottom: 40px;
}

/* User identity inputs inside simulator (Lead capture) */
.lead-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-text {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.input-text::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-text:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

/* Vertical Process Stepper Styles */
.process-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 58, 47, 0.04);
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .process-card {
        padding: 40px 20px;
    }
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

/* Stepper connector line */
.process-steps::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    transition: var(--transition-normal);
}

.process-step:hover {
    transform: translateX(6px);
}

.step-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--accent);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-accent);
    z-index: 2;
    transition: var(--transition-normal);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.step-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-title {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 10. TESTIMONIALS & TRUST GALERIA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(10, 58, 47, 0.03);
    overflow: hidden;
    transition: var(--transition-normal);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.gallery-info {
    padding: 24px;
}

.gallery-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.gallery-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.gallery-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}

/* Before & After Slider styles */
.before-after-container {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-img {
    position: relative; /* establishes container size */
    z-index: 1;
}

.before-img {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
}

.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos, 50%);
    width: 4px;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3), var(--shadow-accent);
    border: 3px solid var(--white);
    pointer-events: auto;
    cursor: ew-resize;
    transition: transform var(--transition-fast);
    z-index: 4;
}

.slider-handle svg {
    width: 16px;
    height: 16px;
    stroke: var(--secondary);
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 10px;
    background-color: rgba(10, 58, 47, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.label-before {
    left: 12px;
}

.label-after {
    right: 12px;
}

/* 12. CALL TO ACTION (CTA) SECTION */
.cta-banner {
    background-color: var(--primary);
    border-radius: var(--radius-xl);
    padding: 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-title span {
    color: var(--accent);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-trust {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.cta-trust-title {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.cta-trust-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.cta-trust-item svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

/* 13. FOOTER */
.footer {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 30px 0;
    font-size: 1rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-contact-text strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.footer-contact-text a,
.footer-contact-text span {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

/* 14. SCROLL REVEAL ANIMATIONS (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delayed reveals for staggered lists */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 15. RESPONSIVE MEDIA QUERIES */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 20px);
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-tag, .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-bg-image {
        width: 100%;
        opacity: 0.15;
        mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    }
    
    .hero-visual {
        width: 100%;
    }
    
    .differentials {
        margin-top: 0;
        padding-top: 40px;
    }
    
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .sim-container {
        grid-template-columns: 1fr;
    }
    
    .sim-output-area {
        padding: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-banner {
        grid-template-columns: 1fr;
        padding: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Smartphones & Small Tablets */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .header.scrolled {
        height: 60px;
    }
    
    /* Navigation toggle */
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: var(--transition-normal);
        z-index: 999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 40px;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Active hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-img-container {
        width: 100%;
        height: 180px;
    }
    
    .sim-form-area {
        padding: 30px 20px;
    }
    
    .sim-output-area {
        padding: 40px 20px;
    }
    
    .room-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================================================
   ADDITIONAL CUSTOM INTERACTIVE STYLES (WHATSAPP FLOATING BUTTON)
   ======================================================================== */

/* 1. WHATSAPP FLOATING BUTTON */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal), background-color var(--transition-fast);
}

.whatsapp-floating.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-floating:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulse animation */
.whatsapp-floating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2s infinite;
    pointer-events: none;
}

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

/* 8.5 SERVICES DE REFORMA E PEDREIRO DETALHADO */
.pedreiro-detalhe {
    background: var(--white);
    padding: 100px 0;
}

.pedreiro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pedreiro-block {
    background: var(--primary-ultra-light);
    border: 1px solid rgba(10, 58, 47, 0.1);
    border-radius: var(--radius-md);
    padding: 35px;
    transition: var(--transition-normal);
}

.pedreiro-block:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-md);
}

.pedreiro-block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pedreiro-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 1;
}

.pedreiro-block-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.pedreiro-block-text {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* 8.6 REGIÕES ATENDIDAS */
.regioes {
    background: var(--primary-ultra-light);
    padding: 100px 0;
}

.regioes-container {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.regioes-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

.bairros-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.bairro-badge {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--primary);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.bairro-badge:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15);
}

.regioes-subtext {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* 8.7 FAQ ACCORDION */
.faq-section {
    background: var(--white);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 5px 0;
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 15px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-question-btn:hover {
    color: var(--accent);
}

.faq-icon-arrow {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding-right: 25px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
    padding-bottom: 20px;
}

/* 8.8 PORTFOLIO RESPIRO E TITULO */
#projetos {
    padding-top: 130px;
}

#projetos .section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .pedreiro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pedreiro-block {
        padding: 25px;
    }
    .bairros-grid {
        gap: 8px;
    }
    .bairro-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .faq-question-btn {
        font-size: 1rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .stat-item {
        text-align: center;
        flex: 1 1 120px;
    }
    .stat-item h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    #projetos .section-title {
        font-size: 1.8rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-card {
        padding: 20px;
    }
    .diff-card {
        padding: 24px;
    }
    .service-card {
        padding: 20px;
    }
    .pedreiro-block {
        padding: 20px;
    }
    .cta-banner {
        padding: 30px 16px;
    }
}
