 /* =========================================================
   BJMP SOLUÇÕES DIGITAIS
   Main stylesheet
   Compatible with current index.html
   ========================================================= */

/* =========================================================
   01. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    background: #080b10;
    color: #f5f7fa;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: #0055ff;
    color: #ffffff;
}

/* =========================================================
   02. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080b10;
}

::-webkit-scrollbar-thumb {
    background: #1d2633;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0055ff;
}

/* =========================================================
   03. GLOBAL
   ========================================================= */

:root {
    --blue: #0055ff;
    --blue-light: #2f7bff;
    --blue-dark: #003bb5;

    --bg: #080b10;
    --bg-soft: #0c1118;
    --bg-card: #10161f;
    --bg-card-hover: #131b26;

    --border: rgba(255, 255, 255, 0.08);
    --border-blue: rgba(0, 85, 255, 0.35);

    --text: #f5f7fa;
    --text-soft: #aeb8c6;
    --text-muted: #687384;

    --success: #36d399;

    --container: 1180px;

    --header-height: 82px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 85, 255, 0.035),
            transparent 35%
        );
}

.section-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-bottom: 64px;
}

.section-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.section-overline {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.section-description {
    max-width: 650px;
    margin-top: 20px;
    color: var(--text-soft);
    font-size: 1rem;
}

/* =========================================================
   04. LOADER
   ========================================================= */

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080b10;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

#loader.hidden,
#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-logo {
    width: 70px;
    height: auto;
}

.loader-line {
    width: 72px;
    height: 2px;
    margin-top: 18px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.loader-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--blue),
        transparent
    );
    animation: loaderLine 1.1s ease-in-out infinite;
}

@keyframes loaderLine {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

.loader-spinner {
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   05. PARTICLES / MOUSE GLOW
   ========================================================= */

#particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.45;
}

.mouse-glow {
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(0, 85, 255, 0.075) 0%,
        rgba(0, 85, 255, 0.025) 35%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .mouse-glow {
    opacity: 1;
}

/* =========================================================
   06. HEADER
   ========================================================= */

#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 11, 16, 0.78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

#header.scrolled {
    background: rgba(8, 11, 16, 0.94);
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-content {
    width: min(var(--container), calc(100% - 48px));
    height: 100%;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 130px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    position: relative;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width var(--transition);
}

.nav a:hover {
    color: #ffffff;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

/* =========================================================
   07. HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 70px) 0 90px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0, 0, 0, 0.7) 65%,
        transparent 100%
    );
}

.hero::before {
    content: "";
    position: absolute;
    top: 5%;
    right: -15%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(0, 85, 255, 0.07);
    filter: blur(90px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: -15%;
    bottom: -25%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(0, 85, 255, 0.035);
    filter: blur(100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 80px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--blue-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--blue);
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 700;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 610px;
    margin-top: 28px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.btn {
    min-height: 48px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: var(--radius-sm);

    font-size: 0.82rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn-primary {
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 12px 35px rgba(0, 85, 255, 0.2);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 85, 255, 0.3);
}

.btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.hero-tags span {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.7rem;
}

/* =========================================================
   08. HERO VISUAL / MOCKUP
   ========================================================= */

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% -8%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(0, 85, 255, 0.12);
    filter: blur(70px);
}

.mockup-card {
    position: relative;
    width: 100%;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 70px rgba(0, 85, 255, 0.08);

    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s ease;
}

.mockup-card:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0);
}

.mockup-header {
    min-height: 48px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.window-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #303844;
}

.mockup-label {
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mockup-image {
    min-height: 360px;
    padding: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 85, 255, 0.13),
            transparent 52%
        ),
        #0a0f16;
}

.mockup-image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.mockup-image img.broken,
.hero-visual img.broken {
    display: none;
}

/* =========================================================
   09. TECH SECTION
   ========================================================= */

.tech-section {
    position: relative;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.012);
}

.tech-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tech-list span {
    color: #657080;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.tech-list span:hover {
    color: var(--text-soft);
}

/* =========================================================
   10. SERVICES
   ========================================================= */

.services-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    position: relative;
    min-height: 290px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-blue);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-blue);
    border-radius: 10px;

    color: var(--blue-light);
    background: rgba(0, 85, 255, 0.07);

    font-size: 1.1rem;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;

    color: #28313e;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.75;
}

/* =========================================================
   11. PORTFOLIO
   ========================================================= */

.portfolio-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.portfolio-card {
    position: relative;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-blue);
}

.portfolio-large {
    grid-column: span 2;
}

.portfolio-image {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(37, 99, 235, 0.08), transparent 50%),
        linear-gradient(145deg, #0d1219 0%, #0b1017 50%, #0a0e14 100%);
}

.portfolio-large .portfolio-image {
    min-height: 340px;
}

.portfolio-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.portfolio-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 11, 16, 0.75),
        transparent 55%
    );
    pointer-events: none;
    z-index: 1;
}

.portfolio-image img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-image img[src=""],
.portfolio-image img:not([src]),
.portfolio-image img.broken {
    display: none;
}

/* Placeholder visual quando a imagem falha */
.portfolio-image:has(img.broken)::before,
.portfolio-image:has(img[src=""])::before {
    opacity: 0.7;
}

.portfolio-image:has(img.broken)::after,
.portfolio-image:has(img[src=""])::after {
    content: "Prévia indisponível";
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: rgba(160, 170, 190, 0.45);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    z-index: 2;
}

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

.portfolio-info {
    padding: 24px;
}

.portfolio-info span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-info h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.15rem;
}

.portfolio-info p {
    color: var(--text-soft);
    font-size: 0.82rem;
}

/* =========================================================
   12. BENEFITS
   ========================================================= */

.benefits-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;

    border: 1px solid var(--border);
    background: var(--border);
}

.benefit-item {
    min-height: 210px;
    padding: 32px;

    background: var(--bg);

    transition: background var(--transition);
}

.benefit-item:hover {
    background: var(--bg-card);
}

.benefit-item > span:first-child,
.benefit-item > strong:first-child {
    display: block;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
}

.benefit-item h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1rem;
}

.benefit-item p {
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* =========================================================
   13. TIMELINE
   ========================================================= */

.timeline {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-inline: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--border-blue),
        transparent
    );
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 30px;
    padding-bottom: 55px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item > span {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-blue);
    border-radius: 50%;

    color: var(--blue-light);
    background: var(--bg);

    font-size: 0.72rem;
    font-weight: 700;
}

.timeline-item h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

.timeline-item p {
    max-width: 680px;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.75;
}

/* =========================================================
   14. ABOUT
   ========================================================= */

/* Grid principal: HTML usa .about-grid no container */
.about-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 70px;
    align-items: center;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h2 {
    margin-bottom: 18px;
}

.about-content p,
.about-text {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.9;
}

.about-text + .about-text,
.about-content > p + p {
    margin-top: 14px;
}

.about-list {
    list-style: none;
    margin-top: 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
}

.about-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: 0.45em;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.45);
}

.about-card {
    position: relative;
    padding: 36px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(0, 85, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        );
}

.about-card::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    width: 32px;
    height: 2px;
    background: var(--blue);
}

.about-card-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(
        circle,
        rgba(0, 85, 255, 0.12),
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
}

.about-card > * {
    position: relative;
    z-index: 1;
}

.about-card img {
    display: block;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 1.15rem;
}

.about-card p {
    color: var(--text-soft);
    font-size: 0.83rem;
    line-height: 1.8;
}

.about-card strong {
    color: #ffffff;
}

/* =========================================================
   15. CONTACT
   ========================================================= */

.contact,
.contact-section {
    background: #070a0f;
}

/* Grid principal: HTML usa .contact-grid no container */
.contact-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    margin-bottom: 16px;
}

.contact-content > p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 420px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-details a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--border-blue, rgba(0, 85, 255, 0.35));
    border-radius: 9px;
    color: var(--blue-light, #60a5fa);
    background: rgba(0, 85, 255, 0.06);
    font-size: 0.85rem;
}

.contact-details a:hover {
    color: var(--blue-light, #60a5fa);
}

/* Compatibilidade com markup antigo contact-info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-blue);
    border-radius: 9px;

    color: var(--blue-light);
    background: rgba(0, 85, 255, 0.06);
}

.contact-info-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.contact-info-item a:hover {
    color: var(--blue-light);
}

.contact-form-wrapper {
    padding: 34px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--bg-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;

    color: var(--text);
    background: #0b1017;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-group input {
    height: 50px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 150px;
    padding: 14px 15px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4e5968;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0, 85, 255, 0.7);
    background: #0d131c;
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.08);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 80, 80, 0.45);
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 4px;
}

.form-status {
    min-height: 22px;
    font-size: 0.78rem;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: #ff7373;
}

.form-honeypot,
.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* =========================================================
   16. FOOTER
   ========================================================= */

footer {
    position: relative;
    border-top: 1px solid var(--border);
    background: #06080c;
}

.footer-content {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
    padding: 65px 0 40px;

    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand img {
    display: none;
}

.footer-brand h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-muted);
    font-size: 0.76rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--blue-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact p {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.footer-bottom {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
    padding: 22px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid var(--border);

    color: #4f5967;
    font-size: 0.68rem;
}

.footer-bottom a {
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--blue-light);
}

/* =========================================================
   17. WHATSAPP
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    color: #ffffff;
    background: #18b957;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.whatsapp-float svg {
    width: 25px;
    height: 25px;
}

/* =========================================================
   18. ANIMATIONS / REVEAL
   ========================================================= */

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   19. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .mouse-glow,
    #particles {
        display: none;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   20. RESPONSIVE — 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
        gap: 50px;
    }

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

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

    .about-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 45px;
    }
}

/* =========================================================
   21. RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 74px;
    }

    .section {
        padding: 90px 0;
    }

    .header-content {
        width: min(var(--container), calc(100% - 36px));
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;

        width: 100%;
        height: calc(100vh - var(--header-height));

        padding: 35px 24px;

        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;

        background: rgba(8, 11, 16, 0.98);
        border-top: 1px solid var(--border);

        transform: translateX(100%);
        transition: transform 0.35s ease;

        overflow-y: auto;
    }

    .nav.open,
    .nav.active {
        transform: translateX(0);
    }

    .nav a {
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: calc(var(--header-height) + 55px);
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 700px;
    }

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

    .about-card {
        max-width: 650px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

/* =========================================================
   22. RESPONSIVE — 700px
   ========================================================= */

@media (max-width: 700px) {

    .container,
    .header-content,
    .footer-content,
    .footer-bottom {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 42px;
    }

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

    .hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .hero-description {
        font-size: 0.94rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-tags {
        gap: 6px;
    }

    .mockup-card {
        transform: none;
    }

    .mockup-card:hover {
        transform: none;
    }

    .mockup-image {
        min-height: 260px;
        padding: 18px;
    }

    .tech-list {
        justify-content: flex-start;
        gap: 15px 25px;
    }

    .services-grid,
    .portfolio-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-large {
        grid-column: span 1;
    }

    .portfolio-large .portfolio-image,
    .portfolio-image {
        min-height: 240px;
    }

    .benefit-item {
        min-height: auto;
    }

    .timeline::before {
        left: 21px;
    }

    .timeline-item {
        grid-template-columns: 42px 1fr;
        gap: 20px;
    }

    .timeline-item > span {
        width: 42px;
        height: 42px;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 50px;
    }

    .footer-brand {
        grid-column: auto;
    }

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

/* =========================================================
   23. RESPONSIVE — 480px
   ========================================================= */

@media (max-width: 480px) {

    :root {
        --header-height: 68px;
    }

    .logo img {
        width: 110px;
    }

    .section {
        padding: 65px 0;
    }

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

    .hero {
        padding-top: calc(var(--header-height) + 45px);
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-tags span {
        font-size: 0.63rem;
    }

    .service-card {
        min-height: auto;
        padding: 25px;
    }

    .portfolio-info {
        padding: 20px;
    }

    .about-card {
        padding: 28px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }
}

/* =========================================================
   END
   ========================================================= */
