
:root {
    --transition: all 0.3s ease;
    --primary: #1a1a1a;      
    --secondary: #f5f5f5;    
    --accent: #3498db;       
    --text-primary: #333333; 
    --text-secondary: #666666; 
    --gradient: linear-gradient(45deg, #3498db, #2ecc71); /* Gradiente azul a verde */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}


body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}


.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}


#home {
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
                url('https://images.pexels.com/photos/1666021/pexels-photo-1666021.jpeg') center/cover;
    margin-top: 76px;
    min-height: 600px;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

#home .container {
    padding: 4rem 0;
}

#home h1 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

#home .lead {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-custom {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-custom:hover {
    background: var(--accent);
    color: white;
}


.filter-buttons .btn {
    border-radius: 0;
    padding: 0.7rem 1.8rem;
    margin: 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-width: 2px;
}

.filter-buttons .btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    aspect-ratio: 1/1;
}

.gallery-item .card {
    height: 100%;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    opacity: 1;
}

.gallery-item:hover .card {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 2;
}


#about {
    background: var(--secondary);
}

#about img {
    box-shadow: 30px 30px 0px -15px var(--accent);
}


.form-control {
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    border-radius: 0;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent);
}


footer {
    background: var(--primary);
}

.social-links a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}


@media (max-width: 768px) {
    #home {
        min-height: 450px;
        height: auto;
        padding: 4rem 0;
    }

    #home h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 2rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }

    #about img {
        box-shadow: 15px 15px 0px -8px var(--accent);
        margin-top: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .gallery-item-info {
        padding: 1.5rem;
    }
    
    .gallery-item-info h5 {
        font-size: 1.2rem;
    }
    
    .gallery-item-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #home {
        min-height: 400px;
        padding: 3rem 0;
    }

    #home h1 {
        font-size: 1.8rem;
    }

    #home .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-buttons .btn {
        margin: 0.25rem;
    }
}


.text-accent {
    color: var(--accent);
}

.achievement-box {
    padding: 1.5rem;
    background: var(--secondary);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.achievement-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.achievement-box h3 {
    color: var(--accent);
    font-weight: 600;
}

.expertise-item {
    margin-bottom: 1.5rem;
}

.expertise-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress {
    height: 6px;
    background-color: var(--secondary);
    border-radius: 0;
    overflow: visible;
}

.progress-bar {
    background-color: var(--accent);
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 1rem;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid var(--accent);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
}

.experience-badge .text {
    font-size: 0.8rem;
    margin-top: 0.3rem;
}


@media (max-width: 768px) {
    .achievement-box {
        margin-bottom: 1rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .experience-badge .number {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
}


.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent);
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.2s;
}


.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

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


.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    transition: transform 0.5s ease;
}

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

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    opacity: 1;
}


.btn-custom {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}


html {
    scroll-behavior: smooth;
}


.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.3s ease;
}


.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}


.form-control {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    border-radius: 0;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.form-floating label {
    color: var(--text-secondary);
}


.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
    }

    .gallery-item-info {
        padding: 1.5rem 1rem 1rem;
    }

    .btn-custom {
        padding: 0.6rem 1.5rem;
    }
}


.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -1.5rem;
}

.carousel-control-next {
    right: -1.5rem;
}

.carousel-indicators {
    bottom: -3rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}


.card {
    transition: transform 0.3s ease;
}

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

.progress {
    height: 8px;
    background-color: #e9ecef;
    overflow: visible;
}

.progress-bar.bg-accent {
    background-color: var(--accent) !important;
}

.badge.bg-accent {
    background-color: var(--accent) !important;
    padding: 0.5rem;
}


@media (max-width: 768px) {
    .testimonial-card {
        padding: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}


.pricing .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing .card:hover {
    transform: translateY(-15px) !important;
}


.accordion-item {
    background: transparent;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    background: white;
    font-weight: 500;
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    color: var(--accent);
    background: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}


@media (max-width: 768px) {
    .pricing .card {
        margin-bottom: 2rem;
    }
    
    .pricing .card:hover {
        transform: translateY(-5px) !important;
    }
}


.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}


.gallery-item {
    margin-bottom: var(--bs-gutter-y);
}


.stat-item {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}


.service-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

.service-card ul li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.service-card:hover ul li {
    opacity: 1;
}


@media (max-width: 768px) {
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-item h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}


.parallax-section {
    position: relative;
    background-image: url('https://images.pexels.com/photos/1666021/pexels-photo-1666021.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
}


@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll; 
    }
    
    .parallax-content {
        padding: 4rem 0;
    }
    
    .parallax-section h2 {
        font-size: 2rem;
    }
}


.timeline .card {
    transition: transform 0.3s ease;
}

.timeline .card:hover {
    transform: translateY(-10px);
}


.newsletter {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('https://images.pexels.com/photos/camera.jpg') center/cover;
}

.newsletter .form-control {
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px 0 0 30px;
}

.newsletter .btn-accent {
    background-color: var(--accent);
    color: white;
    border-radius: 0 30px 30px 0;
    padding: 0.8rem 1.5rem;
}


footer .social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-5px);
}

footer ul li a {
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--accent) !important;
}


#backToTop {
    display: none;
    width: 45px;
    height: 45px;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
}

#backToTop.show {
    display: block;
    opacity: 1;
}


.latest-work .card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.latest-work .card:hover {
    transform: translateY(-10px);
}

.latest-work .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-work .card:hover .card-img-top {
    transform: scale(1.05);
}


.cookie-banner {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

@media print {
    .no-print {
        display: none;
    }
    body {
        font-size: 12pt;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
}


@media (max-height: 500px) and (orientation: landscape) {
    #home {
        min-height: 300px;
        height: auto;
        padding: 2rem 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .row {
        --bs-gutter-x: 2rem;
    }

    .service-card {
        height: calc(100% - 1rem);
    }

    .gallery-item {
        margin-bottom: 2rem;
    }
}


.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}


:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}


.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
} 