@import url('./base/variables.css');

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6; 
}

h2 {
    color: var(--accent-primary);
}

section {
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease, -webkit-backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.main-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand role links";
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    width: 44px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 200ms ease;
}

.nav-toggle:hover {
    border-color: var(--accent-primary);
    background: rgba(81, 43, 212, 0.2);
}

.brand-block {
    grid-area: brand;
}

.nome-dev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    line-height: 1;
    white-space: nowrap;
}

.logo-id-dev {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.dev-role {
    grid-area: role;
    justify-self: center;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0;
    white-space: nowrap;
}

.nav-links {
    grid-area: links;
    justify-self: end;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-links a {
    position: relative;
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.14);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

#hero {
    position: relative;
    overflow: hidden;
    /* padding: 102px 20px 76px; */
    padding: 102px 20px 76px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

#hero::before,
#hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

#hero::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(81, 43, 212, 0.38), rgba(81, 43, 212, 0));
    top: -160px;
    right: -120px;
}

#hero::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.24), rgba(6, 182, 212, 0));
    bottom: -180px;
    left: -120px;
}

.hero-shell {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 26px;
}

.hero-content {
    display: grid;
    align-content: start;
}

.hero-eyebrow {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(6, 182, 212, 0.45);
    background: rgba(6, 182, 212, 0.12);
    color: #b5ebff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero-name {
    font-size: clamp(1.9rem, 4.8vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    color: #ffffff;
    padding-bottom: 14px;
}

.hero-name .highlight {
    background: var(--gradient);
    background-size: 260% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-name-flow 4s ease-in-out infinite alternate;
}

@keyframes hero-name-flow {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

.hero-goal {
    margin-top: 16px;
    max-width: 62ch;
    font-size: clamp(1rem, 1.75vw, 1.14rem);
    line-height: 1.62;
    color: var(--text-secondary);
}

.hero-proof-list {
    margin-top: 20px;
    padding-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-proof-list span {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.5);
    color: #dbe7ff;
    font-size: 0.78rem;
    line-height: 1.3;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.button-secondary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.button-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-secondary);
    background: rgba(15, 23, 42, 0.85);
}

.hero-actions .button-primary,
.hero-actions .button-secondary {
    margin-top: 0;
}

.hero-actions .button-primary,
.hero-actions .button-secondary {
    min-height: 44px;
    padding: 11px 18px;
    font-weight: 700;
}

.hero-socials {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.hero-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-social-link:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    background: rgba(81, 43, 212, 0.2);
}

.hero-authority {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.72);
    padding: 18px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.hero-authority-kicker {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #93c5fd;
}

.hero-code-card {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.8);
    padding: 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.6;
}

.hero-code-card p {
    color: #cbd5e1;
}

.code-keyword {
    color: #93c5fd;
}

.code-string {
    color: #34d399;
}

.hero-authority-grid {
    display: grid;
    gap: 10px;
}

.hero-authority-grid article {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.56);
    border-radius: 10px;
    padding: 10px;
    display: grid;
    gap: 4px;
}

.hero-authority-grid strong {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.hero-authority-grid span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
    .hero-name .highlight {
        animation: none;
    }

    .hero-social-link,
    .hero-actions .button-primary,
    .hero-actions .button-secondary {
        transition: none;
    }

    .nav-links {
        transition: none;
    }

    .project-card,
    .project-card::after,
    .about-content,
    .about-metric,
    .about-visual,
    .about-panel {
        transition: none;
    }
}

.highlight {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

.button-primary:hover {
    opacity: 0.9;
}


.projects-section {
    position: relative;
}

.projects-section .container {
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.75));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.projects-heading p {
    margin-top: 10px;
    max-width: 760px;
    color: var(--text-secondary);
}

.projects-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(81, 43, 212, 0.15);
    color: #c4b5fd;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
}

.projects-filters {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-filter-btn {
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.project-filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(81, 43, 212, 0.18);
    transform: translateY(-1px);
}

.project-filter-btn.is-active {
    border-color: rgba(139, 92, 246, 0.7);
    background: rgba(81, 43, 212, 0.26);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    /* border: 1px solid var(--accent-secondary); */
    border: 1px solid #1e293b;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.project-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.35);
}

@media (max-width: 768px) {
    .project-status-badge {
        top: 10px;
        left: 10px;
        font-size: 0.62rem;
        padding: 4px 8px;
    }
}
    .project-card:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: var(--accent-primary);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }
    .project-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0);
        transition: box-shadow 220ms ease;
    }
    .project-card:hover::after {
        box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.45);
    }
    .project-thumbnail {
        width: 100%;
        height: 148px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 14px;
        display: block;
    }
    .project-category {
        display: inline-block;
        align-self: flex-start;
        margin-bottom: 10px;
        font-size: 0.74rem;
        color: #d6e5ff;
        background: rgba(6, 182, 212, 0.14);
        border: 1px solid rgba(6, 182, 212, 0.45);
        padding: 4px 8px;
        border-radius: 999px;
    }
    .project-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .project-card p {
        margin-bottom: 14px;
        color: var(--text-secondary);
    }
    .project-tech-list {
        margin-top: auto;
        margin-bottom: 30px;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }
    .project-tech-chip {
        font-size: 0.75rem;
        color: #dbe7ff;
        padding: 4px 8px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(15, 23, 42, 0.64);
    }
    .project-actions {
        margin-top: 14px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .project-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 8px 12px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 600;
        border: 1px solid transparent;
    }
    .project-btn-outline {
        color: #dbe7ff;
        border-color: rgba(148, 163, 184, 0.35);
        background: rgba(15, 23, 42, 0.55);
    }
    .project-btn-outline:hover {
        border-color: rgba(6, 182, 212, 0.55);
        background: rgba(6, 182, 212, 0.14);
    }
    .project-btn-primary {
        color: #fff;
        background: var(--gradient);
        border-color: rgba(255, 255, 255, 0.15);
    }
    .project-btn-primary:hover {
        filter: brightness(1.04);
    }
    .project-btn-disabled {
        color: #8ea1bd;
        border-color: rgba(148, 163, 184, 0.18);
        background: rgba(15, 23, 42, 0.42);
        cursor: not-allowed;
    }

.projects-more-link {
    margin-top: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;;
    gap: 8px;
    color: #dbe7ff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 10px 14px;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.projects-more-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.projects-more-link:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(81, 43, 212, 0.2);
}

.projects-more-link:focus-visible,
.project-filter-btn:focus-visible,
.project-btn:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.75);
    outline-offset: 2px;
}

.coming-soon {
    display: inline-block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 1100px) {
    .project-actions {
        flex-direction: column;
    }

    .project-btn {
        width: 100%;
    }
}

/* ABOUT */
.about-container {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.about-content {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.75));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-content:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.about-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(81, 43, 212, 0.15);
    color: #c4b5fd;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
}

.about-content h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.2;
}

.about-lead {
    margin-top: 14px;
    color: #dbe7ff;
    font-size: 1.02rem;
}

.about-content p {
    margin-top: 14px;
    color: var(--text-secondary);
}

.about-stack {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-stack span {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.65);
    color: #d8e4ff;
    font-size: 0.8rem;
}

.about-metrics {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-metric {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-metric:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.about-metric h3 {
    font-size: 0.9rem;
    color: #dbe7ff;
}

.about-metric p {
    margin-top: 8px;
    font-size: 0.88rem;
}

.about-visual {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(7, 12, 30, 0.95), rgba(3, 7, 20, 0.82));
    display: grid;
    gap: 14px;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-visual:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 16px 30px rgba(1, 16, 29, 0.4);
}

.about-image-frame {
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: linear-gradient(145deg, rgba(81, 43, 212, 0.2), rgba(6, 182, 212, 0.12));
}

.about-image {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.about-panels {
    display: grid;
    gap: 10px;
}

.about-panel {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.65);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.about-panel h3 {
    color: #dbe7ff;
    font-size: 0.9rem;
}

.about-panel p {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* CONTACT */
.contact-wrap {
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.75));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.contact-header p {
    margin-top: 10px;
    max-width: 760px;
    color: var(--text-secondary);
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(81, 43, 212, 0.15);
    color: #c4b5fd;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
}

.contact-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.contact-form,
.contact-info {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.64);
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbe7ff;
    margin-bottom: 2px;
}

.contact-card-title svg {
    width: 18px;
    height: 18px;
    fill: #8b5cf6;
}

.contact-form label {
    font-size: 0.86rem;
    color: #dbe7ff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(2, 6, 23, 0.65);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(139, 92, 246, 0.55);
    border-color: rgba(139, 92, 246, 0.55);
}

.contact-submit {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    min-height: 40px;
    padding: 10px 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.contact-submit svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-submit:hover {
    filter: brightness(1.06);
}

.contact-form-status {
    min-height: 20px;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.contact-form-status.is-success {
    color: #34d399;
}

.contact-form-status.is-error {
    color: #f87171;
}

.contact-info h3 {
    color: #dbe7ff;
}

.contact-info-list {
    margin-top: 12px;
    list-style: none;
    display: grid;
    gap: 8px;
    color: var(--text-secondary);
}

.contact-item-card {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.58);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.contact-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.contact-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(81, 43, 212, 0.14);
}

.contact-item-icon svg {
    width: 16px;
    height: 16px;
    fill: #dbe7ff;
}

.contact-info-list a {
    color: #dbe7ff;
    text-decoration: none;
}

.contact-info-list a:hover {
    text-decoration: underline;
}

.whatsapp-cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-cta:hover {
    filter: brightness(1.06);
}

/* FOOTER */
.site-footer {
    margin-top: 26px;
    padding: 26px 20px 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(5, 9, 24, 0.96), rgba(2, 6, 23, 1));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 18px;
}

.footer-brand,
.footer-column {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.52);
}

.footer-brand h3,
.footer-column h4 {
    color: #dbe7ff;
}

.footer-brand-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand p {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-column {
    display: grid;
    gap: 6px;
    align-content: start;
}

.footer-column a,
.footer-column span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ecbff;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-contact-item:hover .footer-contact-icon {
    color: #dbe7ff;
}

.footer-social-item:hover .footer-contact-icon {
    color: #dbe7ff;
}

.footer-column a:hover {
    color: #dbe7ff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.footer-top-link {
    text-decoration: none;
    color: #dbe7ff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
}

.footer-top-link:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(81, 43, 212, 0.18);
}

@media (max-width: 960px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0;
    }

    .projects-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .main-nav {
        padding: 8px 14px;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand toggle"
            "links links";
        gap: 8px;
    }

    .brand-block {
        justify-self: start;
    }

    .nav-toggle {
        grid-area: toggle;
        justify-self: end;
        display: inline-flex;
        width: 40px;
        height: 36px;
        padding: 6px;
    }

    .main-nav.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .main-nav.menu-open .nav-toggle span:nth-child(2) {
        transform: translateY(-3px) rotate(-45deg);
    }

    .dev-role {
        display: none;
    }

    .nav-links {
        justify-self: stretch;
        justify-content: center;
        display: flex;
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        padding: 12px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 14px;
        background: rgba(2, 6, 23, 0.75);
        transition: opacity 220ms ease, transform 220ms ease, max-height 260ms ease;
    }

    .main-nav.menu-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        max-height: 220px;
        pointer-events: auto;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    #hero {
        min-height: calc(100dvh - 64px);
        padding-top: 72px;
        padding-bottom: 48px;
    }

    .hero-shell {
        padding: 0;
    }

    .hero-proof-list {
        gap: 6px;
    }

    .hero-proof-list span {
        font-size: 0.76rem;
    }
}

@media (max-width: 640px) {
    .main-nav {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand toggle"
            "links";
    }

    .nome-dev {
        font-size: 1.05rem;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links a {
        padding: 9px 12px;
    }

    #hero {
        min-height: calc(100dvh - 60px);
        padding-top: 64px;
        padding-bottom: 42px;
    }

    .hero-eyebrow {
        letter-spacing: 0.08em;
        font-size: 0.68rem;
    }

    .hero-goal {
        font-size: 0.95rem;
    }

    .hero-actions .button-primary,
    .hero-actions .button-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-social-link {
        width: 38px;
        height: 38px;
    }

    .hero-authority {
        padding: 14px;
    }

    .about-content,
    .about-visual,
    .projects-section .container {
        padding: 16px;
    }

    .contact-wrap,
    .contact-form,
    .contact-info {
        padding: 16px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }
}