@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

        :root {
            --bg: #09090b;
            --line: rgba(255, 255, 255, 0.08);
            --accent: #fbbf24;
            --accent-2: #f59e0b;

            --section-y: 3rem;
            --section-y-tight: 2.4rem;
            --nav-y: 0.65rem;
            
            /* Aumentado para mostrar melhor a fachada */
            --min-height: 80vh;
            --hero-min-h: 80dvh;

            --title-hero: clamp(2.5rem, 4.8vw, 4.25rem);
            --title-section: clamp(2rem, 3vw, 3rem);

            --text-base: 1.1rem;
            --text-small: 0.9rem;
            --text-micro: 0.8rem;
        }
        
        * {
	    box-sizing: border-box;
	}

        html {
            scroll-behavior: smooth;
            font-size: clamp(16px, 0.9vw + 0.5vh, 24px);
        }
        
		/* Desktop */
	@media (min-width: 1024px) {
	    html {
		font-size: clamp(12px, 0.9vw + 0.5vh, 24px);
	    }
	}

        body {
            font-family: 'Inter', sans-serif;
            background: #101010;
            color: #e4e4e7;
        }

        .nav-style {
            backdrop-filter: blur(18px);
            background: rgba(9, 9, 11, 0.76);
            border-bottom: 1px solid var(--line);
        }
        
        

        .hero-bg {
            position: relative;
            background:
                linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.88) 100%),
                url('img/Fachada.jpeg');
            background-size: cover;
            background-position: center center;
            min-height: var(--hero-min-h);
            align-items: flex-start; /* Alinha ao topo */
    		padding-top: 80px;      /* Use padding para controlar a distância exata do topo */
            align-items: center;
        }
        
        .hero-title {
            font-size: var(--title-hero);
            line-height: 0.97;
            letter-spacing: -0.03em;
        }
       
        .section-title {
            font-size: var(--title-section);
            line-height: 1.02;
            letter-spacing: -0.05em;
            text-align: center;
        }

        .yellow-gradient-text {
            background: linear-gradient(to right, #fbbf24, #fbbf24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .glass-panel {
            background: linear-gradient(180deg, rgba(24, 24, 27, .88), rgba(24, 24, 27, .64));
            border: 1px solid var(--line);
            box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
            height: 100%;
        }

        .stats-card {
            background: linear-gradient(180deg, rgba(24, 24, 27, .90), rgba(24, 24, 27, .66));
            border: 1px solid rgba(255, 255, 255, .07);
            box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
        }

        .section-pad {
            padding-top: var(--section-y);
            padding-bottom: var(--section-y);
        }

        .section-pad-tight {
            padding-top: var(--section-y-tight);
            padding-bottom: var(--section-y-tight);
        }

        .section-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(251, 191, 36, .22), transparent);
        }

        /* AJUSTE DE IMAGENS FÁCIL */
        .media {
            width: 100%;
            height: auto;
            overflow: hidden;
            border-radius: 14px;
            background: transparent;
        }
        
         .mediaX {
            width: var(--w, 100%);
            height: var(--h, auto);
            aspect-ratio: var(--ratio, auto);
            overflow: hidden;
            border-radius: var(--radius, 14px);
            background: transparent;
        }

        .media img {
            width: 100%;
            height: 100%;
            /* 'contain' garante que a foto nunca seja cortada. Mude para 'cover' se quiser preencher o box. */
            object-fit: var(--fit, contain);
            display: block;
            transition: transform .35s cubic-bezier(.4, 0, .2, 1);
        }

       @media (hover: hover) and (pointer: fine) {
	    .media:hover img,
	    .flat-media:hover img {
		transform: scale(1.05);
	    }
	}

	.flat-media {
	    width: 100%;
	    overflow: hidden;
	    border-radius: 14px;
	    background: transparent;
	    position: relative;
	}

	.flat-media img {
	    width: 100%;
	    height: auto;
	    display: block;
	    border-radius: 14px;
	    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
	}
        .service-bubbles {
            display: grid;
            grid-template-columns: 1;
            gap: 0rem;
        }

        .service-bubbles li {
            list-style: none;
            position: relative;
	    padding: .95rem 1rem .95rem 2.85rem;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
            border: 1px solid rgba(255, 255, 255, .08);
            color: #d4d4d8;
            font-size: 18px;
            line-height: 1.2;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
            transition: transform .25s ease, border-color .25s ease, background .25s ease;
        }
        
		/* Desktop */
	@media (min-width: 1024px) {
	    .service-bubbles li {
	    	padding:
		    clamp(7.5px, calc(-6px + 1.4vw), 20px)
		    1rem
		    clamp(7.5px, calc(-6px + 1.4vw), 20px)
		    2.85rem;
		font-size: clamp(12px, calc(1.4vw), 24px);
	    }
	}

        .service-bubbles li:hover {
            transform: translateY(-2px);
            border-color: rgba(251, 191, 36, .30);
            background: linear-gradient(180deg, rgba(251, 191, 36, .08), rgba(255, 255, 255, .02));
            
        }

        .service-bubbles li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #fbbf24;
            font-size: .95rem;
        }

        .feature-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: .9rem;
        }

        .feature-card {
            position: relative;
            padding: 1rem 1rem 1rem 3rem;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
            border: 1px solid rgba(255, 255, 255, .08);
            box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
            color: #d4d4d8;
            font-size: var(--text-small);
            line-height: 1.35;
            transition: transform .25s ease, border-color .25s ease;
        }

        .feature-card::before {
            content: "\f1ad";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 1rem;
            top: 1rem;
            color: #fbbf24;
        }

        .feature-card:nth-child(2)::before { content: "\f0b1"; }
        .feature-card:nth-child(3)::before { content: "\f233"; }
        .feature-card:nth-child(4)::before { content: "\f085"; }
        .feature-card:nth-child(5)::before { content: "\f0ad"; }
        .feature-card:nth-child(6)::before { content: "\f5ad"; }
        .feature-card:nth-child(7)::before { content: "\f5fd"; }
        .feature-card:nth-child(8)::before { content: "\f550"; }
        .feature-card:nth-child(9)::before { content: "\f201"; }
        .feature-card:nth-child(10)::before { content: "\f0c3"; }
        .feature-card:nth-child(11)::before { content: "\f7b2"; }
        .feature-card:nth-child(12)::before { content: "\f6e0"; }

        .profile-card {
            background: linear-gradient(180deg, rgba(24, 24, 27, .88), rgba(24, 24, 27, .62));
            border: 1px solid rgba(255, 255, 255, .08);
            box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .marquee-wrapper { overflow: hidden; width: 100%; position: relative; }
        .marquee-content {
            display: flex;
            gap: 1.25rem;
            width: max-content;
            animation: scroll 35s linear infinite;
        }


        /* Seção Serviços: Aumentada */
        .service-images {
            display: grid;
            grid-template-rows: repeat(3, minmax(0, 1fr));
            gap: 1rem;
            min-height: 0;
        }

        @media (max-width: 1023px) {
            .service-images { height: auto; grid-template-rows: auto auto auto; }
            .service-image-row .flat-media { aspect-ratio: 16 / 9; }
        }
		
	.bar {
	    position: absolute;
	    width: 24px;
	    height: 2px;
	    background: white;
	    transition: all 0.3s ease;
	}

	.numero-grande {
	  color: #fbbf24;    /* Cor de destaque */
	  display: inline-block;
	    font-weight: bold;
	}
	
	.brand-card {
	    background: rgba(255,255,255,0.1);
	    border: 1px solid rgba(255,255,255,0.06);
	    border-radius: 18px;
	    padding: 1.4rem;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    height: 110px;
	    transition: all .25s ease;
	    backdrop-filter: blur(6px);
	}

	.brand-card:hover {
	    transform: translateY(-4px);
	    border-color: rgba(234,179,8,0.45);
	    background: rgba(255,255,255,0.05);
	}

	.brand-card img {
	    max-height: 150%;
	    max-width: 100%;
	    filter: brightness(1.1);
	    opacity: 1;
	    object-fit: cover;
	    transition: all .25s ease;
	}


	/* Mobile */
	@media (max-width: 640px) {
	    .brand-card {
		height: 100px;
		padding: 1rem;
	    }

	    .brand-card img {
		max-height: 80px;
	    }
	}


	/* Container de cada item */
	.marquee-item {
	    flex-shrink: 0;
	    width: clamp(14rem, 16vw, 17.5rem); 
	    aspect-ratio: 4 / 5; 
	    background-color: #18181b; 
	    border-radius: 0.75rem; 
	    overflow: hidden;
	    border: 1px solid rgba(255, 255, 255, 0.1);
	    /* Evita que o usuário "arraste" a imagem para fora (comportamento nativo de img) */
	    user-select: none;
	    -webkit-user-drag: none;
	}

	/* A imagem em si */
	.marquee-img {
	    width: 100%;
	    height: 100%;
	    object-fit: cover; 
	    object-position: center; 
	    display: block;
	    pointer-events: none; /* Evita que o toque na imagem bloqueie o scroll */
	}

	/* Estrutura do Marquee */
	.marquee-wrapper {
	    width: 100%;
	    overflow-x: hidden;
	    /* Máscara de gradiente nas bordas */
	    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	    
	    /* Melhora o scroll no mobile */
	    -webkit-overflow-scrolling: touch;
	    touch-action: pan-x; 
	}

	.marquee-content {
	    display: flex;
	    width: max-content;
	    animation: scroll 60s linear infinite;
	    will-change: transform;
	}

	/* Animação do Scroll */
	@keyframes scroll {
	    from { transform: translateX(0); }
	    to { transform: translateX(calc(-50% - 0.5rem)); } /* 0.5rem é metade do gap (gap-4 = 1rem) */
	}

	/* Pausa ao passar o mouse - APENAS EM DESKTOP */
	@media (hover: hover) {
	    .marquee-wrapper:hover .marquee-content {
		animation-play-state: paused;
	    }
	}

	/* Aumentamos para 480px para cobrir quase todos os celulares modernos */
	@media (max-width: 480px) {
	    .marquee-item {
		width: 10rem !important; 
		flex: 0 0 10rem !important;
		overflow: hidden; /* Garante que nada saia para fora */
		display: flex;
		align-items: center;
		justify-content: center;
	    }

	    .marquee-item img {
		width: 100% !important;
		height: auto !important; /* Mantém a proporção original */
		object-fit: contain !important; /* Faz a imagem caber inteira no espaço */
	    }
	}


