/* ==========================================================================
   VIP ENGENHARIA — stylesheet
   Paleta:  Vermelho forte #C1121F · Preto intenso #010101 · Branco intenso #F1F1F1
   Tipografia: Red Hat Display (display) + Open Sans (corpo)
   ========================================================================== */

:root {
    /* Brand */
    --c-red:        #C1121F;
    --c-red-dark:   #9c0e18;
    --c-red-soft:   #e84a55;
    --c-black:      #010101;
    --c-ink:        #1a1a1a;
    --c-graphite:   #2a2a2a;
    --c-white:      #F1F1F1;
    --c-paper:      #ffffff;
    --c-mist:       #f7f7f7;
    --c-line:       #e5e5e5;
    --c-line-soft:  #ededed;
    --c-muted:      #6b6b6b;
    --c-muted-2:    #8a8a8a;

    /* Spacing & sizing */
    --container:    1240px;
    --gutter:       clamp(20px, 4vw, 40px);
    --section-y:    clamp(72px, 9vw, 130px);
    --radius-sm:    4px;
    --radius:       8px;
    --radius-lg:    16px;

    /* Type */
    --ff-display: 'Red Hat Display', system-ui, -apple-system, Segoe UI, sans-serif;
    --ff-body:    'Open Sans', system-ui, -apple-system, Segoe UI, sans-serif;

    /* Shadows */
    --shadow-sm:  0 2px 6px rgba(0,0,0,.06);
    --shadow:     0 8px 24px rgba(0,0,0,.08);
    --shadow-lg:  0 24px 60px rgba(0,0,0,.18);

    --ease: cubic-bezier(.2,.7,.1,1);
}

/* Reset --------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: var(--ff-display);
    font-weight: 800;
    margin: 0 0 .4em;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--c-ink);
}
p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Generic eyebrow / titles -------------------------------------------------*/
.section { padding: var(--section-y) 0; position: relative; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-red);
    margin: 0 0 14px;
}
.section-eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--c-red);
}
.section-eyebrow.on-dark { color: var(--c-red-soft); }
.section-eyebrow.on-dark::before { background: var(--c-red-soft); }

.section-title {
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    color: var(--c-ink);
    max-width: 18ch;
    margin-bottom: .5em;
}
.section-title.on-dark { color: var(--c-white); }
.section-title .accent { color: var(--c-red); }
.section-title .accent-light { color: var(--c-red-soft); }

.section-lead {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--c-muted);
    max-width: 56ch;
}
.section-lead.on-dark { color: rgba(241,241,241,.75); }

.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .section-eyebrow { justify-content: center; }
.section-head .section-title { margin-left: auto; margin-right: auto; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }
.section-head--inline {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
    text-align: left;
    max-width: none;
    margin: 0 0 60px;
}
.section-head--inline .section-eyebrow { justify-content: flex-start; }
.section-head--inline .section-title { max-width: 14ch; margin: 0 0 .3em; }
.section-head--inline .section-lead { margin: 0; }

@media (max-width: 800px) {
    .section-head--inline { grid-template-columns: 1fr; gap: 20px; }
}

/* Buttons -----------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    padding: 16px 26px;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease);
    border: 1px solid transparent;
    cursor: pointer;
}
.btn .arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
    background: var(--c-red);
    color: #fff;
}
.btn-primary:hover { background: var(--c-red-dark); }
.btn-ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(1,1,1,.0);
    backdrop-filter: blur(0);
    transition: background .3s var(--ease), backdrop-filter .3s var(--ease);
    pointer-events: none;
}
.site-header.is-scrolled {
    padding: 10px 0;
}
.site-header.is-scrolled::before {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--c-white);
    transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand { color: var(--c-red); }
.brand-mark {
    width: 30px; height: 38px;
    flex-shrink: 0;
    color: currentColor;
}
.brand-text {
    font-family: var(--ff-display);
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    letter-spacing: .04em;
}
.brand-text strong { font-weight: 700; font-size: 14px; font-style: normal; }
.brand-text em {
    font-weight: 400; font-size: 14px; font-style: normal;
    letter-spacing: .12em;
    margin-top: 2px;
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.site-nav a {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-white);
    position: relative;
    padding: 6px 0;
    transition: color .25s var(--ease);
}
.site-header.is-scrolled .site-nav a { color: var(--c-ink); }
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--c-red);
    transition: right .3s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav a:hover { color: var(--c-red); }

.nav-cta {
    background: var(--c-red);
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 4px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--c-red-dark); }
.site-header.is-scrolled .nav-cta { color: #fff !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: var(--c-white);
}
.site-header.is-scrolled .nav-toggle { color: var(--c-ink); }
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        box-shadow: 0 16px 40px rgba(0,0,0,.1);
        padding: 16px 0;
        max-height: 0; overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .site-nav.is-open { max-height: 500px; }
    .site-nav a {
        color: var(--c-ink) !important;
        padding: 14px var(--gutter);
        width: 100%;
        border-bottom: 1px solid var(--c-line-soft);
    }
    .site-nav a::after { display: none; }
    .nav-cta {
        margin: 12px var(--gutter);
        text-align: center;
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    color: var(--c-white);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}
.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(.2) contrast(1.05);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(120deg, rgba(1,1,1,.92) 0%, rgba(1,1,1,.7) 50%, rgba(193,18,31,.4) 100%);
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    margin: 0 0 24px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--c-red-soft);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(232,74,85,.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(232,74,85,.5); }
    70% { box-shadow: 0 0 0 10px rgba(232,74,85,0); }
}

.hero-title {
    font-size: clamp(40px, 6.4vw, 84px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.025em;
    margin: 0 0 28px;
    color: var(--c-white);
}
.hero-title .accent { color: var(--c-red-soft); }

.hero-lead {
    font-size: clamp(16px, 1.5vw, 19px);
    color: rgba(241,241,241,.8);
    max-width: 60ch;
    margin: 0 0 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 70px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.15);
    max-width: 600px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
    font-family: var(--ff-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-red-soft);
}
.hero-meta span {
    font-size: 14px;
    color: var(--c-white);
    font-weight: 500;
}

@media (max-width: 600px) {
    .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 14px;
    z-index: 2;
}
.hero-scroll span {
    position: absolute;
    top: 8px; left: 50%;
    width: 4px; height: 8px;
    margin-left: -2px;
    background: var(--c-red-soft);
    border-radius: 2px;
    animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    background: var(--c-black);
    padding: 60px 0;
    border-top: 4px solid var(--c-red);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--c-white);
    position: relative;
    padding-left: 24px;
}
.stat::before {
    content: "";
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 3px; background: var(--c-red);
}
.stat-num {
    font-family: var(--ff-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    color: var(--c-white);
    letter-spacing: -.02em;
}
.stat-suffix {
    font-family: var(--ff-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--c-red);
    margin-left: 2px;
}
.stat-label {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(241,241,241,.7);
}

@media (max-width: 800px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.section-about { background: var(--c-paper); }
.two-col {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 960px) {
    .two-col { grid-template-columns: 1fr; gap: 50px; }
}

.col-text .lead {
    font-size: 17px;
    color: var(--c-graphite);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
}
.pill-list li {
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 8px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    color: var(--c-ink);
    background: var(--c-mist);
}
.signature-block {
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    margin-top: 30px;
}
.sig-name {
    font-family: var(--ff-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: 17px;
}
.sig-role {
    font-size: 13px;
    color: var(--c-muted);
    letter-spacing: .04em;
    margin-top: 4px;
}

.col-visual { position: relative; }
.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.visual-card img {
    width: 100%; height: 540px;
    object-fit: cover;
}
.visual-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--c-red);
    color: #fff;
    padding: 16px 22px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}
.badge-num {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
}
.badge-text {
    font-size: 12px;
    opacity: .9;
    margin-top: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.visual-quote {
    position: absolute;
    right: -20px; top: 30px;
    background: #fff;
    padding: 22px 24px;
    border-left: 4px solid var(--c-red);
    box-shadow: var(--shadow);
    max-width: 280px;
    border-radius: 4px;
}
.visual-quote p {
    margin: 0;
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 15px;
    color: var(--c-ink);
    line-height: 1.5;
}
@media (max-width: 1024px) {
    .visual-quote { position: static; margin-top: 24px; max-width: none; right: auto; }
    .visual-card img { height: 420px; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.section-services {
    background: var(--c-mist);
    position: relative;
    overflow: hidden;
}
.section-services::before {
    content: "";
    position: absolute;
    top: 0; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(193,18,31,.05) 0%, transparent 70%);
    z-index: 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.services-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
    .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .services-grid--4 { grid-template-columns: 1fr; }
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 36px;
    border-top: 4px solid transparent;
    transition: all .35s var(--ease);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-top-color: var(--c-red);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.service-card--featured {
    background: var(--c-black);
    border-top-color: var(--c-red);
}
.service-card--featured h3,
.service-card--featured p,
.service-card--featured .service-bullets li,
.service-card--featured .service-link { color: var(--c-white); }
.service-card--featured .service-num { color: var(--c-red-soft); }
.service-card--featured .service-icon { background: rgba(193,18,31,.18); color: var(--c-red-soft); }
.service-card--featured .service-bullets li::before { background: var(--c-red-soft); }
.service-card--featured:hover { transform: translateY(-6px); }

.service-num {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-red);
    letter-spacing: .12em;
    margin-bottom: 18px;
}
.service-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: rgba(193,18,31,.08);
    color: var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.service-card > p {
    color: var(--c-muted);
    font-size: 15px;
    margin-bottom: 22px;
    flex-grow: 0;
}
.service-bullets {
    margin-bottom: 26px;
    flex-grow: 1;
}
.service-bullets li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--c-graphite);
    margin-bottom: 8px;
}
.service-bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 12px; height: 2px;
    background: var(--c-red);
}
.service-link {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--c-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap .25s var(--ease);
}
.service-link:hover { gap: 14px; }

.services-extra {
    margin-top: 50px;
    text-align: center;
    padding: 26px 30px;
    background: #fff;
    border: 1px dashed var(--c-line);
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}
.services-extra p { margin: 0; color: var(--c-muted); font-size: 15px; }
.services-extra span {
    color: var(--c-ink);
    font-weight: 600;
    border-bottom: 1px dotted var(--c-red);
    padding-bottom: 1px;
    margin: 0 4px;
}

/* ==========================================================================
   METHOD
   ========================================================================== */
.section-method { background: var(--c-paper); }
.method-list {
    counter-reset: method;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.method-list::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 28px;
    height: 1px;
    background: var(--c-line);
    z-index: 0;
}
.method-list li {
    position: relative;
    padding-top: 0;
    z-index: 1;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: #fff;
    border: 2px solid var(--c-red);
    border-radius: 50%;
    color: var(--c-red);
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 22px;
    transition: all .3s var(--ease);
}
.method-list li:hover .step-num {
    background: var(--c-red);
    color: #fff;
    transform: scale(1.05);
}
.method-list h3 {
    font-size: 19px;
    margin-bottom: 10px;
}
.method-list p {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0;
}
@media (max-width: 900px) {
    .method-list { grid-template-columns: 1fr 1fr; }
    .method-list::before { display: none; }
}
@media (max-width: 540px) {
    .method-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TECH
   ========================================================================== */
.section-tech {
    background: var(--c-black);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}
.section-tech::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.section-tech .section-eyebrow { color: var(--c-red-soft); }
.section-tech .section-eyebrow::before { background: var(--c-red-soft); }
.section-tech .section-title { color: var(--c-white); }
.section-tech .section-title .accent { color: var(--c-red-soft); }
.section-tech .section-lead { color: rgba(241,241,241,.7); }

.tech-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}
.tech-item {
    background: var(--c-black);
    padding: 36px 30px;
    transition: background .3s var(--ease);
}
.tech-item:hover { background: #131313; }
.tech-icon {
    width: 48px; height: 48px;
    color: var(--c-red-soft);
    margin-bottom: 18px;
}
.tech-icon svg { width: 100%; height: 100%; }
.tech-item h4 {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 8px;
}
.tech-item p {
    color: rgba(241,241,241,.65);
    font-size: 14px;
    margin: 0;
}
@media (max-width: 900px) {
    .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .tech-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.section-projects { background: var(--c-mist); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 980px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.project {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    cursor: pointer;
}
.project:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.project-img {
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #ddd;
}
.project-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.project:hover .project-img img { transform: scale(1.06); }
.project-meta { padding: 24px 26px 28px; }
.project-tag {
    display: inline-block;
    font-family: var(--ff-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-red);
    background: rgba(193,18,31,.08);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.project h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.project p {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0;
}

/* ==========================================================================
   SECTORS
   ========================================================================== */
.section-sectors { background: var(--c-paper); }
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 900px) { .sectors-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .sectors-grid { grid-template-columns: 1fr; } }

.sector {
    padding: 32px 28px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.sector::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--c-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s var(--ease);
}
.sector:hover {
    border-color: var(--c-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.sector:hover::before { transform: scaleY(1); }
.sector-icon {
    width: 44px; height: 44px;
    color: var(--c-red);
    margin-bottom: 18px;
}
.sector-icon svg { width: 100%; height: 100%; }
.sector h4 {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--c-ink);
}
.sector p {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   CREDENCIAMENTOS
   ========================================================================== */
.section-credentials {
    background: var(--c-mist);
    padding: 80px 0;
}
.cred-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border: 1px solid var(--c-line);
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}
@media (max-width: 1100px) { .cred-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .cred-grid { grid-template-columns: repeat(2, 1fr); } }

.cred {
    padding: 30px 16px;
    text-align: center;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    color: var(--c-graphite);
    border-right: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    transition: all .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}
.cred:hover {
    background: var(--c-red);
    color: #fff;
}
.cred:last-child { border-right: 0; }
@media (max-width: 1100px) {
    .cred:nth-child(4n) { border-right: 0; }
    .cred:not(:nth-child(4n)) { border-right: 1px solid var(--c-line); }
}
@media (max-width: 700px) {
    .cred:nth-child(2n) { border-right: 0; }
    .cred:not(:nth-child(2n)) { border-right: 1px solid var(--c-line); }
}

/* ==========================================================================
   EXPERIENCE (track record do engenheiro)
   ========================================================================== */
.section-experience {
    background: var(--c-paper);
    border-top: 1px solid var(--c-line);
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
@media (max-width: 980px) { .experience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .experience-grid { grid-template-columns: 1fr; } }
.exp-item {
    padding: 26px 28px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    transition: all .3s var(--ease);
    position: relative;
}
.exp-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--c-red);
}
.exp-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-red);
}
.exp-tag {
    font-family: var(--ff-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 14px;
    padding-top: 8px;
}
.exp-item h4 {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--c-ink);
    line-height: 1.3;
}
.exp-item p {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.6;
}
.experience-note {
    margin-top: 30px;
    padding: 18px 22px;
    background: var(--c-mist);
    border-left: 3px solid var(--c-red);
    font-size: 13px;
    color: var(--c-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.section-why { background: var(--c-paper); }
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
}
.why-text .lead {
    font-size: 17px;
    color: var(--c-graphite);
}
.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 36px;
}
@media (max-width: 600px) { .why-list { grid-template-columns: 1fr; } }
.why-list li {
    padding-left: 22px;
    position: relative;
    font-size: 15px;
    color: var(--c-muted);
    line-height: 1.6;
}
.why-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 10px; height: 10px;
    border: 2px solid var(--c-red);
    border-radius: 50%;
}
.why-list li strong {
    display: block;
    font-family: var(--ff-display);
    color: var(--c-ink);
    margin-bottom: 4px;
    font-size: 16px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.section-contact {
    background:
        linear-gradient(135deg, var(--c-black) 0%, #1a0608 100%);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}
.section-contact::before {
    content: "";
    position: absolute;
    top: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(193,18,31,.25) 0%, transparent 70%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-list {
    margin-top: 36px;
    display: grid;
    gap: 22px;
}
.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-label {
    font-family: var(--ff-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-red-soft);
}
.contact-list strong {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--c-white);
}
.contact-list a strong {
    transition: color .25s var(--ease);
}
.contact-list a:hover strong { color: var(--c-red-soft); }

/* Form */
.contact-form {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}
.contact-form h3 {
    color: var(--c-white);
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--c-red);
    display: inline-block;
}
.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-row label { display: flex; flex-direction: column; gap: 6px; }
.form-row span {
    font-family: var(--ff-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(241,241,241,.7);
    text-transform: uppercase;
}
.form-row input,
.form-row select,
.form-row textarea {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--c-white);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--ff-body);
    font-size: 15px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
    width: 100%;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--c-red-soft);
    background: rgba(255,255,255,.1);
}
.form-row select option { background: var(--c-black); }
.form-note {
    font-size: 12px;
    color: rgba(241,241,241,.5);
    margin: 14px 0 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--c-black);
    color: var(--c-white);
    padding: 80px 0 0;
    border-top: 4px solid var(--c-red);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: var(--c-red-soft);
}
.footer-brand .brand-mark { width: 30px; height: 38px; }
.footer-brand .brand-text { color: var(--c-white); }
.footer-tagline {
    font-size: 14px;
    color: rgba(241,241,241,.6);
    line-height: 1.6;
    margin: 6px 0 0;
    max-width: 28ch;
}
.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-red-soft);
    margin: 0 0 18px;
}
.footer-col a, .footer-col span {
    display: block;
    font-size: 14px;
    color: rgba(241,241,241,.75);
    padding: 4px 0;
    transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom span {
    font-size: 12px;
    color: rgba(241,241,241,.5);
    letter-spacing: .04em;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 58px; height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
    z-index: 90;
    transition: transform .3s var(--ease);
}
.floating-wa:hover { transform: scale(1.08); }
.floating-wa svg { width: 30px; height: 30px; }

/* ==========================================================================
   INNER PAGES (servicos/*)
   ========================================================================== */
.inner-hero {
    position: relative;
    color: var(--c-white);
    padding: 180px 0 90px;
    overflow: hidden;
}
.inner-hero-media { position: absolute; inset: 0; z-index: 0; }
.inner-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.15);
}
.inner-hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(1,1,1,.92) 0%, rgba(1,1,1,.7) 60%, rgba(193,18,31,.45) 100%);
}
.inner-hero .container { position: relative; z-index: 1; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--c-red-soft); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.inner-hero h1 {
    font-size: clamp(36px, 5.4vw, 70px);
    font-weight: 800;
    color: var(--c-white);
    margin: 0 0 22px;
    max-width: 18ch;
}
.inner-hero h1 .accent { color: var(--c-red-soft); }
.inner-hero p {
    font-size: clamp(16px, 1.5vw, 19px);
    color: rgba(241,241,241,.78);
    max-width: 60ch;
    margin: 0 0 32px;
}

/* Two-column copy block ---------------------------------------------------*/
.copy-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 900px) { .copy-grid { grid-template-columns: 1fr; gap: 30px; } }
.copy-grid .col-left h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-red);
    margin: 0;
    padding-top: 8px;
    border-top: 2px solid var(--c-red);
    display: inline-block;
}
.copy-grid .col-right > * + * { margin-top: 18px; }
.copy-grid h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
    margin: 0;
}
.copy-grid p {
    font-size: 16px;
    color: var(--c-graphite);
    line-height: 1.7;
    margin: 0;
}

/* Numbered checklist ------------------------------------------------------*/
.deliverables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 700px) { .deliverables { grid-template-columns: 1fr; } }
.deliverable {
    padding: 24px 26px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    transition: all .3s var(--ease);
}
.deliverable:hover {
    border-color: var(--c-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.deliverable-num {
    font-family: var(--ff-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--c-red);
    margin-bottom: 8px;
}
.deliverable h4 {
    font-family: var(--ff-display);
    font-size: 17px;
    margin: 0 0 8px;
}
.deliverable p {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0;
}

/* Norms / standards strip ------------------------------------------------*/
.norms-strip {
    background: var(--c-mist);
    padding: 50px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.norms-strip .container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 800px) { .norms-strip .container { grid-template-columns: 1fr; gap: 18px; } }
.norms-strip h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-red);
    margin: 0;
}
.norms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.norms-list li {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-ink);
}

/* CTA banner --------------------------------------------------------------*/
.cta-banner {
    padding: 70px 0;
    background: var(--c-black);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(193,18,31,.35) 0%, transparent 70%);
}
.cta-banner .container {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 800px) {
    .cta-banner .container { grid-template-columns: 1fr; gap: 22px; }
}
.cta-banner h2 {
    font-size: clamp(24px, 2.8vw, 36px);
    color: var(--c-white);
    margin: 0;
    max-width: 22ch;
}
.cta-banner h2 .accent { color: var(--c-red-soft); }
.cta-banner .btn-primary { white-space: nowrap; }

/* Related services strip */
.related {
    padding: 60px 0 80px;
    background: var(--c-mist);
}
.related h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-red);
    margin: 0 0 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
    background: #fff;
    padding: 24px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    border-color: var(--c-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.related-card h4 { font-size: 17px; margin: 0 0 6px; }
.related-card p { font-size: 14px; color: var(--c-muted); margin: 0 0 14px; }
.related-card span {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 13px;
    color: var(--c-red);
    margin-top: auto;
}

/* Experience track-record */
.section-experience { background: var(--c-paper); border-top: 1px solid var(--c-line); }
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
@media (max-width: 980px) { .experience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .experience-grid { grid-template-columns: 1fr; } }
.exp-item {
    padding: 26px 28px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    transition: all .3s var(--ease);
    position: relative;
}
.exp-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--c-red);
}
.exp-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-red);
}
.exp-tag {
    font-family: var(--ff-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 14px;
    padding-top: 8px;
}
.exp-item h4 {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--c-ink);
    line-height: 1.3;
}
.exp-item p { font-size: 14px; color: var(--c-muted); margin: 0; line-height: 1.6; }
.experience-note {
    margin-top: 30px;
    padding: 18px 22px;
    background: var(--c-mist);
    border-left: 3px solid var(--c-red);
    font-size: 13px;
    color: var(--c-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* Anim on scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
