

/* =========================================================
   SOCIAL MEDIA — ESTILIZAÇÃO GERAL
========================================================= */

.sm-page {
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(255, 193, 7, 0.08), transparent 60%),
        radial-gradient(800px 420px at 100% 10%, rgba(0, 183, 177, 0.08), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

/* =========================================================
   SOCIAL MEDIA — SEÇÃO DE ENTREGAS
========================================================= */
.sm-deliver-section {
    position: relative;
    padding: 105px 0 115px;
    overflow: hidden;
    background:
        radial-gradient(950px 520px at 10% 12%, rgba(255, 193, 7, 0.09), transparent 62%),
        radial-gradient(820px 440px at 88% 20%, rgba(0, 183, 177, 0.08), transparent 60%),
        linear-gradient(180deg, #f8f5ef 0%, #f2eee7 100%);
}

.sm-deliver-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(
            90deg,
            rgba(17, 19, 24, 0.012) 0,
            rgba(17, 19, 24, 0.012) 1px,
            transparent 1px,
            transparent 90px
        );
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
}

.sm-deliver-section .container-p {
    position: relative;
    z-index: 1;
}

.sm-deliver-grid.v2 {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 22px;
    margin-top: 50px;
}

/* CARD BASE */
.sm-deliver-card {
    position: relative;
    min-height: 120px;
    padding: 24px 24px 22px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.68));
    border: 1px solid rgba(17, 19, 24, 0.07);
    box-shadow:
        0 14px 34px rgba(17, 19, 24, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.sm-deliver-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 193, 7, 0.24);
    box-shadow:
        0 24px 48px rgba(17, 19, 24, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.93), rgba(255,255,255,0.82));
}

.sm-deliver-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.18),
        rgba(255, 255, 255, 0.02) 45%,
        rgba(0, 183, 177, 0.12)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.sm-deliver-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -60px;
    right: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.11), transparent 70%);
    opacity: 0.65;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.sm-deliver-card:hover::after {
    transform: scale(1.08);
    opacity: 0.95;
}

/* CARD GRANDE */
.sm-deliver-card--highlight {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    min-height: 100%;
    padding: 38px;
    background:
        radial-gradient(420px 220px at 80% 18%, rgba(255, 193, 7, 0.12), transparent 60%),
        linear-gradient(135deg, #0d1016 0%, #151922 52%, #1b202a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 55px rgba(10, 12, 18, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sm-deliver-card--highlight:hover {
    border-color: rgba(255, 193, 7, 0.24);
    background:
        radial-gradient(420px 220px at 80% 18%, rgba(255, 193, 7, 0.16), transparent 60%),
        linear-gradient(135deg, #0b0e14 0%, #141922 52%, #1a2029 100%);
}

.sm-deliver-card--highlight::after {
    width: 260px;
    height: 260px;
    top: auto;
    right: -80px;
    bottom: -110px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.16), transparent 70%);
    opacity: 1;
}

.sm-deliver-card--highlight .sm-deliver-card__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.sm-deliver-card--highlight .sm-deliver-card__content::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    margin-bottom: 22px;
    background: linear-gradient(90deg, #ffc107, rgba(255, 193, 7, 0.25));
}

.sm-deliver-card--highlight h3 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    font-weight: 800;
}

.sm-deliver-card--highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.8;
}

/* CARDS PEQUENOS */
.sm-deliver-card:not(.sm-deliver-card--highlight) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sm-deliver-card:not(.sm-deliver-card--highlight) h4 {
    position: relative;
    margin: 0 0 10px;
    padding-right: 28px;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111318;
}

.sm-deliver-card:not(.sm-deliver-card--highlight) h4::after {
    content: "↗";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.95rem;
    color: rgba(17, 19, 24, 0.28);
    transition: transform 0.35s ease, color 0.35s ease;
}

.sm-deliver-card:hover:not(.sm-deliver-card--highlight) h4::after {
    transform: translate(2px, -2px);
    color: rgba(255, 193, 7, 0.9);
}

.sm-deliver-card:not(.sm-deliver-card--highlight) p {
    margin: 0;
    max-width: 24ch;
    font-size: 0.92rem;
    line-height: 1.72;
    color: rgba(17, 19, 24, 0.64);
}

.sm-deliver-card:not(.sm-deliver-card--highlight) > * {
    position: relative;
    z-index: 2;
}

/* DETALHE INFERIOR */
.sm-deliver-card:not(.sm-deliver-card--highlight) .sm-deliver-card__mini-line {
    width: 38px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.95), rgba(255, 193, 7, 0.18));
}

.sm-deliver-card:not(.sm-deliver-card--highlight)::selection {
    background: rgba(255, 193, 7, 0.18);
}

/* RESPONSIVO */
@media (max-width: 980px) {
    .sm-deliver-grid.v2 {
        grid-template-columns: 1fr 1fr;
    }

    .sm-deliver-card--highlight {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .sm-deliver-section {
        padding: 82px 0 92px;
    }

    .sm-deliver-grid.v2 {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 34px;
    }

    .sm-deliver-card {
        min-height: 120px;
        padding: 22px 20px;
        border-radius: 22px;
    }

    .sm-deliver-card--highlight {
        min-height: 240px;
        padding: 28px 24px;
    }

    .sm-deliver-card--highlight p,
    .sm-deliver-card:not(.sm-deliver-card--highlight) p {
        max-width: 100%;
    }
}

.sm-deliver-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sm-deliver-card__mini-line {
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 193, 7, 0.95),
        rgba(255, 193, 7, 0.20)
    );
    position: relative;
    z-index: 2;
}

/* =========================
   SECTION HEAD
========================= */
.sm-section-head {
    margin-bottom: 28px;
}

.sm-section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.6vw, 2.7rem);
    line-height: 1.08;
    color: #111318;
}

.sm-section-head p {
    margin-bottom: 15px;
    color: #66707d;
    line-height: 1.8;
}

.sm-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}



/* =========================================================
   SOCIAL MEDIA — PORTFÓLIO / CARROSSEL
========================================================= */
.sm-portfolio-section {
    position: relative;
    padding: 105px 0 110px;
    overflow: hidden;
}

.sm-portfolio-section .container-p {
    position: relative;
    z-index: 1;
}


/* =========================================
   SWIPER
========================================= */
.sm-portfolio-slider {
    overflow: visible;
}

.sm-portfolio-slider .swiper-wrapper {
    align-items: stretch;
}

.sm-portfolio-slider .swiper-slide {
    height: auto;
}

/* =========================================
   CARD
========================================= */
.sm-portfolio-card {
    height: 100%;
    min-width: 0;
}

.sm-card-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

/* =========================================
   IMAGEM DO CARD
========================================= */
.sm-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 28px;
    background: #eef1f4;
    box-shadow:
        0 16px 38px rgba(17, 19, 24, 0.06),
        0 2px 10px rgba(17, 19, 24, 0.03);
}

.sm-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.sm-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 19, 24, 0.08) 100%);
}

.sm-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.sm-portfolio-card:hover .sm-card-media img {
    transform: scale(1.035);
}

.sm-portfolio-card:hover .sm-card-media::after {
    opacity: 1;
}

/* =========================================
   TEXTO DO CARD
========================================= */
.sm-card-body {
    padding: 16px 6px 0;
}

.sm-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(17, 19, 24, 0.05);
    color: #5b6470;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.sm-card-body h3 {
    margin: 0 0 7px;
    font-size: 1.08rem;
    line-height: 1.3;
    color: #111318;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sm-card-body p {
    margin: 0;
    color: #66707d;
    font-size: 0.93rem;
    line-height: 1.72;
    max-width: 30ch;
}

/* =========================================
   PAGINAÇÃO
========================================= */
.sm-portfolio-pagination {
    position: static !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.sm-portfolio-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(17, 19, 24, 0.18);
    opacity: 1;
    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.sm-portfolio-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--brand-yellow-2);
    transform: scale(1);
}

/* =========================================
   AJUSTES DO SWIPER
========================================= */
.sm-portfolio-slider .swiper-slide {
    transition: opacity 0.3s ease;
}

.sm-portfolio-slider:not(.swiper-initialized) .swiper-slide {
    width: 100%;
}

/* =========================================
   RESPONSIVO
========================================= */
@media (max-width: 1100px) {
    .sm-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .sm-portfolio-section {
        padding: 82px 0 92px;
    }

    .sm-card-media {
        border-radius: 24px;
    }

    .sm-card-body {
        padding: 14px 4px 0;
    }

    .sm-card-body h3 {
        font-size: 1rem;
    }

    .sm-card-body p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .sm-portfolio-pagination {
        margin-top: 22px;
    }

    .sm-portfolio-pagination .swiper-pagination-bullet-active {
        width: 22px;
    }
}

/* =========================================================
   SOCIAL MEDIA — SEÇÃO DE PROCESSO
========================================================= */

.sm-process-section--creative {
    position: relative;
    padding: 60px 0 150px;
    overflow: hidden;
    background:
        radial-gradient(920px 500px at 8% 18%, rgba(255, 193, 7, 0.08), transparent 60%),
        radial-gradient(780px 420px at 92% 22%, rgba(0, 183, 177, 0.08), transparent 60%),
        linear-gradient(180deg, #0a0d13 0%, #11151d 50%, #0b0e14 100%);
}

.sm-process-section--creative::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 88px
        );
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 95%);
}

.sm-process-section--creative .container-p {
    position: relative;
    z-index: 1;
}

/* =========================================
   HEAD
========================================= */
.sm-process-head {
    margin: 0 auto 56px;
}

.sm-process-head .sx-storyServices__title,
.sm-process-head .sx-storyServices__subtitle {
    color: #fff;
}

.sm-process-head__subtitle {
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.72) !important;
}

/* =========================================
   LAYOUT GERAL
========================================= */
.sm-process-creative {
    display: flex;
    justify-content: center;
}

/* =========================================
   GRID DOS PASSOS
========================================= */
.sm-process-creative__steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-height: 620px;
    justify-content: center;
}

.sm-process-creative__steps::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 40px;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 193, 7, 0.42),
        rgba(255, 255, 255, 0.14),
        rgba(0, 183, 177, 0.34)
    );
}

.sm-process-creative__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.sm-process-creative__spacer {
    width: 100%;
    min-height: 1px;
}

.sm-process-creative__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 420px;
}

.sm-process-creative__row:nth-child(even) .sm-process-creative__item {
    justify-self: end;
}

/* =========================================
   HOVER
========================================= */
.sm-process-creative__item:hover .sm-process-creative__number {
    transform: scale(1.05);
    border-color: rgba(255, 193, 7, 0.55);
    color: #ffc107;
}

.sm-process-creative__item:hover .sm-process-creative__card {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 193, 7, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

/* =========================================
   NÚMERO
========================================= */
.sm-process-creative__number {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #11151d;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow:
        0 0 0 8px rgba(10, 13, 19, 1),
        0 10px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.35s ease;
}

/* =========================================
   CARD
========================================= */
.sm-process-creative__card {
    position: relative;
    flex: 1;
    min-height: 160px;
    padding: 20px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    overflow: hidden;
}

.sm-process-creative__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.14),
        rgba(255, 255, 255, 0.02),
        rgba(0, 183, 177, 0.10)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.sm-process-creative__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    transition: all 0.35s ease;
}

.sm-process-creative__item:hover .sm-process-creative__icon {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.28);
    color: #ffc107;
    transform: translateY(-2px);
}

.sm-process-creative__card strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sm-process-creative__card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =========================================
   CARD DESTACADO
========================================= */
.sm-process-creative__card--highlight {
    background:
        radial-gradient(220px 120px at 80% 20%, rgba(255, 193, 7, 0.12), transparent),
        rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 193, 7, 0.20);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.sm-process-creative__card--highlight .sm-process-creative__icon {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.30);
    color: #ffc107;
}

.sm-process-creative__card--highlight strong {
    color: #ffc107;
}

/* =========================================
   BLOCO DIREITO
========================================= */
.sm-process-creative__content {
    position: relative;
    padding: 34px 30px;
    border-radius: 30px;
    background:
        radial-gradient(280px 160px at 85% 18%, rgba(255, 193, 7, 0.08), transparent),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
}

.sm-process-creative__content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.14),
        rgba(255, 255, 255, 0.02),
        rgba(0, 183, 177, 0.10)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.sm-process-creative__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sm-process-creative__content h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.sm-process-creative__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.85;
    font-size: 0.98rem;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 1200px) {
    .sm-process-creative {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sm-process-creative__steps {
        min-height: auto;
    }

    .sm-process-creative__content {
        max-width: 760px;
    }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
    .sm-process-section--creative {
        padding: 82px 0 92px;
    }

    .sm-process-head {
        margin-bottom: 34px;
    }

    .sm-process-creative {
        gap: 22px;
    }

    .sm-process-creative__steps {
        min-height: auto;
        gap: 18px;
    }

    .sm-process-creative__steps::before {
        display: none;
    }

    .sm-process-creative__row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sm-process-creative__spacer {
        display: none;
    }

    .sm-process-creative__item {
        max-width: 100%;
        gap: 14px;
    }

    .sm-process-creative__row:nth-child(even) .sm-process-creative__item {
        justify-self: stretch;
    }

    .sm-process-creative__number {
        width: 50px;
        height: 50px;
        box-shadow:
            0 0 0 6px rgba(10, 13, 19, 1),
            0 10px 25px rgba(0, 0, 0, 0.18);
    }

    .sm-process-creative__card {
        min-height: auto;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .sm-process-creative__content {
        padding: 24px 20px;
        border-radius: 24px;
    }
}

/* =========================
   CTA
========================= */
.sm-cta-section {
    padding: 5rem 0;
}

.sm-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 0 34px 0;
}



/* =========================
   MODAL
========================= */
.portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 14, 0.76);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    width: min(1180px, 100%);
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(17, 19, 24, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    max-height: 92vh;
}

.modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 0;
}

.modal-left {
    background:
        linear-gradient(180deg, #f4f7f8 0%, #eef2f3 100%);
    padding: 24px;
    min-height: 620px;
    max-height: 92vh;
    overflow-y: auto;
}

.modal-right {
    position: relative;
    padding: 34px 30px 30px;
    overflow-y: auto;
    max-height: 92vh;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: #0d1d22;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.close-btn:hover {
    background: #123139;
    transform: scale(1.04);
}

#modal-title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.08;
    color: #111318;
    padding-right: 56px;
}

#modal-authors {
    margin-bottom: 14px;
    color: #66707d;
}

#modal-authors p {
    margin: 0 0 6px;
}

#modal-description {
    margin: 0 0 22px;
    color: #4f5864;
    line-height: 1.85;
}

.modal-right p strong {
    color: #111318;
}

#modal-link {
    color: #005b61;
    font-weight: 600;
    text-decoration: none;
}

#modal-link:hover {
    text-decoration: underline;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    display: block;
    background: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(13, 29, 34, 0.88);
    color: #fff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   LIKE
========================= */
.like-button {
    margin-top: 24px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 19, 24, 0.08);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1100px) {
    .sm-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .sm-intro-grid,
    .sm-cta-box,
    .modal-body {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .sm-intro-section,
    .sm-portfolio-section,
    .sm-process-section,
    .sm-cta-section {
        padding-left: 0;
        padding-right: 0;
    }

    .sm-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-portfolio-grid,
    .sm-process-grid {
        grid-template-columns: 1fr;
    }

    .sm-intro-copy,
    .sm-mini-card,
    .sm-process-card,
    .sm-cta-box {
        border-radius: 22px;
    }

    .modal-left,
    .modal-right {
        min-height: auto;
        max-height: none;
    }

    #modal-title {
        font-size: 1.6rem;
    }
}
