/* ==============================
   CUSTOM STYLES
   ============================== */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #7a6c3f;
    --primary-dark: #5a4c2f;
    --primary-light: #9a8c5f;
    --secondary-color: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #6c6c6c;
    --bg-light: #f8f7f5;
    --bg-white: #ffffff;
    --border-color: #e0ddd8;
    --accent-gold: #d4af37;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.text-justify {
    text-align: justify;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand .logo {
    height: 40px;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(122, 108, 63, 0.25);
}

/* ===== HERO SECTION WITH SLIDER ===== */
.hero-section {
    position: relative;
    min-height: auto;
    color: var(--secondary-color);
    overflow: hidden;
}

.hero-section .carousel {
    height: auto;
}

.hero-section .carousel-inner {
    height: auto;
}

.hero-section .carousel-item {
    position: relative;
}

.hero-carousel-image {
    display: block;
    width: 100%;
    height: auto;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Hero slider backgrounds - Gradientes dinâmicos */
.carousel-bg.slide-1::before,
.carousel-bg.slide-2::before {
    background: linear-gradient(135deg, rgba(90, 76, 47, 0.65) 0%, rgba(122, 108, 63, 0.75) 100%);
}

.carousel-bg.slide-3::before {
    background: linear-gradient(135deg, rgba(154, 140, 95, 0.65) 0%, rgba(122, 108, 63, 0.75) 100%);
}

.carousel-bg.slide-4::before {
    background: linear-gradient(135deg, rgba(122, 108, 63, 0.65) 0%, rgba(154, 140, 95, 0.75) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 76, 47, 0.65) 0%, rgba(122, 108, 63, 0.75) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover, cover;
    z-index: 1;
}

.hero-section .carousel-item.slide-3 .hero-overlay {
    background: linear-gradient(135deg, rgba(154, 140, 95, 0.65) 0%, rgba(122, 108, 63, 0.75) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover, cover;
}

.hero-section .carousel-item.slide-4 .hero-overlay {
    background: linear-gradient(135deg, rgba(122, 108, 63, 0.65) 0%, rgba(154, 140, 95, 0.75) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover, cover;
}

.hero-section .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 100vh;
    }

    .hero-carousel-image {
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }

    .hero-section .container {
        height: 100%;
    }
}

@media (min-width: 992px) and (max-height: 820px) {
    .hero-section {
        margin-top: 82px;
        min-height: calc(100vh - 82px);
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: calc(100vh - 82px);
        min-height: 0;
    }

    .hero-carousel-image {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Color style for animated hero title */
.hero-title.animate-slide {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Carousel Animation */
.carousel-item.active .animate-slide {
    animation: fadeInUp 0.8s ease forwards;
}

.carousel-item.active .animate-slide:nth-child(1) {
    animation-delay: 0.2s;
}

.carousel-item.active .animate-slide:nth-child(2) {
    animation-delay: 0.4s;
}

.carousel-item.active .animate-slide:nth-child(3) {
    animation-delay: 0.6s;
}

.carousel-item.active .animate-slide:nth-child(4) {
    animation-delay: 0.8s;
}

.animate-slide {
    opacity: 0;
    transform: translateY(30px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 80px;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--primary-light);
    transform: scale(1.3);
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--secondary-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator a:hover {
    color: var(--bg-light);
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* ===== VALUES BOX ===== */
.values-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.values-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.value-icon i {
    font-size: 1.8rem;
}

.value-item:hover .value-icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.value-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.value-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-section {
    background-color: var(--bg-light);
}

.testimonial-title {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 2.35rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 72px;
}

.testimonial-track {
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
}

.testimonial-card.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-avatar-wrap {
    margin-bottom: 1.7rem;
}

.testimonial-content {
    margin: 0 auto;
    max-width: 760px;
}

.testimonial-content p {
    font-size: clamp(1.08rem, 1.9vw, 1.36rem);
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0 0 1.35rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-author {
    display: block;
}

.testimonial-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.testimonial-avatar-placeholder i {
    font-size: 1.8rem;
}

.testimonial-author-info {
    text-align: center;
}

.testimonial-author-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.88;
}

.testimonial-nav:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.testimonial-nav.prev {
    left: 12px;
}

.testimonial-nav.next {
    right: 12px;
}

.testimonial-carousel.is-single .testimonial-nav {
    display: none;
}

.testimonial-dots {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.testimonial-dot:hover,
.testimonial-dot.is-active {
    background-color: var(--primary-color);
    transform: scale(1.15);
}

.testimonial-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.testimonial-empty i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.testimonial-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.testimonial-empty p {
    margin: 0;
}

/* ===== BLOG SECTION (HOME) ===== */
.blog {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.blog-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-intro .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background-color: var(--bg-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 108, 63, 0.35);
}

.blog-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.blog-post:hover img {
    transform: scale(1.03);
}

.blog-content {
    padding: 1.6rem;
}

.blog-content h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.6rem;
}

.blog-cta-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991px) {
    .testimonial-title {
        font-size: 2.1rem;
    }

    .testimonial-carousel {
        padding: 0 56px;
    }

    .testimonial-content p {
        font-size: 1.15rem;
        line-height: 1.75;
    }

    .testimonial-author-info h3 {
        font-size: 1.03rem;
    }

    .blog {
        padding: 80px 0;
    }

    .blog-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .testimonial-title {
        font-size: 1.85rem;
    }

    .testimonial-carousel {
        padding: 0 0 46px;
    }

    .testimonial-track {
        min-height: 290px;
    }

    .testimonial-card {
        padding: 0 0.4rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.72;
    }

    .testimonial-author-info h3 {
        font-size: 0.95rem;
    }

    .testimonial-nav {
        width: 38px;
        height: 38px;
        top: auto;
        bottom: -2px;
        transform: none;
    }

    .testimonial-nav:hover {
        transform: none;
    }

    .testimonial-nav.prev {
        left: 50%;
        margin-left: -46px;
    }

    .testimonial-nav.next {
        right: 50%;
        margin-right: -46px;
    }

    .testimonial-author {
        max-width: 100%;
    }

    .blog-grid {
        padding: 0 16px;
    }

    .blog-post img {
        height: 200px;
    }
}

/* ===== PORTFOLIO CARDS ===== */
.portfolio-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    padding-top: 80%;
    background-color: var(--bg-light);
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(122, 108, 63, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.portfolio-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    flex-grow: 1;
    line-height: 1.5;
}

.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.feature-tag i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

/* ===== PORTFOLIO CAROUSEL ===== */
.portfolio-carousel {
    position: relative;
    padding: 2rem 0 4.5rem; /* espaço extra para os indicadores */
}

.portfolio-carousel .carousel-control-prev,
.portfolio-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
}

.portfolio-carousel .carousel-control-prev {
    left: -25px;
}

.portfolio-carousel .carousel-control-next {
    right: -25px;
}

.portfolio-carousel .carousel-control-prev:hover,
.portfolio-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-dark);
}

.portfolio-carousel .carousel-control-prev-icon,
.portfolio-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.portfolio-carousel .carousel-indicators {
    bottom: 0; /* posiciona dentro do carrossel para não sobrepor o botão */
    margin-bottom: 0;
}

.portfolio-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    border: none;
}

.portfolio-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--primary-color);
}

.portfolio-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

@media (max-width: 991px) {
    .portfolio-carousel .carousel-control-prev,
    .portfolio-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-carousel .carousel-control-prev {
        left: -20px;
    }
    
    .portfolio-carousel .carousel-control-next {
        right: -20px;
    }
}

@media (max-width: 767px) {
    .portfolio-carousel .carousel-control-prev,
    .portfolio-carousel .carousel-control-next {
        display: none;
    }
    
    .portfolio-carousel .carousel-indicators {
        bottom: -30px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    background-color: var(--bg-white);
    padding: 1.5rem 1.8rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    padding: 1rem;
    border-left: 4px solid var(--accent-gold);        
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item:last-of-type {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 1.2rem;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(122, 108, 63, 0.15);
}

.form-floating > label {
    color: var(--text-light);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    /* filter: brightness(0) invert(1); */
}

.footer-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .footer-links li {
    margin-bottom: 0.7rem;
} */

.footer-links a {
    color: var(--secondary-color);
    opacity: 0.8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-newsletter-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
    color: var(--secondary-color);
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.footer-social .social-link:hover {
    background-color: var(--primary-light);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scroll-top-btn.show {
    display: flex;
}

.scroll-top-btn i {
    font-size: 1.5rem;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 998;
    display: inline-block;
    pointer-events: auto;
}

.whatsapp-float img {
    width: 200px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.2));
    border-radius: 0 0 20px 0;
    pointer-events: auto;
}

.whatsapp-float:hover img {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.28));
}

/* Evita que o botão cubra conteúdo em mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 30px;
        left: 15px;
    }
    
    .whatsapp-float img {
        width: 150px;
    }
}

/* Evita que cubra o footer */
.footer {
    position: relative;
    z-index: 100;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: 150px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .hero-section {
        margin-top: var(--navbar-height, 82px);
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        min-height: 320px;
        height: clamp(320px, 70vh, 640px);
    }

    .hero-carousel-image {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center;
        background-color: var(--primary-dark);
    }

    .hero-section .container {
        height: 100%;
    }
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .values-box {
        margin-top: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-indicators {
        bottom: 60px;
    }
}

@media (max-width: 767px) {
    .hero-carousel-image {
        max-height: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-form-wrapper,
    .contact-info,
    .values-box {
        padding: 2rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .carousel-indicators {
        bottom: 50px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        margin: 0 5px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        margin-top: var(--navbar-height, 74px);
    }

    .hero-carousel-image {
        max-height: none;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-content .btn:last-child {
        margin-bottom: 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}


