/* ---------- OVERRIDES BOOTSTRAP ---------- */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    color: #2a2a2a;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0px;
}
.section-title span {
    color: #c9a87c;
}
.section-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: #777;
    margin-bottom: 2.8rem;
    letter-spacing: 0.03em;
}

/* ---------- BUTTONS ---------- */
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 60px;
    padding: 14px 33px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1;
}
.btn-primary {
    background: #c9a87c;
    border: none;
    color: #fff;
    box-shadow: 0 8px 28px rgba(201, 168, 124, 0.25);
}
.btn-primary:hover {
    background: #d8b892;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(201, 168, 124, 0.35);
    color: #fff;
}
.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}
.btn-outline-light:hover {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}
.btn-success {
    background: #25D366;
    border: none;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3);
}
.btn-success:hover {
    background: #20b85a;
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
    transform: translateY(-4px) scale(1.02);
    color: #fff;
}

/* ---------- NAVBAR (Bootstrap) ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    padding: 0px;
    /* CORREÇÃO: z-index alto para ficar acima do conteúdo */
    z-index: 1050;
    /* Garante que o container não corte o dropdown */
    overflow: visible !important;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.navbar-brand span {
    color: #c9a87c;
    font-weight: 400;
}
.navbar-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 18px;
    border-radius: 40px;
    transition: all 0.25s ease;
    margin: 0px 5px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1a1a1a;
}

/* CORREÇÃO DROPDOWN: z-index maior e posição absoluta */
.dropdown-menu {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 10px 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    background: #fff;
    z-index: 1060 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 200px;
}
.dropdown-item {
    font-weight: 600;
    color: #555;
    padding: 10px 24px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: #f5f5f5;
    color: #1a1a1a;
    border-left-color: #c9a87c;
}
.navbar-toggler {
    border: none;
    padding: 6px 10px;
    font-size: 1.6rem;
    color: #333;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Garantir que o container do navbar não corte o dropdown */
.navbar .container,
.navbar .container-fluid,
.navbar .container-lg,
.navbar .container-md,
.navbar .container-sm,
.navbar .container-xl,
.navbar .container-xxl {
    overflow: visible !important;
}
.navbar-collapse {
    overflow: visible !important;
}

/* ---------- HERO ---------- */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1511798616189-93d360bd6c09?w=1400&q=80');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.45) saturate(1.1);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero:hover .hero-bg {
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 820px;
}
.hero-content .badge-custom {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    color: #f0e6d8;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 6px 22px;
    border-radius: 40px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-content h1 {
    font-size: 5.2rem;
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.hero-content h1 span {
    color: #d4b68a;
    font-weight: 400;
}
.hero-content .sub {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}
.hero-content .desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 16px auto 36px;
}
.hero-stats .stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #d4b68a;
}
.hero-stats .stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- CARDS PORTFOLIO ---------- */
.portfolio-card {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    height: 100%;
}
.portfolio-card:hover {
    transform: translateY(-12px);
    border-color: #c9a87c;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
}
.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-card:hover img {
    transform: scale(1.05);
}
.portfolio-card .card-body {
    padding: 22px 24px 28px;
}
.portfolio-card .card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}
.portfolio-card .card-body p {
    color: #777;
    font-size: 0.95rem;
}
.portfolio-card .card-body .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c9a87c;
    border: 1px solid rgba(201, 168, 124, 0.3);
    padding: 2px 14px;
    border-radius: 40px;
}

/* ---------- GALERIA GRID ---------- */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.galeria-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.galeria-item:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    z-index: 5;
}
.galeria-item:hover img {
    transform: scale(1.08);
}
.galeria-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    padding: 24px 16px 14px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}
.galeria-item:hover .overlay {
    opacity: 1;
}

/* ---------- DEPOIMENTOS ---------- */
.depoimento-item {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    height: 100%;
}
.depoimento-item:hover {
    border-color: #c9a87c;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}
.depoimento-item i {
    color: #c9a87c;
    font-size: 1.8rem;
    opacity: 0.3;
    margin-bottom: 12px;
}
.depoimento-item blockquote {
    font-style: italic;
    color: #444;
    font-size: 1rem;
}
.depoimento-item .autor {
    margin-top: 16px;
    font-weight: 700;
    color: #1a1a1a;
}
.depoimento-item .autor span {
    font-weight: 300;
    color: #888;
    font-size: 0.8rem;
}

/* ---------- CONTATO ---------- */
.contato-info .detalhe {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    color: #444;
}
.contato-info .detalhe i {
    width: 28px;
    color: #c9a87c;
    font-size: 1.3rem;
}
.contato-info .redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #444;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    text-decoration: none;
}
.contato-info .redes a:hover {
    background: #c9a87c;
    color: #fff;
    border-color: #c9a87c;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 168, 124, 0.2);
}
.contato-cta {
    background: #fcfcfc;
    border-radius: 24px;
    padding: 36px 32px;
    border: 1px solid #eaeaea;
    transition: border-color 0.3s ease;
}
.contato-cta:hover {
    border-color: #c9a87c;
}

/* ---------- FOOTER ---------- */
footer {
    background: #f8f8f8;
    padding: 40px 0 28px;
    border-top: 1px solid #e8e8e8;
}
footer .social a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
    margin: 0 12px;
}
footer .social a:hover {
    color: #c9a87c;
}
footer p {
    color: #888;
    font-size: 0.9rem;
}
footer p span {
    color: #c9a87c;
    font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .about-image {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .hero-content .sub {
        font-size: 1.1rem;
    }
    .hero-stats .stat .number {
        font-size: 1.6rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .portfolio-card img {
        height: 180px;
    }
    .about-image {
        height: 240px;
    }
    .contato-info .redes a {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .portfolio-card img {
        height: 160px;
    }
}

/* ---------- LOGO ---------- */
.navbar-brand img {
    width: 200px;
}

.mb-15 {
    margin-bottom: 15px;
}

.btn.btn-outline-light.green {
    background: #25D366;
    border: 1px solid #25D366;
    color: #fff;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-0 {
    margin-bottom: 0px;
}

footer p {
    font-size: 16px;
}


footer p a {
    text-decoration: none;
}

 .whatsapp-float {
            position: fixed;
            right: 20px;
            bottom: 20px;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: #25d366;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.7rem;
            box-shadow: 0 6px 18px rgba(0,0,0,.25);
            z-index: 1050;
            transition: transform .2s ease;
            text-decoration: none;
        }
        .whatsapp-float:hover { transform: scale(1.08); color: #fff; }

        /* ===== CORREÇÃO DO BOTÃO NO MENU MOBILE ===== */
        /* Desktop: botão compacto ao lado dos links */
        .navbar-nav .nav-cta {
            margin-left: 1rem;
        }
        .navbar-nav .nav-cta .btn {
            border-radius: 50px;
            font-weight: 700;
            padding: 12px 30px;
            white-space: nowrap;
        }

        /* Mobile: botão vira largura total, com respiro, sem margens estranhas */
        @media (max-width: 991.98px) {
            .navbar-nav .nav-cta {
                margin-left: 0;
                border-top: 1px solid rgba(255, 255, 255, .12);
                width: 100%;
                margin-top: 5px;
                margin-bottom: 15px;
            }
            .navbar-nav .nav-cta .btn {
                display: block;
                width: 100%;
                padding: .7rem 1rem;
                text-align: center;
            }
            /* Garante espaçamento uniforme dos links no menu mobile */
            .navbar-nav .nav-link {
                padding: .6rem 0;
            }
            footer {
                padding: 40px 0 60px;
            }
        }