/* =============================================
   SpiderTech Solutions — CSS Otimizado
   Sem FontAwesome, sem bibliotecas pesadas
   ============================================= */

:root {
    --bg: #05050A;
    --bg-glass: rgba(8, 12, 28, 0.5);
    --red: #E23636;
    --red-glow: rgba(226, 54, 54, 0.5);
    --red-dim: rgba(226, 54, 54, 0.12);
    --blue: #1D4ED8;
    --blue-glow: rgba(29, 78, 216, 0.5);
    --blue-dim: rgba(29, 78, 216, 0.12);
    --white: #FFFFFF;
    --gray: #94A3B8;
    --border: rgba(255, 255, 255, 0.07);
    --font-h: 'Rajdhani', sans-serif;
    --font-b: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-b);
    overflow-x: hidden;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
}

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background .3s;
}

.header.scrolled {
    background: rgba(5, 5, 10, 0.97);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    text-shadow: 0 0 18px rgba(226, 54, 54, 0.5);
}

.spider-icon {
    width: 38px;
    height: 43px;
    filter: drop-shadow(0 0 7px rgba(180, 0, 0, 0.8));
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list a {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray);
    transition: color .25s;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .3s;
}

.nav-list a:hover {
    color: var(--white);
}

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

.nav-cta {
    color: var(--white) !important;
    background: var(--red);
    padding: .35rem .9rem;
    border-radius: 4px;
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: .3s;
}

/* ---- CANVAS ---- */
#spider-web {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

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

.hero-glow-red {
    position: absolute;
    left: -10%;
    top: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226, 54, 54, .18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-glow-blue {
    position: absolute;
    right: 10%;
    top: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 216, .18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
}

.hero-content {
    flex: 0 0 55%;
    max-width: 640px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .45rem 1rem;
    border: 1px solid var(--blue);
    border-radius: 50px;
    font-family: var(--font-h);
    font-size: .9rem;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 1.8rem;
    background: rgba(29, 78, 216, .08);
    animation: badge-pulse 3s ease-in-out infinite;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
    animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(29, 78, 216, .3);
    }

    50% {
        box-shadow: 0 0 20px rgba(29, 78, 216, .6);
    }
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(3.2rem, 5.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--red);
    text-shadow: 0 0 30px var(--red-glow);
    display: inline-block;
    animation: glitch 4s ease-in-out infinite;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        color: var(--red);
        transform: translate(0);
    }

    92% {
        color: #1D4ED8;
        transform: translate(-2px, 1px);
    }

    94% {
        color: var(--white);
        transform: translate(2px, -1px);
    }

    96% {
        color: var(--red);
        transform: translate(0);
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ---- HERO VISUAL ---- */
.hero-visual {
    flex: 0 0 42%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(29, 78, 216, .25) 0%, rgba(226, 54, 54, .1) 50%, transparent 70%);
    border-radius: 50%;
    animation: sphere-pulse 4s ease-in-out infinite;
}

@keyframes sphere-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

#sphere-canvas {
    width: 460px;
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .85rem 1.8rem;
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: transform .3s, box-shadow .3s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--blue);
    box-shadow: 0 0 20px var(--blue-glow);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ---- STATS ---- */
.stats-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, rgba(226, 54, 54, .03), rgba(29, 78, 216, .05), rgba(226, 54, 54, .03));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-box h3 {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    text-shadow: 0 0 15px var(--red-glow);
    line-height: 1;
}

.stat-box h3 span {
    font-size: 1.5rem;
    color: var(--gray);
}

.stat-box p {
    color: var(--gray);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .5rem;
}

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
    display: block;
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 1rem;
}

.section-label.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 3.5rem;
    line-height: 1.1;
}

.section-title.left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--red);
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--gray);
    margin-top: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: .8rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: default;
    transition: border-color .3s, transform .3s;
}

.tech-item svg {
    width: 28px;
    height: 28px;
}

.tech-item span {
    font-family: var(--font-h);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: .5px;
}

.tech-item:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
}

.about-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transition: filter .5s;
}

.about-visual:hover .about-img {
    filter: grayscale(0%);
}

.code-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 1.2rem;
    background: linear-gradient(to top, rgba(5, 5, 10, .98) 0%, rgba(5, 5, 10, .7) 100%);
}

.code-overlay pre {
    font-size: .78rem;
    line-height: 1.7;
    font-family: 'Courier New', monospace;
}

.c-blue {
    color: #60A5FA;
}

.c-green {
    color: #4ADE80;
}

.c-red {
    color: var(--red);
}

.c-gray {
    color: #64748B;
}

/* ---- SERVICES ---- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 54, 54, .4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4), 0 0 40px rgba(226, 54, 54, .08);
}

.service-num {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-h);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .04);
    line-height: 1;
    user-select: none;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-icon.red {
    background: var(--red-dim);
    border: 1px solid rgba(226, 54, 54, .3);
    color: var(--red);
}

.service-icon.blue {
    background: var(--blue-dim);
    border: 1px solid rgba(29, 78, 216, .3);
    color: #60A5FA;
}

.service-card h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.service-card p {
    color: var(--gray);
    font-size: .95rem;
}

.service-line {
    margin-top: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
    width: 0;
    transition: width .4s;
}

.service-card:hover .service-line {
    width: 100%;
}

/* ---- PORTFOLIO ---- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 10, .96) 0%, rgba(5, 5, 10, .1) 100%);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background .4s;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(226, 54, 54, .88) 0%, rgba(29, 78, 216, .35) 100%);
}

.tag {
    display: inline-block;
    padding: .25rem .6rem;
    background: var(--blue);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-h);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .6rem;
    width: fit-content;
}

.portfolio-overlay h3 {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, .8);
    font-size: .88rem;
}

/* ---- CONTACT ---- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(0, 0, 0, .25);
    border-right: 1px solid var(--border);
}

.contact-info h2 {
    font-family: var(--font-h);
    font-size: 2.4rem;
    font-weight: 700;
    margin: .5rem 0 1rem;
    text-transform: uppercase;
}

.contact-info p {
    color: var(--gray);
}

.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: .95rem;
}

.contact-list svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-form {
    padding: 4rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: .9rem 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    color: var(--white);
    font-family: var(--font-b);
    font-size: 1rem;
    outline: none;
    transition: border-color .3s;
    resize: none;
}

.input-group label {
    position: absolute;
    top: .9rem;
    left: 0;
    color: var(--gray);
    font-family: var(--font-h);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    pointer-events: none;
    transition: .25s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--red);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -14px;
    font-size: .72rem;
    color: var(--red);
}

/* ---- FOOTER ---- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    color: var(--gray);
    font-size: .85rem;
}

/* ---- REVEAL ANIMATION (Intersection Observer) ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-visual {
        flex: 0 0 46%;
    }

    .floating-img {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile nav */
    .nav-list.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 10, .97);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        flex: none;
        width: 100%;
    }

    .floating-img {
        width: 280px;
    }

    .sphere-glow {
        width: 280px;
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2.5rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .hero-glow-red,
    .hero-glow-blue {
        display: none;
    }
}

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

    .stat-box h3 {
        font-size: 2.2rem;
    }

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

/* ── LOGO ORBITRON ── */
.logo {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-shadow: 0 0 18px rgba(226, 54, 54, 0.5);
}

/* ── SECTION DESC ── */
.section-desc {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: -2rem auto 3rem;
    line-height: 1.7;
}

/* ── MARKETING GRID ── */
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mkt-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.mkt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.mkt-card:hover::before {
    opacity: 1;
}

.mkt-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 54, 54, .35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.mkt-card.featured {
    border-color: rgba(226, 54, 54, .4);
    background: rgba(226, 54, 54, .05);
}

.mkt-card.featured::before {
    opacity: 1;
}

.mkt-icon {
    width: 48px;
    height: 48px;
    background: var(--red-dim);
    border: 1px solid rgba(226, 54, 54, .3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--red);
}

.mkt-icon svg {
    width: 22px;
    height: 22px;
}

.mkt-card h3 {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.mkt-card p {
    color: var(--gray);
    font-size: .9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.mkt-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.mkt-list li {
    font-size: .82rem;
    color: var(--gray);
    padding-left: 1rem;
    position: relative;
}

.mkt-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
}

/* ── STEPS / PROCESSO ── */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin-top: 1rem;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color .3s, transform .3s;
}

.step-card:hover {
    border-color: rgba(226, 54, 54, .4);
    transform: translateY(-5px);
}

.step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    text-shadow: 0 0 15px var(--red-glow);
    margin-bottom: .8rem;
}

.step-card h3 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.step-card p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.6;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    position: relative;
    margin: 0 .5rem;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--blue);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ── DEPOIMENTOS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.stars {
    color: #F59E0B;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--red-dim);
    border: 1px solid rgba(226, 54, 54, .4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .85rem;
    color: var(--red);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: .9rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: .78rem;
    color: var(--gray);
}

/* ── SELECT no formulário ── */
.input-select select {
    width: 100%;
    padding: .9rem 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    color: var(--white);
    font-family: var(--font-b);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.input-select select option {
    background: #0d0d18;
    color: var(--white);
}

.input-select select:focus {
    border-bottom-color: var(--red);
}

.input-select select:valid~label,
.input-select select:focus~label {
    top: -14px;
    font-size: .72rem;
    color: var(--red);
}

/* ── FOOTER RICO ── */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 240px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--gray);
    font-size: .85rem;
    margin-bottom: .5rem;
    transition: color .25s;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--red);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 .5rem;
}

.footer-bottom p {
    color: var(--gray);
    font-size: .82rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: color .25s, border-color .25s;
}

.footer-socials a:hover {
    color: var(--red);
    border-color: rgba(226, 54, 54, .4);
}

/* ── RESPONSIVE NOVAS SEÇÕES ── */
@media (max-width: 1024px) {
    .marketing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .step-connector {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CARROSSEL MOBILE (marketing + portfolio) ── */
@media (max-width: 768px) {

    /* wrapper externo que esconde overflow */
    .carousel-wrapper {
        position: relative;
        overflow: hidden;
        margin: 0 -2rem;
        /* sangra até a borda da tela */
        padding: 0 2rem 1.5rem;
    }

    /* trilho deslizante */
    .carousel-track {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .5rem;
        cursor: grab;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .carousel-track:active {
        cursor: grabbing;
    }

    /* cada card vira item do carrossel */
    .carousel-track .mkt-card,
    .carousel-track .portfolio-card {
        flex: 0 0 80vw;
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* dots de navegação */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 1.2rem;
    }

    .carousel-dots button {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        cursor: pointer;
        padding: 0;
        transition: background .25s, transform .25s;
    }

    .carousel-dots button.active {
        background: var(--red);
        transform: scale(1.4);
    }

    /* no mobile o marketing-grid e grid-2 viram flex via JS */
    .marketing-grid,
    .grid-2 {
        display: block;
        /* JS substituirá pela track */
    }
}

/* garante que fora do mobile o carousel-wrapper não interfere */
@media (min-width: 769px) {
    .carousel-wrapper {
        all: unset;
        display: contents;
    }

    .carousel-dots {
        display: none !important;
    }
}

/* ── EQUIPE / TEAM ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-card {
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card.featured::before {
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .4);
    border-color: rgba(29, 78, 216, .3);
}

.team-card.featured {
    border-color: rgba(226, 54, 54, .3);
    background: rgba(226, 54, 54, .04);
}

.team-card.featured:hover {
    border-color: rgba(226, 54, 54, .5);
}

.team-photo-wrap {
    position: relative;
    width: 110px;
    height: 110px;
}

.team-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* se colocar uma <img> dentro do placeholder ela ocupa tudo */
.team-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: var(--blue);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 7px;
    border-radius: 20px;
    text-transform: uppercase;
}

.team-badge.red {
    background: var(--red);
}

.team-badge.blue {
    background: var(--blue);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.team-info h3 {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.team-role {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--red);
}

.team-card.featured .team-role {
    color: var(--red);
}

.team-card:not(.featured) .team-role {
    color: var(--blue);
}

.team-info p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.65;
    max-width: 220px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: .3rem;
}

.team-skills span {
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--gray);
    background: rgba(255, 255, 255, .03);
}

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

    .team-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .team-info {
        align-items: flex-start;
    }

    .team-skills {
        justify-content: flex-start;
    }

    .team-photo-wrap {
        flex-shrink: 0;
    }
}

/* ── EQUIPE ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
    border-color: rgba(226, 54, 54, .35);
}

.team-photo {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s;
    filter: grayscale(20%);
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.team-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(5, 5, 10, .95), transparent);
    pointer-events: none;
}

.team-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    opacity: 0;
    transition: opacity .3s;
}

.team-card:hover .team-photo::after {
    opacity: 1;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.team-role {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .9rem;
}

.team-info p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.team-socials {
    display: flex;
    gap: .7rem;
}

.team-socials a {
    width: 34px;
    height: 34px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: color .25s, border-color .25s, background .25s;
}

.team-socials a:hover {
    color: var(--red);
    border-color: rgba(226, 54, 54, .4);
    background: var(--red-dim);
}

/* telefone clicável no contato */
.contact-list a {
    color: var(--gray);
    transition: color .25s;
}

.contact-list a:hover {
    color: var(--red);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-photo {
        height: 220px;
    }
}

/* ── EQUIPE COMPACTA (strip) ── */
.equipe {
    padding: 3rem 0 4rem;
}

.team-strip {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 3rem;
}

.team-strip .section-label {
    white-space: nowrap;
    flex-shrink: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 3px;
    font-size: .7rem;
}

.team-members {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.member {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
}

.member-avatar {
    position: relative;
    flex-shrink: 0;
}

.member-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
    border: 2px solid var(--bg);
}

.member-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--red), var(--blue), var(--red));
    z-index: 0;
    animation: spin-ring 6s linear infinite;
}

@keyframes spin-ring {
    to {
        transform: rotate(360deg);
    }
}

.member-info h4 {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .15rem;
    white-space: nowrap;
}

.member-info span {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .4rem;
}

.member-info p {
    color: var(--gray);
    font-size: .8rem;
    line-height: 1.55;
    max-width: 180px;
}

.member-divider {
    width: 1px;
    height: 80px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .team-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 2rem;
    }

    .team-strip .section-label {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .team-members {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }

    .member-divider {
        width: 100%;
        height: 1px;
    }

    .member-info p {
        max-width: 100%;
    }
}

/* ── BOTÃO FLUTUANTE WHATSAPP ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .7);
}

.whatsapp-float:hover .wpp-tooltip {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* tooltip */
.wpp-tooltip {
    position: absolute;
    right: 70px;
    background: #111;
    color: #fff;
    font-size: .8rem;
    font-family: var(--font-b);
    white-space: nowrap;
    padding: .45rem .9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}

.wpp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #111;
}

/* pulse animado */
.wpp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, .4);
    animation: wpp-ping 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wpp-ping {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}