@font-face {
    font-family: 'Blanquotey';
    src: url('font/Blanquotey.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --c-primary: #000000;
    --c-bg: #FFFFFF;
    --c-accent: #124234;
    /* Gold accent */
    --c-text-muted: #666666;
    --c-white: #FFFFFF;
    --c-dark: #111111;

    --f-sans: 'Inter', sans-serif;
    --f-display: 'Blanquotey', serif;
    --f-serif: 'Playfair Display', serif;

    --trans-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: all 0.3s ease;
}

body {
    font-family: var(--f-sans);
    color: var(--c-primary);
    background-color: var(--c-bg);
    cursor: none;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Suave custom handle (Lenis setup) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

::selection {
    background: var(--c-accent);
    color: var(--c-white);
}

.bg-cream {
    background-color: #F8F4F0 !important;
}

.bg-partners {
    background-color: #FFFFFF !important;
}

.bg-accent {
    background-color: var(--c-accent) !important;
    color: var(--c-white);
}

.bg-white {
    background-color: var(--c-white) !important;
}

.bg-dark {
    background-color: var(--c-dark) !important;
    color: var(--c-white);
}

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

.text-white {
    color: var(--c-white) !important;
}

.text-muted {
    color: var(--c-text-muted) !important;
}

.border-subtle {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Luxury Button Styles */
.btn-glass {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--c-white) !important;
    transition: var(--trans-smooth);
    padding: 16px 36px !important;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-glass:hover {
    background-color: var(--c-white) !important;
    color: var(--c-dark) !important;
    transform: translateY(-2px);
}

.btn-glass-dark {
    background-color: rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--c-dark) !important;
    transition: var(--trans-smooth);
    padding: 16px 36px !important;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.btn-glass-dark:hover {
    background-color: var(--c-dark) !important;
    color: var(--c-white) !important;
    transform: translateY(-2px);
}

.border-dark {
    border-color: rgba(11, 11, 11, 0.15) !important;
}

/* Tipografia Clean & Bold */

.look-feel-top-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.tracking-wide {
    letter-spacing: 0.15em;
}

/* GSAP Preparations */
.line-wrap {
    overflow: hidden;
    display: block;
    padding-bottom: 0.5rem;
}

/* Padding extra para ganchos soltos de fontes serifadas e outline */
.line {
    transform: translateY(110%);
}

.line-manifesto {
    transform: translateY(110%);
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--c-accent);
    transition: background-color 0.3s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, border-color 0.3s;
}

.cursor-outline.hover {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.05);
    border-color: var(--c-accent);
}

/* Magnetic Cursor States */
.cursor-outline.magnetic-hover {
    width: 0px;
    height: 0px;
    opacity: 0;
}

.cursor-dot.magnetic-hover {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    mix-blend-mode: normal;
    transform: translate(-50%, -50%) scale(1.2);
}

@media (max-width: 991px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* --- LOADER --- */
.loader-mask {
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.loader-word {
    transform: translateY(100%);
}

/* --- NAVBAR FLOATING PILL --- */
.custom-navbar {
    top: 30px;
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    width: calc(100% - 60px);
    max-width: 1200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: var(--trans-smooth);
}

.custom-navbar.scrolled {
    top: 15px;
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 24px;
    width: auto;
    filter: brightness(0);
}

@media (max-width: 991px) {
    .custom-navbar {
        width: calc(100% - 30px) !important;
        top: 15px !important;
        height: 65px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
    }

    .navbar-brand img {
        height: 20px;
        width: auto;
    }

    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-primary);
    font-size: 0.75rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--c-accent);
    transition: var(--trans-smooth);
}

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

/* --- LUXURY DROPDOWN MENU --- */
.custom-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    padding: 15px 10px !important;
    min-width: 200px;
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    /* Override default bootstrap block state */
    position: absolute;
    z-index: 1000;
    margin: 0;
    list-style: none;
}

/* Hover dropdown behavior (desktop-friendly, very premium) */
.nav-item.dropdown:hover .custom-dropdown-menu,
.nav-item.dropdown .custom-dropdown-menu.show {
    transform: translateY(5px);
    opacity: 1;
    visibility: visible;
}

.custom-dropdown-item {
    font-family: var(--f-sans);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-primary);
    padding: 10px 18px;
    border-radius: 12px;
    transition: var(--trans-fast);
    display: block;
    text-decoration: none;
}

.custom-dropdown-item:hover {
    background-color: var(--c-accent);
    color: var(--c-white) !important;
}

.dropdown-toggle {
    position: relative;
    z-index: 10;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.355em;
    vertical-align: 0.155em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

/* Hover dropdown behavior on Desktop */
@media (min-width: 992px) {

    .nav-item.dropdown:hover .custom-dropdown-menu,
    .nav-item.dropdown.show .custom-dropdown-menu,
    .custom-dropdown-menu.show {
        transform: translateY(5px);
        opacity: 1;
        visibility: visible;
    }

    .nav-item.dropdown:hover .dropdown-toggle::after,
    .nav-item.dropdown.show .dropdown-toggle::after,
    .dropdown-toggle.show::after,
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 991.98px) {
    .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
        padding: 10px 0 !important;
        min-width: auto !important;
        display: none !important;
        transition: opacity 0.3s ease;
    }

    /* Regra explícita de exibição quando ativo (.show ou aria-expanded="true") */
    .nav-item.dropdown.show .custom-dropdown-menu,
    .custom-dropdown-menu.show,
    .dropdown-toggle[aria-expanded="true"]+.custom-dropdown-menu {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-toggle.show::after,
    .dropdown-toggle[aria-expanded="true"]::after,
    .nav-item.dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* --- TEAM SECTION --- */
.team-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 24px;
    text-align: center;
    transition: var(--trans-smooth);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.member-portrait-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin: 0 auto 24px;
}

.member-portrait {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    background: #f0f0f0;
}

.member-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .member-portrait img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--c-primary);
}

.member-role {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 24px;
    display: block;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.social-icon {
    color: var(--c-primary);
    opacity: 0.6;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--c-accent);
    opacity: 1;
    transform: translateY(-2px);
}

/* Video Card Styles — proporção igual à dos cards de foto (1:1 quadrado) */
.member-portrait iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78%;
    /* 16/9 expandido para preencher o quadrado sem barras pretas */
    height: 177.78%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: auto;
}

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

.nav-anim {
    transform: translateY(-100%);
    opacity: 0;
}

.btn-pill-gold {
    border-radius: 50px;
    padding: 10px 28px;
    background-color: var(--c-dark);
    color: var(--c-white) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--c-dark);
    transition: var(--trans-smooth);
}

.btn-pill-gold:hover {
    background-color: var(--c-accent);
    border-color: var(--c-accent);
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--c-bg);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 6.5vw, 6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--c-white);
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 768px) {
    .project-hero {
        height: 50vh !important;
        padding-bottom: 40px !important;
    }

    .project-hero h1 {
        font-size: 2.5rem !important;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.8;
    letter-spacing: 1px;
}

.hero-anim,
.hero-anim-desc {
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px !important;
    }

    /* Removed specific iframe scaling in favor of global robust logic */
}

/* Overlay for Hero Content */
.hero-overlay-text {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* --- MARQUEE --- */

/* Wrapper para conter a máscara */

/* --- CASES --- */
.project-card {
    cursor: none;
    text-align: left;
}

.case-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    margin-bottom: 20px;
}

.case-title {
    font-family: var(--f-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--c-primary);
}

.case-category {
    font-size: 0.7rem;
    color: var(--c-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .case-image-wrapper {
        margin-bottom: 15px;
    }

    .case-title {
        font-size: 1.25rem;
    }
}

.case-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
    background-color: rgba(0, 0, 0, 0.4) !important;
}

.project-card:hover .case-overlay {
    opacity: 1;
}

.case-img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .case-img {
    transform: scale(1.1);
}

/* --- CONTATO FOOTER --- */
.contact-section {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 0;
    /* Removed negative margin for more space */
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    z-index: 10;
    position: relative;
}


.py-huge {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    .py-huge {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }

    .section-padding {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

.pt-huge-custom {
    padding-top: 70 !important;
}

@media (max-width: 768px) {
    .pt-huge-custom {
        padding-top: 150px !important;
    }
}

.magnetic-text {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.magnetic-text:hover {
    color: var(--c-verde) !important;
}

/* --- UTILS GSAP --- */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(50px);
}

/* --- PARTNERS CAROUSEL --- */
.partners-section {
    padding: 100px 0;
    text-align: center;
}

.partners-badge {
    background-color: #124234;
    color: #dafff4;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: none;
    letter-spacing: 0;
}

.partners-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #0A1F44;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.marquee-content-logos {
    display: inline-flex;
    gap: 100px;
    animation: marquee-logos 40s linear infinite;
    align-items: center;
}

.partner-logo {
    height: 35px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.5s ease;
    object-fit: contain;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-title {
        margin-bottom: 40px;
    }

    .marquee-content-logos {
        gap: 50px;
        animation: marquee-logos 20s linear infinite;
    }

    .partner-logo {
        height: 25px;
    }
}

@keyframes marquee-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Background Utility */
.bg-partners {
    background-color: #FFFFFF !important;
}

/* --- SERVICE CARDS (O que fazemos) --- */
.service-card {
    transition: transform 0.4s ease;
}

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

.service-card .image-box {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card .badge-main {
    background-color: var(--c-accent);
    color: var(--c-white);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.service-card h4 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--c-primary);
}

.service-card p {
    color: var(--c-text-muted);
    line-height: 1.6;
}

.service-card .btn-link {
    color: var(--c-primary);
    font-weight: 500;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 30px;
    }

    .service-card h4 {
        font-size: 1.15rem;
    }
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 0;
    background-color: var(--c-white);
    overflow: hidden;
}

.about-badge {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.about-badge::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--c-accent);
}

.accent-bar {
    width: 5px;
    height: 80px;
    background: linear-gradient(to bottom, #124234, #21725a);
    border-radius: 10px;
    flex-shrink: 0;
}

.about-title {
    font-family: var(--f-sans);
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #111;
    max-width: 800px;
}

.about-title span.text-accent-ref {
    color: #124234;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-section {
        padding: 80px 0;
    }

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

    .about-description {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

.stats-glass-wrapper {
    position: relative;
    margin-top: 5rem;
    padding: 4rem 2rem;
    z-index: 1;
}

.stats-glass-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4rem 2rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.stats-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    background: #124234;
    top: 10%;
    left: 20%;
    animation: blob-move 10s infinite alternate;
}

.blob-2 {
    background: #21725a;
    bottom: 10%;
    right: 25%;
    animation: blob-move 12s infinite alternate-reverse;
}

.blob-3 {
    background: #0d2b22;
    top: 40%;
    left: 50%;
    animation: blob-move 15s infinite alternate;
}

@keyframes blob-move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* Changed to use borders as separators */
    margin-bottom: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:first-child {
    border-left: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--c-text-muted);
    font-weight: 500;
}

.watch-intro-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-play-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.video-play-icon i {
    font-size: 1.2rem;
    margin-left: 4px;
}

.watch-intro-btn:hover .video-play-icon {
    background-color: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
    transform: scale(1.1);
}

.team-avatars {
    display: flex;
    margin-right: 20px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgb(255, 255, 255);
    margin-left: -15px;
    overflow: hidden;
}

.avatar:first-child {
    margin-left: 0;
}

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

@media (max-width: 768px) {

    /* About title row: stack bar above title on small screens */
    .about-section .row.mb-5 .col-lg-12.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .accent-bar {
        height: 4px;
        width: 50px;
    }

    .about-title {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.service-card .btn-link:hover {
    color: var(--c-accent);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 140px 0;
    overflow: hidden;
}

.testimonials-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-header-center h2 {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--c-primary);
    margin-bottom: 15px;
}

.trustpilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px 25px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.trustpilot-badge i {
    color: #00b67a;
    font-size: 1.2rem;
}

.testimonials-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--c-primary);
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 60px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card-item {
    flex: 0 0 400px;
    scroll-snap-align: start;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.02);
}

.testimonial-stars {
    color: #00b67a;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--c-primary);
    opacity: 0.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--c-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

.carousel-nav-arrows {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}

@media (max-width: 768px) {
    .testimonial-card-item {
        flex: 0 0 85vw;
    }

    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-header-center {
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

/* --- NEW CONTACT SECTION --- */
.contact-section-new {
    padding: 140px 0;
    background-color: #124234;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

.contact-info-col h2 {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
}

.contact-info-col p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.info-item label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.info-item .info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.contact-form-card {
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .contact-section-new {
        padding: 80px 0;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }

    .contact-info-col h2 {
        font-size: 2.2rem;
    }

    .info-item .info-value {
        font-size: 1.15rem;
    }
}

.contact-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.contact-form .form-control {
    background: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 15px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 4px rgba(18, 66, 52, 0.05);
    outline: none;
}

@media (max-width: 991px) {
    .contact-form-card {
        padding: 30px;
        margin-top: 50px;
    }
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    padding: 0 !important;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

.back-to-top i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top.active {
        bottom: 25px;
    }
}

/* Utility Color */
.text-verde {
    color: #124234 !important;
}

/* =============================================
   NAVBAR & DROPDOWN FIX (MOBILE & DESKTOP)
   ============================================= */

/* Estilo geral da Navbar no Desktop */
nav.custom-navbar,
body nav.custom-navbar,
.custom-navbar {
    position: fixed !important;
    top: 30px !important;
    left: 15px !important;
    right: 15px !important;
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    min-height: 80px !important;
    height: auto !important;
    /* Permite expansão fluida */
    z-index: 1030 !important;
    transform: none !important;
}

/* Ajuste específico para telas Mobile / Tablet (< 992px) */
@media (max-width: 991px) {

    nav.custom-navbar,
    body nav.custom-navbar,
    .custom-navbar {
        top: 15px !important;
        height: auto !important;
        /* Remove a trava fixa de 65px */
        min-height: 65px !important;
        left: 15px !important;
        right: 15px !important;
    }

    /* Container do menu mobile quando aberto */
    .navbar-collapse {
        background: #ffffff !important;
        margin-top: 15px;
        padding: 25px 20px;
        border-radius: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        max-height: calc(85vh - 80px);
        /* Limita altura para caber na tela */
        overflow-y: auto !important;
        /* Habilita scroll para ver Projetos, Sobre e Contato */
        -webkit-overflow-scrolling: touch;
    }

    /* Submenu do 'Green' quando ativo */
    .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: none !important;
        padding: 10px 0 !important;
        min-width: auto !important;
        width: 100%;
        border-radius: 15px !important;
        margin: 10px 0 !important;
    }

    .nav-item.dropdown.show .custom-dropdown-menu,
    .custom-dropdown-menu.show,
    .dropdown-toggle[aria-expanded="true"]+.custom-dropdown-menu {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =============================================
   FORM TOAST NOTIFICATION
   ============================================= */
.form-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: #1a1a1a;
    color: #fff;
    font-family: var(--f-sans);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 420px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.form-toast.success {
    background: linear-gradient(135deg, #0d3b2e, #124234);
    border-color: rgba(33, 114, 90, 0.4);
}

.form-toast.error {
    background: linear-gradient(135deg, #3b0d0d, #5c1a1a);
    border-color: rgba(180, 50, 50, 0.4);
}

.form-toast.warning {
    background: linear-gradient(135deg, #3b2e0d, #5c4a1a);
    border-color: rgba(180, 140, 50, 0.4);
}

@media (max-width: 576px) {
    .form-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 991px) {

    nav.custom-navbar,
    body nav.custom-navbar,
    .custom-navbar {
        top: 15px !important;
        height: 65px !important;
        left: 15px !important;
        right: 15px !important;
    }
}

/* =============================================
   CORREÇÃO DEFINITIVA DO SUB-MENU (GREEN)
   ============================================= */

/* 1. Garante que o item pai permita a expansão */
.nav-item.dropdown {
    position: relative !important;
}

/* 2. Força o sub-menu a ser EXIBIDO quando tiver a classe .show ou ao passar o mouse */
.custom-dropdown-menu.show,
.dropdown-menu.show,
.nav-item.dropdown:hover>.custom-dropdown-menu,
.nav-item.dropdown:hover>.dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
}

/* 3. Estilo e Cor dos links dentro do sub-menu (garante visibilidade do texto) */
.custom-dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    color: #111111 !important;
    /* Cor do texto bem visível (Escuro) */
    background-color: transparent !important;
    padding: 10px 20px !important;
    display: block !important;
    font-size: 0.95rem;
    text-align: center;
}

/* Efeito ao passar o mouse nos itens do sub-menu */
.custom-dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
}

/* 4. Ajuste para Celular / Mobile */
@media (max-width: 991px) {

    .custom-dropdown-menu,
    .dropdown-menu {
        position: static !important;
        /* Faz o sub-menu empurrar os itens abaixo em vez de flutuar */
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        background-color: #f8f9fa !important;
        /* Fundo leve para destacar do resto */
        border-radius: 12px !important;
        margin: 8px 0 !important;
    }
}