:root {
    --green: #afbf24;
    --green-dark: #212605;
    --bg: #f5f5f5;
    --text: #505050;
    --heading: #1a1a1a;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ───── BLOBS ───── */
.blob-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    animation: blobMove 16s ease-in-out infinite;
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, #afbf24, #d4e157);
    animation-delay: 0s;
}

.blob-2 {
    width: 420px;
    height: 420px;
    bottom: 8%;
    left: -100px;
    background: linear-gradient(135deg, #d0d0d0, #b0b0b0);
    animation-delay: -6s;
}

.blob-3 {
    width: 320px;
    height: 320px;
    top: 60%;
    right: 18%;
    background: linear-gradient(135deg, #afbf24, #f5f5f5);
    opacity: 0.15;
    animation-delay: -12s;
}

@keyframes blobMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(28px, -22px) scale(1.05);
    }

    66% {
        transform: translate(-18px, 16px) scale(0.95);
    }
}

/* ───── NAVBAR ───── */
.navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading) !important;
    letter-spacing: -0.02em;
}

.navbar-brand span {
    color: var(--green);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--heading) !important;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* ───── BUTTON ───── */
.btn-pinet {
    background: var(--green);
    color: var(--heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 24px rgba(175, 191, 36, 0.22);
}

.btn-pinet:hover {
    background: var(--heading);
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
}

.btn-outline-pinet {
    color: var(--heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.85rem 0.5rem;
    transition: color 0.3s;
}

.btn-outline-pinet:hover {
    color: var(--green);
}

/* ───── SECTION ───── */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: rgba(255, 255, 255, 0.55);
}

.label-tag {
    display: inline-block;
    color: var(--green);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

/* ───── HERO ───── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-year {
    position: absolute;
    right: -2vw;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(8rem, 22vw, 22rem);
    font-weight: 700;
    color: rgba(175, 191, 36, 0.1);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1;
}

.hero-title .dim {
    color: rgba(80, 80, 80, 0.35);
    font-weight: 300;
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg, rgba(175, 191, 36, 0.18), transparent);
    border-radius: 28px;
    filter: blur(28px);
}

.hero-img-wrap img {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

.hero-video-wrap {
    /* Garante que o vídeo não "saia" das bordas arredondadas */
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
    /* Remove pequenos espaços em branco abaixo do vídeo */
}

.hero-video-wrap video {
    position: relative;
    width: 100%;
    /* Altura definida para o vídeo ter onde "cortar" com o object-fit */
    height: 100%;
    min-height: 400px;
    /* Ajuste conforme a altura desejada no seu layout */
    object-fit: cover;

    /* Estética */
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);

    /* Garante que o vídeo seja renderizado com suavidade */
    display: block;
}

/* ───── GLASS CARD ───── */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.25rem;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.glass-card .icon-box {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 1.25rem;
    display: block;
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.glass-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 7px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 0.45rem;
}

/* ───── STAT CARD ───── */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.4rem;
}

/* ───── TIMELINE ───── */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    border-left: 2px solid rgba(175, 191, 36, 0.28);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.87rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--bg);
}

.timeline-year {
    display: inline-block;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--green);
    letter-spacing: 0.08em;
}

.timeline-text {
    font-size: 0.88rem;
    margin-top: 0.2rem;
    line-height: 1.6;
}

/* ───── SECTION IMAGE ───── */
.section-img-wrap {
    position: relative;
}

.section-img-wrap::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 28px;
    filter: blur(28px);
    background: linear-gradient(135deg, rgba(175, 191, 36, 0.12), transparent);
}

.section-img-wrap img {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
    width: 100%;
    object-fit: cover;
    height: 360px;
}

#servicos .dim {
    color: rgba(80, 80, 80, 0.35);
    font-weight: 300;
}

/* ── PORTFOLIO ──────────────────────────────── */
#portfolio {
    background: var(--bg);
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
}

.portfolio-card .img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.portfolio-card:hover .img-wrap img {
    transform: scale(1.07);
}

.portfolio-card .client-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(175, 191, 36, .9);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 99px;
}

.portfolio-card .card-body {
    padding: 1.5rem;
}

.tag-pill {
    display: inline-block;
    background: rgba(175, 191, 36, .1);
    color: var(--primary);
    font-weight: 600;
    font-size: .7rem;
    padding: .25rem .8rem;
    border-radius: 99px;
    margin: .2rem;
}

/* ───── CLIENTS ───── */
.client-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: rgba(80, 80, 80, 0.35);
    letter-spacing: 0.04em;
    cursor: default;
    transition: color 0.35s;
}

.client-name:hover {
    color: var(--heading);
}

/* ───── CONTACT CTA ───── */
.contact-wrap {
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4.5rem 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-link .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.3s;
}

.contact-link.mail {
    color: var(--heading);
}

.contact-link.mail .icon-circle {
    background: rgba(0, 0, 0, 0.06);
}

.contact-link.mail:hover {
    color: var(--green);
}

.contact-link.whats {
    color: var(--green);
}

.contact-link.whats .icon-circle {
    background: rgba(175, 191, 36, 0.12);
}

.contact-link.whats:hover {
    color: var(--heading);
}

/* ───── FOOTER ───── */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3.5rem 0;
}

/* ───── RESPONSIVE FIXES ───── */
@media (max-width: 992px) {
    .section {
        padding: 4.5rem 0;
    }

    .contact-wrap {
        padding: 3rem 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
}