:root {
    --softcode-burgundy: #7c0a18;
    --softcode-burgundy-dark: #570610;
    --softcode-red: #b80f24;
    --softcode-red-light: #e33a4e;

    --softcode-dark: #111827;
    --softcode-dark-soft: #1f2937;
    --softcode-text: #202531;
    --softcode-muted: #6b7280;

    --softcode-light: #f5f7fa;
    --softcode-white: #ffffff;
    --softcode-border: #e5e7eb;

    --container-width: 1220px;
    --header-height: 84px;

    --hero-image-filter:
        brightness(1.08)
        contrast(1.03);

    --hero-overlay-horizontal:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, 0.98) 0%,
            rgba(3, 7, 14, 0.90) 34%,
            rgba(3, 7, 14, 0.42) 62%,
            rgba(3, 7, 14, 0.04) 100%
        );

    --hero-overlay-vertical:
        linear-gradient(
            180deg,
            rgba(3, 7, 14, 0.02),
            rgba(3, 7, 14, 0.34)
        );
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--softcode-white);
    color: var(--softcode-text);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: var(--header-height);

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--softcode-border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.site-header.is-scrolled {
    box-shadow:
        0 12px 35px rgba(17, 24, 39, 0.1);
}

.site-header__container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    min-height: var(--header-height);
    margin: 0 auto;

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

/* =========================================================
   LOGĆ“TIPO
========================================================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-brand__logo {
    width: 210px;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

/* =========================================================
   NAVEGAĆ‡ĆO
========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
}

.main-navigation__link {
    position: relative;

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

    min-height: 44px;
    padding: 0 11px;

    color: var(--softcode-text);
    font-size: 0.91rem;
    font-weight: 600;

    border-radius: 10px;

    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.main-navigation__link::after {
    content: "";

    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;

    height: 2px;

    background: var(--softcode-red);
    border-radius: 999px;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 160ms ease;
}

.main-navigation__link:hover,
.main-navigation__link:focus-visible {
    color: var(--softcode-burgundy);
    background: #fff5f6;
}

.main-navigation__link:hover::after,
.main-navigation__link:focus-visible::after {
    transform: scaleX(1);
}

.main-navigation__link.is-active {
    color: var(--softcode-burgundy);
    background: #fff5f6;
}

.main-navigation__link.is-active::after {
    transform: scaleX(1);
}

/* =========================================================
   SELECTOR DE IDIOMA
========================================================= */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;

    margin-left: 8px;
    padding: 4px;

    border: 1px solid var(--softcode-border);
    border-radius: 999px;

    background: var(--softcode-light);
}

.language-switcher__link {
    min-width: 34px;
    min-height: 32px;
    padding: 0 8px;

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

    color: var(--softcode-muted);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;

    border-radius: 999px;

    transition:
        color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible {
    color: var(--softcode-burgundy);
    background: var(--softcode-white);
}

.language-switcher__link.is-active {
    color: var(--softcode-white);

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 5px 13px rgba(124, 10, 24, 0.2);
}

/* Link de salto para acessibilidade */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5000;

    padding: 10px 16px;

    color: var(--softcode-white);
    font-weight: 700;

    border-radius: 8px;
    background: var(--softcode-burgundy);

    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   BOTĆO DO HEADER
========================================================= */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    margin-left: 10px;
    padding: 0 20px;

    color: var(--softcode-white);
    font-size: 0.89rem;
    font-weight: 700;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 10px 24px rgba(124, 10, 24, 0.22);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(124, 10, 24, 0.3);
}

/* =========================================================
   BOTĆO DO MENU MOBILE
========================================================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 1px solid var(--softcode-border);
    border-radius: 12px;

    background: var(--softcode-white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;
    margin: 5px auto;

    background: var(--softcode-dark);
    border-radius: 999px;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

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

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

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

/* =========================================================
   CONTEĆDO PRINCIPAL
========================================================= */

.site-main {
    min-height: 70vh;
}

.site-main > section:not(.hero-slider) {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin: 0 auto;
    padding: 90px 0;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    color: var(--softcode-dark);
}

.site-main h1 {
    margin-top: 0;
    margin-bottom: 20px;

    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.site-main p {
    color: var(--softcode-muted);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 65px 0 24px;

    color: #d7dbe3;

    background:
        radial-gradient(
            circle at top right,
            rgba(184, 15, 36, 0.2),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            var(--softcode-dark-soft),
            var(--softcode-dark)
        );
}

.site-footer__container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin: 0 auto;
}

.site-footer__content {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.5fr)
        repeat(3, minmax(150px, 1fr));

    gap: 44px;
    padding-bottom: 42px;
}

.site-footer__identity {
    max-width: 420px;
}

.site-footer__brand {
    display: inline-flex;

    margin-bottom: 22px;
    padding: 10px 14px;

    background: var(--softcode-white);
    border-radius: 12px;
}

.site-footer__brand img {
    width: 200px;
}

.site-footer__statement {
    margin: 0 0 14px;

    color: #e5e7eb;
    font-size: 0.98rem;
    line-height: 1.7;
}

.site-footer__origin {
    margin: 0;

    color: #aeb5c1;
    font-size: 0.9rem;
}

.site-footer__navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__navigation h2 {
    margin: 0 0 10px;

    color: var(--softcode-white);
    font-size: 1rem;
}

.site-footer__navigation a,
.site-footer__navigation span {
    color: #c5cad3;
    font-size: 0.91rem;

    transition: color 160ms ease;
}

.site-footer__navigation a:hover,
.site-footer__navigation a:focus-visible {
    color: var(--softcode-white);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding-top: 24px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__copyright {
    margin: 0;

    color: #aeb5c1;
    font-size: 0.88rem;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__legal a {
    color: #aeb5c1;
    font-size: 0.86rem;

    transition: color 160ms ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: var(--softcode-white);
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(184, 15, 36, 0.3);
    outline-offset: 3px;
}

/* =========================================================
   TABLET E ECRĆS MĆ‰DIOS
========================================================= */

@media (max-width: 1100px) {
    .site-brand__logo {
        width: 180px;
    }

    .language-switcher {
        margin-left: 3px;
    }

    .language-switcher__link {
        min-width: 30px;
        padding-inline: 6px;
    }

    .main-navigation__link {
        padding-inline: 8px;
        font-size: 0.84rem;
    }

    .header-cta {
        padding-inline: 15px;
    }

    .site-footer__content {
        grid-template-columns:
            minmax(260px, 1.4fr)
            repeat(2, minmax(160px, 1fr));
    }
}

/* =========================================================
   MENU MOBILE
========================================================= */

@media (max-width: 900px) {
    :root {
        --header-height: 74px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;

        display: block;
        flex-shrink: 0;
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        z-index: 1001;

        width: min(86vw, 390px);
        padding: 28px 22px;

        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 4px;

        background: var(--softcode-white);
        border-left: 1px solid var(--softcode-border);

        box-shadow:
            -20px 20px 50px rgba(17, 24, 39, 0.16);

        overflow-y: auto;

        transform: translateX(105%);
        visibility: hidden;

        transition:
            transform 220ms ease,
            visibility 220ms ease;
    }

    .main-navigation.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .main-navigation__link {
        width: 100%;
        min-height: 52px;
        padding-inline: 16px;

        justify-content: flex-start;

        font-size: 1rem;
    }

    .main-navigation__link::after {
        right: 16px;
        left: 16px;
    }

    .language-switcher {
        width: 100%;
        margin: 16px 0 2px;
        padding: 6px;

        justify-content: center;

        border-radius: 12px;
    }

    .language-switcher__link {
        min-width: 52px;
        min-height: 40px;
    }

    .header-cta {
        width: 100%;
        min-height: 52px;

        margin: 18px 0 0;

        border-radius: 12px;
    }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .site-header__container,
    .site-main > section:not(.hero-slider),
    .site-footer__container {
        width: min(
            calc(100% - 28px),
            var(--container-width)
        );
    }

    .site-brand__logo {
        width: 155px;
        max-height: 54px;
    }

    .site-main > section:not(.hero-slider) {
        padding: 68px 0;
    }

    .site-main h1 {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .site-footer {
        padding-top: 50px;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__identity {
        max-width: none;
    }

    .site-footer__brand img {
        width: 175px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    color: var(--softcode-white);
    background:
        linear-gradient(
            135deg,
            var(--softcode-dark),
            #25060c
        );
}

.hero-slider__viewport {
    position: relative;
    min-height: 760px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;

    min-height: 760px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 700ms ease,
        visibility 700ms ease;
}

.hero-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slide__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 38%,
            rgba(184, 15, 36, 0.32),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #111827 0%,
            #18080d 52%,
            #370711 100%
        );
}

.hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    opacity: 0.72;
    transform: scale(1.04);

    transition:
        transform 7s ease,
        opacity 700ms ease;
}

.hero-slide.is-active .hero-slide__image {
    transform: scale(1);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9, 13, 22, 0.98) 0%,
            rgba(9, 13, 22, 0.91) 37%,
            rgba(9, 13, 22, 0.58) 65%,
            rgba(9, 13, 22, 0.32) 100%
        );
}

.hero-slide__pattern {
    position: absolute;
    inset: 0;

    opacity: 0.3;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            90deg,
            #000,
            transparent 80%
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000,
            transparent 80%
        );
}

.hero-slide__container {
    position: relative;
    z-index: 3;

    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    min-height: 760px;
    margin: 0 auto;
    padding: 90px 0 120px;

    display: flex;
    align-items: center;
}

.hero-slide__content {
    width: min(100%, 760px);
    padding-bottom: 38px;
}

.hero-slide__eyebrow {
    margin: 0 0 22px;

    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #ffd9de;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-slide__eyebrow-mark {
    width: 34px;
    height: 3px;
    flex-shrink: 0;

    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--softcode-red-light),
            #ff8795
        );
}

.site-main .hero-slide__title {
    max-width: 760px;
    margin: 0;

    color: var(--softcode-white);
    font-size: clamp(2.7rem, 4.55vw, 4.85rem);
    font-weight: 800;
    line-height: 1.01;
    letter-spacing: -0.048em;

    text-wrap: balance;
}

html[lang="fr"] .site-main .hero-slide__title {
    max-width: 780px;
    font-size: clamp(2.55rem, 4.25vw, 4.55rem);
}

html[lang="fr"] .hero-slide__description {
    max-width: 720px;
}

.site-main .hero-slide__description {
    max-width: 680px;
    margin: 24px 0 0;

    color: #d7dce5;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}

.hero-slide__actions {
    margin-top: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 0 24px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.93rem;
    font-weight: 750;
    line-height: 1.2;

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.hero-button svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 180ms ease;
}

.hero-button:hover svg,
.hero-button:focus-visible svg {
    transform: translateX(4px);
}

.hero-button--primary {
    color: var(--softcode-white);

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 14px 34px rgba(184, 15, 36, 0.31);
}

.hero-button--primary:hover,
.hero-button--primary:focus-visible {
    color: var(--softcode-white);
    transform: translateY(-2px);

    box-shadow:
        0 18px 42px rgba(184, 15, 36, 0.42);
}

.hero-button--secondary {
    color: var(--softcode-white);

    border-color:
        rgba(255, 255, 255, 0.32);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-button--secondary:hover,
.hero-button--secondary:focus-visible {
    color: var(--softcode-white);
    transform: translateY(-2px);

    border-color:
        rgba(255, 255, 255, 0.62);

    background:
        rgba(255, 255, 255, 0.14);
}

.hero-slide__trust {
    margin-top: 28px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;

    color: #aeb6c4;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-slide__trust span[aria-hidden="true"] {
    color: var(--softcode-red-light);
}

/* =========================================================
   CONTROLOS DO HERO
========================================================= */

.hero-slider__controls {
    position: absolute;
    right: max(
        20px,
        calc((100% - var(--container-width)) / 2)
    );
    bottom: 34px;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-slider__arrow,
.hero-slider__pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--softcode-white);

    border:
        1px solid rgba(255, 255, 255, 0.26);

    background:
        rgba(10, 14, 22, 0.38);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.hero-slider__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.hero-slider__arrow:hover,
.hero-slider__arrow:focus-visible,
.hero-slider__pause:hover,
.hero-slider__pause:focus-visible {
    transform: translateY(-2px);

    border-color:
        rgba(255, 255, 255, 0.65);

    background:
        rgba(184, 15, 36, 0.72);
}

.hero-slider__arrow svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-slider__indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider__indicator {
    position: relative;

    width: 40px;
    height: 4px;
    padding: 0;
    overflow: hidden;

    border: 0;
    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.3);

    cursor: pointer;
}

.hero-slider__indicator-progress {
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: var(--softcode-white);

    transform: scaleX(0);
    transform-origin: left center;
}

.hero-slider__indicator.is-active {
    background:
        rgba(255, 255, 255, 0.44);
}

.hero-slider__indicator.is-active
.hero-slider__indicator-progress {
    transform: scaleX(1);
}

.hero-slider.is-playing
.hero-slider__indicator.is-active
.hero-slider__indicator-progress {
    animation:
        heroIndicatorProgress 7s linear forwards;
}

.hero-slider__pause {
    position: absolute;
    left: max(
        20px,
        calc((100% - var(--container-width)) / 2)
    );
    bottom: 34px;
    z-index: 10;

    width: 44px;
    height: 44px;

    border-radius: 50%;
}

.hero-slider__pause svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-slider__play-icon {
    display: none;
    fill: currentColor;
    stroke: none;
}

.hero-slider__pause.is-paused
.hero-slider__pause-icon {
    display: none;
}

.hero-slider__pause.is-paused
.hero-slider__play-icon {
    display: block;
}

.hero-slider__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes heroIndicatorProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* =========================================================
   ANIMAÄ†ā€�Ä†ĀO DO CONTEĆDO DOS SLIDES
========================================================= */

.hero-slide__eyebrow,
.hero-slide__title,
.hero-slide__description,
.hero-slide__actions,
.hero-slide__trust {
    opacity: 0;
    transform: translateY(24px);
}

.hero-slide.is-active .hero-slide__eyebrow {
    animation:
        heroContentIn 620ms ease 100ms forwards;
}

.hero-slide.is-active .hero-slide__title {
    animation:
        heroContentIn 700ms ease 180ms forwards;
}

.hero-slide.is-active .hero-slide__description {
    animation:
        heroContentIn 700ms ease 260ms forwards;
}

.hero-slide.is-active .hero-slide__actions {
    animation:
        heroContentIn 700ms ease 340ms forwards;
}

.hero-slide.is-active .hero-slide__trust {
    animation:
        heroContentIn 700ms ease 420ms forwards;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HERO SEM SLIDES
========================================================= */

.home-empty-hero {
    width: 100%;
    padding: 110px 0;

    color: var(--softcode-white);

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(184, 15, 36, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--softcode-dark),
            #350912
        );
}

.home-empty-hero__container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin: 0 auto;
}

.home-empty-hero__eyebrow {
    margin: 0 0 18px;

    color: #ffb8c1;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.site-main .home-empty-hero h1 {
    max-width: 850px;
    margin: 0;

    color: var(--softcode-white);
}

.site-main .home-empty-hero p {
    max-width: 690px;
    color: #d5dae3;
}

/* =========================================================
   PILARES DA HOMEPAGE
========================================================= */

.home-pillars {
    padding-top: 105px;
    padding-bottom: 110px;
}

.home-pillars__heading {
    max-width: 820px;
    margin: 0 auto 58px;

    text-align: center;
}

.home-section-eyebrow {
    margin: 0 0 14px;

    color: var(--softcode-red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-main .home-pillars__heading h2 {
    margin: 0;

    color: var(--softcode-dark);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;

    text-wrap: balance;
}

.site-main .home-pillars__heading > p:last-child {
    max-width: 720px;
    margin: 22px auto 0;

    font-size: 1.04rem;
    line-height: 1.75;
}

.home-pillars__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.home-pillar-card {
    position: relative;
    min-height: 390px;
    padding: 32px;
    overflow: hidden;

    display: flex;
    align-items: flex-start;
    flex-direction: column;

    border: 1px solid var(--softcode-border);
    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            var(--softcode-white),
            #fafbfc
        );

    box-shadow:
        0 16px 42px rgba(17, 24, 39, 0.06);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.home-pillar-card::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 115px;
    height: 115px;

    border-radius: 0 0 0 100%;

    background:
        linear-gradient(
            135deg,
            rgba(124, 10, 24, 0.08),
            rgba(184, 15, 36, 0.14)
        );
}

.home-pillar-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(184, 15, 36, 0.25);

    box-shadow:
        0 24px 55px rgba(17, 24, 39, 0.12);
}

.home-pillar-card__icon {
    position: relative;
    z-index: 2;

    width: 60px;
    height: 60px;
    margin-bottom: 26px;

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

    color: var(--softcode-white);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 12px 28px rgba(124, 10, 24, 0.24);
}

.home-pillar-card__icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-pillar-card__number {
    position: absolute;
    top: 26px;
    right: 28px;
    z-index: 2;

    margin: 0;

    color:
        rgba(124, 10, 24, 0.4);

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.site-main .home-pillar-card h3 {
    margin: 0 0 14px;

    color: var(--softcode-dark);
    font-size: 1.34rem;
    line-height: 1.25;
}

.site-main .home-pillar-card > p:not(
    .home-pillar-card__number
) {
    margin: 0 0 28px;

    color: var(--softcode-muted);
    line-height: 1.72;
}

.home-pillar-card > a {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--softcode-burgundy);
    font-size: 0.92rem;
    font-weight: 750;
}

.home-pillar-card > a span {
    transition: transform 160ms ease;
}

.home-pillar-card > a:hover span,
.home-pillar-card > a:focus-visible span {
    transform: translateX(5px);
}


@media (max-width: 1100px) {
    .hero-slider,
    .hero-slider__viewport,
    .hero-slide,
    .hero-slide__container {
        min-height: 720px;
    }

    .hero-slide__container {
        padding-top: 74px;
        padding-bottom: 145px;
    }

    .site-main .hero-slide__title {
        max-width: 690px;
        font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    }

    html[lang="fr"] .site-main .hero-slide__title {
        font-size: clamp(2.35rem, 5.2vw, 4rem);
    }
}

/* =========================================================
   HERO ā€” TABLET
========================================================= */

@media (max-width: 900px) {
    .hero-slider,
    .hero-slider__viewport,
    .hero-slide,
    .hero-slide__container {
        min-height: 740px;
    }

    .hero-slide__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(9, 13, 22, 0.97) 0%,
                rgba(9, 13, 22, 0.88) 55%,
                rgba(9, 13, 22, 0.48) 100%
            );
    }

    .hero-slide__container {
        padding-top: 68px;
        padding-bottom: 145px;
        align-items: center;
    }

    .hero-slide__content {
        width: min(100%, 690px);
        padding-bottom: 42px;
    }

    .site-main .hero-slide__title,
    html[lang="fr"] .site-main .hero-slide__title {
        max-width: 680px;
        font-size: clamp(2.45rem, 7vw, 4rem);
    }

    .hero-slider__controls {
        right: 20px;
        bottom: 28px;
    }

    .hero-slider__pause {
        left: 20px;
        bottom: 28px;
    }

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

    .home-pillar-card:last-child {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   HERO ā€” MOBILE
========================================================= */

@media (max-width: 640px) {
    .hero-slider,
    .hero-slider__viewport,
    .hero-slide,
    .hero-slide__container {
        min-height: 780px;
    }

    .hero-slide__image {
        object-position: 64% center;
        opacity: 0.56;
    }

    .hero-slide__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(9, 13, 22, 0.92) 0%,
                rgba(9, 13, 22, 0.9) 52%,
                rgba(9, 13, 22, 0.98) 100%
            );
    }

    .hero-slide__pattern {
        background-size: 42px 42px;
    }

    .hero-slide__container {
        width: calc(100% - 28px);
        padding-top: 54px;
        padding-bottom: 130px;
        align-items: flex-start;
    }

    .hero-slide__content {
        width: 100%;
        padding-bottom: 54px;
    }

    .hero-slide__eyebrow {
        margin-bottom: 18px;
        font-size: 0.72rem;
    }

    .hero-slide__eyebrow-mark {
        width: 25px;
    }

    .site-main .hero-slide__title,
    html[lang="fr"] .site-main .hero-slide__title {
        max-width: none;
        font-size: clamp(2.1rem, 10vw, 3.15rem);
        line-height: 1.04;
        letter-spacing: -0.04em;
    }

    .site-main .hero-slide__description {
        max-width: none;
        margin-top: 19px;
        font-size: 0.94rem;
        line-height: 1.62;
    }

    .hero-slide__actions {
        margin-top: 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
        min-height: 52px;
        border-radius: 13px;
    }

    .hero-slide__trust {
        margin-top: 22px;
        margin-bottom: 16px;
        gap: 8px;
        font-size: 0.67rem;
        letter-spacing: 0.05em;
    }

    .hero-slider__controls {
        right: 14px;
        bottom: 20px;
        gap: 8px;
    }

    .hero-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .hero-slider__indicator {
        width: 25px;
    }

    .hero-slider__pause {
        left: 14px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }

    .home-pillars {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .home-pillars__heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .site-main .home-pillars__heading h2 {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }

    .site-main .home-pillars__heading > p:last-child {
        margin-left: 0;
    }

    .home-pillars__grid {
        grid-template-columns: 1fr;
    }

    .home-pillar-card,
    .home-pillar-card:last-child {
        grid-column: auto;
    }

    .home-pillar-card {
        min-height: 350px;
        padding: 27px;
        border-radius: 18px;
    }
}


/* =========================================================
   AJUSTES FINAIS DOS CONTROLOS DO HERO
========================================================= */

.hero-slide__trust {
    margin-bottom: 16px;
}

@media (min-width: 901px) {
    .hero-slider__pause {
        left: auto;
        right: max(
            268px,
            calc(
                (100% - var(--container-width)) / 2
                + 245px
            )
        );
        bottom: 34px;
    }
}

/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

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

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

/* Separação final dos controlos do Hero */

@media (min-width: 901px) {
    .hero-slider__pause {
        left: auto;

        right: max(
            330px,
            calc(
                (100% - var(--container-width)) / 2
                + 315px
            )
        );

        bottom: 34px;
    }
}

/* =========================================================
   BARRA SUPERIOR
========================================================= */

.site-topbar {
    position: relative;
    z-index: 1100;
    color: #dce2eb;
    background: #05080d;
}

.site-topbar__container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    min-height: 38px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.76rem;
}

.site-topbar__schedule,
.site-topbar__contacts,
.site-topbar__contacts a {
    display: flex;
    align-items: center;
}

.site-topbar__schedule,
.site-topbar__contacts a {
    gap: 7px;
}

.site-topbar__contacts {
    gap: 24px;
}

.site-topbar svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-topbar a {
    transition: color 160ms ease;
}

.site-topbar a:hover,
.site-topbar a:focus-visible {
    color: var(--softcode-white);
}

/* =========================================================
   PÁGINA DE PROJECTOS
========================================================= */

.projects-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-main > .projects-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.projects-eyebrow {
    margin: 0 0 12px;
    color: #ff3048;
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* HERO */

.projects-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    color: var(--softcode-white);
    background: #050911;
}

.projects-hero__media,
.projects-hero__overlay {
    position: absolute;
    inset: 0;
}

.projects-hero__media {
    z-index: 1;
}

.projects-hero__image {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
    object-position: center 48%;
}

.projects-hero__overlay {
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, 0.98) 0%,
            rgba(3, 7, 14, 0.93) 38%,
            rgba(3, 7, 14, 0.58) 66%,
            rgba(3, 7, 14, 0.28) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 14, 0.06),
            rgba(3, 7, 14, 0.42)
        );
}

.projects-hero__container {
    position: relative;
    z-index: 3;
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    min-height: 570px;
    margin: 0 auto;
    padding: 42px 0 36px;
    display: flex;
    align-items: center;
}

.projects-hero__content {
    width: min(100%, 650px);
    padding-bottom: 40px;
}

.projects-breadcrumb {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
    font-weight: 650;
}

.projects-breadcrumb a:hover,
.projects-breadcrumb a:focus-visible {
    color: var(--softcode-white);
}

.site-main .projects-hero__title {
    max-width: 700px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(2.6rem, 4.35vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
}

.projects-hero__title span,
.projects-hero__title strong {
    display: block;
}

.projects-hero__title strong {
    color: #ff233c;
    font-weight: inherit;
}

.site-main .projects-hero__description {
    max-width: 590px;
    margin: 20px 0 0;
    color: #d7dce5;
    font-size: 0.98rem;
    line-height: 1.68;
}

.projects-hero__features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.projects-hero__feature {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    color: #f3f5f8;
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.4;
}

.projects-hero__feature-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: #ff2e45;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.projects-hero__feature-icon svg,
.projects-commitment__mark svg,
.project-card__category-icon svg,
.projects-search__icon svg,
.projects-empty svg,
.projects-metric__icon svg,
.projects-process__icon svg,
.projects-testimonial__avatar svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.projects-commitment {
    position: absolute;
    right: 0;
    bottom: 30px;
    width: min(390px, 42%);
    padding: 19px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--softcode-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(5, 10, 18, 0.9);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.projects-commitment__mark {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    border-radius: 50%;
    background: var(--softcode-red);
}

.site-main .projects-commitment h2 {
    margin: 0 0 5px;
    color: var(--softcode-white);
    font-size: 0.95rem;
}

.site-main .projects-commitment p {
    margin: 0;
    color: #ccd3de;
    font-size: 0.77rem;
    line-height: 1.5;
}

/* CATÁLOGO */

.projects-catalogue {
    padding-top: 34px;
    padding-bottom: 72px;
}

.projects-catalogue__toolbar {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
    gap: 16px;
}

.projects-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.projects-filter {
    min-height: 47px;
    padding: 0 18px;
    color: var(--softcode-dark-soft);
    font-size: 0.76rem;
    font-weight: 800;
    border: 1px solid var(--softcode-border);
    border-radius: 7px;
    background: var(--softcode-white);
    cursor: pointer;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.projects-filter:hover,
.projects-filter:focus-visible {
    color: var(--softcode-burgundy);
    border-color: rgba(184, 15, 36, 0.32);
}

.projects-filter.is-active {
    color: var(--softcode-white);
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow: 0 10px 22px rgba(124, 10, 24, 0.2);
}

.projects-search {
    position: relative;
    width: 100%;
}

.projects-search__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    color: var(--softcode-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.projects-search input {
    width: 100%;
    height: 47px;
    padding: 0 16px 0 45px;
    color: var(--softcode-dark);
    border: 1px solid var(--softcode-border);
    border-radius: 7px;
    outline: 0;
    background: var(--softcode-white);
}

.projects-search input:focus {
    border-color: rgba(184, 15, 36, 0.52);
    box-shadow: 0 0 0 4px rgba(184, 15, 36, 0.08);
}

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

.project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--softcode-border);
    border-radius: 8px;
    background: var(--softcode-white);
    box-shadow: 0 9px 26px rgba(17, 24, 39, 0.07);
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 15, 36, 0.23);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.project-card[hidden] {
    display: none;
}

.project-card__media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: var(--softcode-light);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.04);
}

.project-card__category-icon {
    position: absolute;
    left: 20px;
    bottom: -22px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    border: 4px solid var(--softcode-white);
    border-radius: 50%;
    background: var(--softcode-red);
    box-shadow: 0 8px 20px rgba(124, 10, 24, 0.24);
}

.project-card__body {
    padding: 28px 20px 20px;
}

.project-card__category {
    margin: 0 0 10px;
    color: var(--softcode-red);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.site-main .project-card h3 {
    margin: 0 0 8px;
    color: var(--softcode-dark);
    font-size: 1.08rem;
    line-height: 1.28;
}

.site-main .project-card__body > p:not(.project-card__category) {
    min-height: 58px;
    margin: 0 0 14px;
    color: var(--softcode-muted);
    font-size: 0.84rem;
    line-height: 1.58;
}

.project-card__tags {
    min-height: 30px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card__tags span {
    padding: 5px 8px;
    color: var(--softcode-dark-soft);
    font-size: 0.63rem;
    font-weight: 700;
    border: 1px solid var(--softcode-border);
    border-radius: 999px;
    background: #fafafa;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--softcode-red);
    font-size: 0.82rem;
    font-weight: 850;
}

.project-card__link span {
    transition: transform 160ms ease;
}

.project-card__link:hover span,
.project-card__link:focus-visible span {
    transform: translateX(4px);
}

.projects-empty {
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed var(--softcode-border);
    border-radius: 10px;
    background: var(--softcode-light);
}

.projects-empty span {
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    color: var(--softcode-burgundy);
    border-radius: 50%;
    background: var(--softcode-white);
}

.projects-more-wrap {
    margin-top: 30px;
    text-align: center;
}

.projects-more {
    min-height: 48px;
    padding: 0 24px;
    color: var(--softcode-red);
    font-size: 0.82rem;
    font-weight: 850;
    border: 1px solid var(--softcode-red);
    border-radius: 7px;
    background: var(--softcode-white);
    cursor: pointer;
}

.projects-more:hover,
.projects-more:focus-visible {
    color: var(--softcode-white);
    background: var(--softcode-red);
}

.projects-more[hidden] {
    display: none;
}

/* INDICADORES */

.site-main > .projects-metrics {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    margin: 0 auto;
    padding: 0 0 56px;
}

.projects-metrics__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(
            circle at 90% 40%,
            rgba(219, 34, 55, 0.24),
            transparent 26%
        ),
        linear-gradient(
            105deg,
            #180308,
            #3a060f 46%,
            #740b1a
        );
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.16);
}

.projects-metric {
    position: relative;
    min-height: 122px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.projects-metric:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 0;
    bottom: 22px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.projects-metric__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: #ff344b;
}

.projects-metric__icon svg {
    width: 34px;
    height: 34px;
}

.projects-metric__value,
.projects-metric__label {
    display: block;
}

.projects-metric__value {
    color: var(--softcode-white);
    font-size: 1.7rem;
    line-height: 1;
}

.projects-metric__label {
    margin-top: 7px;
    color: #d9dee7;
    font-size: 0.7rem;
    line-height: 1.35;
}

/* PROCESSO */

.projects-process {
    padding-top: 38px;
    padding-bottom: 62px;
    border-top: 0;
}

.projects-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.site-main .projects-section-heading h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.projects-process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.projects-process__grid::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 7%;
    left: 7%;
    height: 1px;
    border-top: 1px dashed rgba(184, 15, 36, 0.3);
}

.projects-process__item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.projects-process__visual {
    position: relative;
    height: 85px;
    margin-bottom: 14px;
}

.projects-process__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 50%;
    background: #fff6f7;
}

.projects-process__icon svg {
    width: 30px;
    height: 30px;
}

.projects-process__number {
    position: absolute;
    left: calc(50% - 45px);
    bottom: 0;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    font-size: 0.58rem;
    font-weight: 850;
    border-radius: 50%;
    background: var(--softcode-red);
}

.site-main .projects-process__item h3 {
    margin: 0 0 8px;
    font-size: 0.88rem;
}

.site-main .projects-process__item p {
    max-width: 175px;
    margin: 0 auto;
    color: var(--softcode-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

/* TESTEMUNHOS */

.site-main > .projects-testimonials {
    width: 100%;
    max-width: none;
    padding: 52px 0 28px;
    background: var(--softcode-white);
}

.projects-testimonials > * {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    margin-left: auto;
    margin-right: auto;
}

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

.projects-testimonial {
    position: relative;
    min-height: 215px;
    margin: 0;
    padding: 28px 24px 22px;
    border: 1px solid var(--softcode-border);
    border-radius: 8px;
    background: var(--softcode-white);
}

.projects-testimonial__quote {
    position: absolute;
    top: 12px;
    left: 20px;
    color: var(--softcode-red);
    font-family: Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.site-main .projects-testimonial > p {
    margin: 26px 0 20px;
    color: var(--softcode-dark-soft);
    font-size: 0.82rem;
    line-height: 1.65;
}

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

.projects-testimonial__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 50%;
    background: #fff2f4;
}

.projects-testimonial footer strong,
.projects-testimonial footer small {
    display: block;
}

.projects-testimonial footer strong {
    color: var(--softcode-dark);
    font-size: 0.76rem;
}

.projects-testimonial footer small {
    margin-top: 3px;
    color: var(--softcode-muted);
    font-size: 0.66rem;
}

.projects-testimonials__dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.projects-testimonials__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6d9df;
}

.projects-testimonials__dots .is-active {
    background: var(--softcode-red);
}

/* CTA */

.site-main > .projects-cta {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    max-width: var(--container-width);
    margin: 0 auto 0;
    padding: 0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.projects-cta {
    color: var(--softcode-white);
    background:
        radial-gradient(
            circle at 92% 50%,
            rgba(255, 67, 90, 0.2),
            transparent 28%
        ),
        linear-gradient(
            105deg,
            #170308 0%,
            #3d060f 48%,
            #740b1b 100%
        );
}

.projects-cta__content {
    width: 100%;
    padding: 34px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    text-align: left;
}

.projects-cta__eyebrow {
    margin: 0 0 6px;
    color: #ff9cab;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-main .projects-cta h2 {
    max-width: 610px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.12;
}

.projects-cta__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-cta__button {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.76rem;
    font-weight: 850;
    border: 1px solid transparent;
    border-radius: 7px;
}

.projects-cta__button--primary {
    color: var(--softcode-white);
    background: var(--softcode-red);
}

.projects-cta__button--secondary {
    color: var(--softcode-white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.05);
}

.projects-cta__button:hover,
.projects-cta__button:focus-visible {
    transform: translateY(-2px);
}

/* RESPONSIVIDADE */

@media (max-width: 1100px) {
    .projects-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-hero__feature {
        align-items: center;
        flex-direction: row;
    }

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

    .projects-search {
        max-width: 360px;
    }

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

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

    .projects-metric:nth-child(3)::after,
    .projects-metric:last-child::after {
        display: none;
    }

    .projects-metric:nth-child(n + 4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .projects-process__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 34px;
    }

    .projects-process__grid::before {
        display: none;
    }

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

    .projects-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .site-topbar {
        display: none;
    }
}

@media (max-width: 760px) {
    .projects-hero,
    .projects-hero__container,
    .projects-hero__image {
        min-height: 700px;
    }

    .projects-hero__container {
        padding-top: 44px;
        padding-bottom: 175px;
        align-items: flex-start;
    }

    .projects-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.94) 0%,
                rgba(3, 7, 14, 0.82) 55%,
                rgba(3, 7, 14, 0.94) 100%
            );
    }

    .projects-hero__image {
        object-position: 60% center;
    }

    .projects-commitment {
        right: 0;
        bottom: 24px;
        left: 0;
        width: auto;
    }

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

@media (max-width: 640px) {
    .projects-hero__features {
        grid-template-columns: 1fr;
    }

    .projects-filters {
        flex-wrap: nowrap;
        padding-bottom: 8px;
        overflow-x: auto;
    }

    .projects-filter {
        flex: 0 0 auto;
    }

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

    .site-main > .projects-metrics,
    .site-main > .projects-cta {
        width: min(
            calc(100% - 28px),
            var(--container-width)
        );
    }

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

    .projects-metric {
        min-height: 102px;
        justify-content: flex-start;
    }

    .projects-metric::after {
        display: none;
    }

    .projects-metric:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .projects-process__item {
        max-width: 330px;
        margin: 0 auto;
    }

    .projects-cta__content {
        padding: 30px 24px;
    }

    .projects-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .projects-cta__button {
        width: 100%;
    }
}


/* =========================================================
   PROJECTOS — REFINAMENTO V2
   Corrige largura total, proporções e espaçamentos.
========================================================= */

:root {
    --projects-container: 1420px;
}

/* Força o hero a escapar da limitação genérica das sections */
.site-main > section.projects-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}

.projects-hero {
    min-height: 590px;
}

.projects-hero__media,
.projects-hero__overlay {
    width: 100%;
}

.projects-hero__image {
    min-height: 590px;
    object-position: center 52%;
}

.projects-hero__container {
    width: min(
        calc(100% - 56px),
        var(--projects-container)
    );
    min-height: 590px;
    padding-top: 44px;
    padding-bottom: 42px;
}

.projects-hero__content {
    width: min(100%, 720px);
    padding-bottom: 28px;
}

.site-main .projects-hero__title {
    font-size: clamp(2.8rem, 4.5vw, 4.9rem);
}

.projects-commitment {
    right: 0;
    bottom: 36px;
    width: min(420px, 38%);
}

/* Catálogo maior e mais próximo do mockup */
.site-main > section.projects-catalogue,
.site-main > section.projects-process {
    width: min(
        calc(100% - 56px),
        var(--projects-container)
    );
}

.projects-catalogue {
    padding-top: 34px;
    padding-bottom: 34px;
}

.projects-catalogue__toolbar {
    margin-bottom: 24px;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.projects-grid {
    gap: 22px;
}

.project-card__media {
    height: 250px;
}

.site-main .project-card__body > p:not(.project-card__category) {
    min-height: 54px;
}

/* Indicadores sempre visíveis e imediatamente após catálogo */
.site-main > section.projects-metrics {
    width: min(
        calc(100% - 56px),
        var(--projects-container)
    ) !important;
    margin: 34px auto 58px !important;
    padding: 0 !important;
}

.projects-metrics__grid {
    min-height: 132px;
}

.projects-metric {
    min-height: 132px;
}

.projects-metric__value {
    font-size: 1.95rem;
}

.projects-metric__label {
    font-size: 0.74rem;
}

/* Reduz o vazio excessivo antes do processo */
.projects-process {
    padding-top: 42px;
    padding-bottom: 52px;
}

.projects-section-heading {
    margin-bottom: 36px;
}

.projects-process__icon {
    width: 76px;
    height: 76px;
}

.projects-process__visual {
    height: 91px;
}

/* Testemunhos mais compactos */
.site-main > section.projects-testimonials {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 48px 0 28px !important;
}

.projects-testimonials > * {
    width: min(
        calc(100% - 56px),
        var(--projects-container)
    );
}

.projects-testimonial {
    min-height: 198px;
}

/* CTA como faixa horizontal, alinhada ao mockup */
.site-main > section.projects-cta {
    width: min(
        calc(100% - 56px),
        var(--projects-container)
    ) !important;
    max-width: var(--projects-container) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 8px !important;
}

.projects-cta__content {
    min-height: 168px;
    padding: 30px 42px;
}

.site-main .projects-cta h2 {
    max-width: 570px;
    font-size: clamp(1.55rem, 2.25vw, 2.25rem);
}

@media (max-width: 1100px) {
    .projects-hero__container,
    .site-main > section.projects-catalogue,
    .site-main > section.projects-process,
    .projects-testimonials > *,
    .site-main > section.projects-metrics,
    .site-main > section.projects-cta {
        width: min(
            calc(100% - 40px),
            var(--projects-container)
        ) !important;
    }

    .projects-commitment {
        width: min(390px, 44%);
    }

    .project-card__media {
        height: 235px;
    }
}

@media (max-width: 760px) {
    .projects-hero,
    .projects-hero__container,
    .projects-hero__image {
        min-height: 720px;
    }

    .projects-hero__container {
        width: calc(100% - 32px);
    }

    .projects-commitment {
        right: 0;
        left: 0;
        width: auto;
    }

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

    .projects-search {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .site-main > section.projects-catalogue,
    .site-main > section.projects-process,
    .projects-testimonials > *,
    .site-main > section.projects-metrics,
    .site-main > section.projects-cta {
        width: calc(100% - 28px) !important;
    }

    .projects-cta__content {
        min-height: 0;
        padding: 28px 22px;
    }
}


/* =========================================================
   PROJECTOS — REFINAMENTO PREMIUM V3
   Botões, cartões, filtros e micro-interacções alinhados
   ao visual do header da SOFTCODE.
========================================================= */

/* Paleta e consistência visual */
.projects-catalogue,
.projects-process,
.projects-testimonials {
    position: relative;
}

.projects-catalogue::before,
.projects-process::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 14% 12%,
            rgba(184, 15, 36, 0.035),
            transparent 24%
        );
}

/* Filtros com o mesmo espírito dos botões do header */
.projects-filter {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 800;
    border: 1px solid rgba(124, 10, 24, 0.12);
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfbfc
        );
    box-shadow:
        0 8px 20px rgba(17, 24, 39, 0.045);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.projects-filter:hover,
.projects-filter:focus-visible {
    color: var(--softcode-burgundy);
    border-color: rgba(184, 15, 36, 0.28);
    background: #fff5f6;
    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.09);
    transform: translateY(-2px);
}

.projects-filter.is-active {
    color: var(--softcode-white);
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 28px rgba(124, 10, 24, 0.24);
}

/* Pesquisa mais premium */
.projects-search input {
    height: 48px;
    padding-left: 47px;
    border-radius: 999px;
    border: 1px solid rgba(124, 10, 24, 0.12);
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fcfcfd
        );
    box-shadow:
        0 8px 20px rgba(17, 24, 39, 0.045);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.projects-search input:hover {
    border-color: rgba(184, 15, 36, 0.22);
}

.projects-search input:focus {
    border-color: rgba(184, 15, 36, 0.48);
    background: var(--softcode-white);
    box-shadow:
        0 0 0 4px rgba(184, 15, 36, 0.08),
        0 12px 28px rgba(17, 24, 39, 0.06);
}

/* Cartões premium */
.project-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fdfdfd
        );
    box-shadow:
        0 14px 34px rgba(17, 24, 39, 0.075);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.project-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--softcode-red),
            transparent
        );
    opacity: 0;
    transform: scaleX(0.55);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 15, 36, 0.22);
    box-shadow:
        0 26px 60px rgba(17, 24, 39, 0.14);
}

.project-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.project-card__media {
    height: 248px;
    border-radius: 17px 17px 0 0;
}

.project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 52%,
            rgba(7, 12, 20, 0.14) 100%
        );
    pointer-events: none;
}

.project-card__category-icon {
    left: 18px;
    bottom: -23px;
    width: 48px;
    height: 48px;
    border-width: 4px;
    box-shadow:
        0 10px 22px rgba(124, 10, 24, 0.26);
}

.project-card__body {
    padding: 31px 22px 22px;
}

.project-card__category {
    margin-bottom: 9px;
    font-size: 0.66rem;
    letter-spacing: 0.045em;
}

.site-main .project-card h3 {
    margin-bottom: 9px;
    font-size: 1.12rem;
    line-height: 1.28;
}

.site-main .project-card__body > p:not(.project-card__category) {
    min-height: 58px;
    font-size: 0.85rem;
    line-height: 1.62;
}

.project-card__tags span {
    padding: 6px 9px;
    color: var(--softcode-dark-soft);
    border-color: rgba(124, 10, 24, 0.1);
    background: #fff7f8;
}

/* Link “Ver detalhes” como botão subtil */
.project-card__link {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(184, 15, 36, 0.18);
    border-radius: 999px;
    background: #fff7f8;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.project-card__link:hover,
.project-card__link:focus-visible {
    color: var(--softcode-white);
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 10px 22px rgba(124, 10, 24, 0.2);
    transform: translateY(-1px);
}

/* Botão “Ver mais” igual ao CTA do header */
.projects-more {
    min-height: 48px;
    padding: 0 24px;
    color: var(--softcode-white);
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 28px rgba(124, 10, 24, 0.22);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.projects-more:hover,
.projects-more:focus-visible {
    color: var(--softcode-white);
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 16px 34px rgba(124, 10, 24, 0.3);
    transform: translateY(-2px);
    filter: brightness(1.03);
}

/* Indicadores mais sofisticados */
.projects-metrics__grid {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 92% 40%,
            rgba(231, 54, 75, 0.28),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #160308 0%,
            #3f0710 46%,
            #7d0b1c 100%
        );
    box-shadow:
        0 22px 54px rgba(17, 24, 39, 0.18);
}

.projects-metric {
    min-height: 136px;
    padding: 24px 20px;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.projects-metric:hover {
    background: rgba(255, 255, 255, 0.035);
}

.projects-metric__icon {
    width: 50px;
    height: 50px;
    color: #ff4056;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
}

.projects-metric__value {
    font-size: 2rem;
}

.projects-metric__label {
    font-size: 0.74rem;
}

/* Processo com sensação mais premium */
.projects-process__icon {
    border: 1px solid rgba(184, 15, 36, 0.1);
    background:
        linear-gradient(
            180deg,
            #fff7f8,
            #fff1f3
        );
    box-shadow:
        0 12px 28px rgba(124, 10, 24, 0.08);
}

.projects-process__number {
    box-shadow:
        0 6px 16px rgba(124, 10, 24, 0.18);
}

/* Testemunhos */
.projects-testimonial {
    border-radius: 16px;
    border-color: rgba(124, 10, 24, 0.09);
    box-shadow:
        0 12px 30px rgba(17, 24, 39, 0.065);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

.projects-testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 15, 36, 0.18);
    box-shadow:
        0 20px 44px rgba(17, 24, 39, 0.11);
}

.projects-testimonial__avatar {
    border: 1px solid rgba(184, 15, 36, 0.1);
}

/* CTA mais premium e alinhado ao header */
.site-main > section.projects-cta {
    border-radius: 16px !important;
    box-shadow:
        0 18px 48px rgba(17, 24, 39, 0.16);
}

.projects-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 42%,
            rgba(255, 78, 100, 0.22),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #150307 0%,
            #42070f 48%,
            #850c1e 100%
        );
}

.projects-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );
    background-size: 44px 44px;
    pointer-events: none;
}

.projects-cta__content {
    position: relative;
    z-index: 1;
}

.projects-cta__button {
    min-height: 48px;
    padding-inline: 20px;
    border-radius: 999px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.projects-cta__button--primary {
    color: var(--softcode-burgundy);
    background: var(--softcode-white);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.projects-cta__button--primary:hover,
.projects-cta__button--primary:focus-visible {
    color: var(--softcode-burgundy);
    background: var(--softcode-white);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.2);
}

.projects-cta__button--secondary {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.projects-cta__button--secondary:hover,
.projects-cta__button--secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.12);
}

/* Ajuste do footer para casar com o restante */
.site-footer {
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(184, 15, 36, 0.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #111827,
            #0b1220
        );
}

.site-footer__brand {
    border-radius: 14px;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.14);
}

/* Tablet */
@media (max-width: 1100px) {
    .projects-filter {
        min-height: 44px;
    }

    .project-card__media {
        height: 235px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .projects-filter,
    .projects-search input,
    .projects-more,
    .project-card__link,
    .projects-cta__button {
        border-radius: 14px;
    }

    .project-card {
        border-radius: 16px;
    }

    .project-card__media {
        border-radius: 15px 15px 0 0;
    }
}


/* =========================================================
   PROJECTOS — ALINHAMENTO E ACABAMENTO PREMIUM V4
   Unifica header, conteúdo e footer; corrige recortes nos cards.
========================================================= */

:root {
    --container-width: 1320px;
    --projects-container: 1320px;
}

/* Todos os blocos principais passam a usar a mesma largura */
.site-header__container,
.site-topbar__container,
.site-footer__container,
.projects-hero__container,
.site-main > section.projects-catalogue,
.site-main > section.projects-process,
.site-main > section.projects-metrics,
.projects-testimonials > *,
.site-main > section.projects-cta {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    ) !important;
}

/* Evita que o hero pareça mais largo que header/footer */
.site-main > section.projects-hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Barra de filtros mais compacta para permanecer numa linha */
.projects-catalogue__toolbar {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
}

.projects-filters {
    gap: 7px;
}

.projects-filter {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.74rem;
    white-space: nowrap;
}

/* Cards sem elementos cortados */
.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card__media {
    flex: 0 0 auto;
    overflow: hidden;
}

.project-card__category-icon {
    left: 16px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-width: 3px;
}

.project-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 22px;
}

.project-card__category {
    margin-top: 0;
}

.site-main .project-card__body > p:not(.project-card__category) {
    min-height: 0;
}

.project-card__tags {
    min-height: 0;
    margin-top: 4px;
}

.project-card__link {
    align-self: flex-start;
    margin-top: auto;
}

/* Mantém todas as cards com altura visual consistente */
.projects-grid {
    align-items: stretch;
}

.project-card {
    min-height: 100%;
}

/* Indicadores alinhados exactamente ao catálogo */
.site-main > section.projects-metrics {
    margin-top: 30px !important;
}

/* Processo e testemunhos com melhor ritmo vertical */
.projects-process {
    padding-top: 52px;
    padding-bottom: 60px;
}

.site-main > section.projects-testimonials {
    padding-top: 56px !important;
    padding-bottom: 36px !important;
}

/* CTA alinhado ao mesmo eixo do header/footer */
.site-main > section.projects-cta {
    border-radius: 16px !important;
    margin-bottom: 0 !important;
}

/* Footer ligeiramente mais amplo e melhor distribuído */
.site-footer__content {
    grid-template-columns:
        minmax(280px, 1.45fr)
        repeat(3, minmax(170px, 1fr));
    gap: 46px;
}

/* Desktop médio */
@media (max-width: 1180px) {
    .projects-catalogue__toolbar {
        grid-template-columns: 1fr;
    }

    .projects-search {
        max-width: 360px;
    }

    .projects-filters {
        flex-wrap: wrap;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .site-header__container,
    .site-footer__container,
    .projects-hero__container,
    .site-main > section.projects-catalogue,
    .site-main > section.projects-process,
    .site-main > section.projects-metrics,
    .projects-testimonials > *,
    .site-main > section.projects-cta {
        width: min(
            calc(100% - 36px),
            var(--container-width)
        ) !important;
    }

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

/* Mobile */
@media (max-width: 640px) {
    .site-header__container,
    .site-footer__container,
    .projects-hero__container,
    .site-main > section.projects-catalogue,
    .site-main > section.projects-process,
    .site-main > section.projects-metrics,
    .projects-testimonials > *,
    .site-main > section.projects-cta {
        width: calc(100% - 28px) !important;
    }

    .projects-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .project-card__category-icon {
        width: 42px;
        height: 42px;
        bottom: 12px;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PROJECTOS — POLIMENTO PREMIUM V5
   Uniformiza cards, refina hero, testemunhos, processo e CTA.
========================================================= */

/* HERO */
.projects-hero__content {
    width: min(100%, 620px);
}

.projects-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, 0.99) 0%,
            rgba(3, 7, 14, 0.96) 36%,
            rgba(3, 7, 14, 0.66) 62%,
            rgba(3, 7, 14, 0.3) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 14, 0.08),
            rgba(3, 7, 14, 0.46)
        );
}

.site-main .projects-hero__title {
    max-width: 600px;
}

.site-main .projects-hero__description {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.72;
}

.projects-hero__features {
    margin-top: 34px;
}

.projects-hero__feature {
    font-size: 0.71rem;
}

.projects-commitment {
    background: rgba(5, 10, 18, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* CATÁLOGO */
.projects-catalogue__toolbar {
    margin-bottom: 34px;
}

.projects-grid {
    grid-auto-rows: 1fr;
}

.project-card {
    height: 100%;
}

.project-card__body {
    min-height: 280px;
}

.site-main .project-card h3 {
    min-height: 2.56em;
}

.site-main .project-card__body > p:not(.project-card__category) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 4.86em;
}

.project-card__tags {
    min-height: 34px;
}

.project-card__link {
    color: #8f0d1d;
    background: #fff9fa;
}

/* FILTROS */
.projects-catalogue__toolbar {
    padding: 12px;
    border: 1px solid rgba(124, 10, 24, 0.07);
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(250, 250, 251, 0.96)
        );
    box-shadow:
        0 12px 32px rgba(17, 24, 39, 0.055);
}

.projects-filter {
    box-shadow: none;
}

/* INDICADORES */
.projects-metric__icon {
    width: 54px;
    height: 54px;
}

.projects-metric__icon svg {
    width: 32px;
    height: 32px;
}

.projects-metric__value {
    color: #ffffff;
}

.projects-metric__label {
    color: #e7ebf1;
}

.projects-metric:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.11);
}

/* PROCESSO */
.projects-process__item {
    transition: transform 180ms ease;
}

.projects-process__icon {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.projects-process__item:hover {
    transform: translateY(-2px);
}

.projects-process__item:hover .projects-process__icon {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow:
        0 16px 34px rgba(124, 10, 24, 0.13);
}

.site-main .projects-process__item h3 {
    font-size: 0.94rem;
}

.site-main .projects-process__item p {
    color: #667085;
    font-size: 0.74rem;
}

/* TESTEMUNHOS */
.projects-testimonial {
    min-height: 230px;
    padding: 30px 26px 24px;
}

.projects-testimonial__quote {
    font-size: 2.35rem;
}

.site-main .projects-testimonial > p {
    min-height: 88px;
    margin-top: 30px;
    font-size: 0.84rem;
}

.projects-testimonial footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 10, 24, 0.08);
}

.projects-testimonial footer strong {
    font-size: 0.8rem;
}

.projects-testimonial footer small {
    color: #98a2b3;
    font-size: 0.64rem;
}

/* CTA */
.projects-cta {
    min-height: 184px;
}

.projects-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    top: 50%;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, 0.025),
        0 0 0 70px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.projects-cta__content {
    min-height: 184px;
}

.site-main .projects-cta h2 {
    font-size: clamp(1.8rem, 2.65vw, 2.6rem);
}

.projects-cta__button--primary::before {
    content: "✦";
    font-size: 0.8rem;
}

.projects-cta__button--secondary::before {
    content: "▦";
    font-size: 0.75rem;
}

/* FOOTER */
.site-footer__navigation a,
.site-footer__navigation span {
    line-height: 1.55;
}

.site-footer__origin {
    color: #d6a34a;
}

.site-footer__navigation a[href^="tel:"],
.site-footer__navigation a[href^="mailto:"] {
    position: relative;
    padding-left: 20px;
}

.site-footer__navigation a[href^="tel:"]::before {
    content: "☎";
    position: absolute;
    left: 0;
    color: #e33a4e;
}

.site-footer__navigation a[href^="mailto:"]::before {
    content: "✉";
    position: absolute;
    left: 0;
    color: #e33a4e;
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
    .project-card__body {
        min-height: 270px;
    }
}

@media (max-width: 640px) {
    .projects-catalogue__toolbar {
        padding: 10px;
        border-radius: 16px;
    }

    .project-card__body {
        min-height: auto;
    }

    .site-main .project-card h3,
    .site-main .project-card__body > p:not(.project-card__category) {
        min-height: 0;
    }

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


/* =========================================================
   PROJECTOS — AJUSTES FINAIS PREMIUM V6
   Aproxima secções, melhora contraste e cria espaço antes do footer.
========================================================= */

/* Aproxima indicadores do catálogo */
.site-main > section.projects-metrics {
    margin-top: 18px !important;
}

/* Processo mais compacto e contínuo */
.projects-process {
    padding-top: 46px;
    padding-bottom: 42px;
}

/* Testemunhos mais próximos do processo */
.site-main > section.projects-testimonials {
    padding-top: 40px !important;
    padding-bottom: 34px !important;
}

/* Melhora contraste do card de compromisso */
.site-main .projects-commitment p {
    color: #e0e5ec;
}

/* CTA com mais presença */
.projects-cta,
.projects-cta__content {
    min-height: 200px;
}

/*
 * Espaço entre o CTA final e o footer.
 * Mantém a separação visual presente no mockup.
 */
.site-main > section.projects-cta {
    margin-bottom: 54px !important;
}

/* Ajusta a largura interna e o alinhamento vertical do CTA */
.projects-cta__content {
    padding-top: 34px;
    padding-bottom: 34px;
}

/* Texto dos testemunhos provisórios com leitura mais natural */
.site-main .projects-testimonial > p {
    color: #3f4755;
}

.projects-testimonial footer small {
    opacity: 0.72;
}

/* Mobile */
@media (max-width: 640px) {
    .projects-process {
        padding-top: 40px;
        padding-bottom: 36px;
    }

    .site-main > section.projects-testimonials {
        padding-top: 34px !important;
        padding-bottom: 30px !important;
    }

    .projects-cta,
    .projects-cta__content {
        min-height: 0;
    }

    .site-main > section.projects-cta {
        margin-bottom: 30px !important;
    }
}


/* =========================================================
   PROJECTOS — PEQUENOS AJUSTES VISUAIS FINAIS V7
========================================================= */

/* Cards: texto ligeiramente maior e etiquetas mais legíveis */
.site-main .project-card__body > p:not(.project-card__category) {
    color: #596273;
    font-size: 0.88rem;
    line-height: 1.66;
}

.project-card__tags span {
    color: #69101b;
    font-size: 0.66rem;
    border-color: rgba(124, 10, 24, 0.16);
    background: #fff3f5;
}

/* Processo: maior contraste e menor distância para testemunhos */
.projects-process {
    padding-bottom: 34px;
}

.site-main .projects-process__item h3 {
    color: #172033;
    font-size: 0.96rem;
}

.site-main .projects-process__item p {
    color: #535e70;
    font-size: 0.76rem;
    line-height: 1.58;
}

.site-main > section.projects-testimonials {
    padding-top: 30px !important;
}

/* CTA: ícone de conversa mais apropriado */
.projects-cta__button--primary::before {
    content: "✉";
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    color: var(--softcode-white);
    font-size: 0.68rem;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
}

.projects-cta__button--secondary::before {
    content: "▦";
}

/* Contactos do footer com maior presença */
.site-footer__navigation a[href^="tel:"],
.site-footer__navigation a[href^="mailto:"] {
    color: #eef1f6;
    font-weight: 650;
}

.site-footer__navigation a[href^="tel:"]:hover,
.site-footer__navigation a[href^="tel:"]:focus-visible,
.site-footer__navigation a[href^="mailto:"]:hover,
.site-footer__navigation a[href^="mailto:"]:focus-visible {
    color: #ffffff;
}

/* Mantém espaço seguro entre CTA e footer */
.site-main > section.projects-cta {
    margin-bottom: 56px !important;
}

@media (max-width: 640px) {
    .site-main .project-card__body > p:not(.project-card__category) {
        font-size: 0.86rem;
    }

    .projects-process {
        padding-bottom: 30px;
    }

    .site-main > section.projects-testimonials {
        padding-top: 26px !important;
    }

    .site-main > section.projects-cta {
        margin-bottom: 30px !important;
    }
}

/* =========================================================
   PÁGINA SOLUÇÕES
========================================================= */

.site-main > section.solutions-hero,
.site-main > section.solutions-reasons {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.solutions-eyebrow {
    margin: 0 0 12px;
    color: #b27a13;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.solutions-hero {
    background: linear-gradient(90deg, #fff 0%, #fff 43%, #f7f7f8 43%);
}

.solutions-hero__container {
    width: min(calc(100% - 48px), var(--container-width));
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: stretch;
}

.solutions-hero__content {
    padding: 54px 54px 54px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.solutions-breadcrumb {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--softcode-muted);
    font-size: .78rem;
}

.site-main .solutions-hero h1 {
    max-width: 580px;
    margin: 0;
    font-size: clamp(2.75rem, 4.5vw, 4.75rem);
    line-height: 1.02;
}

.site-main .solutions-hero h1 strong {
    color: var(--softcode-burgundy);
    font-weight: inherit;
}

.site-main .solutions-hero__description {
    max-width: 560px;
    margin: 22px 0 0;
    font-size: 1rem;
    line-height: 1.72;
}

.solutions-hero__points {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.solutions-hero__points li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--softcode-dark-soft);
    font-size: .86rem;
    font-weight: 700;
}

.solutions-hero__points span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--softcode-burgundy);
}

.solutions-hero__points svg,
.solutions-consulting-card svg,
.solutions-group-card svg,
.solutions-reason svg,
.solutions-consulting svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.solutions-hero__visual {
    position: relative;
    min-height: 610px;
    overflow: hidden;
}

.solutions-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.35) 18%, transparent 42%);
}

.solutions-hero__visual > img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
}

.solutions-consulting-card {
    position: absolute;
    right: 26px;
    bottom: 32px;
    z-index: 2;
    width: min(430px, calc(100% - 52px));
    padding: 23px;
    display: flex;
    gap: 16px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(88,5,17,.94), rgba(152,13,34,.94));
    box-shadow: 0 22px 48px rgba(17,24,39,.22);
}

.solutions-consulting-card > span {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
}

.site-main .solutions-consulting-card h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 1rem;
}

.site-main .solutions-consulting-card p {
    margin: 0 0 12px;
    color: #f0dfe2;
    font-size: .8rem;
}

.solutions-consulting-card a {
    color: #fff;
    font-size: .8rem;
    font-weight: 850;
}

.solutions-groups {
    padding-top: 70px;
    padding-bottom: 86px;
}

.solutions-section-heading {
    margin-bottom: 34px;
    text-align: center;
}

.site-main .solutions-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.solutions-groups__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.solutions-group-card {
    min-height: 590px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17,24,39,.07);
}

.solutions-group-card header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.solutions-group-card__icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 12px 26px rgba(124,10,24,.2);
}

.solutions-group-card:nth-child(3) .solutions-group-card__icon {
    background: linear-gradient(135deg, #a36b09, #d4a02f);
}

.site-main .solutions-group-card h3 {
    margin: 0;
    color: var(--softcode-burgundy);
    font-size: 1.25rem;
}

.solutions-group-card:nth-child(3) h3 {
    color: #a36b09;
}

.site-main .solutions-group-card > p {
    margin: 24px 0 18px;
    font-size: .9rem;
}

.solutions-group-card ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.solutions-group-card li {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    color: #4a5364;
    font-size: .84rem;
    border-bottom: 1px solid var(--softcode-border);
}

.solutions-group-card > a {
    margin-top: auto;
    color: var(--softcode-red);
    font-size: .84rem;
    font-weight: 850;
}

.solutions-reasons {
    color: #fff;
    background: linear-gradient(110deg, #120208, #1b1117 56%, #28170f);
}

.solutions-reasons__container {
    width: min(calc(100% - 48px), var(--container-width));
    margin: 0 auto;
    padding: 62px 0 70px;
}

.solutions-reasons .solutions-section-heading h2 {
    color: #fff;
}

.solutions-reasons__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
}

.solutions-reason {
    position: relative;
    padding: 0 22px;
    text-align: center;
}

.solutions-reason:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 12px;
    width: 1px;
    background: rgba(218,169,64,.32);
}

.solutions-reason > span {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    color: #e3b44b;
}

.solutions-reason > span svg {
    width: 38px;
    height: 38px;
}

.site-main .solutions-reason h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: .94rem;
}

.site-main .solutions-reason p {
    margin: 0;
    color: #d6d3d5;
    font-size: .75rem;
    line-height: 1.58;
}

.solutions-consulting {
    margin-top: 62px !important;
    margin-bottom: 62px !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: .9fr 1.05fr .9fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17,24,39,.09);
}

.solutions-consulting__media {
    min-height: 330px;
}

.solutions-consulting__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solutions-consulting__content,
.solutions-consulting__actions {
    padding: 38px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.site-main .solutions-consulting__content h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    line-height: 1.1;
}

.site-main .solutions-consulting__content > p:last-child {
    margin: 18px 0 0;
}

.solutions-consulting__actions ul {
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.solutions-consulting__actions li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #414a5a;
    font-size: .84rem;
}

.solutions-consulting__actions li span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 10px;
    background: #fff3f5;
}

.solutions-consulting__actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solutions-action {
    min-height: 48px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: .78rem;
    font-weight: 850;
    border: 1px solid var(--softcode-red);
    border-radius: 9px;
}

.solutions-action--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
}

.solutions-action--secondary {
    color: var(--softcode-burgundy);
    background: #fff;
}

@media (max-width: 1100px) {
    .solutions-groups__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .solutions-group-card:last-child {
        grid-column: 1 / -1;
    }

    .solutions-reasons__grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
        row-gap: 34px;
    }

    .solutions-reason:nth-child(3)::after,
    .solutions-reason:last-child::after {
        display: none;
    }

    .solutions-consulting {
        grid-template-columns: 1fr 1fr;
    }

    .solutions-consulting__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .solutions-hero__container {
        grid-template-columns: 1fr;
    }

    .solutions-hero__content {
        padding-right: 0;
    }

    .solutions-hero__visual {
        min-height: 480px;
    }

    .solutions-hero__visual > img {
        min-height: 480px;
    }

    .solutions-groups__grid,
    .solutions-consulting {
        grid-template-columns: 1fr;
    }

    .solutions-group-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .solutions-hero__container,
    .solutions-reasons__container {
        width: calc(100% - 28px);
    }

    .solutions-hero__content {
        padding-top: 46px;
        padding-bottom: 44px;
    }

    .solutions-hero__visual {
        min-height: 440px;
    }

    .solutions-consulting-card {
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
    }

    .solutions-groups__grid,
    .solutions-reasons__grid {
        grid-template-columns: 1fr;
    }

    .solutions-reason {
        padding: 22px 0;
    }

    .solutions-reason::after {
        display: none;
    }

    .solutions-consulting {
        margin-top: 34px !important;
        margin-bottom: 34px !important;
    }

    .solutions-consulting__content,
    .solutions-consulting__actions {
        padding: 26px;
    }

    .solutions-consulting__actions > div {
        align-items: stretch;
        flex-direction: column;
    }

    .solutions-action {
        width: 100%;
    }
}


/* =========================================================
   SOLUÇÕES — EXPERIÊNCIA PREMIUM E COMERCIAL V2
   Mantém o padrão de botões aplicado na página de Projectos.
========================================================= */

.site-main > section.solutions-hero,
.site-main > section.solutions-reasons {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.solutions-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #ffffff;
    background: #050911;
}

.solutions-hero__media,
.solutions-hero__overlay {
    position: absolute;
    inset: 0;
}

.solutions-hero__media {
    z-index: 1;
}

.solutions-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center 48%;
}

.solutions-hero__overlay {
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, 0.99) 0%,
            rgba(3, 7, 14, 0.95) 38%,
            rgba(3, 7, 14, 0.62) 66%,
            rgba(3, 7, 14, 0.26) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 14, 0.08),
            rgba(3, 7, 14, 0.52)
        );
}

.solutions-hero__container {
    position: relative;
    z-index: 3;
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );
    min-height: 650px;
    margin: 0 auto;
    padding: 54px 0 64px;
    display: flex;
    align-items: center;
}

.solutions-hero__content {
    width: min(100%, 690px);
    padding: 0;
}

.solutions-breadcrumb {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.67);
}

.solutions-breadcrumb a:hover,
.solutions-breadcrumb a:focus-visible {
    color: #ffffff;
}

.solutions-hero .solutions-eyebrow {
    color: #ff5267;
}

.site-main .solutions-hero h1 {
    max-width: 680px;
    color: #ffffff;
    font-size: clamp(2.9rem, 4.8vw, 5.25rem);
    line-height: 1.01;
    letter-spacing: -0.052em;
}

.site-main .solutions-hero h1 span,
.site-main .solutions-hero h1 strong {
    display: block;
}

.site-main .solutions-hero h1 strong {
    color: #ff263f;
}

.site-main .solutions-hero__description {
    max-width: 620px;
    color: #d9dee7;
    font-size: 1.02rem;
}

.solutions-hero__actions,
.solutions-consulting__buttons {
    margin-top: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.solutions-button,
.solutions-card-button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 850;
    border: 1px solid transparent;
    border-radius: 999px;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.solutions-button svg,
.solutions-card-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.solutions-button:hover,
.solutions-button:focus-visible,
.solutions-card-button:hover,
.solutions-card-button:focus-visible {
    transform: translateY(-2px);
}

.solutions-button:hover svg:last-child,
.solutions-button:focus-visible svg:last-child,
.solutions-card-button:hover svg,
.solutions-card-button:focus-visible svg {
    transform: translateX(3px);
}

.solutions-button--primary {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 14px 32px rgba(184, 15, 36, 0.3);
}

.solutions-button--primary:hover,
.solutions-button--primary:focus-visible {
    color: #ffffff;
    box-shadow:
        0 18px 40px rgba(184, 15, 36, 0.4);
}

.solutions-button--secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.solutions-button--secondary:hover,
.solutions-button--secondary:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
}

.solutions-button--outline {
    color: var(--softcode-burgundy);
    border-color: rgba(184, 15, 36, 0.28);
    background: #ffffff;
}

.solutions-button--outline:hover,
.solutions-button--outline:focus-visible {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.2);
}

.solutions-hero__points {
    margin-top: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.solutions-hero__points li {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    color: #f2f4f7;
    font-size: 0.73rem;
    line-height: 1.45;
}

.solutions-hero__points span {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.solutions-consulting-card {
    right: 0;
    bottom: 34px;
    width: min(420px, 39%);
    border-radius: 16px;
    background: rgba(6, 11, 20, 0.88);
    backdrop-filter: blur(16px);
}

.solutions-consulting-card > span {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
}

.solutions-consulting-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.solutions-consulting-card a svg {
    transition: transform 180ms ease;
}

.solutions-consulting-card a:hover svg {
    transform: translateX(4px);
}

.site-main > section.solutions-groups {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );
    padding-top: 84px;
    padding-bottom: 92px;
}

.solutions-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
}

.solutions-section-heading__description {
    max-width: 670px;
    margin: 16px auto 0;
    font-size: 0.96rem;
    line-height: 1.7;
}

.solutions-groups__grid {
    gap: 24px;
    align-items: stretch;
}

.solutions-group-card {
    position: relative;
    min-height: 620px;
    padding: 30px;
    overflow: hidden;
    border-color: rgba(124, 10, 24, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fdfdfd
        );
    box-shadow:
        0 16px 42px rgba(17, 24, 39, 0.075);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.solutions-group-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    opacity: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--softcode-red),
            transparent
        );
    transform: scaleX(0.55);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.solutions-group-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 15, 36, 0.22);
    box-shadow:
        0 28px 62px rgba(17, 24, 39, 0.14);
}

.solutions-group-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.solutions-group-card header {
    min-height: 68px;
}

.solutions-group-card__icon {
    border-radius: 17px;
}

.solutions-group-card li {
    align-items: center;
    gap: 11px;
}

.solutions-group-card li span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 50%;
    background: #fff2f4;
}

.solutions-group-card li span svg {
    width: 13px;
    height: 13px;
}

.solutions-card-button {
    align-self: flex-start;
    margin-top: auto;
    color: #8f0d1d;
    border-color: rgba(184, 15, 36, 0.18);
    background: #fff7f8;
}

.solutions-card-button:hover,
.solutions-card-button:focus-visible {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.2);
}

.solutions-reasons {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 35%,
            rgba(184, 15, 36, 0.2),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #0b101a,
            #17070c 52%,
            #2a0c12
        );
}

.solutions-reasons::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );
    background-size: 46px 46px;
    pointer-events: none;
}

.solutions-reasons__container {
    position: relative;
    z-index: 1;
    padding-top: 74px;
    padding-bottom: 80px;
}

.solutions-reasons .solutions-eyebrow {
    color: #e1ad42;
}

.solutions-reasons__grid {
    gap: 0;
}

.solutions-reason {
    min-height: 220px;
    padding: 18px 24px;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.solutions-reason:hover {
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-3px);
}

.solutions-reason > span {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.site-main > section.solutions-consulting {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );
    margin-top: 72px !important;
    margin-bottom: 64px !important;
    grid-template-columns: 0.9fr 1.35fr;
    border-radius: 22px;
    box-shadow:
        0 22px 54px rgba(17, 24, 39, 0.12);
}

.solutions-consulting__media {
    min-height: 430px;
}

.solutions-consulting__content {
    padding: 48px;
}

.site-main .solutions-consulting__content h2 {
    max-width: 650px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.site-main .solutions-consulting__content > p:last-of-type {
    max-width: 650px;
    font-size: 0.94rem;
    line-height: 1.7;
}

.solutions-consulting__content ul {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.solutions-consulting__content li {
    min-height: 78px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #414a5a;
    font-size: 0.79rem;
    font-weight: 700;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: 14px;
    background: #fff8f9;
}

.solutions-consulting__content li span {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
}

@media (max-width: 1100px) {
    .solutions-hero__points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solutions-consulting-card {
        width: min(390px, 44%);
    }

    .solutions-consulting__content ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .solutions-hero,
    .solutions-hero__container,
    .solutions-hero__media img {
        min-height: 720px;
    }

    .solutions-hero__container {
        width: calc(100% - 36px);
        padding-bottom: 190px;
        align-items: flex-start;
    }

    .solutions-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.95) 0%,
                rgba(3, 7, 14, 0.84) 58%,
                rgba(3, 7, 14, 0.95) 100%
            );
    }

    .solutions-consulting-card {
        right: 0;
        bottom: 28px;
        left: 0;
        width: auto;
    }

    .site-main > section.solutions-consulting {
        grid-template-columns: 1fr;
    }

    .solutions-consulting__media {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .solutions-hero,
    .solutions-hero__container,
    .solutions-hero__media img {
        min-height: 820px;
    }

    .solutions-hero__container {
        width: calc(100% - 28px);
        padding-top: 42px;
        padding-bottom: 220px;
    }

    .site-main .solutions-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
    }

    .solutions-hero__actions,
    .solutions-consulting__buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .solutions-button {
        width: 100%;
        border-radius: 14px;
    }

    .solutions-hero__points {
        grid-template-columns: 1fr;
    }

    .solutions-hero__points li {
        align-items: center;
        flex-direction: row;
    }

    .site-main > section.solutions-groups,
    .site-main > section.solutions-consulting {
        width: calc(100% - 28px);
    }

    .solutions-group-card {
        min-height: auto;
        padding: 25px;
        border-radius: 17px;
    }

    .solutions-card-button {
        width: 100%;
        border-radius: 14px;
    }

    .solutions-consulting__content {
        padding: 28px 24px;
    }

    .solutions-consulting__content ul {
        grid-template-columns: 1fr;
    }

    .site-main > section.solutions-consulting {
        margin-top: 42px !important;
        margin-bottom: 36px !important;
    }
}


/* =========================================================
   PÁGINAS INDIVIDUAIS DAS SOLUÇÕES
========================================================= */

.site-main > section.solution-detail-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.solution-detail-eyebrow {
    margin: 0 0 12px;
    color: var(--softcode-red);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.solution-detail-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background: #050911;
}

.solution-detail-hero__media,
.solution-detail-hero__overlay {
    position: absolute;
    inset: 0;
}

.solution-detail-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center;
}

.solution-detail-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3,7,14,.99) 0%,
            rgba(3,7,14,.94) 41%,
            rgba(3,7,14,.55) 70%,
            rgba(3,7,14,.22) 100%
        ),
        linear-gradient(180deg, transparent, rgba(3,7,14,.5));
}

.solution-detail-hero__container,
.solution-detail-story,
.solution-detail-value,
.solution-detail-process,
.solution-detail-industries,
.solution-detail-faq,
.solution-detail-related,
.solution-detail-cta {
    width: min(calc(100% - 48px), var(--container-width));
    margin-left: auto;
    margin-right: auto;
}

.solution-detail-hero__container {
    position: relative;
    z-index: 2;
    min-height: 650px;
    padding: 56px 0 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.solution-detail-breadcrumb {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,.67);
    font-size: .77rem;
}

.solution-detail-hero .solution-detail-eyebrow {
    color: #ff5267;
}

.site-main .solution-detail-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 1.01;
    letter-spacing: -.05em;
}

.site-main .solution-detail-hero__description {
    max-width: 690px;
    margin: 22px 0 0;
    color: #d8dee8;
    font-size: 1.04rem;
    line-height: 1.72;
}

.solution-detail-hero__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.solution-detail-button {
    min-height: 49px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: .8rem;
    font-weight: 850;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-detail-button:hover,
.solution-detail-button:focus-visible {
    transform: translateY(-2px);
}

.solution-detail-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 14px 32px rgba(184,15,36,.3);
}

.solution-detail-button--secondary {
    color: #fff;
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.solution-detail-story {
    padding: 88px 0 72px;
}

.solution-detail-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.site-main .solution-detail-heading h2,
.site-main .solution-detail-industries h2,
.site-main .solution-detail-related h2,
.site-main .solution-detail-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.solution-detail-story__grid,
.solution-detail-value {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}

.solution-detail-story__grid article,
.solution-detail-value__panel {
    min-height: 300px;
    padding: 34px;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17,24,39,.07);
}

.solution-detail-story__grid article.is-accent,
.solution-detail-value__panel.is-dark {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #160308, #710a1a);
}

.solution-detail-story__grid article > span {
    display: inline-block;
    margin-bottom: 50px;
    color: var(--softcode-red);
    font-size: .76rem;
    font-weight: 850;
}

.site-main .solution-detail-story h3 {
    margin: 0 0 13px;
    font-size: 1.45rem;
}

.site-main .solution-detail-story .is-accent h3,
.site-main .solution-detail-value__panel.is-dark h2 {
    color: #fff;
}

.site-main .solution-detail-story p {
    margin: 0;
    line-height: 1.72;
}

.site-main .solution-detail-story .is-accent p {
    color: #e4e8ee;
}

.solution-detail-value {
    padding-bottom: 86px;
}

.site-main .solution-detail-value h2 {
    margin: 0;
    font-size: 1.72rem;
}

.solution-detail-checklist,
.solution-detail-components {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.solution-detail-checklist {
    display: grid;
    gap: 13px;
}

.solution-detail-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #485264;
}

.solution-detail-checklist li span {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--softcode-red);
}

.solution-detail-components li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #dce2ea;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.solution-detail-components li span {
    color: #ff5267;
    font-size: .72rem;
    font-weight: 850;
}

.solution-detail-process {
    padding: 84px 0;
    border-top: 1px solid var(--softcode-border);
}

.solution-detail-process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 18px;
}

.solution-detail-process__grid::before {
    content: "";
    position: absolute;
    top: 31px;
    right: 8%;
    left: 8%;
    border-top: 1px dashed rgba(184,15,36,.3);
}

.solution-detail-process__grid article {
    position: relative;
    z-index: 1;
    text-align: center;
}

.solution-detail-process__grid article > span {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
    border: 8px solid #fff4f6;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 10px 24px rgba(124,10,24,.18);
}

.site-main .solution-detail-process h3 {
    margin: 0 0 8px;
    font-size: .92rem;
}

.site-main .solution-detail-process p {
    margin: 0 auto;
    max-width: 185px;
    color: #626d7d;
    font-size: .75rem;
    line-height: 1.58;
}

.solution-detail-industries {
    padding: 56px 40px;
    display: grid;
    grid-template-columns: .85fr 1.5fr;
    align-items: center;
    gap: 36px;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 40%, rgba(255,70,92,.2), transparent 28%),
        linear-gradient(110deg, #120208, #3d0710 55%, #7f0c1d);
    box-shadow: 0 18px 48px rgba(17,24,39,.16);
}

.solution-detail-industries .solution-detail-eyebrow {
    color: #ff91a0;
}

.site-main .solution-detail-industries h2 {
    color: #fff;
}

.solution-detail-industries__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solution-detail-industries__list span {
    padding: 10px 14px;
    color: #fff;
    font-size: .77rem;
    font-weight: 750;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
}

.solution-detail-faq {
    padding: 86px 0;
}

.solution-detail-faq__list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.solution-detail-faq details {
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17,24,39,.055);
}

.solution-detail-faq summary {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--softcode-dark);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.solution-detail-faq summary::-webkit-details-marker {
    display: none;
}

.solution-detail-faq summary span {
    color: var(--softcode-red);
    font-size: 1.35rem;
}

.site-main .solution-detail-faq details p {
    margin: 0;
    padding: 0 22px 22px;
    line-height: 1.7;
}

.solution-detail-related {
    padding: 84px 0;
    border-top: 1px solid var(--softcode-border);
}

.solution-detail-related__heading {
    margin-bottom: 32px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.solution-detail-related__heading > a {
    color: var(--softcode-red);
    font-weight: 850;
}

.solution-detail-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.solution-detail-related__grid article {
    overflow: hidden;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17,24,39,.07);
}

.solution-detail-related__media {
    height: 220px;
    display: block;
    overflow: hidden;
}

.solution-detail-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.solution-detail-related__grid article:hover img {
    transform: scale(1.04);
}

.solution-detail-related__grid article > div {
    padding: 22px;
}

.solution-detail-related__grid article p {
    margin: 0 0 8px;
    color: var(--softcode-red);
    font-size: .65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.solution-detail-related__grid article h3 {
    min-height: 2.5em;
    margin: 0 0 18px;
    font-size: 1.08rem;
}

.solution-detail-related__grid article > div > a {
    color: var(--softcode-red);
    font-size: .8rem;
    font-weight: 850;
}

.site-main > section.solution-detail-cta {
    margin-bottom: 56px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(110deg, #150307, #4a0711 52%, #900d21);
    box-shadow: 0 18px 48px rgba(17,24,39,.16);
}

.solution-detail-cta .solution-detail-eyebrow {
    color: #ff9aaa;
}

.site-main .solution-detail-cta h2 {
    max-width: 760px;
    color: #fff;
}

.site-main .solution-detail-cta p:last-child {
    margin: 10px 0 0;
    color: #eadde1;
}

.solution-detail-button--light {
    flex: 0 0 auto;
    color: var(--softcode-burgundy);
    background: #fff;
}

@media (max-width: 1000px) {
    .solution-detail-process__grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
        row-gap: 32px;
    }

    .solution-detail-process__grid::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .solution-detail-story__grid,
    .solution-detail-value,
    .solution-detail-related__grid {
        grid-template-columns: 1fr;
    }

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

    .solution-detail-industries {
        grid-template-columns: 1fr;
    }

    .site-main > section.solution-detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .solution-detail-hero,
    .solution-detail-hero__container,
    .solution-detail-hero__media img {
        min-height: 720px;
    }

    .solution-detail-hero__container,
    .solution-detail-story,
    .solution-detail-value,
    .solution-detail-process,
    .solution-detail-industries,
    .solution-detail-faq,
    .solution-detail-related,
    .solution-detail-cta {
        width: calc(100% - 28px);
    }

    .solution-detail-hero__container {
        padding-top: 44px;
    }

    .solution-detail-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .solution-detail-button {
        width: 100%;
        border-radius: 14px;
    }

    .solution-detail-story__grid article,
    .solution-detail-value__panel {
        padding: 26px;
        border-radius: 16px;
    }

    .solution-detail-process__grid,
    .solution-detail-related__grid {
        grid-template-columns: 1fr;
    }

    .solution-detail-industries {
        padding: 30px 24px;
    }

    .solution-detail-related__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-main > section.solution-detail-cta {
        width: calc(100% - 28px);
        padding: 28px 24px;
        margin-bottom: 30px;
    }
}


/* =========================================================
   SOLUÇÕES INDIVIDUAIS — POLIMENTO PREMIUM V2
========================================================= */

/* Secção "Indicado para" com conteúdo mais para dentro */
.solution-detail-industries {
    padding: 56px 54px;
    grid-template-columns: minmax(240px, .82fr) minmax(0, 1.5fr);
}

.solution-detail-industries > div:first-child {
    padding-left: 8px;
}

.solution-detail-industries__list {
    justify-content: flex-start;
    align-content: center;
    padding-right: 8px;
}

.solution-detail-industries__list span {
    padding: 11px 16px;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.site-main .solution-detail-industries h2 {
    max-width: 280px;
}

/* Melhor equilíbrio entre processo e a secção seguinte */
.solution-detail-process {
    padding-bottom: 72px;
}

.solution-detail-industries {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Processo mais legível */
.solution-detail-process__grid article {
    padding-inline: 10px;
}

.site-main .solution-detail-process p {
    color: #566173;
    font-size: .77rem;
    line-height: 1.62;
}

/* Cards principais mais equilibrados */
.solution-detail-story__grid article,
.solution-detail-value__panel {
    min-height: 320px;
}

.site-main .solution-detail-story p,
.site-main .solution-detail-value li {
    font-size: .9rem;
}

/* FAQ com acabamento premium */
.solution-detail-faq__list {
    max-width: 960px;
}

.solution-detail-faq details {
    overflow: hidden;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.solution-detail-faq details:hover {
    border-color: rgba(184,15,36,.18);
    box-shadow: 0 14px 34px rgba(17,24,39,.08);
}

.solution-detail-faq details[open] {
    border-color: rgba(184,15,36,.22);
    box-shadow: 0 16px 38px rgba(17,24,39,.09);
}

.solution-detail-faq summary {
    min-height: 62px;
}

.solution-detail-faq summary span {
    transition: transform 180ms ease;
}

.solution-detail-faq details[open] summary span {
    transform: rotate(45deg);
}

/* Soluções relacionadas com cards uniformes */
.solution-detail-related__grid {
    align-items: stretch;
}

.solution-detail-related__grid article {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.solution-detail-related__grid article > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-detail-related__grid article h3 {
    min-height: 0;
}

.solution-detail-related__grid article > div > a {
    margin-top: auto;
}

/* CTA final */
.site-main > section.solution-detail-cta {
    min-height: 170px;
    padding: 40px 46px;
}

.solution-detail-cta > div {
    max-width: 760px;
}

.solution-detail-button--light {
    min-width: 190px;
}

@media (max-width: 1100px) {
    .solution-detail-hero__container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 900px) {
    .solution-detail-industries {
        padding: 42px 34px;
    }

    .site-main .solution-detail-industries h2 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .solution-detail-industries {
        padding: 28px 22px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .solution-detail-industries > div:first-child {
        padding-left: 0;
    }

    .solution-detail-industries__list {
        padding-right: 0;
    }

    .solution-detail-industries__list span {
        width: 100%;
        text-align: center;
    }

    .site-main > section.solution-detail-cta {
        min-height: 0;
        padding: 28px 24px;
    }

    .solution-detail-button--light {
        min-width: 0;
    }
}


/* =========================================================
   SOLUÇÕES INDIVIDUAIS — SECÇÃO "INDICADO PARA" V3
   Reorganiza completamente a card para eliminar o aspecto
   encostado e dar maior equilíbrio visual.
========================================================= */

.solution-detail-industries {
    padding: 48px 56px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.solution-detail-industries > div:first-child {
    width: 100%;
    max-width: 680px;
    padding: 0;
}

.solution-detail-industries .solution-detail-eyebrow {
    margin-bottom: 10px;
    text-align: center;
}

.site-main .solution-detail-industries h2 {
    max-width: none;
    margin-inline: auto;
    text-align: center;
}

.solution-detail-industries__list {
    width: 100%;
    max-width: 900px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.solution-detail-industries__list span {
    min-width: 112px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Melhor proporção da card */
.solution-detail-industries {
    min-height: 220px;
}

/* Tablet */
@media (max-width: 900px) {
    .solution-detail-industries {
        padding: 42px 34px;
    }

    .solution-detail-industries__list {
        max-width: 720px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .solution-detail-industries {
        min-height: 0;
        padding: 32px 22px;
        gap: 22px;
    }

    .solution-detail-industries__list {
        align-items: stretch;
        flex-direction: column;
    }

    .solution-detail-industries__list span {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   SOLUÇÕES — BOTÕES E INTERACÇÕES PREMIUM V4
   Uniformiza acções das páginas individuais e destaca,
   na landing page, as soluções que possuem página própria.
========================================================= */

/* ---------------------------------------------------------
   1. Botão "Voltar às soluções"
--------------------------------------------------------- */

.solution-detail-related__heading > a {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #8f0d1d;
    font-size: .78rem;
    font-weight: 850;
    border: 1px solid rgba(184, 15, 36, .2);
    border-radius: 999px;
    background: #fff7f8;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .045);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.solution-detail-related__heading > a:hover,
.solution-detail-related__heading > a:focus-visible {
    color: #fff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow: 0 14px 28px rgba(124, 10, 24, .22);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   2. Botão "Ver solução" nos cards relacionados
--------------------------------------------------------- */

.solution-detail-related__grid article > div > a {
    min-height: 42px;
    padding: 0 17px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8f0d1d;
    font-size: .77rem;
    font-weight: 850;
    border: 1px solid rgba(184, 15, 36, .18);
    border-radius: 999px;
    background: #fff7f8;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.solution-detail-related__grid article > div > a:hover,
.solution-detail-related__grid article > div > a:focus-visible {
    color: #fff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow: 0 12px 26px rgba(124, 10, 24, .2);
    transform: translateY(-2px);
}

/* Elevação discreta do card relacionado */
.solution-detail-related__grid article {
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.solution-detail-related__grid article:hover {
    border-color: rgba(184, 15, 36, .2);
    box-shadow: 0 24px 48px rgba(17, 24, 39, .12);
    transform: translateY(-6px);
}

/* ---------------------------------------------------------
   3. Landing page: soluções com página própria
--------------------------------------------------------- */

.solutions-group-card li a {
    position: relative;
    width: 100%;
    padding-right: 26px;
    display: block;
    color: #4a5364;
    font-weight: 700;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.solutions-group-card li a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 3px;
    color: var(--softcode-red);
    font-size: .82rem;
    opacity: 0;
    transform: translate(-7px, -50%);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.solutions-group-card li:has(> a) {
    margin-inline: -8px;
    padding-inline: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.solutions-group-card li:has(> a):hover {
    color: var(--softcode-burgundy);
    background: #fff2f4;
    transform: translateX(3px);
}

.solutions-group-card li:has(> a):hover a,
.solutions-group-card li:has(> a):focus-within a {
    color: var(--softcode-burgundy);
}

.solutions-group-card li:has(> a):hover a::after,
.solutions-group-card li:has(> a):focus-within a::after {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Destaca também o ícone das linhas clicáveis */
.solutions-group-card li:has(> a):hover > span,
.solutions-group-card li:has(> a):focus-within > span {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
}

/* Fallback para navegadores sem suporte a :has() */
.solutions-group-card li a:hover,
.solutions-group-card li a:focus-visible {
    color: var(--softcode-burgundy);
}

.solutions-group-card li a:hover::after,
.solutions-group-card li a:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

/* ---------------------------------------------------------
   4. Responsividade
--------------------------------------------------------- */

@media (max-width: 640px) {
    .solution-detail-related__heading > a,
    .solution-detail-related__grid article > div > a {
        width: 100%;
        border-radius: 14px;
    }

    .solutions-group-card li:has(> a) {
        margin-inline: -6px;
        padding-inline: 6px;
    }
}

/* =========================================================
   HOMEPAGE — EXPANSÃO PREMIUM E COMERCIAL V2
========================================================= */

.home-section-heading {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.site-main .home-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.site-main .home-section-heading > p:last-child {
    max-width: 700px;
    margin: 16px auto 0;
    line-height: 1.72;
}

.home-button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: .8rem;
    font-weight: 850;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
}

.home-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 14px 30px rgba(124,10,24,.24);
}

.home-button--outline {
    color: var(--softcode-burgundy);
    border-color: rgba(184,15,36,.22);
    background: #fff7f8;
}

.home-button--light {
    color: var(--softcode-burgundy);
    background: #fff;
}

/* Desafios */
.site-main > section.home-challenges {
    width: min(calc(100% - 48px), var(--container-width));
    padding-top: 84px;
    padding-bottom: 72px;
}

.home-challenges__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: 12px;
}

.home-challenge-card {
    position: relative;
    min-height: 170px;
    padding: 22px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,24,39,.055);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-challenge-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184,15,36,.25);
    box-shadow: 0 22px 44px rgba(17,24,39,.11);
}

.home-challenge-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 16px;
    background: #fff2f4;
    transition: color 180ms ease, background 180ms ease;
}

.home-challenge-card:hover .home-challenge-card__icon {
    color: #fff;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
}

.home-challenge-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-challenge-card strong {
    color: var(--softcode-dark);
    font-size: .78rem;
    line-height: 1.42;
}

.home-challenge-card__arrow {
    color: var(--softcode-red);
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-challenge-card:hover .home-challenge-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Métricas */
.site-main > section.home-metrics {
    width: min(calc(100% - 48px), var(--container-width));
    padding: 0 0 78px;
}

.home-metrics__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 40%, rgba(255,68,91,.24), transparent 28%),
        linear-gradient(110deg, #150307, #430710 50%, #850c1e);
    box-shadow: 0 20px 50px rgba(17,24,39,.16);
}

.home-metrics article {
    position: relative;
    min-height: 125px;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.home-metrics article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    bottom: 24px;
    width: 1px;
    background: rgba(255,255,255,.14);
}

.home-metrics strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.home-metrics span {
    margin-top: 9px;
    color: #e5e9ef;
    font-size: .72rem;
}

/* Projectos em destaque */
.site-main > section.home-featured-projects {
    width: min(calc(100% - 48px), var(--container-width));
    padding-top: 82px;
    padding-bottom: 88px;
}

.home-featured-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
}

.home-project-card {
    overflow: hidden;
    border: 1px solid rgba(124,10,24,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17,24,39,.07);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 54px rgba(17,24,39,.13);
}

.home-project-card__media {
    height: 210px;
    display: block;
    overflow: hidden;
}

.home-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.home-project-card:hover img {
    transform: scale(1.04);
}

.home-project-card__body {
    padding: 22px;
}

.home-project-card__body > p {
    margin: 0 0 8px;
    color: var(--softcode-red);
    font-size: .64rem;
    font-weight: 850;
    text-transform: uppercase;
}

.site-main .home-project-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.home-project-card__body > span {
    display: block;
    min-height: 4.7em;
    color: #606b7b;
    font-size: .82rem;
    line-height: 1.58;
}

.home-project-card__body > a {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--softcode-red);
    font-size: .78rem;
    font-weight: 850;
}

.home-featured-projects__action {
    margin-top: 30px;
    text-align: center;
}

/* Manifesto */
.site-main > section.home-manifesto {
    width: 100%;
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    color: #fff;
    background:
        radial-gradient(circle at 88% 42%, rgba(255,76,97,.18), transparent 28%),
        linear-gradient(110deg, #160308, #5f0917 58%, #910e22);
}

.home-manifesto__content,
.home-manifesto blockquote {
    padding: 70px max(32px, calc((100vw - var(--container-width)) / 2));
}

.home-manifesto__content {
    padding-right: 70px;
}

.home-manifesto .home-section-eyebrow {
    color: #ff9aab;
}

.site-main .home-manifesto h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.45rem);
    line-height: 1.08;
}

.site-main .home-manifesto p {
    max-width: 700px;
    color: #eadde1;
}

.home-manifesto blockquote {
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.18;
    background: rgba(255,255,255,.055);
}

/* Tecnologias */
.site-main > section.home-technologies {
    width: min(calc(100% - 48px), var(--container-width));
    padding-top: 74px;
    padding-bottom: 64px;
}

.home-technologies__list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: 12px;
    border: 1px solid rgba(124,10,24,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17,24,39,.06);
}

.home-technologies__list span {
    min-height: 74px;
    display: grid;
    place-items: center;
    color: #6f7784;
    font-size: 1rem;
    font-weight: 850;
    border-radius: 12px;
    background: #fafafa;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-technologies__list span:hover {
    color: var(--softcode-burgundy);
    background: #fff3f5;
    transform: translateY(-3px);
}

/* Processo */
.site-main > section.home-process {
    width: min(calc(100% - 48px), var(--container-width));
    padding-top: 70px;
    padding-bottom: 72px;
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.home-process__grid article {
    position: relative;
    min-height: 235px;
    padding: 30px;
    border: 1px solid rgba(124,10,24,.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(17,24,39,.06);
}

.home-process__grid article > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 850;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 10px 24px rgba(124,10,24,.2);
}

.site-main .home-process__grid h3 {
    margin: 24px 0 10px;
    font-size: 1.08rem;
}

.site-main .home-process__grid p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.65;
}

/* Formação */
.site-main > section.home-training-highlight {
    width: min(calc(100% - 48px), var(--container-width));
    margin-bottom: 56px;
    padding: 42px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 45%, rgba(255,255,255,.1), transparent 28%),
        linear-gradient(110deg, #101827, #2d0710 58%, #7d0b1c);
    box-shadow: 0 20px 48px rgba(17,24,39,.15);
}

.home-training-highlight > div {
    max-width: 820px;
}

.home-training-highlight .home-section-eyebrow {
    color: #ff9bac;
}

.site-main .home-training-highlight h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.site-main .home-training-highlight p {
    margin: 12px 0 0;
    color: #dfe4eb;
}

/* CTA final */
.site-main > section.home-final-cta {
    width: min(calc(100% - 48px), var(--container-width));
    margin-bottom: 56px;
    padding: 42px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 42%, rgba(255,76,97,.22), transparent 28%),
        linear-gradient(110deg, #160308, #4e0712 55%, #930e22);
    box-shadow: 0 20px 48px rgba(17,24,39,.16);
}

.home-final-cta > div:first-child {
    max-width: 760px;
}

.home-final-cta .home-section-eyebrow {
    color: #ff9bac;
}

.site-main .home-final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.site-main .home-final-cta p {
    color: #eadde1;
}

.home-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1100px) {
    .home-challenges__grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

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

    .home-technologies__list {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    .home-metrics__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .home-metrics article:last-child {
        grid-column: 1 / -1;
    }

    .home-manifesto {
        grid-template-columns: 1fr !important;
    }

    .home-manifesto__content,
    .home-manifesto blockquote {
        padding: 54px 32px;
    }

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

    .home-training-highlight,
    .home-final-cta {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .site-main > section.home-challenges,
    .site-main > section.home-metrics,
    .site-main > section.home-featured-projects,
    .site-main > section.home-technologies,
    .site-main > section.home-process,
    .site-main > section.home-training-highlight,
    .site-main > section.home-final-cta {
        width: calc(100% - 28px);
    }

    .home-challenges__grid,
    .home-featured-projects__grid,
    .home-process__grid,
    .home-technologies__list {
        grid-template-columns: 1fr;
    }

    .home-metrics__grid {
        grid-template-columns: 1fr;
    }

    .home-metrics article:last-child {
        grid-column: auto;
    }

    .home-manifesto__content,
    .home-manifesto blockquote {
        padding: 42px 22px;
    }

    .home-training-highlight,
    .home-final-cta {
        padding: 30px 24px !important;
        margin-bottom: 30px !important;
    }

    .home-final-cta__actions,
    .home-button {
        width: 100%;
    }
}


/* =========================================================
   HOMEPAGE — POLIMENTO PREMIUM E COMERCIAL V3
========================================================= */

/* Hero: maior profundidade e controlo tipográfico */
.hero-slide__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, .99) 0%,
            rgba(3, 7, 14, .94) 40%,
            rgba(3, 7, 14, .58) 69%,
            rgba(3, 7, 14, .28) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 14, .08),
            rgba(3, 7, 14, .46)
        );
}

.hero-slide__content {
    max-width: 740px;
}

.hero-slide__content h1 {
    max-width: 720px;
    font-size: clamp(2.8rem, 4.55vw, 5.15rem);
    letter-spacing: -.052em;
}

.hero-slide__description {
    max-width: 650px;
    color: rgba(241, 245, 249, .86);
}

.hero-button {
    min-height: 49px;
    padding-inline: 21px;
    border-radius: 999px;
}

.hero-button--primary {
    box-shadow: 0 15px 34px rgba(184, 15, 36, .34);
}

/* Pilares: conteúdo mais rico e botão consistente */
.home-pillars {
    padding-top: 92px;
    padding-bottom: 100px;
}

.home-pillars__grid {
    gap: 24px;
}

.home-pillar-card {
    min-height: 490px;
    padding: 30px;
    border-radius: 21px;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.home-pillar-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--softcode-red), transparent);
    transform: scaleX(.55);
    transition: opacity 220ms ease, transform 220ms ease;
}

.home-pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 15, 36, .2);
    box-shadow: 0 28px 60px rgba(17, 24, 39, .13);
}

.home-pillar-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.home-pillar-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
}

.home-pillar-card__services {
    margin: 24px 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.home-pillar-card__services li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #566173;
    font-size: .78rem;
    line-height: 1.45;
}

.home-pillar-card__services li span {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 50%;
    background: #fff0f3;
}

.home-pillar-card__action {
    min-height: 44px;
    padding: 0 17px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(184, 15, 36, .18);
    border-radius: 999px;
    background: #fff7f8;
}

.home-pillar-card__action:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 12px 26px rgba(124, 10, 24, .2);
}

/* Desafios: 4 colunas, leitura e conversão melhores */
.home-challenges__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-challenge-card {
    min-height: 190px;
    padding: 26px 20px;
}

.home-challenge-card strong {
    max-width: 190px;
    font-size: .86rem;
}

.home-challenge-card__arrow {
    position: absolute;
    right: 17px;
    bottom: 15px;
}

/* Métricas: ícones e números maiores */
.home-metrics__grid {
    border: 1px solid rgba(255, 255, 255, .08);
}

.home-metrics article {
    min-height: 142px;
    padding: 25px 20px;
    align-items: center;
    flex-direction: row;
    gap: 14px;
    text-align: left;
}

.home-metrics__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: #ff7184;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

.home-metrics__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-metrics article > div {
    display: grid;
}

.home-metrics strong {
    font-size: 2.15rem;
}

.home-metrics span {
    margin-top: 7px;
    font-size: .76rem;
}

/* Projectos: 3 colunas e destaque sobre a imagem */
.home-featured-projects__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-project-card {
    position: relative;
    border-radius: 20px;
}

.home-project-card__media {
    position: relative;
    height: 260px;
}

.home-project-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 12px;
    color: #fff;
    font-size: .63rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(124, 10, 24, .92);
    box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
}

.home-project-card__body {
    padding: 24px;
}

.home-project-card__body > a {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(184, 15, 36, .18);
    border-radius: 999px;
    background: #fff7f8;
}

.home-project-card__body > a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
}

/* Manifesto: grafismo subtil e melhor composição */
.home-manifesto {
    position: relative;
    overflow: hidden;
}

.home-manifesto::before {
    content: "MZ";
    position: absolute;
    right: 8%;
    bottom: -11%;
    color: rgba(255, 255, 255, .045);
    font-size: clamp(12rem, 24vw, 28rem);
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.home-manifesto__content,
.home-manifesto blockquote {
    position: relative;
    z-index: 1;
}

.home-button--manifesto {
    margin-top: 24px;
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.home-button--manifesto:hover {
    background: rgba(255, 255, 255, .15);
}

.home-manifesto blockquote {
    max-width: 580px;
    font-size: clamp(1.65rem, 2.65vw, 2.75rem);
}

/* Marcas: aparência monocromática premium */
.home-technologies__list {
    padding: 18px;
    gap: 10px;
}

.home-technologies__list span {
    position: relative;
    overflow: hidden;
    color: #7b8390;
    letter-spacing: .02em;
    border: 1px solid transparent;
    filter: grayscale(1);
}

.home-technologies__list span:hover {
    color: var(--softcode-burgundy);
    border-color: rgba(184, 15, 36, .12);
    filter: grayscale(0);
}

/* Processo: linha visual contínua */
.home-process__grid {
    position: relative;
    gap: 20px;
}

.home-process__grid::before {
    content: "";
    position: absolute;
    top: 58px;
    right: 8%;
    left: 8%;
    border-top: 1px dashed rgba(184, 15, 36, .26);
}

.home-process__grid article {
    min-height: 250px;
    padding: 31px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-process__grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(17, 24, 39, .1);
}

.home-process__number {
    position: relative;
    z-index: 2;
}

.home-process__connector {
    position: absolute;
    top: 42px;
    right: -18px;
    z-index: 3;
    color: var(--softcode-red);
    font-size: 1.15rem;
    font-weight: 900;
}

.home-process__grid article:last-child .home-process__connector {
    display: none;
}

/* Formação: imagem real e conteúdo comercial */
.home-training-highlight {
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: .86fr 1.14fr;
    overflow: hidden;
    background: #101827;
}

.home-training-highlight__media {
    min-height: 390px;
}

.home-training-highlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-training-highlight__content {
    padding: 48px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.home-training-highlight__content .home-button {
    margin-top: 24px;
    align-self: flex-start;
}

/* CTA final: contraste diferente do bloco anterior */
.home-final-cta {
    margin-top: 20px;
    background:
        radial-gradient(circle at 91% 45%, rgba(255, 255, 255, .08), transparent 30%),
        linear-gradient(110deg, #090e18, #22060c 54%, #660a19) !important;
}

.home-final-cta__actions .home-button {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .home-challenges__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .home-metrics article {
        align-items: flex-start;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .home-pillar-card {
        min-height: 0;
    }

    .home-training-highlight {
        grid-template-columns: 1fr !important;
    }

    .home-training-highlight__media {
        min-height: 330px;
    }

    .home-process__grid::before,
    .home-process__connector {
        display: none;
    }
}

@media (max-width: 640px) {
    .home-challenges__grid,
    .home-featured-projects__grid {
        grid-template-columns: 1fr;
    }

    .home-project-card__media {
        height: 230px;
    }

    .home-metrics article {
        align-items: center;
        flex-direction: row;
        text-align: left;
    }

    .home-training-highlight__content {
        padding: 30px 24px;
    }

    .home-pillar-card__action,
    .home-project-card__body > a {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
    }
}

/* =========================================================
   HOME PREMIUM V4 - Polimento comercial e experiência
========================================================= */

/* Botões com presença mais premium e consistentes com projectos */
.home-button,
.home-pillar-card__action,
.home-project-card__body > a {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 50px;
    padding-inline: 22px;
    font-size: .82rem;
    letter-spacing: .01em;
}

.home-button::before,
.home-pillar-card__action::before,
.home-project-card__body > a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 46%);
    transition: opacity 180ms ease;
}

.home-button:hover::before,
.home-pillar-card__action:hover::before,
.home-project-card__body > a:hover::before {
    opacity: 1;
}

.home-button--primary:hover,
.home-button--light:hover,
.home-button--outline:hover {
    box-shadow: 0 18px 34px rgba(124, 10, 24, .18);
}

.home-button--outline:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
}

/* Secções gerais com espaçamento mais uniforme */
.site-main > section.home-pillars,
.site-main > section.home-challenges,
.site-main > section.home-featured-projects,
.site-main > section.home-technologies,
.site-main > section.home-process,
.site-main > section.home-training-highlight,
.site-main > section.home-final-cta {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.home-section-heading {
    margin-bottom: 48px;
}

.site-main .home-section-heading > p:last-child {
    color: #647083;
}

/* Hero ligeiramente mais equilibrado */
.hero-slide__content h1 {
    max-width: 760px;
    text-wrap: balance;
}

.hero-slide__description {
    font-size: 1.04rem;
    line-height: 1.82;
}

.hero-slide__trust {
    margin-top: 26px;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-slide__trust span:not([aria-hidden="true"]) {
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Cartões dos pilares mais comerciais */
.home-pillar-card {
    background:
        radial-gradient(circle at top right, rgba(184, 15, 36, .06), transparent 26%),
        #fff;
}

.home-pillar-card h3 {
    margin-bottom: 12px;
}

.home-pillar-card p {
    color: #657083;
}

.home-pillar-card__services {
    border-top: 1px solid #eef1f5;
    padding-top: 18px;
}

/* Desafios com aparência mais interactiva */
.home-challenge-card {
    position: relative;
    border: 1px solid #eef1f5;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fcfcfd);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

.home-challenge-card:hover,
.home-challenge-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(184, 15, 36, .18);
    box-shadow: 0 24px 40px rgba(17, 24, 39, .08);
}

.home-challenge-card strong {
    color: #263042;
    line-height: 1.45;
}

.home-challenge-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5f6, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(184,15,36,.08);
}

.home-challenge-card__arrow {
    opacity: .6;
    transition: transform 180ms ease, opacity 180ms ease;
}

.home-challenge-card:hover .home-challenge-card__arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* Métricas mais nobres */
.home-metrics {
    margin-top: 10px;
}

.home-metrics__grid {
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(17, 24, 39, .1);
}

.home-metrics article {
    position: relative;
}

.home-metrics article::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 18px;
    width: 1px;
    background: rgba(255,255,255,.08);
}

.home-metrics article:last-child::after {
    display: none;
}

.home-metrics strong {
    letter-spacing: -.04em;
}

/* Projectos em destaque mais premium */
.site-main > section.home-featured-projects {
    padding-top: 88px;
    padding-bottom: 88px;
}

.home-featured-projects__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.home-project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #edf1f5;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
    transition:
        transform 210ms ease,
        box-shadow 210ms ease,
        border-color 210ms ease;
}

.home-project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184,15,36,.18);
    box-shadow: 0 30px 50px rgba(17,24,39,.12);
}

.home-project-card__media {
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.home-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.home-project-card:hover .home-project-card__media img {
    transform: scale(1.04);
}

.home-project-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-project-card__body h3 {
    min-height: 54px;
    margin: 0;
}

.home-project-card__body span {
    flex: 1;
    color: #677284;
}

.home-project-card__body > a {
    align-self: flex-start;
}

.home-featured-projects__action {
    margin-top: 38px;
}

/* Manifesto mais institucional */
.site-main > section.home-manifesto {
    margin-top: 8px;
    margin-bottom: 14px;
    padding: 0;
}

.home-manifesto {
    padding: 64px clamp(24px, 4vw, 56px);
    border-radius: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 34px;
    background:
        linear-gradient(100deg, #4d0812 0%, #7f0d1c 50%, #b21328 100%);
    box-shadow: 0 24px 48px rgba(124, 10, 24, .16);
}

.home-manifesto__content p {
    max-width: 640px;
}

.home-manifesto blockquote {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: left;
}

/* Tecnologias com melhores cartões */
.site-main > section.home-technologies {
    padding-top: 92px;
    padding-bottom: 86px;
}

.home-technologies__list {
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(17,24,39,.06);
}

.home-technologies__list span {
    min-height: 64px;
    display: grid;
    place-items: center;
    font-weight: 800;
    border-radius: 14px;
    background: linear-gradient(180deg, #fafbfc, #fff);
    box-shadow: inset 0 0 0 1px #eef2f6;
}

/* Processo com cartões mais claros */
.site-main > section.home-process {
    padding-top: 86px;
    padding-bottom: 84px;
}

.home-process__grid article {
    border: 1px solid #edf1f5;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fcfdff);
}

.home-process__grid h3 {
    margin-bottom: 10px;
}

.home-process__grid p {
    color: #687385;
    line-height: 1.7;
}

/* Bloco de formação com imagem como background */
.site-main > section.home-training-highlight {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
    margin-top: 12px;
    margin-bottom: 34px;
}

.home-training-highlight {
    position: relative;
    min-height: 360px;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 28px;
    overflow: hidden;
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
    background: #0f1624;
    box-shadow: 0 24px 46px rgba(17,24,39,.14);
}

.home-training-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6,10,18,.92) 0%, rgba(10,14,24,.82) 26%, rgba(14,18,28,.54) 52%, rgba(108,12,28,.42) 100%),
        linear-gradient(135deg, rgba(184,15,36,.16), transparent 42%);
}

.home-training-highlight::after {
    content: "";
    position: absolute;
    inset: auto -48px -48px auto;
    width: 200px;
    height: 200px;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
    pointer-events: none;
}

.home-training-highlight__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 100%;
}

.home-training-highlight__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,10,18,.48) 0%, rgba(7,10,18,.16) 48%, rgba(7,10,18,.06) 100%);
}

.home-training-highlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home-training-highlight__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-width: 520px;
    min-height: 360px;
    padding: 40px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-training-highlight .home-section-eyebrow {
    color: rgba(255,255,255,.76);
    margin-bottom: 10px;
}

.site-main .home-training-highlight h2 {
    color: #fff;
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 2.8vw, 2.85rem);
    line-height: 1.08;
    max-width: 12ch;
    text-wrap: balance;
}

.site-main .home-training-highlight p {
    color: rgba(240,244,248,.88);
    max-width: 44ch;
    margin: 0;
    line-height: 1.72;
}

.home-training-highlight__content .home-button {
    margin-top: 22px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 10px 24px rgba(8, 12, 22, .18);
}

.home-training-highlight__content .home-button:hover {
    background: rgba(255,255,255,.14);
}

/* CTA final com mais respiro */
.site-main > section.home-final-cta {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 76px;
}

.home-final-cta {
    position: relative;
    overflow: hidden;
    padding: 44px 48px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 46px rgba(17,24,39,.12);
}

.home-final-cta::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
    pointer-events: none;
}

.home-final-cta h2 {
    max-width: 700px;
    text-wrap: balance;
}

.home-final-cta p {
    max-width: 620px;
}

.home-final-cta__actions {
    gap: 14px;
}

/* Responsividade */
@media (max-width: 1240px) {
    .home-featured-projects__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-manifesto {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1100px) {
    .home-featured-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-manifesto {
        grid-template-columns: 1fr;
    }

    .home-manifesto blockquote {
        justify-content: flex-start;
    }

    .home-training-highlight {
        min-height: 340px;
    }

    .home-training-highlight__content {
        width: min(100%, 480px);
        max-width: 480px;
        min-height: 340px;
        padding: 34px 32px;
    }
}

@media (max-width: 900px) {
    .hero-slide__trust span:not([aria-hidden="true"]) {
        padding: 6px 10px;
    }

    .home-featured-projects__grid {
        grid-template-columns: 1fr;
    }

    .home-project-card__body h3 {
        min-height: 0;
    }

    .home-training-highlight {
        min-height: 0;
        display: block !important;
    }

    .home-training-highlight::before {
        background:
            linear-gradient(180deg, rgba(6,10,18,.34) 0%, rgba(10,14,24,.52) 28%, rgba(10,14,24,.82) 64%, rgba(92,8,20,.92) 100%);
    }

    .home-training-highlight__media {
        position: absolute;
        inset: 0;
    }

    .home-training-highlight__content {
        width: 100%;
        max-width: none;
        min-height: 340px;
        padding: 28px 24px 30px;
        justify-content: flex-end;
    }

    .home-final-cta {
        padding: 34px 24px;
    }
}

@media (max-width: 640px) {
    .home-metrics article::after {
        display: none;
    }

    .home-training-highlight__content {
        min-height: 320px;
    }

    .site-main .home-training-highlight h2 {
        max-width: 100%;
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .home-training-highlight__content .home-button,
    .home-final-cta__actions .home-button {
        width: 100%;
        justify-content: center;
    }

    .home-manifesto {
        padding: 38px 22px;
        border-radius: 22px;
    }

    .site-main > section.home-final-cta,
    .site-main > section.home-training-highlight {
        width: min(calc(100% - 30px), var(--container-width));
    }
}

/* =========================================================
   FORMAÇÃO — LANDING PAGE PREMIUM V2
   Substitui integralmente o bloco CSS anterior da página Formação.
========================================================= */

:root {
    --training-container: 1180px;
    --training-red: #b80f24;
    --training-burgundy: #7c0a18;
    --training-dark: #111827;
    --training-muted: #667085;
    --training-border: #e9edf2;
    --training-soft: #fff5f6;
}

/* Base */
.training-eyebrow {
    margin: 0 0 12px;
    color: var(--training-red);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.training-section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.site-main .training-section-heading h2 {
    margin: 0;
    color: var(--training-dark);
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.site-main .training-section-heading > p:last-child {
    max-width: 660px;
    margin: 15px auto 0;
    color: var(--training-muted);
    line-height: 1.7;
}

.training-button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 850;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.training-button:hover,
.training-button:focus-visible {
    transform: translateY(-2px);
}

.training-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
    box-shadow: 0 14px 30px rgba(124, 10, 24, .26);
}

.training-button--secondary {
    color: #fff;
    border-color: rgba(255,255,255,.26);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.training-button--light {
    color: var(--training-burgundy);
    background: #fff;
}

.training-button--outline-light {
    color: #fff;
    border-color: rgba(255,255,255,.3);
    background: transparent;
}

/* =========================================================
   HERO — full width e mais premium
========================================================= */
.site-main > section.training-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.training-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background: #050a12;
}

.training-hero__media,
.training-hero__overlay {
    position: absolute;
    inset: 0;
}

.training-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.training-hero__overlay {
    background:
        linear-gradient(90deg,
            rgba(3,7,14,.98) 0%,
            rgba(3,7,14,.92) 39%,
            rgba(3,7,14,.53) 66%,
            rgba(3,7,14,.22) 100%
        ),
        linear-gradient(180deg, rgba(3,7,14,.05), rgba(3,7,14,.34));
}

.training-hero__container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 48px), var(--training-container));
    min-height: 650px;
    margin: 0 auto;
    padding: 72px 0 48px;
    display: flex;
    align-items: center;
}

.training-hero__content {
    width: min(100%, 740px);
}

.training-hero .training-eyebrow {
    color: #ff6f82;
}

.site-main .training-hero h1 {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 5.1vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.training-hero__description {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(241,245,249,.86);
    font-size: 1.02rem;
    line-height: 1.72;
}

.training-hero__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.training-hero__benefits {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.training-hero__benefits article {
    min-height: 112px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 15px;
    background: rgba(10,15,25,.58);
    backdrop-filter: blur(12px);
}

.training-hero__benefits article > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
}

.training-hero__benefits strong {
    display: block;
    color: #fff;
    font-size: .81rem;
}

.site-main .training-hero__benefits p {
    margin: 5px 0 0;
    color: rgba(236,240,246,.72);
    font-size: .71rem;
    line-height: 1.47;
}

/* =========================================================
   ÁREAS DE FORMAÇÃO
========================================================= */
.site-main > section.training-areas {
    width: min(calc(100% - 48px), var(--training-container));
    padding-top: 96px;
    padding-bottom: 92px;
}

.training-areas__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
}

.training-area-card {
    position: relative;
    min-height: 310px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--training-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(184,15,36,.06), transparent 28%),
        #fff;
    box-shadow: 0 12px 30px rgba(17,24,39,.055);
    transition:
        transform 210ms ease,
        border-color 210ms ease,
        box-shadow 210ms ease;
}

.training-area-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--training-red), transparent);
    transform: scaleX(.6);
    transition: opacity 200ms ease, transform 200ms ease;
}

.training-area-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184,15,36,.2);
    box-shadow: 0 24px 48px rgba(17,24,39,.11);
}

.training-area-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.training-area-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: var(--training-red);
    border-radius: 17px;
    background: var(--training-soft);
}

.training-area-card__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-main .training-area-card h3 {
    margin: 22px 0 10px;
    color: var(--training-dark);
    font-size: 1.08rem;
    line-height: 1.25;
}

.site-main .training-area-card p {
    margin: 0;
    color: var(--training-muted);
    font-size: .81rem;
    line-height: 1.62;
}

.training-area-card a {
    min-height: 42px;
    margin-top: auto;
    padding: 0 15px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--training-burgundy);
    border: 1px solid rgba(184,15,36,.16);
    border-radius: 999px;
    background: #fff7f8;
    font-size: .76rem;
    font-weight: 850;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.training-area-card a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
    transform: translateY(-2px);
}

/* =========================================================
   POR QUE ESCOLHER
========================================================= */
.site-main > section.training-reasons {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 76px max(24px, calc((100vw - var(--training-container)) / 2));
    color: #fff;
    background:
        radial-gradient(circle at 93% 42%, rgba(255,64,88,.2), transparent 31%),
        linear-gradient(110deg, #080c16, #26060d 52%, #780b1b);
}

.training-section-heading--light {
    margin-bottom: 40px;
}

.training-section-heading--light h2 {
    color: #fff !important;
}

.training-reasons__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 0;
}

.training-reasons__grid article {
    min-height: 180px;
    padding: 22px 22px 18px;
    border-left: 1px solid rgba(255,255,255,.12);
}

.training-reasons__grid article:first-child {
    border-left: 0;
}

.training-reasons__grid article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ff7184;
    border-radius: 13px;
    background: rgba(255,255,255,.07);
}

.site-main .training-reasons__grid h3 {
    margin: 17px 0 8px;
    color: #fff;
    font-size: .94rem;
}

.site-main .training-reasons__grid p {
    margin: 0;
    color: rgba(238,242,248,.74);
    font-size: .76rem;
    line-height: 1.55;
}

/* =========================================================
   MÉTRICAS
========================================================= */
.site-main > section.training-metrics {
    width: min(calc(100% - 48px), var(--training-container));
    padding-top: 44px;
    padding-bottom: 72px;
}

.training-metrics__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(110deg, #180307, #4f0813 54%, #a51128);
    box-shadow: 0 18px 40px rgba(17,24,39,.12);
}

.training-metrics article {
    min-height: 118px;
    padding: 22px 16px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.training-metrics article:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.12);
}

.training-metrics strong {
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
}

.training-metrics span {
    margin-top: 9px;
    color: rgba(245,247,251,.76);
    font-size: .71rem;
}

/* =========================================================
   METODOLOGIA
========================================================= */
.site-main > section.training-methodology {
    width: min(calc(100% - 48px), var(--training-container));
    padding-top: 78px;
    padding-bottom: 84px;
}

.training-methodology__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 18px;
}

.training-methodology__grid article {
    position: relative;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--training-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17,24,39,.05);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.training-methodology__grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(17,24,39,.09);
}

.training-methodology__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
}

.site-main .training-methodology h3 {
    margin: 20px 0 9px;
    font-size: .96rem;
}

.site-main .training-methodology p {
    margin: 0;
    color: var(--training-muted);
    font-size: .77rem;
    line-height: 1.58;
}

/* =========================================================
   TECNOLOGIAS
========================================================= */
.site-main > section.training-technologies {
    width: min(calc(100% - 48px), var(--training-container));
    padding-top: 72px;
    padding-bottom: 82px;
}

.training-technologies__list {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 12px;
    border: 1px solid rgba(124,10,24,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(17,24,39,.055);
}

.training-technologies__list span {
    min-height: 68px;
    display: grid;
    place-items: center;
    color: #6f7784;
    border-radius: 13px;
    background: linear-gradient(180deg, #fafafa, #fff);
    font-size: .94rem;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px #f0f2f5;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.training-technologies__list span:hover {
    color: var(--training-burgundy);
    background: var(--training-soft);
    transform: translateY(-3px);
}

/* =========================================================
   CTA FINAL
========================================================= */
.site-main > section.training-cta {
    width: min(calc(100% - 48px), var(--training-container));
    margin-bottom: 62px;
    padding: 42px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    color: #fff;
    border-radius: 22px;
    background:
        radial-gradient(circle at 91% 44%, rgba(255,255,255,.09), transparent 30%),
        linear-gradient(110deg, #160308, #520812 55%, #a81128);
    box-shadow: 0 20px 46px rgba(17,24,39,.14);
}

.training-cta > div:first-child {
    max-width: 720px;
}

.training-cta .training-eyebrow {
    color: #ff91a0;
}

.site-main .training-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    line-height: 1.06;
    text-wrap: balance;
}

.site-main .training-cta p {
    margin: 13px 0 0;
    color: rgba(242,245,249,.82);
    line-height: 1.65;
}

.training-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 1120px) {
    .training-areas__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .training-reasons__grid,
    .training-methodology__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 16px;
    }

    .training-reasons__grid article {
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 16px;
        background: rgba(255,255,255,.04);
    }

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

    .training-metrics article:last-child {
        grid-column: 1 / -1;
    }

    .training-technologies__list {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    .training-hero__benefits {
        grid-template-columns: 1fr;
    }

    .training-cta {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .training-hero {
        min-height: 720px;
    }

    .training-hero__container {
        width: calc(100% - 28px);
        min-height: 720px;
        padding: 48px 0 30px;
        align-items: flex-end;
    }

    .training-hero__overlay {
        background:
            linear-gradient(180deg, rgba(4,8,15,.22), rgba(4,8,15,.96) 62%),
            linear-gradient(90deg, rgba(4,8,15,.65), transparent);
    }

    .site-main .training-hero h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .training-hero__actions,
    .training-button {
        width: 100%;
    }

    .site-main > section.training-areas,
    .site-main > section.training-metrics,
    .site-main > section.training-methodology,
    .site-main > section.training-technologies,
    .site-main > section.training-cta {
        width: calc(100% - 28px);
    }

    .training-areas__grid,
    .training-reasons__grid,
    .training-metrics__grid,
    .training-methodology__grid,
    .training-technologies__list {
        grid-template-columns: 1fr;
    }

    .training-metrics article:last-child {
        grid-column: auto;
    }

    .training-area-card {
        min-height: 280px;
    }

    .training-cta {
        padding: 30px 24px !important;
        margin-bottom: 34px !important;
    }

    .training-cta__actions,
    .training-cta__actions .training-button {
        width: 100%;
    }
}

/* =========================================================
   FORMAÇÃO — REFINAMENTOS VISUAIS PREMIUM V3
========================================================= */

/* Hero: melhor equilíbrio tipográfico, sobretudo em francês */
html[lang^="fr"] .site-main .training-hero h1 {
    max-width: 640px;
    font-size: clamp(2.75rem, 4.65vw, 4.95rem);
    line-height: 1.01;
}

html[lang^="fr"] .training-hero__description {
    max-width: 610px;
}

.training-hero__content {
    padding-block: 8px;
}

.training-hero__actions .training-button {
    min-height: 50px;
    padding-inline: 22px;
}

.training-hero__benefits article {
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.training-hero__benefits article:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.2);
    background: rgba(14,20,32,.72);
}

/* Cards das áreas: títulos e descrições mais legíveis e uniformes */
.training-area-card {
    min-height: 326px;
}

.site-main .training-area-card h3 {
    min-height: 2.55em;
    display: flex;
    align-items: flex-start;
    color: #172033;
    font-size: 1.1rem;
}

.site-main .training-area-card p {
    color: #596679;
    font-size: .84rem;
    line-height: 1.68;
}

.training-area-card a {
    min-height: 44px;
    padding-inline: 17px;
}

.training-area-card:hover .training-area-card__icon {
    color: #fff;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
    box-shadow: 0 12px 24px rgba(124,10,24,.18);
}

.training-area-card__icon {
    transition:
        color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

/* Faixa de vantagens: leitura e hierarquia melhores */
.site-main > section.training-reasons {
    padding-top: 82px;
    padding-bottom: 82px;
}

.training-reasons__grid article {
    padding: 24px 24px 20px;
}

.site-main .training-reasons__grid h3 {
    font-size: 1rem;
    line-height: 1.35;
}

.site-main .training-reasons__grid p {
    color: rgba(244,247,251,.8);
    font-size: .8rem;
    line-height: 1.65;
}

.training-reasons__grid article > span {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.08);
}

/* Indicadores: maior impacto e melhor separação */
.training-metrics__grid {
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 44px rgba(17,24,39,.15);
}

.training-metrics article {
    min-height: 130px;
    padding: 24px 18px;
    position: relative;
}

.training-metrics strong {
    font-size: 2rem;
    letter-spacing: -.035em;
}

.training-metrics span {
    font-size: .76rem;
    line-height: 1.4;
}

.training-metrics article::before {
    content: "";
    width: 34px;
    height: 3px;
    margin: 0 auto 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
}

/* Metodologia: linha discreta e melhor ligação entre passos */
.training-methodology__grid {
    position: relative;
}

.training-methodology__grid::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 7%;
    right: 7%;
    border-top: 1px dashed rgba(184,15,36,.24);
    pointer-events: none;
}

.training-methodology__grid article {
    z-index: 1;
    min-height: 232px;
}

.training-methodology__number {
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 22px rgba(124,10,24,.18);
}

.site-main .training-methodology h3 {
    color: #172033;
    font-size: 1rem;
}

.site-main .training-methodology p {
    color: #5f6b7d;
    font-size: .8rem;
    line-height: 1.65;
}

/* Tecnologias: aspecto menos provisório e mais premium */
.training-technologies__list {
    padding: 20px;
    border-radius: 20px;
}

.training-technologies__list span {
    min-height: 72px;
    border: 1px solid #eef1f5;
    color: #5e6878;
    font-size: .96rem;
    letter-spacing: .01em;
    background: linear-gradient(180deg, #fbfcfd, #fff);
}

.training-technologies__list span:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
    box-shadow: 0 12px 24px rgba(124,10,24,.15);
}

/* CTA: mais espaço, botões e contraste */
.site-main > section.training-cta {
    padding: 48px 50px;
    border-radius: 24px;
}

.training-cta > div:first-child {
    max-width: 750px;
}

.site-main .training-cta h2 {
    max-width: 720px;
}

.site-main .training-cta p {
    max-width: 660px;
    font-size: .98rem;
}

.training-cta__actions .training-button {
    min-height: 50px;
    padding-inline: 22px;
}

.training-button--light:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--training-burgundy), var(--training-red));
    box-shadow: 0 14px 28px rgba(17,24,39,.18);
}

.training-button--outline-light:hover {
    color: var(--training-burgundy);
    background: #fff;
}

@media (max-width: 1120px) {
    .training-methodology__grid::before {
        display: none;
    }

    .training-area-card {
        min-height: 300px;
    }

    .site-main .training-area-card h3 {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    html[lang^="fr"] .site-main .training-hero h1 {
        font-size: clamp(2.55rem, 8vw, 4.2rem);
    }

    .training-reasons__grid article {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    html[lang^="fr"] .site-main .training-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .training-area-card {
        min-height: 280px;
    }

    .training-metrics article::before {
        width: 28px;
    }

    .site-main > section.training-cta {
        padding: 32px 24px !important;
    }
}

/* =========================================================
   CATÁLOGO DE FORMAÇÕES — BLOCO CONSOLIDADO
   Compatível com:
   app/Views/public/training/catalog.php
========================================================= */

:root {
    --training-catalog-container: 1320px;
    --training-catalog-radius: 20px;
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

.training-catalog-sr-only,
.training-catalog .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   HERO
========================================================= */

.site-main > section.training-catalog-hero {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    min-height: 500px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--softcode-white);
    background:
        radial-gradient(
            circle at 84% 34%,
            rgba(222, 41, 65, 0.28),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #050910 0%,
            #19040a 48%,
            #720b1b 100%
        );
}

.training-catalog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.055) 1px,
            transparent 1px
        );
    background-size: 52px 52px;
    pointer-events: none;
}

.training-catalog-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -120px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 52px rgba(255, 255, 255, 0.025),
        0 0 0 105px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.training-catalog-hero__container {
    position: relative;
    z-index: 2;
    width: min(
        calc(100% - 48px),
        var(--training-catalog-container)
    );
    margin: 0 auto;
    padding: 92px 0 88px;
}

.training-catalog-eyebrow {
    margin: 0 0 16px;
    color: #ff8797;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-main .training-catalog-hero h1 {
    max-width: 810px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 800;
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.site-main .training-catalog-hero__description {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(239, 243, 249, 0.86);
    font-size: 1rem;
    line-height: 1.78;
}

html[lang="fr"] .site-main .training-catalog-hero h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 4.7vw, 5rem);
}

/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.site-main > section.training-catalog {
    width: min(
        calc(100% - 48px),
        var(--training-catalog-container)
    ) !important;
    margin: 0 auto !important;
    padding: 76px 0 94px !important;
}

/* =========================================================
   TOOLBAR
========================================================= */

.training-catalog__toolbar {
    width: 100%;
    min-height: 76px;
    margin: 0 0 38px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(270px, 330px);
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fcfcfd
        );
    box-shadow:
        0 14px 36px rgba(17, 24, 39, 0.07);
}

.training-catalog__filters {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.training-filter {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #384254;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid #e5e9ef;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fafbfc
        );
    cursor: pointer;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.training-filter:hover,
.training-filter:focus-visible {
    color: var(--softcode-burgundy);
    border-color: rgba(184, 15, 36, 0.28);
    background: #fff4f6;
    transform: translateY(-2px);
}

.training-filter.is-active {
    color: var(--softcode-white);
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 11px 24px rgba(124, 10, 24, 0.24);
    transform: none;
}

/* =========================================================
   PESQUISA
========================================================= */

.training-catalog__search {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 330px;
    justify-self: end;
}

.training-catalog__search::before,
.training-catalog__search::after {
    display: none !important;
    content: none !important;
}

.training-catalog__search-field {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
}

.training-catalog__search-field svg {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    max-width: 18px !important;
    max-height: 18px !important;
    color: #7f8998;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.training-catalog__search-field input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 18px 0 48px;
    color: var(--softcode-dark);
    font-size: 0.82rem;
    line-height: 1;
    border: 1px solid #dde3eb;
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    box-shadow:
        inset 0 1px 2px rgba(17, 24, 39, 0.025);
    appearance: none;
    -webkit-appearance: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.training-catalog__search-field input::placeholder {
    color: #99a2af;
    opacity: 1;
}

.training-catalog__search-field input:hover {
    border-color: rgba(184, 15, 36, 0.25);
}

.training-catalog__search-field input:focus {
    border-color: rgba(184, 15, 36, 0.5);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(184, 15, 36, 0.08),
        0 10px 25px rgba(17, 24, 39, 0.06);
}

.training-catalog__search-field:focus-within svg {
    color: var(--softcode-red);
}

.training-catalog__search-field input::-webkit-search-decoration,
.training-catalog__search-field input::-webkit-search-cancel-button,
.training-catalog__search-field input::-webkit-search-results-button,
.training-catalog__search-field input::-webkit-search-results-decoration {
    appearance: none;
    -webkit-appearance: none;
}

/* =========================================================
   GRELHA
========================================================= */

.training-catalog__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 26px;
}

/* =========================================================
   CARD
========================================================= */

.training-course-card {
    position: relative;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border:
        1px solid rgba(124, 10, 24, 0.09);
    border-radius: var(--training-catalog-radius);
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fefefe
        );
    box-shadow:
        0 15px 38px rgba(17, 24, 39, 0.075);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.training-course-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    opacity: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--softcode-red),
            transparent
        );
    transform: scaleX(0.55);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
    pointer-events: none;
}

.training-course-card:hover {
    transform: translateY(-8px);
    border-color:
        rgba(184, 15, 36, 0.21);
    box-shadow:
        0 29px 62px rgba(17, 24, 39, 0.14);
}

.training-course-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.training-course-card[hidden] {
    display: none !important;
}

/* =========================================================
   IMAGEM DO CARD
========================================================= */

.training-course-card__media {
    position: relative;
    width: 100%;
    height: 235px;
    flex: 0 0 235px;
    overflow: hidden;
    background: #edf0f4;
}

.training-course-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(4, 8, 15, 0.03) 45%,
            rgba(4, 8, 15, 0.32) 100%
        );
    pointer-events: none;
}

.training-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 420ms ease,
        filter 420ms ease;
}

.training-course-card:hover
.training-course-card__media img {
    transform: scale(1.055);
}

.training-course-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    overflow: hidden;
    color: var(--softcode-white);
    font-size: 0.63rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.045em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    border:
        1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            rgba(96, 6, 19, 0.96),
            rgba(184, 15, 36, 0.94)
        );
    box-shadow:
        0 10px 24px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* =========================================================
   CONTEÚDO DO CARD
========================================================= */

.training-course-card__body {
    flex: 1;
    min-height: 370px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.site-main .training-course-card__body h3 {
    min-height: 2.6em;
    margin: 0 0 12px;
    color: #121a29;
    font-size: 1.12rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.site-main .training-course-card__description {
    min-height: 5.1em;
    margin: 0 0 21px;
    display: -webkit-box;
    overflow: hidden;
    color: #657184;
    font-size: 0.84rem;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* =========================================================
   METADADOS
========================================================= */

.training-course-card__meta {
    margin: 0 0 24px;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.training-course-card__meta > div {
    min-width: 0;
    min-height: 58px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(124, 10, 24, 0.08);
    border-radius: 12px;
    background: #f8f9fb;
}

.training-course-card__meta dt {
    margin: 0 0 4px;
    color: #8993a2;
    font-size: 0.61rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.training-course-card__meta dd {
    margin: 0;
    color: #30394a;
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1.35;
}

/* =========================================================
   ACÇÕES
========================================================= */

.training-course-card__actions {
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.training-course-card__details,
.training-course-card__interest {
    min-width: 0;
    min-height: 46px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.3;
    border: 1px solid transparent;
    border-radius: 999px;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.training-course-card__details {
    color: #86101e;
    border-color:
        rgba(184, 15, 36, 0.2);
    background: #fff6f7;
}

.training-course-card__details:hover,
.training-course-card__details:focus-visible {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 25px rgba(124, 10, 24, 0.2);
    transform: translateY(-2px);
}

.training-course-card__interest {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 11px 24px rgba(124, 10, 24, 0.22);
}

.training-course-card__interest:hover,
.training-course-card__interest:focus-visible {
    color: #ffffff;
    box-shadow:
        0 15px 31px rgba(124, 10, 24, 0.31);
    transform: translateY(-2px);
}

.training-course-card__details span {
    flex-shrink: 0;
    transition: transform 180ms ease;
}

.training-course-card__details:hover span,
.training-course-card__details:focus-visible span {
    transform: translateX(3px);
}

/* Ajuste de texto francês */

html[lang="fr"]
.training-course-card__details,
html[lang="fr"]
.training-course-card__interest {
    padding-inline: 11px;
    font-size: 0.69rem;
}

/* =========================================================
   ESTADO VAZIO
========================================================= */

.training-catalog__empty {
    margin: 30px 0 0;
    padding: 44px 24px;
    color: #626d7e;
    text-align: center;
    border:
        1px dashed rgba(124, 10, 24, 0.22);
    border-radius: 18px;
    background: #fff8f9;
}

.training-catalog__empty[hidden] {
    display: none !important;
}

/* =========================================================
   CTA FINAL
========================================================= */

.site-main > section.training-catalog-cta {
    position: relative;
    width: min(
        calc(100% - 48px),
        var(--training-catalog-container)
    ) !important;
    min-height: 200px;
    margin: 0 auto 64px !important;
    padding: 42px 48px !important;
    overflow: hidden;
    color: var(--softcode-white);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 92% 44%,
            rgba(255, 255, 255, 0.11),
            transparent 27%
        ),
        linear-gradient(
            110deg,
            #150307 0%,
            #4d0712 53%,
            #a91129 100%
        );
    box-shadow:
        0 22px 52px rgba(17, 24, 39, 0.17);
}

.training-catalog-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -90px;
    width: 300px;
    height: 300px;
    border:
        1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, 0.025),
        0 0 0 80px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.training-catalog-cta__container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(200px, auto);
    align-items: center;
    gap: 40px;
}

.training-catalog-cta__container > div {
    max-width: 760px;
}

.site-main .training-catalog-cta h2 {
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.site-main .training-catalog-cta p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(242, 245, 249, 0.84);
    line-height: 1.7;
}

.training-catalog-cta__button {
    min-width: 210px;
    min-height: 50px;
    padding: 0 22px;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--softcode-burgundy);
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.17);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.training-catalog-cta__button:hover,
.training-catalog-cta__button:focus-visible {
    color: var(--softcode-burgundy);
    transform: translateY(-2px);
    box-shadow:
        0 17px 35px rgba(0, 0, 0, 0.24);
}

.training-catalog-cta__button span {
    transition: transform 180ms ease;
}

.training-catalog-cta__button:hover span,
.training-catalog-cta__button:focus-visible span {
    transform: translateX(4px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1120px) {
    .training-catalog__toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 14px;
    }

    .training-catalog__search {
        justify-self: stretch;
        max-width: 430px;
    }

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

    .training-course-card__body {
        min-height: 345px;
    }
}

@media (max-width: 900px) {
    .training-catalog-hero__container {
        width: calc(100% - 36px);
        padding: 76px 0 72px;
    }

    .training-catalog-cta__container {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .training-catalog-cta__button {
        min-width: 0;
        justify-self: start;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .training-catalog-hero__container,
    .site-main > section.training-catalog,
    .site-main > section.training-catalog-cta {
        width: calc(100% - 28px) !important;
    }

    .site-main > section.training-catalog-hero {
        width: 100% !important;
        min-height: 430px;
    }

    .training-catalog-hero__container {
        padding: 64px 0 60px;
    }

    .site-main .training-catalog-hero h1,
    html[lang="fr"] .site-main .training-catalog-hero h1 {
        font-size: clamp(
            2.35rem,
            12vw,
            3.5rem
        );
        line-height: 1.02;
    }

    .site-main .training-catalog-hero__description {
        margin-top: 20px;
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .site-main > section.training-catalog {
        padding-top: 48px !important;
        padding-bottom: 62px !important;
    }

    .training-catalog__toolbar {
        margin-bottom: 28px;
        padding: 12px;
        border-radius: 17px;
    }

    .training-catalog__filters {
        flex-wrap: nowrap;
        padding-bottom: 7px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .training-filter {
        flex: 0 0 auto;
        min-height: 42px;
        padding-inline: 15px;
        border-radius: 13px;
    }

    .training-catalog__search {
        width: 100%;
        max-width: none;
    }

    .training-catalog__search-field input {
        height: 48px;
        border-radius: 13px;
    }

    .training-catalog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .training-course-card {
        border-radius: 17px;
    }

    .training-course-card__media {
        height: 220px;
        flex-basis: 220px;
    }

    .training-course-card__body {
        min-height: 0;
        padding: 22px 20px 21px;
    }

    .site-main .training-course-card__body h3,
    .site-main .training-course-card__description {
        min-height: 0;
    }

    .site-main .training-course-card__description {
        display: block;
        overflow: visible;
    }

    .training-course-card__meta {
        grid-template-columns: 1fr;
    }

    .training-course-card__meta > div {
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 14px;
        text-align: left;
    }

    .training-course-card__meta dt,
    .training-course-card__meta dd {
        margin: 0;
    }

    .training-course-card__actions {
        grid-template-columns: 1fr;
    }

    .training-course-card__details,
    .training-course-card__interest,
    .training-catalog-cta__button {
        width: 100%;
        min-height: 48px;
        border-radius: 13px;
    }

    .site-main > section.training-catalog-cta {
        min-height: 0;
        margin-bottom: 34px !important;
        padding: 31px 24px !important;
        border-radius: 18px;
    }

    .training-catalog-cta::before {
        display: none;
    }

    .training-catalog-cta__button {
        justify-self: stretch;
        white-space: normal;
    }
}

/* =========================================================
   PÁGINAS INDIVIDUAIS DE FORMAÇÃO
   Compatível com:
   app/Views/public/training/show.php
========================================================= */

:root {
    --training-detail-container: 1320px;
    --training-detail-radius: 22px;
    --training-detail-soft: #fff5f6;
}

.site-main > section.training-detail-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-main > section.training-detail-overview,
.site-main > section.training-detail-benefits,
.site-main > section.training-detail-programme,
.site-main > section.training-detail-method,
.site-main > section.training-detail-related,
.site-main > section.training-detail-cta {
    width: min(calc(100% - 48px), var(--training-detail-container)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.training-detail-eyebrow {
    margin: 0 0 13px;
    color: var(--softcode-red);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.training-detail-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: var(--softcode-white);
    background: #050911;
}

.training-detail-hero__media,
.training-detail-hero__overlay {
    position: absolute;
    inset: 0;
}

.training-detail-hero__media {
    z-index: 1;
}

.training-detail-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    object-position: center;
}

.training-detail-hero__overlay {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(3, 7, 14, 0.99) 0%, rgba(3, 7, 14, 0.95) 37%, rgba(3, 7, 14, 0.68) 65%, rgba(3, 7, 14, 0.32) 100%),
        linear-gradient(180deg, rgba(3, 7, 14, 0.08), rgba(3, 7, 14, 0.56));
}

.training-detail-hero__container {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 48px), var(--training-detail-container));
    min-height: 680px;
    margin: 0 auto;
    padding: 52px 0 56px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.training-detail-breadcrumb {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.77rem;
    font-weight: 650;
}

.training-detail-breadcrumb a:hover,
.training-detail-breadcrumb a:focus-visible {
    color: var(--softcode-white);
}

.training-detail-hero__content {
    width: min(100%, 790px);
}

.training-detail-hero .training-detail-eyebrow {
    color: #ff7487;
}

.site-main .training-detail-hero h1 {
    max-width: 850px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.site-main .training-detail-hero__subtitle {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(237, 242, 248, 0.88);
    font-size: 1.03rem;
    line-height: 1.76;
}

.training-detail-hero__actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.training-detail-button {
    min-height: 50px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: inherit;
    font-size: 0.79rem;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.training-detail-button:hover,
.training-detail-button:focus-visible {
    transform: translateY(-2px);
}

.training-detail-button--primary {
    color: var(--softcode-white);
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 14px 32px rgba(184, 15, 36, 0.3);
}

.training-detail-button--primary:hover,
.training-detail-button--primary:focus-visible {
    color: var(--softcode-white);
    box-shadow: 0 18px 40px rgba(184, 15, 36, 0.4);
}

.training-detail-button--secondary {
    color: var(--softcode-white);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.training-detail-button--secondary:hover,
.training-detail-button--secondary:focus-visible {
    color: var(--softcode-white);
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
}

.training-detail-button--light {
    color: var(--softcode-burgundy);
    background: var(--softcode-white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.training-detail-button--light:hover,
.training-detail-button--light:focus-visible {
    color: var(--softcode-burgundy);
    box-shadow: 0 17px 34px rgba(0, 0, 0, 0.23);
}

.training-detail-hero__meta {
    width: min(100%, 760px);
    margin: 42px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(7, 12, 21, 0.56);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.training-detail-hero__meta > div {
    position: relative;
    min-height: 92px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.training-detail-hero__meta > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 20px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.training-detail-hero__meta dt {
    margin: 0 0 7px;
    color: #ff9eab;
    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.training-detail-hero__meta dd {
    margin: 0;
    color: var(--softcode-white);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.4;
}

.training-detail-overview {
    padding-top: 88px;
    padding-bottom: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: 48px;
}

.site-main .training-detail-overview__content h2 {
    max-width: 700px;
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(2.1rem, 3.7vw, 3.55rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.site-main .training-detail-overview__content > p:last-child {
    max-width: 780px;
    margin: 22px 0 0;
    color: #5e697a;
    font-size: 0.98rem;
    line-height: 1.82;
}

.training-detail-information {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 25px;
    border: 1px solid rgba(124, 10, 24, 0.1);
    border-radius: var(--training-detail-radius);
    background: linear-gradient(180deg, #ffffff, #fcfcfd);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.09);
}

.training-detail-information dl {
    margin: 0 0 22px;
    display: grid;
}

.training-detail-information dl > div {
    padding: 14px 0;
    display: grid;
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
    gap: 15px;
    border-bottom: 1px solid #edf0f4;
}

.training-detail-information dt {
    color: #8a94a3;
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.training-detail-information dd {
    margin: 0;
    color: #263043;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.45;
}

.training-detail-information .training-detail-button {
    width: 100%;
}

.training-detail-benefits {
    padding-top: 20px;
    padding-bottom: 90px;
}

.training-detail-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.training-detail-list-card {
    min-height: 100%;
    padding: 30px;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: var(--training-detail-radius);
    background: radial-gradient(circle at top right, rgba(184, 15, 36, 0.055), transparent 28%), #ffffff;
    box-shadow: 0 15px 38px rgba(17, 24, 39, 0.07);
    transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.training-detail-list-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 15, 36, 0.2);
    box-shadow: 0 27px 56px rgba(17, 24, 39, 0.12);
}

.training-detail-list-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    border-radius: 17px;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 12px 27px rgba(124, 10, 24, 0.22);
}

.training-detail-list-card__icon svg,
.training-detail-method__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-main .training-detail-list-card h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: 1.25rem;
}

.training-detail-list-card ul,
.training-detail-method__panel ul {
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.training-detail-list-card li,
.training-detail-method__panel li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #596577;
    font-size: 0.83rem;
    line-height: 1.55;
}

.training-detail-list-card li > span,
.training-detail-method__panel li > span {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 50%;
    background: #fff0f3;
}

.training-detail-programme {
    padding-top: 82px;
    padding-bottom: 90px;
    border-top: 1px solid var(--softcode-border);
}

.training-detail-section-heading {
    max-width: 790px;
    margin: 0 auto 48px;
    text-align: center;
}

.site-main .training-detail-section-heading h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(2.1rem, 3.6vw, 3.45rem);
    line-height: 1.07;
    letter-spacing: -0.045em;
}

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

.training-detail-module {
    min-height: 150px;
    padding: 25px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 19px;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fcfdff);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.training-detail-module:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 15, 36, 0.18);
    box-shadow: 0 21px 44px rgba(17, 24, 39, 0.1);
}

.training-detail-module__number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
}

.site-main .training-detail-module h3 {
    margin: 2px 0 9px;
    color: var(--softcode-dark);
    font-size: 1rem;
}

.site-main .training-detail-module p {
    margin: 0;
    color: #637083;
    font-size: 0.81rem;
    line-height: 1.62;
}

.training-detail-method {
    padding-top: 20px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.training-detail-method__panel {
    min-height: 360px;
    padding: 36px;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: var(--training-detail-radius);
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.075);
}

.training-detail-method__panel--accent {
    position: relative;
    overflow: hidden;
    color: var(--softcode-white);
    border-color: transparent;
    background: radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.1), transparent 28%), linear-gradient(115deg, #140207, #480710 52%, #8c0d20);
}

.training-detail-method__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    color: #ff9aaa;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.site-main .training-detail-method__panel h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.site-main .training-detail-method__panel--accent h2 {
    color: var(--softcode-white);
}

.site-main .training-detail-method__panel--accent p {
    margin: 20px 0 0;
    color: #eadfe3;
    font-size: 0.92rem;
    line-height: 1.75;
}

.training-detail-related {
    padding-top: 82px;
    padding-bottom: 92px;
    border-top: 1px solid var(--softcode-border);
}

.training-detail-related__heading {
    margin-bottom: 38px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.site-main .training-detail-related__heading h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.training-detail-related__heading > a,
.training-detail-related-card__button {
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8a0d1d;
    font-size: 0.76rem;
    font-weight: 850;
    border: 1px solid rgba(184, 15, 36, 0.2);
    border-radius: 999px;
    background: #fff7f8;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.training-detail-related__heading > a:hover,
.training-detail-related__heading > a:focus-visible,
.training-detail-related-card__button:hover,
.training-detail-related-card__button:focus-visible {
    color: var(--softcode-white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--softcode-burgundy), var(--softcode-red));
    box-shadow: 0 13px 28px rgba(124, 10, 24, 0.22);
    transform: translateY(-2px);
}

.training-detail-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.training-detail-related-card {
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(124, 10, 24, 0.09);
    border-radius: 19px;
    background: var(--softcode-white);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
    transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.training-detail-related-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184, 15, 36, 0.2);
    box-shadow: 0 28px 56px rgba(17, 24, 39, 0.13);
}

.training-detail-related-card__media {
    height: 220px;
    display: block;
    overflow: hidden;
}

.training-detail-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.training-detail-related-card:hover .training-detail-related-card__media img {
    transform: scale(1.045);
}

.training-detail-related-card__body {
    flex: 1;
    padding: 23px;
    display: flex;
    flex-direction: column;
}

.site-main .training-detail-related-card__body > p {
    margin: 0 0 9px;
    color: var(--softcode-red);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-main .training-detail-related-card h3 {
    min-height: 2.55em;
    margin: 0;
    color: var(--softcode-dark);
    font-size: 1.08rem;
}

.training-detail-related-card__body > span {
    min-height: 4.85em;
    margin-top: 12px;
    display: -webkit-box;
    overflow: hidden;
    color: #657184;
    font-size: 0.82rem;
    line-height: 1.62;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.training-detail-related-card__button {
    margin-top: 21px;
    align-self: flex-start;
}

.site-main > section.training-detail-cta {
    position: relative;
    min-height: 205px;
    margin-bottom: 64px !important;
    padding: 42px 48px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    color: var(--softcode-white);
    border-radius: 24px;
    background: radial-gradient(circle at 92% 40%, rgba(255, 255, 255, 0.1), transparent 28%), linear-gradient(110deg, #140307, #4d0712 52%, #a41027);
    box-shadow: 0 22px 52px rgba(17, 24, 39, 0.17);
}

.training-detail-cta > div:first-child {
    max-width: 780px;
}

.training-detail-cta .training-detail-eyebrow {
    color: #ff9bac;
}

.site-main .training-detail-cta h2 {
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.07;
}

.site-main .training-detail-cta p:last-child {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(241, 244, 248, 0.84);
    line-height: 1.7;
}

.training-detail-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 1100px) {
    .training-detail-overview,
    .training-detail-method {
        grid-template-columns: 1fr;
    }

    .training-detail-information {
        position: static;
    }

    .training-detail-benefits__grid,
    .training-detail-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .training-detail-list-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .training-detail-hero,
    .training-detail-hero__container,
    .training-detail-hero__media img {
        min-height: 720px;
    }

    .training-detail-hero__container {
        width: calc(100% - 36px);
    }

    .training-detail-related__heading,
    .site-main > section.training-detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .training-detail-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .training-detail-hero__meta,
    .training-detail-benefits__grid,
    .training-detail-programme__grid,
    .training-detail-related__grid {
        grid-template-columns: 1fr;
    }

    .training-detail-list-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .site-main > section.training-detail-overview,
    .site-main > section.training-detail-benefits,
    .site-main > section.training-detail-programme,
    .site-main > section.training-detail-method,
    .site-main > section.training-detail-related,
    .site-main > section.training-detail-cta,
    .training-detail-hero__container {
        width: calc(100% - 28px) !important;
    }

    .training-detail-hero,
    .training-detail-hero__container,
    .training-detail-hero__media img {
        min-height: 760px;
    }

    .site-main .training-detail-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.65rem);
    }

    .training-detail-hero__actions,
    .training-detail-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .training-detail-button,
    .training-detail-related__heading > a,
    .training-detail-related-card__button {
        width: 100%;
        border-radius: 14px;
    }

    .training-detail-overview {
        padding-top: 62px;
        padding-bottom: 58px;
    }

    .training-detail-information,
    .training-detail-list-card,
    .training-detail-method__panel {
        padding: 25px 22px;
        border-radius: 17px;
    }

    .training-detail-information dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .training-detail-programme,
    .training-detail-related {
        padding-top: 62px;
        padding-bottom: 68px;
    }

    .training-detail-module {
        min-height: 0;
        padding: 22px 20px;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 15px;
        border-radius: 16px;
    }

    .training-detail-module__number {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .site-main > section.training-detail-cta {
        min-height: 0;
        margin-bottom: 34px !important;
        padding: 30px 24px !important;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .training-detail-list-card,
    .training-detail-module,
    .training-detail-related-card,
    .training-detail-button,
    .training-detail-related__heading > a,
    .training-detail-related-card__button {
        transition: none !important;
    }
}

/* =========================================================
   REFINAMENTOS — PÁGINAS INDIVIDUAIS DE FORMAÇÃO
========================================================= */

.training-detail-benefits {
    padding-bottom: 72px;
}

.training-detail-programme {
    padding-top: 68px;
    padding-bottom: 74px;
}

.training-detail-method {
    padding-top: 8px;
    padding-bottom: 74px;
}

.training-detail-related {
    padding-top: 68px;
    padding-bottom: 76px;
}

@media (max-width: 640px) {
    .training-detail-benefits {
        padding-bottom: 54px;
    }

    .training-detail-programme {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .training-detail-method {
        padding-top: 0;
        padding-bottom: 56px;
    }

    .training-detail-related {
        padding-top: 54px;
        padding-bottom: 58px;
    }
}

/* =========================================================
   REFINAMENTOS DE ESPAÇAMENTO — DETALHES DA FORMAÇÃO
========================================================= */

.training-detail-benefits {
    padding-bottom: 68px;
}

.training-detail-programme {
    padding-top: 62px;
    padding-bottom: 68px;
}

.training-detail-method {
    padding-top: 0;
    padding-bottom: 68px;
}

.training-detail-related {
    padding-top: 62px;
    padding-bottom: 72px;
}

@media (max-width: 640px) {
    .training-detail-benefits {
        padding-bottom: 50px;
    }

    .training-detail-programme {
        padding-top: 50px;
        padding-bottom: 54px;
    }

    .training-detail-method {
        padding-bottom: 52px;
    }

    .training-detail-related {
        padding-top: 50px;
        padding-bottom: 56px;
    }
}


/* =========================================================
   VISIBILIDADE HARMONIZADA DOS HEROS
   Aplica o mesmo equilíbrio visual da página de Contactos.
========================================================= */

.projects-hero__image,
.solutions-hero__media img,
.solution-detail-hero__media img,
.training-hero__media img,
.training-course-hero__media img,
.contact-page-hero__media img {
    filter: var(--hero-image-filter);
}

.projects-hero__overlay,
.solutions-hero__overlay,
.solution-detail-hero__overlay,
.training-hero__overlay,
.training-course-hero__overlay,
.contact-page-hero__overlay {
    background:
        var(--hero-overlay-horizontal),
        var(--hero-overlay-vertical);
}

/*
 * A homepage mantém um tratamento ligeiramente mais suave,
 * porque o slider já utiliza opacidade e animação.
 */
.hero-slide__image {
    filter:
        brightness(1.06)
        contrast(1.03);
}

@media (max-width: 900px) {
    .projects-hero__overlay,
    .solutions-hero__overlay,
    .solution-detail-hero__overlay,
    .training-hero__overlay,
    .training-course-hero__overlay,
    .contact-page-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.93) 0%,
                rgba(3, 7, 14, 0.80) 52%,
                rgba(3, 7, 14, 0.94) 100%
            );
    }
}

/* =========================================================
   CONTACTOS — PÁGINA PÚBLICA
   Compatível com:
   app/Views/public/contact/index.php
========================================================= */

:root {
    --contact-container: 1320px;
    --contact-radius-lg: 24px;
    --contact-radius-md: 18px;
    --contact-shadow:
        0 20px 55px rgba(15, 23, 42, 0.10);
    --contact-border:
        rgba(124, 10, 24, 0.10);
    --contact-muted: #667085;
    --contact-surface: #ffffff;
    --contact-soft: #fff7f8;
}

/* =========================================================
   BASE
========================================================= */

.site-main > section.contact-page-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-main > section.contact-page-channels,
.site-main > section.contact-page-main,
.site-main > section.contact-page-faq,
.site-main > section.contact-page-cta {
    width: min(
        calc(100% - 48px),
        var(--contact-container)
    ) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-page-eyebrow {
    margin: 0 0 12px;
    color: var(--softcode-red);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-page-section-heading {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.site-main .contact-page-section-heading h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

/* Elementos SVG da página de contactos */
.contact-page-hero-benefit__icon svg,
.contact-channel-card__icon svg,
.contact-page-location__marker svg,
.contact-page-location__note svg {
    display: block;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-page-hero-benefit__icon svg *,
.contact-channel-card__icon svg *,
.contact-page-location__marker svg *,
.contact-page-location__note svg * {
    fill: none !important;
    stroke: currentColor !important;
}

/* =========================================================
   HERO
========================================================= */

.contact-page-hero {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    color: var(--softcode-white);
    background: #050911;
}

.contact-page-hero__media,
.contact-page-hero__overlay {
    position: absolute;
    inset: 0;
}

.contact-page-hero__media {
    z-index: 1;
}

.contact-page-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 670px;
    object-fit: cover;
    object-position: center 48%;
    filter: var(--hero-image-filter);
}

.contact-page-hero__overlay {
    z-index: 2;
    background:
        var(--hero-overlay-horizontal),
        var(--hero-overlay-vertical);
}

.contact-page-hero__container {
    position: relative;
    z-index: 3;
    width: min(
        calc(100% - 48px),
        var(--contact-container)
    );
    min-height: 670px;
    margin: 0 auto;
    padding: 50px 0 58px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contact-page-breadcrumb {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.77rem;
    font-weight: 650;
}

.contact-page-breadcrumb a {
    transition: color 160ms ease;
}

.contact-page-breadcrumb a:hover,
.contact-page-breadcrumb a:focus-visible {
    color: var(--softcode-white);
}

.contact-page-hero__content {
    width: min(100%, 880px);
}

.contact-page-hero .contact-page-eyebrow {
    color: #ff8293;
}

.site-main .contact-page-hero h1 {
    max-width: 860px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.site-main .contact-page-hero__description {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(239, 243, 248, 0.88);
    font-size: 1.03rem;
    line-height: 1.76;
}

.contact-page-hero__benefits {
    margin-top: 38px;
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.contact-page-hero-benefit {
    min-height: 118px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(7, 12, 21, 0.52);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-page-hero-benefit__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #ff98a7;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.09);
}

.contact-page-hero-benefit__icon svg {
    width: 22px;
    height: 22px;
}

.site-main .contact-page-hero-benefit h2 {
    margin: 1px 0 5px;
    color: var(--softcode-white);
    font-size: 0.88rem;
    line-height: 1.35;
}

.site-main .contact-page-hero-benefit p {
    margin: 0;
    color: rgba(236, 241, 247, 0.72);
    font-size: 0.74rem;
    line-height: 1.5;
}

/* =========================================================
   CANAIS DE CONTACTO
========================================================= */

.contact-page-channels {
    padding-top: 84px;
    padding-bottom: 76px;
}

.contact-page-channels__grid {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.contact-channel-card {
    min-height: 175px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-md);
    background:
        radial-gradient(
            circle at top right,
            rgba(184, 15, 36, 0.05),
            transparent 28%
        ),
        var(--contact-surface);
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.065);
    transition:
        transform 190ms ease,
        border-color 190ms ease,
        box-shadow 190ms ease;
}

.contact-channel-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 15, 36, 0.2);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.11);
}

.contact-channel-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.22);
}

.contact-channel-card__icon svg {
    width: 25px;
    height: 25px;
}

.site-main .contact-channel-card h3 {
    margin: 0 0 8px;
    color: var(--softcode-dark);
    font-size: 0.98rem;
    line-height: 1.3;
}

.site-main .contact-channel-card p,
.site-main .contact-channel-card a {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.site-main .contact-channel-card a:hover,
.site-main .contact-channel-card a:focus-visible {
    color: var(--softcode-red);
}

/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.contact-page-main {
    padding-top: 18px;
    padding-bottom: 86px;
    display: grid;
    grid-template-columns:
        minmax(300px, 0.72fr)
        minmax(0, 1.28fr);
    align-items: start;
    gap: 32px;
}

.contact-page-location {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 20px;
}

.contact-page-location__map {
    position: relative;
    min-height: 460px;
    padding: 36px;
    overflow: hidden;
    border-radius: var(--contact-radius-lg);
    color: var(--softcode-white);
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 255, 255, 0.09),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #120207,
            #520813 58%,
            #8d1021
        );
    box-shadow:
        0 22px 52px rgba(15, 23, 42, 0.17);
}

.contact-page-location__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 44px 44px;
}

.contact-page-location__content {
    position: relative;
    z-index: 1;
    min-height: 388px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.contact-page-location .contact-page-eyebrow {
    color: #ff9bab;
}

.site-main .contact-page-location h2 {
    max-width: 420px;
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
}

.site-main .contact-page-location__content > p {
    max-width: 480px;
    margin: 17px 0 0;
    color: rgba(239, 243, 248, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-page-location__marker {
    position: absolute;
    top: 54px;
    right: 46px;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    color: var(--softcode-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50% 50% 50% 12%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(-45deg);
    box-shadow:
        0 0 0 22px rgba(255, 255, 255, 0.035),
        0 0 0 45px rgba(255, 255, 255, 0.018);
}

.contact-page-location__marker svg {
    width: 34px;
    height: 34px;
    transform: rotate(45deg);
}

.contact-page-location__note {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--contact-border);
    border-radius: 17px;
    background: var(--contact-surface);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.06);
}

.contact-page-location__note > span {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 13px;
    background: var(--contact-soft);
}

.contact-page-location__note svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-page-location__note strong {
    color: var(--softcode-dark);
    font-size: 0.82rem;
}

.site-main .contact-page-location__note p {
    margin: 5px 0 0;
    color: var(--contact-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

/* =========================================================
   CARTÃO DO FORMULÁRIO
========================================================= */

.contact-page-form-card {
    padding: 36px;
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-lg);
    background: var(--contact-surface);
    box-shadow: var(--contact-shadow);
}

.contact-page-form-card > header {
    margin-bottom: 28px;
}

.site-main .contact-page-form-card > header h2 {
    margin: 0;
    color: var(--softcode-dark);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.site-main .contact-page-form-card > header > p:last-child {
    margin: 14px 0 0;
    color: var(--contact-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* =========================================================
   ALERTAS
========================================================= */

.contact-form-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.55;
    border-radius: 13px;
}

.contact-form-alert--success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.contact-form-alert--error {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

/* =========================================================
   FORMULÁRIO
========================================================= */

.contact-form {
    position: relative;
}

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

.contact-form-field {
    min-width: 0;
}

.contact-form-field--wide {
    grid-column: 1 / -1;
}

.contact-form-field[hidden] {
    display: none !important;
}

.contact-form-field label:not(.contact-form-consent) {
    margin-bottom: 8px;
    display: block;
    color: #263043;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.4;
}

.contact-form-field label > span[aria-hidden="true"] {
    color: var(--softcode-red);
}

.contact-form-field input:not([type="checkbox"]),
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    color: #1f2937;
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.45;
    border: 1px solid #dfe4ea;
    border-radius: 13px;
    outline: none;
    background: #ffffff;
    transition:
        border-color 170ms ease,
        box-shadow 170ms ease,
        background 170ms ease;
}

.contact-form-field input:not([type="checkbox"]),
.contact-form-field select {
    min-height: 50px;
    padding: 0 14px;
}

.contact-form-field textarea {
    min-height: 165px;
    padding: 14px;
    resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #9aa3b1;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: rgba(184, 15, 36, 0.55);
    box-shadow:
        0 0 0 4px rgba(184, 15, 36, 0.09);
}

.contact-form-field input[aria-invalid="true"],
.contact-form-field select[aria-invalid="true"],
.contact-form-field textarea[aria-invalid="true"] {
    border-color: #dc2626;
    background: #fffafa;
}

.contact-form-error {
    margin-top: 7px;
    display: block;
    color: #b91c1c;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.45;
}

.contact-form-course-name {
    margin-top: 7px;
    display: block;
    color: var(--softcode-red);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.45;
}

.contact-form-textarea-meta {
    margin-top: 7px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.contact-form-textarea-meta > small:last-child {
    flex: 0 0 auto;
    color: #8b95a5;
    font-size: 0.68rem;
}

.contact-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #596577;
    font-size: 0.75rem;
    line-height: 1.55;
    cursor: pointer;
}

.contact-form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 18px;
    accent-color: var(--softcode-red);
}

.contact-form-submit {
    min-height: 52px;
    margin-top: 26px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--softcode-white);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.25;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 14px 31px rgba(124, 10, 24, 0.27);
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.contact-form-submit:hover,
.contact-form-submit:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(124, 10, 24, 0.37);
}

.contact-form-security-note {
    margin: 14px 0 0;
    color: #7b8594;
    font-size: 0.69rem;
    line-height: 1.5;
}

.contact-form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* =========================================================
   FAQ
========================================================= */

.contact-page-faq {
    padding-top: 82px;
    padding-bottom: 88px;
    border-top: 1px solid var(--softcode-border);
}

.contact-page-faq__grid {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.contact-faq-item {
    overflow: hidden;
    border: 1px solid var(--contact-border);
    border-radius: 16px;
    background: var(--contact-surface);
    box-shadow:
        0 11px 28px rgba(15, 23, 42, 0.055);
}

.contact-faq-item button {
    width: 100%;
    min-height: 66px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--softcode-dark);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.contact-faq-item button > span:last-child {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 50%;
    background: var(--contact-soft);
}

.contact-faq-item__answer {
    padding: 0 19px 18px;
}

.site-main .contact-faq-item__answer p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.77rem;
    line-height: 1.65;
}

/* =========================================================
   CTA FINAL
========================================================= */

.site-main > section.contact-page-cta {
    position: relative;
    min-height: 205px;
    margin-bottom: 64px !important;
    padding: 42px 48px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    color: var(--softcode-white);
    border-radius: var(--contact-radius-lg);
    background:
        radial-gradient(
            circle at 92% 40%,
            rgba(255, 255, 255, 0.10),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #140307,
            #4d0712 52%,
            #a41027
        );
    box-shadow:
        0 22px 52px rgba(15, 23, 42, 0.17);
}

.contact-page-cta::after {
    content: "";
    position: absolute;
    right: -90px;
    top: 50%;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, 0.025),
        0 0 0 80px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.contact-page-cta > div:first-child,
.contact-page-cta__actions {
    position: relative;
    z-index: 1;
}

.contact-page-cta > div:first-child {
    max-width: 760px;
}

.contact-page-cta .contact-page-eyebrow {
    color: #ff9bac;
}

.site-main .contact-page-cta h2 {
    margin: 0;
    color: var(--softcode-white);
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.site-main .contact-page-cta p:last-child {
    max-width: 650px;
    margin: 14px 0 0;
    color: rgba(241, 244, 248, 0.84);
    line-height: 1.7;
}

.contact-page-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.contact-page-button {
    min-height: 49px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 999px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.contact-page-button:hover,
.contact-page-button:focus-visible {
    transform: translateY(-2px);
}

.contact-page-button--primary {
    color: var(--softcode-burgundy);
    background: var(--softcode-white);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16);
}

.contact-page-button--secondary {
    color: var(--softcode-white);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1100px) {
    .contact-page-hero__benefits {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .contact-page-channels__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

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

    .contact-page-location {
        position: static;
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(280px, 0.75fr);
    }

    .contact-page-location__note {
        align-self: stretch;
    }
}

@media (max-width: 900px) {
    .contact-page-hero,
    .contact-page-hero__container,
    .contact-page-hero__media img {
        min-height: 740px;
    }

    .contact-page-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.96) 0%,
                rgba(3, 7, 14, 0.86) 58%,
                rgba(3, 7, 14, 0.97) 100%
            );
    }

    .contact-page-hero__container {
        width: calc(100% - 36px);
    }

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

    .site-main > section.contact-page-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-page-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .contact-page-channels__grid,
    .contact-page-faq__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

    .contact-form-field--wide {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .site-main > section.contact-page-channels,
    .site-main > section.contact-page-main,
    .site-main > section.contact-page-faq,
    .site-main > section.contact-page-cta,
    .contact-page-hero__container {
        width: calc(100% - 28px) !important;
    }

    .contact-page-hero,
    .contact-page-hero__container,
    .contact-page-hero__media img {
        min-height: 800px;
    }

    .contact-page-hero__container {
        padding-top: 42px;
        padding-bottom: 44px;
    }

    .site-main .contact-page-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.7rem);
        line-height: 1.02;
    }

    .site-main .contact-page-hero__description {
        font-size: 0.93rem;
        line-height: 1.68;
    }

    .contact-page-hero__benefits,
    .contact-page-channels__grid,
    .contact-page-faq__grid {
        grid-template-columns: 1fr;
    }

    .contact-page-channels {
        padding-top: 62px;
        padding-bottom: 58px;
    }

    .contact-page-main {
        padding-bottom: 64px;
        gap: 24px;
    }

    .contact-page-location__map {
        min-height: 400px;
        padding: 26px 22px;
        border-radius: 18px;
    }

    .contact-page-location__content {
        min-height: 348px;
    }

    .contact-page-location__marker {
        top: 42px;
        right: 34px;
        width: 70px;
        height: 70px;
    }

    .contact-page-form-card {
        padding: 26px 21px;
        border-radius: 18px;
    }

    .contact-form-submit {
        width: 100%;
        border-radius: 14px;
    }

    .contact-page-faq {
        padding-top: 62px;
        padding-bottom: 66px;
    }

    .site-main > section.contact-page-cta {
        min-height: 0;
        margin-bottom: 34px !important;
        padding: 30px 24px !important;
        border-radius: 18px;
    }

    .contact-page-cta::after {
        display: none;
    }

    .contact-page-cta__actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .contact-page-button {
        width: 100%;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-channel-card,
    .contact-form-submit,
    .contact-page-button {
        transition: none !important;
    }
}

/* =========================================================
   HOMEPAGE — VISIBILIDADE ESPECÍFICA DO HERO
   Mantém o texto legível e deixa as imagens do slider
   mais claras do centro para o lado direito.
========================================================= */

.hero-slide__image {
    opacity: 0.88;
    filter:
        brightness(1.14)
        contrast(1.02)
        saturate(1.05);
}

.hero-slide__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 14, 0.96) 0%,
            rgba(3, 7, 14, 0.84) 35%,
            rgba(3, 7, 14, 0.34) 63%,
            rgba(3, 7, 14, 0.03) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 14, 0.01),
            rgba(3, 7, 14, 0.26)
        );
}

@media (max-width: 900px) {
    .hero-slide__image {
        opacity: 0.78;
        filter:
            brightness(1.10)
            contrast(1.02)
            saturate(1.04);
    }

    .hero-slide__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.80) 0%,
                rgba(3, 7, 14, 0.58) 48%,
                rgba(3, 7, 14, 0.86) 100%
            );
    }
}

@media (max-width: 640px) {
    .hero-slide__image {
        opacity: 0.70;
        filter:
            brightness(1.08)
            contrast(1.02)
            saturate(1.03);
    }

    .hero-slide__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 14, 0.84) 0%,
                rgba(3, 7, 14, 0.68) 50%,
                rgba(3, 7, 14, 0.93) 100%
            );
    }
}

/* =========================================================
   CONTACTOS — MODAL DE RESULTADO E FOCO DO FORMULÁRIO
========================================================= */

#contact-form {
    scroll-margin-top:
        calc(var(--header-height) + 28px);
}

#contact-form:focus {
    outline: none;
}

body.contact-modal-open {
    overflow: hidden;
}

.contact-result-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: grid;
    place-items: center;

    padding: 24px;
}

.contact-result-modal[hidden] {
    display: none;
}

.contact-result-modal__backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(5, 8, 13, 0.76);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-result-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    padding: 34px 34px 30px;
    overflow-y: auto;

    text-align: center;

    border:
        1px solid rgba(124, 10, 24, 0.1);
    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fffafb
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);

    animation:
        contactModalIn 220ms ease both;
}

.contact-result-modal__dialog:focus {
    outline: none;
}

.contact-result-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 42px;
    height: 42px;
    padding: 0;

    display: grid;
    place-items: center;

    color: #4b5563;
    font-size: 1.7rem;
    line-height: 1;

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

    background: #ffffff;
    cursor: pointer;

    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.contact-result-modal__close:hover,
.contact-result-modal__close:focus-visible {
    color: var(--softcode-burgundy);
    border-color:
        rgba(184, 15, 36, 0.24);
    background: #fff3f5;
    transform: rotate(5deg);
}

.contact-result-modal__brand {
    width: min(100%, 230px);
    margin: 0 auto 22px;
    padding: 10px 14px;

    border:
        1px solid rgba(124, 10, 24, 0.08);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 26px rgba(17, 24, 39, 0.07);
}

.contact-result-modal__brand img {
    width: 100%;
    max-height: 66px;
    object-fit: contain;
}

.contact-result-modal__status {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 900;

    border-radius: 50%;
}

.contact-result-modal__status--success {
    background:
        linear-gradient(
            135deg,
            #16803d,
            #22a454
        );

    box-shadow:
        0 14px 30px rgba(22, 128, 61, 0.24);
}

.contact-result-modal__status--error {
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 14px 30px rgba(184, 15, 36, 0.24);
}

.site-main .contact-result-modal h2 {
    margin: 0;

    color: var(--softcode-dark);
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.site-main .contact-result-modal p {
    margin: 16px 0 0;

    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.7;
}

.site-main .contact-result-modal__supporting {
    margin-top: 10px;

    color: #737b88;
    font-size: 0.86rem;
}

.contact-result-modal__button {
    min-width: 160px;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 22px;

    color: #ffffff;
    font-weight: 800;

    border: 0;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.22);

    cursor: pointer;

    transition:
        transform 170ms ease,
        box-shadow 170ms ease;
}

.contact-result-modal__button:hover,
.contact-result-modal__button:focus-visible {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(124, 10, 24, 0.3);
}

@keyframes contactModalIn {
    from {
        opacity: 0;
        transform:
            translateY(16px)
            scale(0.98);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

@media (max-width: 640px) {
    .contact-result-modal {
        padding: 14px;
    }

    .contact-result-modal__dialog {
        max-height: calc(100vh - 28px);
        padding: 30px 22px 24px;
        border-radius: 20px;
    }

    .contact-result-modal__brand {
        width: min(100%, 205px);
    }

    .contact-result-modal__button {
        width: 100%;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-result-modal__dialog {
        animation: none;
    }
}

/* =========================================================
   CONTACTOS — MODAL DE RESULTADO
========================================================= */

body.contact-modal-open {
    overflow: hidden;
}

.contact-result-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    padding: 24px;
}

.contact-result-modal[hidden] {
    display: none;
}

.contact-result-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(5, 8, 13, 0.78);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-result-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    padding: 34px;
    overflow-y: auto;

    text-align: center;

    border: 1px solid rgba(124, 10, 24, 0.1);
    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fffafb
        );

    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.34);

    animation:
        contactModalIn 220ms ease both;
}

.contact-result-modal__dialog:focus {
    outline: none;
}

.contact-result-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 42px;
    height: 42px;
    padding: 0;

    display: grid;
    place-items: center;

    color: #4b5563;
    font-size: 1.7rem;
    line-height: 1;

    border: 1px solid #e5e7eb;
    border-radius: 50%;

    background: #ffffff;
    cursor: pointer;
}

.contact-result-modal__close:hover,
.contact-result-modal__close:focus-visible {
    color: var(--softcode-burgundy);
    background: #fff3f5;
}

.contact-result-modal__brand {
    width: min(100%, 230px);
    margin: 0 auto 22px;
    padding: 10px 14px;

    border: 1px solid rgba(124, 10, 24, 0.08);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 26px rgba(17, 24, 39, 0.07);
}

.contact-result-modal__brand img {
    width: 100%;
    max-height: 66px;

    object-fit: contain;
}

.contact-result-modal__status {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 900;

    border-radius: 50%;
}

.contact-result-modal__status--success {
    background:
        linear-gradient(
            135deg,
            #16803d,
            #22a454
        );

    box-shadow:
        0 14px 30px rgba(22, 128, 61, 0.24);
}

.contact-result-modal__status--error {
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 14px 30px rgba(184, 15, 36, 0.24);
}

.site-main .contact-result-modal h2 {
    margin: 0;

    color: var(--softcode-dark);
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    line-height: 1.2;
}

.site-main .contact-result-modal p {
    margin: 16px 0 0;

    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.7;
}

.site-main .contact-result-modal__supporting {
    margin-top: 10px;

    color: #737b88;
    font-size: 0.86rem;
}

.contact-result-modal__button {
    min-width: 160px;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 22px;

    color: #ffffff;
    font-weight: 800;

    border: 0;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.22);

    cursor: pointer;
}

@keyframes contactModalIn {
    from {
        opacity: 0;

        transform:
            translateY(16px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

@media (max-width: 640px) {
    .contact-result-modal {
        padding: 14px;
    }

    .contact-result-modal__dialog {
        max-height: calc(100vh - 28px);
        padding: 30px 22px 24px;

        border-radius: 20px;
    }

    .contact-result-modal__button {
        width: 100%;

        border-radius: 14px;
    }
}

.contact-form-submit {
    position: relative;

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

.contact-form-submit__loader {
    display: none;

    width: 18px;
    height: 18px;

    border:
        2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
}

.contact-form-submit.is-processing {
    cursor: wait;
    opacity: 0.88;
}

.contact-form-submit.is-processing
.contact-form-submit__icon {
    display: none;
}

.contact-form-submit.is-processing
.contact-form-submit__loader {
    display: inline-block;

    animation:
        contactSubmitSpin 700ms linear infinite;
}

.contact-form-submit:disabled {
    pointer-events: none;
}

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

/* =========================================================
   SOFTCODE - Páginas legais e Código de Etica
   ========================================================= */

.legal-page,
.ethics-page {
    background: #f7f8fa;
}

.legal-hero {
    padding: clamp(72px, 9vw, 128px) 0 72px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(92, 8, 12, 0.96),
            rgba(176, 31, 39, 0.92)
        );
}

.legal-hero__inner {
    max-width: 900px;
}

.legal-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    line-height: 1.04;
}

.legal-hero p {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.legal-updated {
    display: inline-flex;
    margin-top: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.legal-content {
    padding: 72px 0 96px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: start;
}

.legal-summary {
    position: sticky;
    top: 110px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.legal-summary h2,
.legal-section h2,
.legal-contact-card h2,
.ethics-intro h2,
.ethics-document h2 {
    margin-top: 0;
    color: #17191d;
}

.legal-summary p,
.legal-section p,
.legal-section li,
.legal-contact-card p,
.ethics-intro p,
.ethics-principle p,
.ethics-document p {
    color: #5b616b;
    line-height: 1.8;
}

.legal-summary__link,
.legal-contact-card a,
.ethics-document__open {
    font-weight: 800;
    color: #a71922;
    text-decoration: none;
}

.legal-article {
    min-width: 0;
}

.legal-section {
    padding: 0 0 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid #e4e7eb;
}

.legal-section h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-section ul {
    padding-left: 22px;
}

.legal-section li + li {
    margin-top: 10px;
}

.legal-contact-card {
    padding: 30px;
    border-radius: 24px;
    color: #ffffff;
    background: #181a1f;
}

.legal-contact-card h2,
.legal-contact-card p {
    color: #ffffff;
}

.legal-contact-card a {
    color: #ffffff;
}

.ethics-intro,
.ethics-document {
    padding: 72px 0;
}

.ethics-language-notice {
    margin-bottom: 32px;
    padding: 16px 18px;
    border-left: 4px solid #a71922;
    border-radius: 12px;
    color: #5f3033;
    background: #fff1f2;
}

.ethics-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

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

.ethics-principle {
    padding: 24px;
    border: 1px solid #e6e8ec;
    border-radius: 20px;
    background: #ffffff;
}

.ethics-principle h3 {
    margin: 0 0 10px;
    color: #9e1820;
}

.ethics-document {
    background: #ffffff;
}

.ethics-document__header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}

.ethics-document__header > div {
    max-width: 760px;
}

.ethics-document__open {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    color: #ffffff;
    background: #a71922;
}

.ethics-viewer-shell {
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 22px;
    background: #eef1f4;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.ethics-document-viewer {
    display: block;
    width: 100%;
    min-height: 82vh;
    border: 0;
}

.ethics-viewer-fallback {
    padding: 44px;
    text-align: center;
}

@media (max-width: 900px) {
    .legal-layout,
    .ethics-intro__grid {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
    }

    .ethics-document__header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .legal-content,
    .ethics-intro,
    .ethics-document {
        padding: 52px 0;
    }

    .ethics-principles {
        grid-template-columns: 1fr;
    }

    .ethics-document-viewer {
        min-height: 68vh;
    }
}

/* =========================================================
   POLÍTICA DE PRIVACIDADE — LEITURA PREMIUM V2
========================================================= */

.site-main > .privacy-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.privacy-page {
    --privacy-container: 1180px;
    --privacy-reading-width: 820px;
    color: #202531;
    background:
        linear-gradient(
            180deg,
            #f4f6f9 0%,
            #f8f9fb 100%
        );
}

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

/* Hero */

.privacy-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 68px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(255, 255, 255, 0.12),
            transparent 25%
        ),
        linear-gradient(
            110deg,
            #150307 0%,
            #660a18 54%,
            #a7192a 100%
        );
}

.privacy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    pointer-events: none;
}

.privacy-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.025),
        0 0 0 92px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.privacy-hero__content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.privacy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #ffdce1;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.privacy-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: #ff6679;
}

.site-main .privacy-title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    line-height: 1.01;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.site-main .privacy-description {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.78;
}

.privacy-updated {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.privacy-updated span {
    color: #ff7182;
    font-size: 0.58rem;
}

/* Conteúdo */

.privacy-content {
    padding: 58px 0 86px;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.privacy-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 18px;
}

.privacy-commitment-card,
.privacy-index-card,
.privacy-section {
    border: 1px solid rgba(124, 10, 24, 0.08);
    background: #ffffff;
    box-shadow:
        0 14px 36px rgba(17, 24, 39, 0.055);
}

.privacy-commitment-card {
    padding: 26px;
    border-radius: 22px;
}

.privacy-commitment-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 19px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 26px rgba(124, 10, 24, 0.2);
}

.privacy-commitment-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-main .privacy-commitment-card h2,
.site-main .privacy-index-card h2 {
    margin: 0 0 12px;
    color: #171c27;
    font-size: 1.08rem;
    line-height: 1.32;
}

.site-main .privacy-commitment-card p {
    margin: 0;
    color: #626d7d;
    font-size: 0.88rem;
    line-height: 1.75;
}

.privacy-commitment-card__link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--softcode-burgundy);
    font-size: 0.82rem;
    font-weight: 850;
}

.privacy-commitment-card__link span {
    transition: transform 180ms ease;
}

.privacy-commitment-card__link:hover span,
.privacy-commitment-card__link:focus-visible span {
    transform: translateX(4px);
}

.privacy-index-card {
    padding: 22px;
    border-radius: 22px;
}

.privacy-index {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
    list-style: none;
}

.privacy-index a {
    min-height: 40px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4e596b;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 10px;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.privacy-index a span {
    min-width: 24px;
    color: #a71922;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.privacy-index a:hover,
.privacy-index a:focus-visible {
    color: var(--softcode-burgundy);
    background: #fff3f5;
    transform: translateX(3px);
}

/* Artigo */

.privacy-article {
    min-width: 0;
    max-width: var(--privacy-reading-width);
    display: grid;
    gap: 20px;
}

.privacy-section {
    scroll-margin-top: calc(var(--header-height) + 28px);
    overflow: hidden;
    border-radius: 22px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.privacy-section:hover {
    border-color: rgba(184, 15, 36, 0.14);
    box-shadow:
        0 20px 44px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.privacy-section__header {
    padding: 22px 26px 17px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #eef0f4;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fdfdfe
        );
}

.privacy-section__number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 900;
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 8px 18px rgba(124, 10, 24, 0.17);
}

.site-main .privacy-section h2 {
    margin: 3px 0 0;
    color: #171c27;
    font-size: clamp(1.18rem, 1.8vw, 1.48rem);
    line-height: 1.32;
    letter-spacing: -0.018em;
}

.privacy-section__body {
    padding: 22px 26px 26px;
}

.site-main .privacy-section__body p {
    margin: 0 0 14px;
    color: #596476;
    font-size: 0.94rem;
    line-height: 1.85;
}

.site-main .privacy-section__body p:last-child {
    margin-bottom: 0;
}

.privacy-list {
    margin: 5px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.privacy-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #556071;
    font-size: 0.91rem;
    line-height: 1.68;
}

.privacy-list li > span:first-child {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    display: grid;
    place-items: center;
    color: #a71922;
    font-size: 0.67rem;
    font-weight: 900;
    border-radius: 50%;
    background: #fff0f2;
}

/* Contacto final */

.privacy-contact-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #ffffff;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 92% 42%,
            rgba(255, 255, 255, 0.1),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #111827,
            #3b0710 58%,
            #780b1b
        );
    box-shadow:
        0 20px 46px rgba(17, 24, 39, 0.16);
}

.privacy-contact-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(255, 255, 255, 0.025);
}

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

.privacy-contact-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff9aaa;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.site-main .privacy-contact-card h2 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.22;
}

.site-main .privacy-contact-card p {
    max-width: 560px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    line-height: 1.7;
}

.privacy-contact-card > a {
    min-height: 48px;
    padding: 0 18px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--softcode-burgundy);
    font-size: 0.8rem;
    font-weight: 850;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.14);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.privacy-contact-card > a:hover,
.privacy-contact-card > a:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.2);
}

/* Responsividade */

@media (max-width: 980px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-article {
        max-width: none;
    }
}

@media (max-width: 680px) {
    .privacy-container {
        width: calc(100% - 28px);
    }

    .privacy-hero {
        padding: 55px 0 50px;
    }

    .site-main .privacy-title {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
    }

    .site-main .privacy-description {
        font-size: 0.94rem;
        line-height: 1.68;
    }

    .privacy-content {
        padding: 34px 0 58px;
    }

    .privacy-sidebar {
        grid-template-columns: 1fr;
    }

    .privacy-index-card {
        display: none;
    }

    .privacy-commitment-card,
    .privacy-section {
        border-radius: 18px;
    }

    .privacy-section__header {
        padding: 19px 20px 15px;
    }

    .privacy-section__body {
        padding: 19px 20px 22px;
    }

    .privacy-contact-card {
        padding: 26px 22px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 18px;
    }

    .privacy-contact-card > a {
        width: 100%;
        border-radius: 13px;
    }
}

/* =========================================================
   POLÍTICA DE PRIVACIDADE — POLIMENTO FINAL V3
========================================================= */

.privacy-page {
    --privacy-reading-width: 880px;
}

.privacy-commitment-card,
.privacy-index-card,
.privacy-section {
    box-shadow:
        0 10px 28px rgba(17, 24, 39, 0.045);
}

.privacy-section:hover {
    box-shadow:
        0 16px 36px rgba(17, 24, 39, 0.07);
}

.site-main .privacy-section__body p {
    font-size: 0.98rem;
    line-height: 1.9;
}

.privacy-list li {
    font-size: 0.95rem;
    line-height: 1.75;
}

.privacy-contact-card > a {
    min-height: 52px;
    padding-inline: 22px;
}

.privacy-index a.is-active,
.privacy-index a[aria-current="true"] {
    color: var(--softcode-burgundy);
    background: #fff3f5;
    transform: translateX(3px);
}

.privacy-index a.is-active span,
.privacy-index a[aria-current="true"] span {
    color: var(--softcode-red);
}

@media (max-width: 980px) {
    .privacy-page {
        --privacy-reading-width: none;
    }
}

@media (max-width: 680px) {
    .site-main .privacy-section__body p {
        font-size: 0.95rem;
        line-height: 1.82;
    }

    .privacy-list li {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .privacy-contact-card > a {
        min-height: 50px;
    }
}

/* =========================================================
   CONTACTOS — CORRECÇÃO DO PRAZO DE RESPOSTA V2
========================================================= */

.contact-form-response-time {
    margin: 24px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #687385;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
}

.contact-form-response-time > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    color: var(--softcode-red);
    border: 1px solid rgba(184, 15, 36, 0.12);
    border-radius: 10px;
    background: #fff3f5;
}

.contact-form-response-time svg {
    display: block;
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-form-consent a {
    color: var(--softcode-burgundy);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-form-consent a:hover,
.contact-form-consent a:focus-visible {
    color: var(--softcode-red);
}

@media (max-width: 640px) {
    .contact-form-response-time {
        width: 100%;
        align-items: flex-start;
        font-size: 0.74rem;
    }
}

/* =========================================================
   CONTACTOS — POSICIONAMENTO DO BOTÃO DE ENVIO
========================================================= */

.contact-form-response-time {
    margin-top: 16px;
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #687385;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
}

.contact-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: fit-content;
    min-width: 250px;
    min-height: 48px;
    margin: 0;

    padding: 0 24px;

    border: 0;
    border-radius: 999px;

    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );

    box-shadow:
        0 12px 28px rgba(124, 10, 24, 0.24);

    cursor: pointer;
}

.contact-form-submit:hover,
.contact-form-submit:focus-visible {
    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(124, 10, 24, 0.3);
}

.contact-form-security-note {
    margin-top: 16px;
}

@media (max-width: 640px) {
    .contact-form-submit {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   CONTACTOS — POLIMENTO FINAL DO BOTÃO
========================================================= */

.contact-form-submit {
    min-width: 230px;
    min-height: 50px;
    padding-inline: 26px;
}

.contact-form-submit__icon {
    font-size: 1rem;
    line-height: 1;
}

.contact-form-security-note {
    margin-top: 14px;
    max-width: 430px;
    line-height: 1.55;
}

.contact-form-response-time {
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    .contact-form-submit {
        width: 100%;
        min-width: 0;
    }

    .contact-form-security-note {
        max-width: none;
    }
}

/* =========================================================
   CÓDIGO DE ÉTICA E CONDUTA — EXPERIÊNCIA PREMIUM V2
========================================================= */

.site-main > .ethics-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ethics-page {
    color: #202531;
    background: #f6f8fb;
}

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

.ethics-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--softcode-red);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ethics-premium-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

/* Hero */

.ethics-premium-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 76px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(255, 255, 255, 0.11),
            transparent 24%
        ),
        linear-gradient(
            112deg,
            #130307 0%,
            #5f0917 55%,
            #ad1a2d 100%
        );
}

.ethics-premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
}

.ethics-premium-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(255,255,255,.025),
        0 0 0 98px rgba(255,255,255,.018);
}

.ethics-premium-hero .ethics-premium-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 60px;
    align-items: center;
}

.ethics-premium-hero__content {
    max-width: 820px;
}

.ethics-premium-hero .ethics-premium-eyebrow {
    color: #ffd7dd;
}

.site-main .ethics-premium-hero h1 {
    max-width: 800px;
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 1.01;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.site-main .ethics-premium-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 1.04rem;
    line-height: 1.78;
}

.ethics-premium-hero__actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.ethics-premium-status {
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.9);
    font-size: 0.8rem;
    font-weight: 750;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
}

.ethics-premium-status span {
    color: #ff6b7d;
    font-size: 0.58rem;
}

.ethics-premium-hero__mark {
    width: 230px;
    height: 230px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 38px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
    transform: rotate(5deg);
}

.ethics-premium-hero__mark svg {
    width: 132px;
    height: 132px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Botões */

.ethics-premium-button {
    min-height: 49px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 850;
    border: 1px solid transparent;
    border-radius: 999px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.ethics-premium-button:hover,
.ethics-premium-button:focus-visible {
    transform: translateY(-2px);
}

.ethics-premium-button--primary {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 14px 32px rgba(124,10,24,.28);
}

.ethics-premium-hero
.ethics-premium-button--primary {
    background: #ffffff;
    color: var(--softcode-burgundy);
}

.ethics-premium-button--light {
    color: var(--softcode-burgundy);
    background: #ffffff;
}

/* Introdução */

.ethics-premium-intro {
    padding: 76px 0 82px;
}

.ethics-premium-notice {
    margin-bottom: 30px;
    padding: 17px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #6d2731;
    border: 1px solid #f1c6cd;
    border-radius: 15px;
    background: #fff1f3;
}

.ethics-premium-notice > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 50%;
    background: var(--softcode-red);
}

.site-main .ethics-premium-notice p {
    margin: 1px 0 0;
    color: inherit;
}

.ethics-premium-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.ethics-premium-intro__copy {
    position: sticky;
    top: calc(var(--header-height) + 30px);
}

.site-main .ethics-premium-intro__copy h2 {
    margin: 16px 0 0;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.site-main .ethics-premium-intro__copy > p {
    margin: 20px 0 0;
    color: #616d7e;
    line-height: 1.78;
}

.ethics-premium-audience {
    margin-top: 28px;
    padding: 20px;
    display: flex;
    gap: 14px;
    border: 1px solid rgba(124,10,24,.09);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17,24,39,.055);
}

.ethics-premium-audience > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: var(--softcode-red);
    border-radius: 14px;
    background: #fff1f3;
}

.ethics-premium-audience svg,
.ethics-premium-principle__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ethics-premium-audience strong {
    display: block;
    margin-bottom: 5px;
    color: #202531;
}

.site-main .ethics-premium-audience p {
    margin: 0;
    color: #697487;
    font-size: 0.84rem;
    line-height: 1.62;
}

/* Princípios */

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

.ethics-premium-principle {
    position: relative;
    min-height: 245px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(124,10,24,.09);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fdfdfe
        );
    box-shadow:
        0 14px 34px rgba(17,24,39,.06);
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.ethics-premium-principle::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -48px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(184,15,36,.09),
            transparent 68%
        );
}

.ethics-premium-principle:hover {
    transform: translateY(-6px);
    border-color: rgba(184,15,36,.2);
    box-shadow:
        0 24px 48px rgba(17,24,39,.11);
}

.ethics-premium-principle__number {
    position: absolute;
    top: 22px;
    right: 23px;
    color: rgba(124,10,24,.28);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.ethics-premium-principle__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            var(--softcode-burgundy),
            var(--softcode-red)
        );
    box-shadow:
        0 12px 26px rgba(124,10,24,.2);
}

.site-main .ethics-premium-principle h3 {
    margin: 22px 0 10px;
    color: #8f0d1d;
    font-size: 1.15rem;
}

.site-main .ethics-premium-principle p {
    margin: 0;
    color: #657083;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Documento */

.ethics-premium-document {
    padding: 78px 0 84px;
    background: #ffffff;
}

.ethics-premium-document__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 28px;
}

.ethics-premium-document__header > div {
    max-width: 760px;
}

.site-main .ethics-premium-document h2 {
    margin: 15px 0 0;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.site-main .ethics-premium-document__header p {
    margin: 17px 0 0;
    color: #667184;
    line-height: 1.72;
}

.ethics-premium-document__meta {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    overflow: hidden;
    border: 1px solid rgba(124,10,24,.09);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 12px 30px rgba(17,24,39,.055);
}

.ethics-premium-document__meta article {
    padding: 20px 22px;
}

.ethics-premium-document__meta article:not(:last-child) {
    border-right: 1px solid #edf0f4;
}

.ethics-premium-document__meta span,
.ethics-premium-document__meta strong {
    display: block;
}

.ethics-premium-document__meta span {
    color: #8a93a2;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ethics-premium-document__meta strong {
    margin-top: 5px;
    color: #202531;
    font-size: 0.94rem;
}

.ethics-premium-viewer {
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 22px;
    background: #eef2f6;
    box-shadow:
        0 22px 58px rgba(17,24,39,.12);
}

.ethics-premium-viewer iframe {
    display: block;
    width: 100%;
    min-height: 82vh;
    border: 0;
    background: #ffffff;
}

.ethics-premium-viewer__fallback {
    padding: 48px;
    text-align: center;
}

/* Contacto */

.ethics-premium-contact {
    padding: 0 0 72px;
}

.ethics-premium-contact__card {
    position: relative;
    overflow: hidden;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    color: #ffffff;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 92% 42%,
            rgba(255,255,255,.1),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #111827,
            #3d0710 58%,
            #7e0b1c
        );
    box-shadow:
        0 20px 48px rgba(17,24,39,.15);
}

.ethics-premium-contact__card > div {
    max-width: 760px;
}

.ethics-premium-contact__card .ethics-premium-eyebrow {
    color: #ff9bac;
}

.site-main .ethics-premium-contact__card h2 {
    margin: 13px 0 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.7vw, 2.55rem);
    line-height: 1.12;
}

.site-main .ethics-premium-contact__card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}

/* Responsividade */

@media (max-width: 980px) {
    .ethics-premium-hero .ethics-premium-container {
        grid-template-columns: 1fr;
    }

    .ethics-premium-hero__mark {
        display: none;
    }

    .ethics-premium-intro__grid {
        grid-template-columns: 1fr;
    }

    .ethics-premium-intro__copy {
        position: static;
    }
}

@media (max-width: 760px) {
    .ethics-premium-principles,
    .ethics-premium-document__meta {
        grid-template-columns: 1fr;
    }

    .ethics-premium-document__meta article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #edf0f4;
    }

    .ethics-premium-document__header,
    .ethics-premium-contact__card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ethics-premium-container {
        width: calc(100% - 28px);
    }

    .ethics-premium-hero {
        padding: 58px 0 54px;
    }

    .site-main .ethics-premium-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
    }

    .site-main .ethics-premium-hero p {
        font-size: 0.94rem;
    }

    .ethics-premium-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ethics-premium-button,
    .ethics-premium-status {
        width: 100%;
    }

    .ethics-premium-intro,
    .ethics-premium-document {
        padding: 56px 0;
    }

    .ethics-premium-principle {
        min-height: 0;
        padding: 24px;
        border-radius: 18px;
    }

    .ethics-premium-document__header
    .ethics-premium-button {
        width: 100%;
    }

    .ethics-premium-viewer iframe {
        min-height: 68vh;
    }

    .ethics-premium-contact {
        padding-bottom: 42px;
    }

    .ethics-premium-contact__card {
        padding: 28px 24px;
        border-radius: 18px;
    }
}

/* =========================================================
   CÓDIGO DE ÉTICA — LEITOR DO DOCUMENTO
========================================================= */

.ethics-premium-reader {
    overflow: hidden;

    border:
        1px solid rgba(124, 10, 24, 0.1);

    border-radius: 22px;

    background: #eef1f5;

    box-shadow:
        0 22px 58px rgba(17, 24, 39, 0.12);
}

.ethics-premium-reader__toolbar {
    min-height: 76px;
    padding: 14px 20px;

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

    color: #ffffff;

    background:
        linear-gradient(
            110deg,
            #111827,
            #3d0710 58%,
            #7e0b1c
        );
}

.ethics-premium-reader__toolbar > div {
    display: grid;
    gap: 4px;
}

.ethics-premium-reader__toolbar strong {
    font-size: 0.94rem;
}

.ethics-premium-reader__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ethics-premium-reader__status span {
    color: #ff6578;
    font-size: 0.54rem;
}

.ethics-premium-reader__toolbar > a {
    min-height: 42px;
    padding: 0 16px;

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

    color: var(--softcode-burgundy);
    font-size: 0.74rem;
    font-weight: 850;

    border-radius: 999px;
    background: #ffffff;
}

.ethics-premium-reader__frame {
    display: block;

    width: 100%;
    height: min(900px, 82vh);
    min-height: 680px;

    border: 0;
    background: #dfe3e8;
}

.ethics-premium-reader__footer {
    min-height: 62px;
    padding: 12px 18px;

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

    border-top: 1px solid #dfe3e8;
    background: #ffffff;
}

.site-main .ethics-premium-reader__footer p {
    margin: 0;

    color: #697487;
    font-size: 0.74rem;
}

.ethics-premium-reader__footer a {
    flex: 0 0 auto;

    color: var(--softcode-burgundy);
    font-size: 0.75rem;
    font-weight: 850;
}

@media (max-width: 640px) {
    .ethics-premium-reader__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .ethics-premium-reader__toolbar > a {
        width: 100%;
        border-radius: 12px;
    }

    .ethics-premium-reader__frame {
        height: 68vh;
        min-height: 520px;
    }

    .ethics-premium-reader__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}