/* =============================================
   M.N. SANTOS - Maçonnerie Générale
   Style CSS - Site Vitrine Premium
   ============================================= */

/* === Variables CSS === */
:root {
    /* Couleurs principales */
    --color-charcoal: #1a1a1a;
    --color-charcoal-light: #2d2d2d;
    --color-white: #ffffff;
    --color-off-white: #faf9f7;
    --color-sand: #d4c4b0;
    --color-sand-light: #e8dfd3;
    --color-sand-dark: #b8a590;
    --color-concrete: #6b6b6b;
    --color-concrete-light: #9a9a9a;
    --color-terracotta: #c4785a;
    --color-gold: #c9a962;
    
    /* Couleurs sémantiques */
    --color-text: var(--color-charcoal);
    --color-text-light: var(--color-concrete);
    --color-text-muted: var(--color-concrete-light);
    --color-bg: var(--color-white);
    --color-bg-alt: var(--color-off-white);
    --color-primary: var(--color-charcoal);
    --color-accent: var(--color-terracotta);
    
    /* Typographie */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Bordures */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Header height */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

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

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Navigation */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.25rem 0;
}

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

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

/* Header CTA */
.header-cta {
    display: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
}

/* Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-sm) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--color-sand-light);
    }
    
    .nav-link::after {
        display: none;
    }
}

@media (min-width: 992px) {
    .nav {
        display: flex;
    }
    
    .header-cta {
        display: inline-flex;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    background-color: var(--color-off-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
    opacity: 0.5;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

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

.hero-title {
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--color-terracotta);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    max-width: 500px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-sand-light);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.hero-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-terracotta);
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    line-height: 1.3;
}

.hero-feature-text strong {
    color: var(--color-charcoal);
    font-weight: 700;
}

.hero-feature-text span {
    color: var(--color-text-light);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-charcoal);
}

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

/* === Section Styles === */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

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

/* === Services Section === */
.services {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

.service-card {
    position: relative;
    padding: var(--space-lg);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-terracotta);
    transition: height var(--transition-base);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-terracotta);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === Why Us Section === */
.why-us {
    background-color: var(--color-off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

.why-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.why-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-sand);
    line-height: 1;
    flex-shrink: 0;
}

.why-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.why-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Realisations / Gallery Section === */
.realisations {
    background-color: var(--color-white);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    background-color: var(--color-off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-terracotta);
    margin-bottom: var(--space-xs);
}

.gallery-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--color-off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    padding: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gold);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-sand-light);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-charcoal);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Contact Section === */
.contact {
    background-color: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--color-off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background-color: var(--color-sand-light);
    transform: translateX(4px);
}

.contact-method-whatsapp {
    background-color: #dcf8c6;
}

.contact-method-whatsapp:hover {
    background-color: #c5e1a5;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-charcoal);
}

.contact-method-whatsapp .contact-method-icon svg {
    stroke: none;
    fill: #25D366;
}

.contact-method-text {
    display: flex;
    flex-direction: column;
}

.contact-method-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.contact-method-text span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.contact-zone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.contact-zone svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-terracotta);
}

.contact-zone strong {
    color: var(--color-text);
}

/* Contact Form */
.contact-form {
    padding: var(--space-xl);
    background-color: var(--color-off-white);
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 2px solid var(--color-sand-light);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 4px rgba(196, 120, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.form-note {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.form-note svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-concrete-light);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* === Footer === */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-concrete-light);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-concrete-light);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-concrete-light);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-terracotta);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--color-concrete-light);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-legal {
    font-size: 0.875rem;
    color: var(--color-terracotta);
    margin-bottom: var(--space-xs);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--color-concrete-light);
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* === Back to Top Button === */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: calc(var(--space-lg) + 70px);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-charcoal);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-charcoal);
    transition: stroke var(--transition-fast);
}

.back-to-top:hover svg {
    stroke: var(--color-white);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    width: 100%;
    max-width: 900px;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    display: block;
}

.lightbox-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--color-white);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2010;
    border: none;
}

.lightbox-prev { left: var(--space-lg); }
.lightbox-next { right: var(--space-lg); }

.lightbox-prev:hover, .lightbox-next:hover { opacity: 0.9; }

.lightbox-caption {
    margin-top: var(--space-md);
    font-size: 1rem;
    color: var(--color-white);
}

/* === Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.6s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.7s; }

.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.3s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.4s; }
.why-grid .why-card:nth-child(6) { transition-delay: 0.5s; }

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.4s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.5s; }

.hero-features .hero-feature:nth-child(1) { transition-delay: 0.2s; }
.hero-features .hero-feature:nth-child(2) { transition-delay: 0.3s; }
.hero-features .hero-feature:nth-child(3) { transition-delay: 0.4s; }
.hero-features .hero-feature:nth-child(4) { transition-delay: 0.5s; }

/* === Media Queries for Hero === */
@media (max-width: 640px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-xl));
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 56px;
        height: 56px;
    }
    
    .back-to-top {
        right: calc(var(--space-md) + 66px);
        width: 44px;
        height: 44px;
    }
}

/* === Print Styles === */
@media print {
    .header,
    .whatsapp-float,
    .back-to-top,
    .hero-scroll {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}
