/* ==========================================================================
   ARTCOR - Modern Landing Page Styles
   ========================================================================== */

/* CSS Variables - Paleta de Cores ArtCor */
:root {
    --primary-blue: #1E88E5;
    --secondary-orange: #FF9800;
    --dark-gray: #333333;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gradient-primary: linear-gradient(135deg, #1E88E5 0%, #FF9800 100%);
    --gradient-secondary: linear-gradient(135deg, #FF9800 0%, #1E88E5 100%);
    --shadow-light: 0 5px 15px rgba(30, 136, 229, 0.1);
    --shadow-medium: 0 10px 30px rgba(30, 136, 229, 0.15);
    --shadow-heavy: 0 20px 40px rgba(30, 136, 229, 0.2);
    --transition-smooth: all 0.3s ease-in-out;
    --transition-fast: all 0.2s ease-in-out;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-orange);
}

/* Buttons */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-secondary);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Botão Pedir Orçamento - Estilo específico para hero */
.hero-buttons .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

/* Section Styles */
section {
    position: relative;
    overflow: hidden;
}

.section-title {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Text Gradients */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--secondary-orange);
    font-weight: 600;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.header-sticky {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-sticky.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}


.header-sticky.navbar-scrolled .navbar-nav .nav-link::after {
    background: var(--secondary-orange);
}

.header-sticky.navbar-scrolled .navbar-brand .logo {
    filter: brightness(0) saturate(100%);
}

.header-sticky.navbar-scrolled .header-cta .btn {
    background: var(--gradient-primary);
    border-color: var(--primary-blue);
    color: var(--white);
}

.header-sticky.navbar-scrolled .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-sticky.navbar-scrolled .navbar-nav.mx-auto {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.navbar {
    padding: 1rem 0;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav.mx-auto {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.header-cta {
    margin-left: auto;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
}

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

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1E88E5 !important;
    margin: 0 15px;
    padding: 10px 0 !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-shadow: none;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-orange);
    transition: var(--transition-smooth);
}

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

.navbar-nav .nav-link:hover {
    color: #FF9800 !important;
}

.navbar-nav .nav-link.active {
    color: #FF9800 !important;
}

.header-sticky.navbar-scrolled .navbar-nav .nav-link {
    color: #1E88E5 !important;
    text-shadow: none;
    font-weight: 700;
}

.header-sticky.navbar-scrolled .navbar-nav .nav-link:hover {
    color: #FF9800 !important;
}

.header-sticky.navbar-scrolled .navbar-nav .nav-link.active {
    color: #FF9800 !important;
}

.header-cta .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav.mx-auto {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .header-cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.75rem 0 !important;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-section .row {
    width: 100%;
    margin: 0;
}

.hero-section .col-lg-10,
.hero-section .col-xl-8 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

/* Indicadores de slideshow removidos para iOS */

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
    /* Remover fundo cinza - garantir transparência */
    background-color: transparent !important;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Garantir que as imagens cubram toda a tela */
.hero-slide {
    min-height: 100vh;
    min-width: 100vw;
    /* Remover fundo cinza - garantir transparência total */
    background-color: transparent !important;
    background-image: none;
}

/* Remover fundo cinza do slideshow */
.hero-slideshow {
    background: transparent !important;
    background-color: transparent !important;
}

/* Remover fundo cinza da section */
.hero-section {
    background: transparent !important;
    background-color: transparent !important;
}

/* Correções específicas para iOS */
@supports (-webkit-touch-callout: none) {
    .hero-slide {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
    }
    
    .hero-section {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero-slideshow {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Responsividade para diferentes tamanhos de tela */
@media (max-width: 768px) {
    .hero-slide {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
    }
}

/* Correção adicional para dispositivos móveis */
@media (max-width: 1024px) {
    .hero-slide {
        background-attachment: scroll !important;
    }
}

/* Fallback removido - estava cobrindo as imagens */

/* Fallback específico para iOS quando imagens não carregam */
/* Remover gradientes de fallback - deixar transparente para mostrar imagens */
@supports (-webkit-touch-callout: none) {
    .hero-slide:not([style*="background-image"]) {
        background: transparent !important;
    }
    
    .hero-slide:not([style*="background-image"])::before {
        background: transparent !important;
    }
}

/* Correções específicas para dispositivos iOS detectados via JavaScript */
.ios-device .hero-slide {
    background-attachment: scroll !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
}

.ios-device .hero-section {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.ios-device .hero-slideshow {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Remover completamente indicadores no iOS */
.ios-device .hero-slideshow::before,
.ios-device .hero-slideshow::after {
    display: none !important;
}

/* Remover indicadores em todos os dispositivos móveis */
@media (max-width: 768px) {
    .hero-slideshow::before,
    .hero-slideshow::after {
        display: none !important;
    }
    
    .scroll-down {
        display: none !important;
    }
}

/* Remover scroll down indicator no iOS */
.ios-device .scroll-down {
    display: none !important;
}

/* Remover overlay que pode cobrir as imagens */
.hero-overlay {
    display: none !important;
}

.hero-content {
    color: var(--white);
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down a {
    display: inline-block;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.scroll-down a:hover {
    opacity: 1;
    transform: translateY(-5px);
}

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

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(30, 136, 229, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 300px;
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
}

.service-title {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

.portfolio-section {
    padding: 100px 0;
    background: var(--white);
}

.portfolio-slider {
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.portfolio-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: var(--light-gray);
}

.portfolio-image img[src*="placeholder"] {
    object-fit: contain;
    padding: 20px;
}

.portfolio-image img:not([src]):not([srcset]) {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img:not([src]):not([srcset])::before {
    content: "Carregando...";
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.85) 0%, rgba(255, 152, 0, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-content {
    text-align: center;
    color: var(--white);
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-content h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.portfolio-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.portfolio-cta {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    margin-top: 15px;
}

.portfolio-item:hover .portfolio-cta {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-blue);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-orange);
    opacity: 1;
}

/* ==========================================================================
   Obra Modal Styles
   ========================================================================== */

.modal-xl {
    max-width: 1200px;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Obra Gallery */
.obra-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--light-gray);
    box-shadow: var(--shadow-medium);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.thumbnails-container {
    max-height: 120px;
    overflow-y: auto;
}

.thumbnails-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Obra Info */
.obra-info {
    padding: 20px;
    height: 100%;
}

.obra-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.obra-client {
    color: var(--secondary-orange);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.obra-location {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.obra-details h5,
.obra-services h5,
.obra-description h5 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

.obra-details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.obra-details-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.obra-details-list li:last-child {
    border-bottom: none;
}

.obra-details-list li i {
    color: var(--primary-blue);
    width: 20px;
    margin-right: 10px;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.services-tags .tag {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.obra-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stat-value {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

.obra-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.obra-actions .btn {
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .modal-xl {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .main-image {
        height: 250px;
    }
    
    .obra-info {
        padding: 15px;
        margin-top: 20px;
    }
    
    .obra-title {
        font-size: 1.5rem;
    }
    
    .obra-client {
        font-size: 1.2rem;
    }
    
    .thumbnails-grid {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .thumbnail {
        flex-shrink: 0;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    padding: 20px;
}

.about-subtitle {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Founder Section */
.founder-section {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-medium);
    margin-top: 50px;
}

.founder-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.founder-image:hover img {
    transform: scale(1.05);
    border-color: var(--secondary-orange);
}

.founder-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.founder-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.founder-image:hover .founder-placeholder {
    transform: scale(1.05);
    border-color: var(--secondary-orange);
}

.founder-content {
    padding-left: 30px;
}

.founder-name {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.founder-title {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================================================
   Pillars Section
   ========================================================================== */

.pillars-section {
    padding: 100px 0;
    background: var(--white);
}

.pillar-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 15px;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 250px;
}

.pillar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.pillar-item:hover::before {
    opacity: 1;
}

.pillar-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.pillar-item:hover * {
    color: var(--white) !important;
    position: relative;
    z-index: 2;
}

.pillar-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.pillar-title {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.pillar-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-info {
    padding: 30px;
}

.contact-title {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details small {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.form-label {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-logo .logo {
    height: 60px;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-social {
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    color: var(--white);
    margin: 0 10px;
    transition: var(--transition-smooth);
}

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

.footer-copyright {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-gray);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--dark-gray);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float.extra-pulse {
    animation: whatsappExtraPulse 1s infinite;
}

@keyframes whatsappExtraPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* ==========================================================================
   Stats Section (Dailton/Fundador)
   ========================================================================== */

.stats-section {
    background: transparent;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-orange);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

/* Efeito de partículas durante animação */
.stat-number.counting::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 0.15s ease-in-out infinite;
    z-index: -1;
}

.stat-number.exploding::after {
    content: '✨';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 1.5rem;
    animation: sparkleRotate 0.5s ease-in-out;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes sparkleRotate {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: rotate(360deg) scale(0);
    }
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Animação EXPONENCIAL dos números */
.stat-number.counting {
    animation: countPulse 0.15s ease-in-out;
    color: var(--secondary-orange);
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.stat-number.exploding {
    animation: explodeEffect 0.3s ease-out;
    color: var(--secondary-orange);
    text-shadow: 0 0 20px rgba(255, 152, 0, 0.8);
}

.stat-number.final-bounce {
    animation: finalBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--primary-blue);
    text-shadow: 0 0 15px rgba(30, 136, 229, 0.6);
}

@keyframes countPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes explodeEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        text-shadow: 0 0 25px rgba(255, 152, 0, 1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes finalBounce {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.3);
        text-shadow: 0 0 30px rgba(30, 136, 229, 1);
    }
    40% {
        transform: scale(0.9);
    }
    60% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(30, 136, 229, 0.6);
    }
}

/* Efeito de brilho no card durante animação */
.stat-item:has(.stat-number.counting) {
    box-shadow: 0 0 30px rgba(255, 152, 0, 0.3);
    border-color: var(--secondary-orange);
}

.stat-item:has(.stat-number.exploding) {
    box-shadow: 0 0 40px rgba(255, 152, 0, 0.5);
    transform: translateY(-15px);
}

.stat-item:has(.stat-number.final-bounce) {
    box-shadow: 0 0 50px rgba(30, 136, 229, 0.4);
    border-color: var(--primary-blue);
}

/* Founder Section Styles */
.founder-section {
    background: transparent;
    border-radius: 2rem;
    margin: 3rem 0;
    padding: 0;
}

.founder-section .row {
    align-items: center;
    gap: 3rem;
}

.founder-section .col-lg-4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-section .col-lg-8 {
    padding-left: 2rem;
}

.founder-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.founder-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    text-align: left;
    margin-bottom: 0;
}

.founder-placeholder {
    background: transparent;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    font-size: 4rem;
    box-shadow: none;
    display: none;
}

.founder-photo {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border: none;
    display: block;
    margin: 0 auto;
}

.founder-photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   Obra Modal Gallery Styles
   ========================================================================== */

/* Modal Header with Gradient */
.modal-header.bg-gradient {
    background: var(--gradient-primary) !important;
}

.modal-header-info {
    flex: 1;
}

.modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Main Image Container */
.main-image-container {
    background: #f8f9fa;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    max-height: 500px;
}

.main-image {
    object-fit: cover;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* Image Counter */
.image-counter {
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Loading Spinner */
.image-loader {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Gallery Navigation Arrows */
.gallery-nav {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-fast);
    z-index: 5;
    font-size: 1.2rem;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Thumbnails */
.thumbnails-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #e9ecef;
}

.thumbnails-grid::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-grid::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.thumbnails-grid::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-blue);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

/* Obra Info Styles */
.obra-info {
    max-height: 600px;
    overflow-y: auto;
}

.obra-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

.obra-client {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Stats Cards */
.stat-card {
    background: #f8f9fa;
    transition: var(--transition-fast);
}

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

.stat-value {
    font-size: 1.1rem;
}

/* Service Tags */
.obra-services .badge,
#obraServicesTags .badge {
    background: var(--gradient-primary) !important;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.2rem;
}

/* Details List */
.obra-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.obra-details ul li:last-child {
    border-bottom: none;
}

.obra-details ul li i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

/* Portfolio Items Hover Effect */
.portfolio-item {
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 1rem;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.portfolio-overlay {
    background: transparent;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
}

.portfolio-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-orange);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.portfolio-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.portfolio-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-cta {
    color: var(--secondary-orange);
}

/* Stats Responsive */
@media (max-width: 768px) {
    .stats-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .founder-name {
        font-size: 2.2rem;
    }
    
    .founder-title {
        font-size: 1rem;
    }
    
    .founder-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .founder-placeholder {
        padding: 3rem 1.5rem;
        font-size: 3rem;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0;
        height: 100vh;
    }
    
    .modal-content {
        height: 100vh;
        border-radius: 0;
    }
    
    .main-image-container {
        aspect-ratio: 4/3;
        max-height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .obra-info {
        max-height: none;
        padding: 1rem !important;
    }
    
    .obra-title {
        font-size: 1.3rem;
    }
    
    .obra-client {
        font-size: 1.1rem;
    }
}

/* Touch Gestures for Mobile */
@media (hover: none) and (pointer: coarse) {
    .gallery-nav {
        opacity: 0.8;
    }
    
    .portfolio-overlay {
        opacity: 1;
    }
    
    .portfolio-item {
        transform: none;
    }
    
    .portfolio-item:active {
        transform: scale(0.98);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large Desktops */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .founder-content {
        padding-left: 20px;
    }
    
    .pillar-item {
        margin-bottom: 30px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .founder-content {
        padding-left: 0;
        margin-top: 30px;
        text-align: center;
    }
    
    .founder-image {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.7rem; }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
    
    .founder-section {
        padding: 30px 20px;
    }
    
    .stats-section .col-md-4 {
        margin-bottom: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .whatsapp-tooltip {
        right: 65px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-form,
    .founder-section {
        padding: 25px 20px;
    }
    
    .pillar-item {
        padding: 30px 15px;
    }
    
    .founder-name {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

/* Custom AOS animations */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Animations */
.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--secondary-orange) !important; }
.text-white { 
    color: var(--white) !important; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-secondary { background-color: var(--secondary-orange) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; }

.shadow-light { box-shadow: var(--shadow-light) !important; }
.shadow-medium { box-shadow: var(--shadow-medium) !important; }
.shadow-heavy { box-shadow: var(--shadow-heavy) !important; }

.border-radius-15 { border-radius: 15px !important; }
.border-radius-20 { border-radius: 20px !important; }

.transition-smooth { transition: var(--transition-smooth) !important; }
.transition-fast { transition: var(--transition-fast) !important; }

/* Smooth Scroll Class */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Mobile Optimizations - Android & iOS
   ========================================================================== */

/* Mobile First - Base styles for mobile */
@media (max-width: 767px) {
    /* Typography adjustments - Mais leve */
    h1 { font-size: 2.2rem !important; font-weight: 600; }
    h2 { font-size: 1.9rem !important; font-weight: 600; }
    h3 { font-size: 1.6rem !important; font-weight: 500; }
    h4 { font-size: 1.3rem !important; font-weight: 500; }
    
    /* Container adjustments - Mais espaçado */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Header optimizations */
    .navbar-brand .logo {
        height: 50px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        font-size: 1.1rem;
    }
    
    /* Hero section mobile - Mais leve e centralizado */
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.1;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
        font-weight: 500;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
        margin-bottom: 2.5rem;
        line-height: 1.6;
        opacity: 0.9;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 18px 25px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .hero-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
    }
    
    /* Services section mobile - Cards mais leves */
    .service-card {
        margin-bottom: 2.5rem;
        padding: 2rem 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(30, 136, 229, 0.1);
        border: 1px solid rgba(30, 136, 229, 0.1);
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(30, 136, 229, 0.15);
    }
    
    .service-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        color: var(--primary-blue);
        opacity: 0.9;
    }
    
    .service-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .service-description {
        font-size: 1rem;
        line-height: 1.6;
        color: #666;
        margin-bottom: 0;
    }
    
    /* Portfolio section mobile */
    .portfolio-item {
        margin-bottom: 1.5rem;
    }
    
    .portfolio-content h4 {
        font-size: 1.2rem;
    }
    
    .portfolio-content h5 {
        font-size: 1rem;
    }
    
    /* Gallery modal mobile */
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .thumbnails-grid {
        gap: 8px;
    }
    
    .thumbnails-grid img {
        width: 60px;
        height: 45px;
    }
    
    .obra-info {
        padding: 15px;
    }
    
    .obra-title {
        font-size: 1.3rem;
    }
    
    .obra-client {
        font-size: 1.1rem;
    }
    
    .obra-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-card {
        padding: 10px;
    }
    
    /* About section mobile */
    .about-content {
        margin-bottom: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Contact form mobile */
    .contact-form {
        margin-top: 2rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
    }
    
    /* Footer mobile */
    .footer-contact-item {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    /* WhatsApp float mobile */
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    /* Back to top mobile */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
}

/* Small mobile devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .navbar-brand .logo {
        height: 45px;
    }
}

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: auto;
        flex: 1;
    }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* iOS touch target minimum */
        padding: 12px 20px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .whatsapp-float,
    .back-to-top {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .header-sticky,
    .back-to-top,
    .scroll-down {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2cm 0;
    }
    
    .section-title {
        color: #000 !important;
    }
    
    .btn {
        border: 1pt solid #000 !important;
        color: #000 !important;
        background: transparent !important;
    }
}
