/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --yellow: #F2EC16;
    --yellow-dark: #D4C900;
    --blue: #16A7F2;
    --accent: #F2EC16;
    --maroon: #9D434A;
    --teal: #446373;
    --black: #0D0D0D;
    --dark: #1A1A1A;
    --dark2: #252525;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

/* Skip navigation – acessibilidade */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 10000;
    transition: top 0.2s ease;
}
.skip-nav:focus { top: 0; }

/* Focus visível global */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 2px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn--primary {
    background: var(--yellow);
    color: var(--black);
}
.btn--primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242,236,22,0.40);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.section__label--light { color: var(--blue); }

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
}
.section__title--light { color: var(--white); }

.section__subtitle {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--gray);
}
.section__subtitle--light { color: rgba(255,255,255,0.75); }

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section__header--light .section__title { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
.header.scrolled {
    background: var(--dark);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    color: var(--white);
}
.logo__icon { color: var(--yellow); font-size: 1rem; }
.logo__text strong { color: var(--yellow); }

.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav__link {
    padding: 8px 14px;
    border-radius: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav__link--cta {
    background: var(--yellow);
    color: var(--black) !important;
    font-weight: 700;
}
.nav__link--cta:hover { background: var(--yellow-dark); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO / CAROUSEL
   ============================================================ */
.hero { height: 100vh; min-height: 600px; position: relative; overflow: hidden; }

.carousel { width: 100%; height: 100%; position: relative; }

.carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
}

.carousel__slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.carousel__slide--video {
    background: #000;
}
.carousel__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.45) 60%, transparent 100%);
}
.carousel__content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 680px;
}
/* animações base — elementos ficam invisíveis por padrão */
.carousel__badge,
.carousel__title,
.carousel__desc,
.carousel__actions {
    opacity: 0;
    transform: translateY(28px);
}

/* quando o slide fica ativo, anima cada elemento com delay escalonado */
.carousel__slide.active .carousel__badge {
    animation: slide-up 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
.carousel__slide.active .carousel__title {
    animation: slide-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.28s forwards;
}
.carousel__slide.active .carousel__desc {
    animation: slide-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.45s forwards;
}
.carousel__slide.active .carousel__actions {
    animation: slide-up 0.6s cubic-bezier(0.22,1,0.36,1) 0.6s forwards;
}

@keyframes slide-up {
    to { opacity: 1; transform: translateY(0); }
}

.carousel__badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.carousel__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}
.carousel__title strong { color: var(--yellow); }
.carousel__desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 520px;
}
.carousel__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    border: none;
    transition: color 0.25s ease, transform 0.25s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel__btn:hover { color: var(--white); }
.carousel__btn--prev { left: 28px; }
.carousel__btn--prev:hover { transform: translateY(-50%) translateX(-3px); }
.carousel__btn--next { right: 28px; }
.carousel__btn--next:hover { transform: translateY(-50%) translateX(3px); }

.carousel__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.carousel__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.carousel__dot.active {
    background: var(--yellow);
    width: 28px;
    border-radius: 5px;
}

/* ============================================================
   PAVING EXPLORER  (substitui estrada-scroll)
   ============================================================ */
.pex {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* ── Imagens de fundo ── */
.pex__images {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pex__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1),
                transform 7s ease;
    will-change: opacity, transform;
}
.pex__img.active {
    opacity: 1;
    transform: scale(1);
}

/* ── Gradiente escuro embaixo ── */
.pex__grad {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(8,8,8,0.97)  0%,
        rgba(8,8,8,0.80)  28%,
        rgba(8,8,8,0.45)  55%,
        rgba(8,8,8,0.12)  80%,
        transparent       100%
    );
    pointer-events: none;
}

/* ── Conteúdo ── */
.pex__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 48px;
}

/* Cabeçalho */
.pex__header {
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.pex.in-view .pex__header {
    opacity: 1;
    transform: translateY(0);
}

/* Bloco de info da etapa ativa */
.pex__info {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease 0.18s, transform 0.7s ease 0.18s;
}
.pex.in-view .pex__info {
    opacity: 1;
    transform: translateY(0);
}

/* Badge com número + anel de progresso */
.pex__badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.pex__num {
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    text-shadow: 0 0 40px rgba(242,236,22,0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pex__num.fade { opacity: 0; transform: translateY(8px); }

/* Anel SVG */
.pex__ring-wrap { width: 52px; height: 52px; flex-shrink: 0; }
.pex__ring-svg  { width: 100%; height: 100%; }
.pex__ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3;
}
.pex__ring-fill {
    fill: none;
    stroke: var(--yellow);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 138.2;   /* 2π × 22 */
    stroke-dashoffset: 138.2;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.65s cubic-bezier(0.4,0,0.2,1);
}

/* Título e descrição */
.pex__title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pex__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 22px;
    transition: opacity 0.3s ease;
}
.pex__title.fade, .pex__desc.fade { opacity: 0; transform: translateY(6px); }

/* Estatísticas */
.pex__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.pex__stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pex__stat strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--yellow);
    transition: opacity 0.3s ease;
}
.pex__stat strong.fade { opacity: 0; }
.pex__stat span {
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ── Abas de navegação ── */
.pex__tabs {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0;
}

.pex__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 14px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    position: relative;
    text-align: left;
    transition: color 0.35s ease, background 0.35s ease;
    /* Entrada escalonada (aplicada via JS) */
    opacity: 0;
    transform: translateY(16px);
}

.pex__tab:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
}

.pex__tab.active {
    color: var(--white);
}

.pex__tab-num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 4px;
    display: block;
}

.pex__tab-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

/* Barra indicadora na base da aba */
.pex__tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.pex__tab.active .pex__tab-bar {
    transform: scaleX(1);
}

/* Separadores verticais entre abas */
.pex__tab + .pex__tab {
    border-left: 1px solid rgba(255,255,255,0.07);
}

/* ── Responsivo ── */
@media (max-width: 768px) {
    .pex { height: auto; min-height: 100svh; }
    .pex__content { padding-bottom: 0; }
    .pex__tabs { flex-wrap: wrap; }
    .pex__tab { flex: 1 1 calc(50% - 1px); border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
    .pex__tab:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
    .pex__stats { gap: 20px; }
}

@media (max-width: 480px) {
    .pex__tab { flex: 1 1 100%; }
    .pex__tab:nth-child(odd) { border-right: none; }
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre { padding: 100px 0; }
.sobre__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre__image {
    position: relative;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.sobre__image > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(1.05) contrast(1.12) saturate(1.15);
    display: block;
}
.sobre__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}
.sobre__badge-float {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--yellow);
    color: var(--black);
    width: 120px; height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(242,236,22,0.4);
    z-index: 2;
}
.sobre__logo-overlay {
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 338px;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}
.sobre__badge-float strong { font-size: 2rem; font-weight: 800; line-height: 1; }
.sobre__badge-float span { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.sobre__content .section__label { display: block; }
.sobre__content .section__title { margin-bottom: 20px; }
.sobre__content p { color: var(--gray); margin-bottom: 14px; }

.sobre__features {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sobre__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 500;
}
.feature__icon {
    color: var(--blue);
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos {
    padding: 100px 0;
    background: var(--dark);
}
.servicos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.servico__card {
    position: relative;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}
.servico__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.servico__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.4s ease;
    z-index: 1;
}
.servico__card:hover::after {
    background: rgba(0, 0, 0, 0.3);
}
.servico__card:hover img {
    transform: scale(1.07);
}
.servico__card__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    transition: transform 0.4s ease;
}
.servico__card:hover .servico__card__text {
    transform: translateY(-8px);
}
.servico__card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.servico__card p {
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 360px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}
.servico__card:hover p {
    opacity: 1;
    transform: translateY(0);
}
.servico__card__border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--yellow);
    z-index: 3;
    transition: width 0.4s ease;
}
.servico__card:hover .servico__card__border {
    width: 100%;
}
.servico__icon { display: none; }

/* ============================================================
   NÚMEROS
   ============================================================ */
.numeros {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.numeros::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(242,236,22,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.numeros__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.numero__item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}
.numero__item:hover {
    border-color: var(--accent);
    background: rgba(242,236,22,0.08);
}
.numero__value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    display: inline;
}
.numero__suffix {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--accent);
}
.numero__label {
    margin-top: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================================
   CASES
   ============================================================ */
.cases { padding: 100px 0; }

.cases__filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter__btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid #E5E7EB;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
}
.filter__btn:hover, .filter__btn.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.case__card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}
.case__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case__card.hidden { display: none; }

.case__image {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.case__image img { transition: transform 0.5s ease; }
.case__card:hover .case__image img { transform: scale(1.07); }
.case__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.case__tag {
    background: var(--yellow);
    color: var(--black);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}
.case__info { padding: 22px; }
.case__info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.case__info p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.case__meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.clientes {
    padding: 80px 0;
    background: var(--gray-light);
    overflow: hidden;
}
.clientes__marquee-wrap {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
}
.clientes__marquee-wrap::before,
.clientes__marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.clientes__marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-light), transparent);
}
.clientes__marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-light), transparent);
}
.clientes__marquee {
    overflow: hidden;
}
.clientes__track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee-scroll 18s linear infinite;
    will-change: transform;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cliente__item {
    background: transparent;
    border-radius: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100px;
}
.cliente__item img {
    max-width: 160px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cliente__item:hover img {
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================================
   REDES SOCIAIS
   ============================================================ */
.redes {
    padding: 100px 0;
    background: var(--dark2);
}
.redes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

/* card base — fundo branco com borda colorida */
.rede__card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 40px 36px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark);
    background: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* linha colorida na base que cresce no hover */
.rede__card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 4px;
    width: 0;
    transition: width 0.4s ease;
    border-radius: 0 0 20px 20px;
}
.rede__card--instagram::before { background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045); }
.rede__card--youtube::before   { background: #ff0000; }

/* brilho de fundo no hover */
.rede__card--instagram::after,
.rede__card--youtube::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.rede__card--instagram::after { background: linear-gradient(135deg, rgba(131,58,180,0.06) 0%, rgba(253,29,29,0.04) 100%); }
.rede__card--youtube::after   { background: rgba(255,0,0,0.05); }

.rede__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.12);
}
.rede__card--instagram:hover { border-color: #fd1d1d; }
.rede__card--youtube:hover   { border-color: #ff0000; }
.rede__card:hover::before    { width: 100%; }
.rede__card:hover::after     { opacity: 1; }

/* ícone com círculo colorido */
.rede__icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    color: var(--white);
    transition: transform 0.35s ease;
}
.rede__card--instagram .rede__icon { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.rede__card--youtube   .rede__icon { background: #ff0000; }
.rede__card:hover .rede__icon { transform: scale(1.1) rotate(-5deg); }

.rede__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.rede__info strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}
.rede__info span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}
.rede__info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 8px;
    line-height: 1.6;
}

/* badge "Acessar" que aparece no hover */
.rede__arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--dark);
    padding: 8px 16px;
    border-radius: 50px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
    white-space: nowrap;
}
.rede__card--instagram:hover .rede__arrow { background: linear-gradient(135deg, #833ab4, #fd1d1d); }
.rede__card--youtube:hover   .rede__arrow { background: #ff0000; }
.rede__card:hover .rede__arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 700px) {
    .redes__grid { grid-template-columns: 1fr; }
    .rede__card  { padding: 28px 24px; gap: 20px; }
    .rede__arrow { display: none; }
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding: 100px 0; }
.contato__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.contato__info .section__label { display: block; }
.contato__info .section__title { margin-bottom: 16px; }
.contato__info > p { color: var(--gray); margin-bottom: 36px; }

.contato__lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contato__lista li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contato__ico {
    font-size: 1.3rem;
    width: 42px; height: 42px;
    background: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contato__lista div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contato__lista strong { font-size: 0.9rem; color: var(--dark); }
.contato__lista span { font-size: 0.9rem; color: var(--gray); }
.contato__lista a { font-size: 0.9rem; color: var(--gray); transition: var(--transition); }
.contato__lista a:hover { color: var(--yellow); }

/* Form */
.contato__form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 16px;
}
.form__group {
    margin-bottom: 20px;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.form__row .form__group { margin-bottom: 0; }

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22,167,242,0.15);
}
textarea { resize: vertical; }

.form__success {
    display: none;
    text-align: center;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
    background: #dcfce7;
    padding: 12px;
    border-radius: var(--radius);
}
.form__success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 70px 0 50px;
}
.footer__logo { margin-bottom: 16px; display: flex; }
.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}
.footer__social { display: flex; gap: 12px; }
.social__link {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.social__link:hover { background: var(--yellow); color: var(--black); }

.footer__nav h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    transition: var(--transition);
}
.footer__nav a:hover { color: var(--yellow); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.62); }

/* Logo SVG */
.logo__img {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}
.logo__img--footer {
    height: 64px;
}

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
}
.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.whatsapp-float:hover {
    background: #1ebe57;
    transform: scale(1.1);
}

/* ============================================================
   PROCESSO DE PAVIMENTAÇÃO – SEÇÃO ANIMADA
   ============================================================ */
.processo {
    padding: 100px 0 80px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}
.processo__bg-word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 900;
    letter-spacing: -4px;
    color: rgba(255,255,255,0.025);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* --- Etapas (cards acima da estrada) --- */
.etapas__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
    gap: 8px;
}
.etapa__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.etapa__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    width: 100%;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}
.etapa__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(242,236,22,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.etapa__item.active .etapa__card {
    border-color: var(--yellow);
    background: rgba(242,236,22,0.08);
    transform: translateY(-4px);
    box-shadow: 0 0 32px rgba(242,236,22,0.2), 0 8px 24px rgba(0,0,0,0.3);
}
.etapa__item.active .etapa__card::before { opacity: 1; }

.etapa__num {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
    transition: color 0.4s ease;
}
.etapa__item.active .etapa__num { color: var(--yellow); }

.etapa__ico {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    filter: grayscale(1) opacity(0.5);
    transition: filter 0.4s ease;
}
.etapa__item.active .etapa__ico { filter: none; }

.etapa__card h3 {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
    transition: color 0.4s ease;
}
.etapa__item.active .etapa__card h3 { color: #fff; }

.etapa__card p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
    transition: color 0.4s ease;
}
.etapa__item.active .etapa__card p { color: rgba(255,255,255,0.65); }

.etapa__stem {
    width: 2px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    position: relative;
    transition: background 0.4s ease;
}
.etapa__item.active .etapa__stem {
    background: linear-gradient(to bottom, var(--yellow), rgba(245,166,35,0.2));
}
.etapa__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease;
}
.etapa__item.active .etapa__dot {
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: 0 0 12px rgba(242,236,22,0.7);
}

/* --- Cena da estrada --- */
.road__scene {
    display: flex;
    flex-direction: column;
}
.road__edge {
    height: 8px;
    background: #e8e0c8;
    border-radius: 2px;
}
.road__edge--top { border-radius: 3px 3px 0 0; }
.road__edge--bottom { border-radius: 0 0 3px 3px; }

.road__body {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #1e1e1e;
}

/* Base não pavimentada (cascalho) */
.road__gravel {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(180,160,120,0.15) 1px, transparent 1px),
        radial-gradient(circle at 55% 70%, rgba(180,160,120,0.12) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(180,160,120,0.10) 1px, transparent 1px),
        radial-gradient(circle at 35% 60%, rgba(180,160,120,0.13) 1px, transparent 1px),
        linear-gradient(180deg, #2a2520 0%, #201e1a 50%, #2a2520 100%);
    background-size: 18px 18px, 22px 22px, 16px 16px, 20px 20px, 100% 100%;
}

/* Asfalto que avança */
.road__asphalt {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background:
        radial-gradient(circle at 15% 35%, rgba(255,255,255,0.025) 1px, transparent 1px),
        radial-gradient(circle at 42% 65%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 73% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 88% 75%, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(180deg, #1a1a1a 0%, #141414 50%, #1a1a1a 100%);
    background-size: 14px 14px, 18px 18px, 16px 16px, 12px 12px, 100% 100%;
    transition: none;
    overflow: hidden;
}
.road__asphalt.paving { animation: paveRoad 4.5s cubic-bezier(0.3,0,0.5,1) forwards; }

@keyframes paveRoad { to { width: 100%; } }

/* Brilho de asfalto quente na borda direita */
.road__heat {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 80px;
    background: radial-gradient(ellipse at right center, rgba(245,120,20,0.45) 0%, rgba(245,166,35,0.15) 40%, transparent 75%);
    filter: blur(6px);
    animation: heatPulse 1.2s ease-in-out infinite alternate;
}
@keyframes heatPulse {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}

/* Linha central (tracejada, aparece depois) */
.road__centerline {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 4px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(
        90deg,
        #F2EC16 0px,
        #F2EC16 40px,
        transparent 40px,
        transparent 80px
    );
    opacity: 0;
    animation: lineReveal 0.5s 4.5s ease forwards, dashScroll 1s 4.5s linear infinite;
}
@keyframes lineReveal { to { opacity: 1; } }
@keyframes dashScroll {
    from { background-position: 0 0; }
    to   { background-position: 80px 0; }
}

/* --- Vapor / Steam --- */
.road__steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.steam__particle {
    position: absolute;
    bottom: 30%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,220,180,0.6);
    filter: blur(3px);
    animation: steamRise var(--dur, 1.8s) ease-out var(--delay, 0s) infinite;
    opacity: 0;
}
@keyframes steamRise {
    0%   { transform: translateY(0) scale(1); opacity: 0.7; }
    60%  { opacity: 0.3; }
    100% { transform: translateY(-80px) scale(0.2); opacity: 0; }
}

/* --- ROLO COMPRESSOR (CSS Art) --- */
.road__roller {
    position: absolute;
    top: 50%;
    left: -160px;
    transform: translateY(-50%);
    width: 150px;
    height: 110px;
    z-index: 10;
}
.road__roller.rolling { animation: rollerMove 4.5s cubic-bezier(0.3,0,0.5,1) forwards; }
@keyframes rollerMove {
    from { left: -160px; }
    to   { left: calc(100% - 60px); }
}

/* Fumaça do escapamento */
.roller__exhaust {
    position: absolute;
    top: -2px;
    left: 60px;
    display: flex;
    gap: 2px;
    align-items: flex-end;
}
.exhaust__puff {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(200,200,200,0.7);
    filter: blur(3px);
    animation: exhaustPuff 0.9s ease-out infinite;
    opacity: 0;
}
.exhaust__puff.p2 { animation-delay: 0.3s; }
.exhaust__puff.p3 { animation-delay: 0.6s; }
@keyframes exhaustPuff {
    0%   { transform: translateY(0) scale(0.5); opacity: 0.8; }
    100% { transform: translateY(-24px) scale(1.4); opacity: 0; }
}

/* Cabine do operador */
.roller__cab {
    position: absolute;
    top: 4px;
    left: 38px;
    width: 60px;
    height: 36px;
    background: linear-gradient(135deg, #F2EC16 0%, #D4C900 100%);
    border-radius: 6px 8px 2px 2px;
    border: 2px solid #a89e00;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2);
}

/* Corpo principal */
.roller__body {
    position: absolute;
    top: 32px;
    left: 20px;
    width: 108px;
    height: 44px;
    background: linear-gradient(180deg, #F2EC16 0%, #D4C900 60%, #a89e00 100%);
    border-radius: 4px;
    border: 2px solid #a89e00;
    overflow: hidden;
}
.roller__window {
    position: absolute;
    top: 6px; left: 6px;
    width: 22px; height: 16px;
    background: rgba(150,220,255,0.55);
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.roller__stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #000 0, #000 8px,
        #F2EC16 8px, #F2EC16 16px
    );
    opacity: 0.6;
}

/* Tambores do rolo */
.roller__drums {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    top: 68px;
}
.roller__drum {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #888 0%, #444 50%, #222 100%);
    border: 3px solid #555;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    animation: drumSpin 0.4s linear infinite paused;
}
.road__roller.rolling .roller__drum { animation-play-state: running; }
@keyframes drumSpin { to { transform: rotate(360deg); } }

.drum__hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #aaa, #555);
    border: 2px solid #333;
    z-index: 2;
}
.drum__spoke {
    position: absolute;
    top: 50%; left: 50%;
    width: 44%; height: 2px;
    background: rgba(255,255,255,0.15);
    transform-origin: left center;
    border-radius: 1px;
}
.drum__spoke.s1 { transform: rotate(0deg) translateY(-50%); }
.drum__spoke.s2 { transform: rotate(90deg) translateY(-50%); }
.drum__spoke.s3 { transform: rotate(180deg) translateY(-50%); }
.drum__spoke.s4 { transform: rotate(270deg) translateY(-50%); }

/* --- Badge de conclusão --- */
.road__done {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.road__done.visible {
    opacity: 1;
    transform: translateY(0);
}
.road__done span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 10px 28px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 32px rgba(242,236,22,0.5);
}
.road__done em {
    font-style: normal;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Botão de replay */
.road__replay {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.road__replay:hover {
    color: var(--yellow);
    border-color: var(--yellow);
}

/* --- Responsivo --- */
@media (max-width: 900px) {
    .etapas__row { gap: 4px; }
    .etapa__card { padding: 14px 8px; }
    .etapa__card h3 { font-size: 0.7rem; }
    .etapa__card p { display: none; }
    .etapa__ico { font-size: 1.4rem; }
}
@media (max-width: 640px) {
    .etapas__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }
    .etapa__item:last-child { grid-column: span 2; }
    .etapa__stem { display: none; }
    .road__body { height: 120px; }
    .road__roller { transform: translateY(-50%) scale(0.75); transform-origin: left center; }
}

/* ============================================================
   HERO PARTICLES
   ============================================================ */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 8px rgba(242,236,22,0.5);
    animation: particleFloat var(--dur, 5s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(20px) scale(0.5); }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}

/* ============================================================
   HUD MÉTRICAS TÉCNICAS (seção Processo)
   ============================================================ */
.hud__panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.hud__panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.hud__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(242,236,22,0.25);
    border-radius: 10px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
}

.hud__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    animation: hudScan 3s ease-in-out infinite;
}

@keyframes hudScan {
    0%   { left: -60%; }
    100% { left: 140%; }
}

.hud__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 10px;
}

.hud__value-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 12px;
}

.hud__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color 0.4s ease;
}

.hud__value--status {
    font-size: 1rem;
    font-weight: 700;
}

.hud__unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
}

.hud__bar-wrap {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.hud__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
    border-radius: 2px;
    width: 0%;
    transition: width 0.15s linear;
}

.hud__status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.hud__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    animation: hudDotPulse 1.4s ease-in-out infinite;
}

@keyframes hudDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(242,236,22,0.5); }
    50%       { opacity: 0.5; transform: scale(1.4); box-shadow: 0 0 0 4px rgba(242,236,22,0); }
}

.hud__status-text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.4s ease;
}

@media (max-width: 768px) {
    .hud__panel { grid-template-columns: 1fr; }
}

/* ============================================================
   ANTES E DEPOIS
   ============================================================ */
.antes-depois {
    padding: 100px 0;
    background: var(--dark2);
    position: relative;
    overflow: hidden;
}

.antes-depois::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(22,167,242,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.antes-depois::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(242,22,40,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.comparadores__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.comparador__wrap {
    display: flex;
    flex-direction: column;
}

.comparador {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
    aspect-ratio: 4 / 3;
    background: #111;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.comparador::before {
    content: '◀  Arraste  ▶';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.65);
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 8;
    pointer-events: none;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.comparador.dragged::before {
    opacity: 0;
}

.comp__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comp__img--after {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.comp__before-clip {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comp__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(255,255,255,0.92);
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(255,255,255,0.4), 0 0 32px rgba(22,167,242,0.20);
    pointer-events: none;
}

.comp__handle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yellow);
    border: 3px solid var(--white);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: -2px;
    pointer-events: auto;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 3px rgba(242,236,22,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.comp__handle:hover,
.comparador:active .comp__handle {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 0 6px rgba(242,236,22,0.25);
}

.comp__label {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 6;
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.comp__label--before {
    left: 12px;
    background: rgba(10,10,10,0.75);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

.comp__label--after {
    right: 12px;
    background: var(--yellow);
    color: var(--black);
}

.comp__caption {
    padding: 20px 4px 0;
}

.comp__caption h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.comp__caption p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .comparadores__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sobre__inner { gap: 48px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .servicos__grid, .cases__grid, .numeros__grid { grid-template-columns: repeat(2, 1fr); }
    .clientes__grid { grid-template-columns: repeat(3, 1fr); }
    .sobre__inner { grid-template-columns: 1fr; }
    .sobre__image { max-width: 500px; margin: 0 auto; }
    .contato__inner { grid-template-columns: 1fr; gap: 48px; }
    .depoimento__card { min-width: 100%; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        padding: 80px 32px 32px;
        transition: right 0.35s ease;
        z-index: 999;
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    }
    .nav.open { right: 0; }
    .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav__link { padding: 12px 16px; width: 100%; font-size: 1rem; }
    .servicos__grid { grid-template-columns: 1fr; }
    .servico__card { height: 300px; }
    .numeros__grid { grid-template-columns: repeat(2, 1fr); }
    .cases__grid { grid-template-columns: 1fr; }
    .carousel__btn { width: 40px; height: 40px; font-size: 1rem; }
    .carousel__btn--prev { left: 12px; }
    .carousel__btn--next { right: 12px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom .container { flex-direction: column; text-align: center; }
    .form__row { grid-template-columns: 1fr; }
    .contato__form { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .numeros__grid { grid-template-columns: 1fr; }
    .carousel__actions { flex-direction: column; }
    .btn { padding: 12px 22px; width: 100%; justify-content: center; }
    .carousel__content { padding: 0 24px; }
}

/* ============================================================
   CASE CARD – hover gallery hint
   ============================================================ */
.case__card { cursor: pointer; }

.case__gallery-hint {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}
.case__gallery-hint span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0,0,0,0.45);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.25);
    white-space: nowrap;
}
.case__card:hover .case__gallery-hint { opacity: 1; }

/* ============================================================
   PORTFOLIO MODAL
   ============================================================ */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.portfolio-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.90);
    backdrop-filter: blur(6px);
}
.modal-box {
    position: relative;
    z-index: 1;
    background: #111;
    border-radius: 16px;
    width: 100%;
    max-width: 980px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    transform: scale(0.96);
    transition: transform 0.3s ease;
}
.portfolio-modal.active .modal-box { transform: scale(1); }

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.modal-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-counter {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255,255,255,0.06);
    padding: 3px 10px;
    border-radius: 20px;
}
.modal-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.09);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.modal-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.22s ease;
    user-select: none;
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.modal-nav:hover { background: var(--yellow); color: var(--black); }
.modal-nav--prev { left: 14px; }
.modal-nav--next { right: 14px; }

.modal-thumbs {
    display: flex;
    gap: 5px;
    padding: 8px 14px;
    overflow-x: auto;
    flex-shrink: 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.modal-thumbs::-webkit-scrollbar { height: 3px; }
.modal-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.modal-thumb {
    flex-shrink: 0;
    width: 64px; height: 48px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.45;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    background: #222;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb:hover,
.modal-thumb.active { border-color: var(--yellow); opacity: 1; }

@media (max-width: 640px) {
    .modal-box { border-radius: 12px; max-height: 98vh; }
    .modal-nav { width: 38px; height: 38px; font-size: 1rem; }
    .modal-nav--prev { left: 6px; }
    .modal-nav--next { right: 6px; }
    .modal-thumb { width: 50px; height: 38px; }
    .modal-header { padding: 12px 14px 10px; }
    .modal-title { font-size: 0.88rem; }
}
