/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #ab6f38;
    --secondary-color: #494543;
    --light-color: #ffffff;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, #ab6f38 0%, #8a5a2e 100%);
    --gradient-secondary: linear-gradient(135deg, #494543 0%, #3a3735 100%);
    --shadow-light: 0 4px 20px rgba(171, 111, 56, 0.1);
    --shadow-medium: 0 8px 30px rgba(171, 111, 56, 0.15);
    --shadow-heavy: 0 15px 50px rgba(171, 111, 56, 0.2);
    --border-radius: 15px;
    --border-radius-large: 25px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== PROJECT LIGHTBOX MODAL ===== */
.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 1;
}

.lightbox-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 2;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-lightbox.active .lightbox-container {
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(171, 111, 56, 0.9);
    transform: scale(1.1);
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    gap: 0;
}

.lightbox-image-container {
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.lightbox-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.lightbox-info h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lightbox-info p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.lightbox-actions {
    margin-top: auto;
}

.lightbox-cta {
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-medium);
    font-weight: 600;
}

.lightbox-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: white;
    text-decoration: none;
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.lightbox-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-nav-btn:hover {
    background: rgba(171, 111, 56, 0.9);
    transform: scale(1.1);
}

.lightbox-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1);
}

/* ===== NOTIFICATION STYLES ===== */
.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    animation: notificationIconPulse 2s infinite;
}

.notification-message {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-right: 8px;
}

.notification-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.notification-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.notification-close:active {
    transform: scale(0.95);
}

/* Animação do ícone */
@keyframes notificationIconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Variações de cores por tipo */
.notification-success .notification-icon {
    color: #98ffb1;
}

.notification-error .notification-icon {
    color: #ffa5a5;
}

.notification-info .notification-icon {
    color: #98d8ff;
}

.notification-warning .notification-icon {
    color: #ffe998;
}

/* Animação de entrada */
@keyframes notificationSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação de saída */
@keyframes notificationSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
    background: #fafafa;
    font-display: swap;
}

.text-primary {
    color: var(--primary-color) !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: #8a5a2e;
    text-decoration: underline;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STYLES ===== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(171, 111, 56, 0.25);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a5a2e;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.05) 40px,
            rgba(255, 255, 255, 0.05) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px
        );
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.loader-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
    max-width: 400px;
    padding: 2rem;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    animation: logoFloat 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== ELEMENTOS DE ARQUITETURA ===== */
.loader-architecture {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

.arch-element {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.arch-element.blueprint {
    width: 100px;
    height: 60px;
    top: 50px;
    left: 50px;
    animation: blueprintDraw 2s ease-in-out infinite;
}

.arch-element.ruler {
    width: 120px;
    height: 4px;
    top: 120px;
    left: 40px;
    background: rgba(255, 255, 255, 0.3);
    animation: rulerSlide 2s ease-in-out infinite;
}

.arch-element.compass {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    bottom: 80px;
    right: 60px;
    animation: compassRotate 2s linear infinite;
}

.arch-element.triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid rgba(255, 255, 255, 0.2);
    top: 160px;
    right: 80px;
    animation: triangleScale 2s ease-in-out infinite;
}

@keyframes blueprintDraw {
    0% { opacity: 0.2; transform: scaleX(0); }
    50% { opacity: 0.8; transform: scaleX(1); }
    100% { opacity: 0.2; transform: scaleX(0); }
}

@keyframes rulerSlide {
    0% { transform: translateX(-20px); opacity: 0.2; }
    50% { transform: translateX(0); opacity: 0.8; }
    100% { transform: translateX(20px); opacity: 0.2; }
}

@keyframes compassRotate {
    0% { transform: rotate(0deg); opacity: 0.2; }
    50% { opacity: 0.8; }
    100% { transform: rotate(360deg); opacity: 0.2; }
}

@keyframes triangleScale {
    0%, 100% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* ===== BARRA DE PROGRESSO ===== */
.loader-progress {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 10;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,1));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 2s ease-out forwards;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
    animation: progressShine 2s ease-out;
}

@keyframes progressFill {
    0% { width: 0%; }
    20% { width: 25%; }
    40% { width: 50%; }
    60% { width: 75%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.progress-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    animation: textPulse 2s ease-in-out;
}

@keyframes textPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* ===== LOADING STEPS ===== */
.loading-steps {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
    z-index: 10;
}

.step {
    opacity: 0;
    animation: stepAppear 0.5s ease forwards;
    margin-bottom: 0.3rem;
}

.step.active {
    opacity: 1;
    color: white;
    font-weight: 600;
    animation: stepPulse 0.5s ease;
}

@keyframes stepAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stepPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:active {
    transform: translateY(0);
    transition: var(--transition-fast);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.cta-button {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    padding: 15px 35px;
    animation: pulse 2s infinite;
    font-weight: 700;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(171, 111, 56, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(171, 111, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(171, 111, 56, 0); }
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(171, 111, 56, 0.1);
    min-height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99 !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    min-height: 50px;
}

.navbar-brand img {
    /*height: 45px !important;/* original height */
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.08));
    max-width: 200px;
}

.navbar.scrolled .navbar-brand img {
    height: 38px !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
    background: rgba(171, 111, 56, 0.05);
    text-decoration: none;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:focus::after {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    padding: 80px 0 50px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ab6f38" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ab6f38" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ab6f38" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="%23ab6f38" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 0;
    opacity: 0.5;
}

.hero-ripple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            30deg,
            transparent,
            transparent 40px,
            rgba(171, 111, 56, 0.02) 40px,
            rgba(171, 111, 56, 0.02) 80px
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    box-shadow: var(--shadow-light);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.1;
}

.hero-title .text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    padding: 8px 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* ===== HERO MASCOTE - NOVO DESIGN ===== */
.hero-mascote-container {
    position: relative;
    height: 550px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    overflow: visible; /* Alterado de hidden para visible */
    animation: fadeInRight 1s ease 0.5s both;
    box-shadow: var(--shadow-heavy);
    border: 3px solid rgba(171, 111, 56, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 10; /* Aumentado o z-index */
}

.hero-mascote-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 6px,
            rgba(255, 255, 255, 0.15) 6px,
            rgba(255, 255, 255, 0.15) 10px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.08) 20px,
            rgba(255, 255, 255, 0.08) 22px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(255, 255, 255, 0.06) 12px,
            rgba(255, 255, 255, 0.06) 16px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.04) 18px,
            rgba(255, 255, 255, 0.04) 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 25px,
            rgba(255, 255, 255, 0.03) 25px,
            rgba(255, 255, 255, 0.03) 27px
        );
    z-index: 1;
    animation: rippleMove 20s linear infinite;
    pointer-events: none;
}

.mascote-character {
    position: relative;
    z-index: 20; /* Aumentado o z-index para ficar acima do container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-mascote-img {
    position: relative;
    z-index: 30; /* Aumentado o z-index para ficar acima de tudo */
    width: 280px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3));
    animation: mascoteFloat 4s ease-in-out infinite;
    transition: all 0.4s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.hero-mascote-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

@keyframes mascoteFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(-1deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(-0.5deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(0.5deg); 
    }
}

.mascote-speech-bubble {
    position: relative;
    background: white;
    padding: 25px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    max-width: 350px;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid var(--primary-color);
    margin-bottom: 2rem;
}

.speech-content p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.speech-arrow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid white;
}

.speech-arrow::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -14px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid var(--primary-color);
}

/* ===== FLOATING BADGES ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    animation: float 3s ease-in-out infinite;
    border: 2px solid rgba(171, 111, 56, 0.1);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-badge span {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
}

.floating-badge small {
    color: #666;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
}

.badge-1 { 
    top: 15%; 
    right: 15%; 
    animation-delay: 0s; 
}

.badge-2 { 
    bottom: 25%; 
    left: 8%; 
    animation-delay: 1s; 
}

.badge-3 { 
    top: 55%; 
    right: 8%; 
    animation-delay: 2s; 
}

@keyframes rippleMove {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SECTIONS LAYOUT ===== */
.sobre-mobiliar-section,
.sobre-section,
.nathalia-section,
.modelos-section,
.moveis-planejados-section,
.depoimentos-section,
.clientes-section,
.formulario-section,
.faq-section,
.localizacao-section {
    padding: 100px 0;
    position: relative;
}

.sobre-mobiliar-section {
    background: #f8f9fa;
}

.sobre-mobiliar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(171, 111, 56, 0.02) 60px,
            rgba(171, 111, 56, 0.02) 62px
        );
    z-index: 1;
    pointer-events: none;
}

.modelos-section {
    background: #f8f9fa;
}

.modelos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 50px,
            rgba(171, 111, 56, 0.02) 50px,
            rgba(171, 111, 56, 0.02) 52px
        );
    z-index: 1;
    pointer-events: none;
}

.formulario-section {
    background: #f8f9fa;
}

.formulario-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 70px,
            rgba(171, 111, 56, 0.025) 70px,
            rgba(171, 111, 56, 0.025) 72px
        );
    z-index: 1;
    pointer-events: none;
}

.sobre-mobiliar-section > *,
.modelos-section > *,
.formulario-section > * {
    position: relative;
    z-index: 2;
}

/* ===== SOBRE MOBILIAR CONTENT IMPROVED ===== */
.sobre-content {
    position: relative;
    z-index: 2;
}

.sobre-content .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--secondary-color);
}

.sobre-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #555;
}

.sobre-image {
    position: relative;
    z-index: 2;
}

.sobre-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.sobre-image img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* ===== NATHALIA SECTION ===== */
.nathalia-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.nathalia-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 80px,
            rgba(171, 111, 56, 0.015) 80px,
            rgba(171, 111, 56, 0.015) 82px
        );
    z-index: 1;
    pointer-events: none;
}

.nathalia-content {
    position: relative;
    z-index: 2;
}

.nathalia-header {
    margin-bottom: 2rem;
}

.nathalia-name {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.nathalia-title {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
}

.nathalia-tabs {
    margin-bottom: 2rem;
}

.nathalia-nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.nathalia-nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #666;
    font-weight: 600;
    padding: 15px 20px;
    margin-right: 10px;
    position: relative;
    background: transparent;
    transition: var(--transition);
}

.nathalia-nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nathalia-nav-tabs .nav-link:hover,
.nathalia-nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: rgba(171, 111, 56, 0.05);
    border: none;
}

.nathalia-nav-tabs .nav-link.active::after,
.nathalia-nav-tabs .nav-link:hover::after {
    transform: scaleX(1);
}

.nathalia-tab-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(171, 111, 56, 0.1);
}

.nathalia-description {
    position: relative;
    z-index: 2;
}

.nathalia-description .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.nathalia-skills {
    margin: 2rem 0;
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 8px 0;
    font-weight: 500;
    color: #555;
}

.skill-item i {
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nathalia-timeline {
    margin: 2rem 0;
    position: relative;
}

.nathalia-timeline::before {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
    margin-right: 2rem;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 2;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.nathalia-commitment {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(171, 111, 56, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    color: #555;
}

/* ===== NATHALIA PHOTOS - MELHORADO PARA MOBILE ===== */
.nathalia-photos {
    position: relative;
    z-index: 2;
}

.photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    perspective: 1000px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.polaroid-photo {
    position: relative;
    transform-style: preserve-3d;
    transition: var(--transition);
    justify-self: center;
}

.polaroid-photo.photo-video {
    transform: rotate(-3deg);
}

.polaroid-photo.photo-team {
    transform: rotate(2deg);
}

.polaroid-frame {
    background: white;
    padding: 15px 15px 50px 15px;
    border-radius: 5px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
    max-width: 320px;
}

.polaroid-frame:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.15);
}

.polaroid-frame img {
    width: 100%;
    height: 220px; /* AUMENTADO para mobile - era 200px */
    object-fit: cover;
    border-radius: 2px;
    display: block;
    filter: sepia(10%) saturate(1.1) contrast(1.1);
    transition: var(--transition);
}

.polaroid-frame:hover img {
    filter: sepia(0%) saturate(1.2) contrast(1.2);
    transform: scale(1.02);
}

/* ===== VÍDEO POLAROID - CORRIGIDO ===== */
.video-container-polaroid {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Mantém proporção 16:9 */
    overflow: hidden;
    background: #000;
    border-radius: 2px;
}

.video-container-polaroid iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 2px;
}

.polaroid-caption {
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nathalia-quote {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.nathalia-quote::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.nathalia-quote blockquote {
    margin: 0;
    position: relative;
    z-index: 2;
}

.nathalia-quote blockquote i {
    font-size: 2rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    display: block;
}

.nathalia-quote blockquote p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: white;
}

.nathalia-quote blockquote footer {
    text-align: right;
}

.nathalia-quote blockquote footer cite {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    font-style: normal;
}

/* ===== CARDS - OPTIMIZED ===== */
.card-modern,
.feature-card,
.diferencial-card,
.model-card,
.testimonial-card,
.location-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(171, 111, 56, 0.05);
    overflow: hidden;
}

.card-modern:hover,
.feature-card:hover,
.diferencial-card:hover,
.model-card:hover,
.testimonial-card:hover,
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.feature-card,
.diferencial-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.feature-card:hover,
.diferencial-card:hover {
    transform: translateY(-10px);
}

.feature-icon,
.diferencial-icon,
.location-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.feature-icon i,
.diferencial-icon i,
.location-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon,
.diferencial-card:hover .diferencial-icon,
.location-card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
}

.diferencial-content {
    background: white;
    padding: 4rem 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(171, 111, 56, 0.05);
}

.destaque-final {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    box-shadow: var(--shadow-medium);
}

.destaque-final h4 {
    color: white !important;
}

.destaque-final .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

/* ===== MODELS SECTION ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 30px;
    border-radius: 30px;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.filter-btn:hover,
.filter-btn.active,
.filter-btn:focus {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.model-item {
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.model-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.model-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(171, 111, 56, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.model-image:hover .model-overlay {
    opacity: 1;
}

.model-image:hover img {
    transform: scale(1.1);
}

.model-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.model-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.model-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.model-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: rgba(171, 111, 56, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(171, 111, 56, 0.2);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== PLANEJADOS SECTION ===== */
.planejados-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.planejados-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #555;
    padding: 8px 0;
}

.planejados-video {
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    background: #000;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.video-container.video-loaded::before {
    display: none;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-container:hover iframe,
.video-container.video-loaded iframe {
    opacity: 1;
}

.video-caption {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* ===== CASES SECTION ===== */
.cases-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            120deg,
            transparent,
            transparent 60px,
            rgba(171, 111, 56, 0.02) 60px,
            rgba(171, 111, 56, 0.02) 62px
        );
    z-index: 1;
    pointer-events: none;
}

.cases-section > * {
    position: relative;
    z-index: 2;
}

.case-video-card {
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(171, 111, 56, 0.05);
    height: 100%;
}

.case-video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 500px;
    background: #000;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-wrapper.video-loaded::before {
    display: none;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-loaded iframe,
.video-wrapper:hover iframe {
    opacity: 1;
}

.case-info {
    padding: 2rem;
    text-align: center;
}

.case-info h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.case-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cases-cta {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(171, 111, 56, 0.05);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.cases-cta h4 {
    color: var(--secondary-color);
    font-weight: 800;
}

.cases-cta .lead {
    color: #666;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.cases-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.clientes-section {
    margin-top: 2rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 2rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--secondary-color);
    display: block;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-top: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    margin-right: 2px;
}

/* ===== CLIENTES CAROUSEL - OPTIMIZED ===== */
.clientes-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.clientes-carousel {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.clientes-track {
    display: flex;
    align-items: center;
    animation: scrollClientes 30s linear infinite;
    width: fit-content;
}

.cliente-item {
    flex: 0 0 auto;
    margin: 0 30px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 120px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(171, 111, 56, 0.05);
}

.cliente-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cliente-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.cliente-item:hover .cliente-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scrollClientes {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clientes-carousel:hover .clientes-track {
    animation-play-state: paused;
}

/* ===== FORM SECTION ===== */
.form-content {
    position: relative;
    z-index: 2;
}

.form-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #555;
    padding: 8px 0;
}

.benefit-item i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(171, 111, 56, 0.05);
}

.selected-model-info {
    margin-bottom: 1.5rem;
}

.selected-model-info .alert {
    border-radius: var(--border-radius);
    border: 1px solid rgba(171, 111, 56, 0.2);
    background: rgba(171, 111, 56, 0.05);
    color: var(--primary-color);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    transition: var(--transition);
    font-size: 1rem;
    background: #fafafa;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(171, 111, 56, 0.25);
    background: white;
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===== ACCORDION / FAQ ===== */
.accordion {
    position: relative;
    z-index: 2;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(171, 111, 56, 0.05);
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    transition: var(--transition);
}

.accordion-body {
    background: white;
    padding: 1.5rem;
    color: #555;
    line-height: 1.6;
}

/* ===== MAP SECTION ===== */
.map-container {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    border: 1px solid rgba(171, 111, 56, 0.1);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(171, 111, 56, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.location-info {
    position: relative;
    z-index: 2;
}

.location-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.location-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.location-card p,
.location-card address {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.location-card p strong {
    color: var(--primary-color);
}

.location-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--gradient-secondary);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.footer-section h5 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section h5 i {
    color: var(--primary-color);
}

.footer-brand img {
    filter: brightness(0) invert(1);
    max-width: 100%;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact p,
.footer-contact address {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: normal;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white !important;
}

.footer-section .row:last-child p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.developed-by {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
    gap: 0.5rem;
}

.developed-by span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: #8a5a2e;
    transform: translateY(-2px);
    color: white;
}

.acopli-link {
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.acopli-link:hover {
    transform: translateY(-2px);
}

.acopli-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.acopli-link:hover .acopli-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* ===== WHATSAPP FLOAT - OPTIMIZED ===== */
.whatsapp-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition);
    pointer-events: none;
    border: 2px solid #25d366;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.whatsapp-chat-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.popup-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #25d366;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    gap: 12px;
}

.chat-avatar {
    flex-shrink: 0;
}

.popup-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.chat-info {
    flex: 1;
}

.chat-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.online-status {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4fc3f7;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.whatsapp-logo {
    color: white;
    font-size: 1.5rem;
}

.chat-message {
    padding: 15px;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
    background: #f0f0f0;
    margin: 10px;
    border-radius: 10px;
    position: relative;
}

.chat-message::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f0f0f0;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
    padding: 100px 0;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.instagram-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(171, 111, 56, 0.15), transparent);
}

/* ===== TABLET DEVICE MOCKUP ===== */
.tablet-device {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 
                inset 0 4px 6px rgba(255, 255, 255, 0.15), 
                inset 0 -4px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid #2e2e2e;
    transition: var(--transition);
    transform: perspective(1000px) rotateX(1deg);
}

.tablet-device:hover {
    transform: perspective(1000px) translateY(-5px) rotateX(2deg);
    box-shadow: 0 40px 100px rgba(171, 111, 56, 0.12), 
                0 35px 85px rgba(0, 0, 0, 0.3);
}

/* Tablet Camera notch and sensors */
.tablet-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 8px;
}

.tablet-camera {
    width: 8px;
    height: 8px;
    background: #2b2b2b;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
}

.tablet-camera::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: #4444ff;
    border-radius: 50%;
    opacity: 0.5;
}

/* Tablet Screen wrapper */
.tablet-screen {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
    border: 1px solid #000000;
}

/* Browser address bar mockup */
.browser-address-bar {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    align-items: center;
    background: #f1f2f6;
    border-bottom: 1px solid #dfe4ea;
    padding: 10px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.address-input {
    background: #ffffff;
    border-radius: 8px;
    color: #57606f;
    font-size: 0.85rem;
    padding: 6px 15px;
    text-align: center;
    border: 1px solid #ced6e0;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    font-weight: 500;
    user-select: none;
}

.address-input i {
    font-size: 0.8rem;
}

.browser-reload {
    display: flex;
    justify-content: flex-end;
    color: #a4b0be;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.browser-reload:hover {
    color: var(--primary-color);
}

.instagram-widget-container {
    max-width: 100%;
    max-height: 500px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 15px;
    background: white;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: none;
}

.instagram-widget-container::-webkit-scrollbar {
    width: 6px;
}

.instagram-widget-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.instagram-widget-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.instagram-widget-container::-webkit-scrollbar-thumb:hover {
    background: #8a5a2e;
}

/* ===== NATIVE INSTAGRAM FEED MOCKUP ===== */
.instagram-profile-header {
    display: flex;
    gap: 40px;
    padding: 30px;
    border-bottom: 1px solid #dbdbdb;
    align-items: center;
    background: #ffffff;
}

.profile-avatar-container {
    flex-shrink: 0;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #dbdbdb;
    padding: 3px;
    object-fit: cover;
}

.profile-info-container {
    flex-grow: 1;
    text-align: left;
}

.profile-username-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.profile-username {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
    color: #262626;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.verified-badge {
    color: #0095f6;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.btn-instagram-follow {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-instagram-follow:hover {
    background-color: #8a5a2e !important;
    transform: translateY(-1px);
}

.btn-instagram-msg {
    background-color: #efefef !important;
    color: #262626 !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-instagram-msg:hover {
    background-color: #dbdbdb !important;
}

.profile-stats-row {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #262626;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.profile-bio-row {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #262626;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.profile-fullname {
    font-weight: 600;
    margin-bottom: 2px;
}

.profile-bio {
    margin: 0;
    white-space: pre-line;
}

/* Stories Highlights */
.instagram-stories {
    display: flex;
    gap: 20px;
    padding: 15px 30px;
    border-bottom: 1px solid #dbdbdb;
    overflow-x: auto;
    background: #ffffff;
    justify-content: flex-start;
}

.instagram-stories::-webkit-scrollbar {
    height: 4px;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.story-item span {
    font-size: 0.75rem;
    color: #262626;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Instagram Tab Options */
.instagram-tabs {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-bottom: 1px solid #dbdbdb;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.instagram-tabs span {
    padding: 15px 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8e8e8e;
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    border-top: 1px solid transparent;
    margin-top: -1px;
}

.instagram-tabs span.active-tab {
    color: #262626;
    border-top: 1px solid #262626;
}

/* Instagram Feed Grid */
.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    background: transparent;
}

.feed-post-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feed-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feed-post-card:hover img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-post-card:hover .post-overlay {
    opacity: 1;
}

.post-stat {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 768px) {
    .instagram-profile-header {
        gap: 20px;
        padding: 20px;
    }
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    .profile-stats-row {
        gap: 15px;
        font-size: 0.85rem;
    }
    .profile-username {
        font-size: 1.1rem;
    }
    .instagram-feed-grid {
        gap: 8px;
        padding: 0;
    }
    .feed-post-card {
        border-radius: 8px;
    }
    .instagram-stories {
        gap: 10px;
        padding: 10px 15px;
    }
}


.instagram-section .section-subtitle a {
    position: relative;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.instagram-section .section-subtitle a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-section .section-subtitle a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
}

/* ===== LIGHTBOX RESPONSIVE ===== */
@media (max-width: 768px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .lightbox-info {
        padding: 30px 20px;
        order: 2;
    }
    
    .lightbox-image-container {
        height: 250px;
        order: 1;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lightbox-navigation {
        left: 10px;
        right: 10px;
    }
    
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .hero-mascote-container {
        height: 600px;
    }
    
    .hero-section .row.align-items-center {
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .hero-content {
        padding: 3rem 0;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-mascote-container {
        margin-top: 2rem;
        height: 450px;
    }
    
    .floating-badge {
        padding: 12px 16px;
    }
    
    .floating-badge span {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }
    
    .diferencial-content {
        padding: 3rem 2rem;
    }
    
    .location-actions {
        flex-direction: column;
    }
    
    .location-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nathalia-section {
        padding: 80px 0;
    }
    
    .nathalia-tab-content {
        padding: 2rem 1.5rem;
    }
    
    .photos-grid {
        gap: 1.5rem;
    }
    
    .timeline-year {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 60px;
        min-height: calc(100vh - 20px);
    }
    
    .hero-mascote-container {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-mascote-img {
        width: 200px;
        margin-bottom: 1.5rem;
    }
    
    .mascote-speech-bubble {
        max-width: 280px;
        padding: 20px 25px;
    }
    
    .speech-content p {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 30px !important;
    }
    
    .floating-badge {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .floating-badge span {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .floating-badge small {
        font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    }
    
    .badge-1 { top: 8%; right: 3%; }
    .badge-2 { bottom: 12%; left: 3%; }
    .badge-3 { top: 50%; right: 3%; }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        margin-bottom: 10px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .diferencial-content {
        padding: 2.5rem 1.5rem;
    }
    
    .developed-by {
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .clientes-track {
        animation-duration: 40s;
    }
    
    .cliente-item {
        width: 140px;
        height: 90px;
        margin: 0 15px;
        padding: 15px;
    }
    
    .cliente-logo {
        max-width: 110px;
        max-height: 60px;
    }
    
    .whatsapp-chat-popup {
        width: 260px;
        right: -10px;
    }
    
    .popup-header {
        padding: 12px;
    }
    
    .popup-avatar {
        width: 40px;
        height: 40px;
    }
    
    .chat-message {
        padding: 12px;
        margin: 8px;
        font-size: 0.85rem;
    }
    
    .sobre-mobiliar-section,
    .sobre-section,
    .nathalia-section,
    .modelos-section,
    .moveis-planejados-section,
    .depoimentos-section,
    .cases-section,
    .clientes-section,
    .instagram-section,
    .formulario-section,
    .faq-section,
    .localizacao-section {
        padding: 80px 0;
    }
    
    .nathalia-section {
        padding: 60px 0;
    }
    
    .nathalia-nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .nathalia-tab-content {
        padding: 1.5rem 1rem;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .polaroid-photo.photo-video,
    .polaroid-photo.photo-team {
        grid-column: 1;
        justify-self: center;
        max-width: 280px;
        transform: rotate(0deg);
    }
    
    .polaroid-photo.photo-video { transform: rotate(-3deg); }
    .polaroid-photo.photo-team { transform: rotate(2deg); }
    
    /* CORREÇÃO MOBILE - ALTURA DA IMAGEM DA EQUIPE */
    .polaroid-frame img {
        height: 180px; /* AUMENTADO de 220px para 180px em mobile */
        min-height: 180px;
    }
    
    .nathalia-timeline::before {
        left: 50px;
    }
    
    .timeline-year {
        min-width: 80px;
        margin-right: 1rem;
    }
    
    .timeline-year::after {
        right: -8px;
        width: 10px;
        height: 10px;
    }
    
    .nathalia-quote {
        padding: 2rem 1.5rem;
    }
    
    .cases-section {
        padding: 60px 0;
    }
    
    .video-wrapper {
        max-height: 350px;
    }
    
    .case-info {
        padding: 1.5rem 1rem;
    }
    
    .case-info h4 {
        font-size: 1.1rem;
    }
    
    .cases-cta {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .cases-cta h4 {
        font-size: 1.3rem;
    }
    
    .video-container {
        aspect-ratio: 16/9;
        max-height: 250px;
    }
    
    .video-caption {
        font-size: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-mascote-container {
        height: 380px;
        margin-top: 1.5rem;
    }
    
    .hero-mascote-img {
        width: 180px;
        margin-bottom: 1rem;
    }
    
    .mascote-speech-bubble {
        max-width: 240px;
        padding: 15px 20px;
    }
    
    .speech-content p {
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 30px !important;
        max-width: 150px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 26px !important;
    }
    
    .floating-badge {
        padding: 6px 10px;
    }
    
    .badge-1 { top: 5%; right: 2%; }
    .badge-2 { bottom: 8%; left: 2%; }
    .badge-3 { top: 45%; right: 2%; }
    
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .diferencial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .whatsapp-chat-popup {
        width: 240px;
        right: -15px;
    }
    
    .sobre-mobiliar-section,
    .sobre-section,
    .nathalia-section,
    .modelos-section,
    .moveis-planejados-section,
    .depoimentos-section,
    .cases-section,
    .clientes-section,
    .instagram-section,
    .formulario-section,
    .faq-section,
    .localizacao-section {
        padding: 60px 0;
    }
    
    .nathalia-section {
        padding: 50px 0;
    }
    
    .nathalia-nav-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nathalia-nav-tabs .nav-link {
        padding: 10px 15px;
        margin-right: 0;
        margin-bottom: 0.5rem;
        border-radius: 25px;
    }
    
    .nathalia-tab-content {
        padding: 1.5rem 1rem;
    }
    
    /* CORREÇÃO MOBILE PEQUENO - ALTURA DA IMAGEM */
    .polaroid-frame img {
        height: 160px; /* REDUZIDO para telas muito pequenas */
        min-height: 160px;
    }
    
    .nathalia-timeline::before {
        left: 40px;
    }
    
    .timeline-year {
        min-width: 70px;
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-right: 0.8rem;
    }
    
    .timeline-content h5 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .nathalia-quote {
        padding: 1.5rem 1rem;
    }
    
    .nathalia-quote blockquote p {
        font-size: 0.95rem;
    }
    
    .cases-section {
        padding: 50px 0;
    }
    
    .video-wrapper {
        max-height: 300px;
    }
    
    .case-info {
        padding: 1.2rem 1rem;
    }
    
    .case-info h4 {
        font-size: 1rem;
    }
    
    .case-info p {
        font-size: 0.9rem;
    }
    
    .cases-cta {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .cases-cta h4 {
        font-size: 1.2rem;
    }
    
    .cases-cta .lead {
        font-size: 1rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .video-container {
        max-height: 200px;
    }
    
    .video-caption {
        font-size: 0.9rem;
        margin-top: 0.8rem;
    }
    
    /* Estilos responsivos para notificações */
    .notification-content {
        min-width: 250px;
        max-width: 300px;
        padding: 8px;
    }

    .notification-message {
        font-size: 0.875rem;
    }

    .notification-icon {
        font-size: 1.1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .whatsapp-float-container,
    .whatsapp-chat-popup,
    .project-lightbox {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 20px;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --shadow-light: none;
        --shadow-medium: none;
        --shadow-heavy: none;
    }
    
    .btn-primary {
        background: black;
        border: 2px solid black;
    }
    
    .btn-outline-primary {
        border: 2px solid black;
        color: black;
    }
}

/* ==========================================================================
   FOUITA CUSTOM WIDGET OVERRIDES (3 COLUMNS STYLING)
   ========================================================================== */
#ftzkxjr1w .instagram-widget-container,
#ftzkxjr1w div[class*="widget-container"],
#ftzkxjr1w div[class*="grid"],
#ftzkxjr1w div[style*="grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Força os posts a terem proporção quadrada e adaptarem-se perfeitamente */
#ftzkxjr1w a, 
#ftzkxjr1w img {
    border-radius: 12px !important;
    object-fit: cover !important;
}

/* Garante que o lightbox/modal do Fouita fique sempre por cima do menu e do chat do WhatsApp */
#ftzkxjr1w [style*="position: fixed"],
#ftzkxjr1w [style*="position:fixed"],
#ftzkxjr1w div[class*="modal"],
#ftzkxjr1w div[class*="popup"],
#ftzkxjr1w div[class*="lightbox"],
#ftzkxjr1w div[class*="overlay"],
.fouita-popup,
.ft-modal,
.ft-popup,
[class*="ft-modal"],
[class*="ft-popup"],
[class*="ft-overlay"],
[class*="fouita-"] {
    z-index: 100000 !important;
}

/* Oculta suavemente o menu de navegação e o botão flutuante quando o modal do Instagram estiver aberto */
body.has-instagram-modal-open .navbar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Também podemos suavizar o chat flutuante do WhatsApp caso ele esteja aberto */
body.has-instagram-modal-open .whatsapp-float-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Garante que o botão de fechar e elementos interativos do modal do Instagram fiquem sempre na frente do frame */
#ftzkxjr1w button,
#ftzkxjr1w a,
#ftzkxjr1w [class*="close"],
#ftzkxjr1w [class*="exit"],
#ftzkxjr1w [class*="btn-close"],
#ftzkxjr1w [class*="button-close"],
#ftzkxjr1w svg,
#ftzkxjr1w i,
.fouita-popup button,
.fouita-popup a,
[class*="ft-modal"] button,
[class*="ft-modal"] a,
[class*="ft-popup"] button,
[class*="ft-popup"] a,
[class*="ft-close"] {
    z-index: 105000 !important;
}