:root {
    --bg: #f2f3f5;
    --surface: #ffffff;
    --surface-soft: #e9ebef;
    --text: #161b22;
    --muted: #606a78;
    --line: #d7dbe2;
    --brand: #ff2538;
    --brand-dark: #d9162a;
    --ink: #090c11;
    --shadow: 0 18px 48px rgba(8, 11, 16, .12);
}

body,
body * {
    letter-spacing: 0;
}

body {
    background: #f2f3f5;
    color: #161b22;
}

main {
    overflow: clip;
}

::selection {
    background: #ff2538;
    color: #fff;
}

/* Header and navigation */
.site-header {
    border-top: 3px solid #ff2538;
    border-bottom: 1px solid #282f39;
    background: rgba(8, 11, 16, .97);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    padding: 4px;
    border-radius: 5px;
    background: #fff;
}

.brand-name {
    color: #fff;
}

.brand-tagline {
    color: #9da7b4;
}

.nav-link {
    position: relative;
    border-radius: 0;
    color: #d6dbe2;
    background: transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 13px;
    bottom: 4px;
    left: 13px;
    height: 2px;
    background: transparent;
}

.nav-link:hover,
.nav-link.is-active,
.nav-mega.is-active .nav-mega-trigger {
    background: transparent;
    color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-mega.is-active .nav-mega-trigger::after {
    background: #ff2538;
}

.header-actions .button,
.button,
.button-outline {
    min-height: 46px;
    border-radius: 5px;
    box-shadow: none;
}

.button {
    background: #ff2538;
}

.button:hover {
    background: #d9162a;
}

.button-outline {
    border-color: #aeb5bf;
    background: transparent;
    color: #161b22;
}

.menu-button {
    border-color: #343c47;
    border-radius: 5px;
    background: #11161d;
    color: #fff;
}

.mega-menu {
    border: 1px solid #2a323d;
    border-radius: 6px;
    background: #10151c;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.mega-menu-intro {
    border-right-color: #2a323d;
}

.mega-menu-intro h2,
.mega-menu-title strong {
    color: #fff;
}

.mega-menu-intro p,
.mega-menu-title small,
.mega-menu-column li a {
    color: #aab3bf;
}

.mega-menu-kicker,
.mega-menu-intro > a,
.mega-menu-more,
.mega-menu-column li a:hover,
.mega-menu-title:hover strong {
    color: #ff4051;
}

.mega-menu-icon {
    background: #24151a;
    color: #ff4051;
}

/* Shared page structure */
.page-hero,
.calculator-hero,
.solutions-hero,
.solution-detail-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #2b333f;
    background: #080b10;
    background-image: none;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(0px, calc((100% - 1180px) / 2 - 34px));
    width: 6px;
    background: #ff2538;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.solutions-hero h1,
.solution-detail-hero h1 {
    max-width: 940px;
    margin: 13px 0 18px;
    color: #fff;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.page-hero p,
.solutions-hero p,
.solution-detail-hero p {
    max-width: 760px;
    color: #bac2cd;
    font-size: 1.1rem;
    line-height: 1.75;
}

.eyebrow {
    color: #ff4051;
    font-weight: 900;
}

.content-band {
    background: #f2f3f5;
}

.content-band-soft {
    border-top: 1px solid #2a323d;
    border-bottom: 1px solid #2a323d;
    background: #0d1117;
    color: #fff;
}

.section-head h2,
.calculator-intro h2,
.calculator-category-head h2 {
    color: #10151c;
    font-size: 2.65rem;
    font-weight: 900;
    line-height: 1.08;
}

.content-band-soft .section-head h2,
.content-band-soft .section-head p,
.content-band-soft .eyebrow {
    color: #fff;
}

.content-band-soft .eyebrow {
    color: #ff4051;
}

.section-head p,
.article-body,
.article-body p {
    color: #515c6a;
}

.card,
.project-tile,
.blog-card,
.contact-card,
.result-card,
.newsletter-panel,
.department-hero-card,
.solution-area-card,
.solution-item-card,
.calculator-card,
.calculator-tool,
.calculator-nav-card {
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.card,
.project-tile,
.blog-card,
.solution-area-card,
.solution-item-card,
.calculator-card {
    position: relative;
}

.card::before,
.project-tile::before,
.blog-card::before,
.solution-area-card::before,
.solution-item-card::before,
.calculator-card::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -1px;
    left: -1px;
    width: 58px;
    height: 4px;
    background: #ff2538;
}

.card h2,
.card h3,
.project-tile h3,
.blog-card h3,
.solution-area-card h2,
.solution-item-card h3,
.calculator-card strong {
    color: #11161d;
}

.card p,
.project-tile p,
.blog-card p,
.solution-area-card p,
.solution-item-card p,
.calculator-card p {
    color: #5b6572;
}

.card-link,
.solution-card-link,
.calculator-card-action {
    color: #d7192d;
}

.project-media,
.blog-media,
.catalog-media,
.project-detail-media {
    background: #11161d;
}

.project-meta,
.catalog-kicker,
.project-demo-label {
    color: #c7182b;
}

.filter-pill {
    border-color: #c6cbd3;
    background: #fff;
    color: #394250;
}

.filter-pill:hover,
.filter-pill.is-active,
.filter-pill.is-static {
    border-color: #ff2538;
    background: #ff2538;
    color: #fff;
}

.content-band-soft .result-card,
.content-band-soft .newsletter-panel {
    border-color: #303844;
    background: #151b23;
    color: #fff;
}

.content-band-soft .result-card strong,
.content-band-soft .newsletter-panel h2 {
    color: #fff;
}

.content-band-soft .result-card span,
.content-band-soft .newsletter-panel p {
    color: #aeb7c3;
}

/* Forms and contact */
.form-panel {
    border: 1px solid #d1d6de;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

label {
    color: #171c23;
}

input,
textarea,
select {
    border-color: #bec5cf;
    border-radius: 5px;
    background: #f9fafb;
    color: #161b22;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #ff2538;
    box-shadow: 0 0 0 3px rgba(255, 37, 56, .13);
}

.faq-item {
    border-color: #d1d6de;
    border-radius: 5px;
    background: #fff;
}

.faq-item summary {
    color: #161b22;
}

.contact-card h3,
.newsletter-panel h2 {
    color: #11161d;
}

.contact-card p,
.newsletter-panel p,
.quote-page .quote-note {
    color: #5c6674;
}

/* Home */
.published-home {
    background: #080b10;
}

.published-hero {
    position: relative;
    min-height: 640px;
    border-bottom: 1px solid #2b333f;
    background: #080b10;
}

.published-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 37%;
    background: #11161d;
}

.published-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 37%;
    bottom: 0;
    width: 5px;
    background: #ff2538;
}

.published-hero-grid {
    position: relative;
    z-index: 1;
    min-height: 640px;
}

.published-kicker,
.published-eyebrow,
.published-section-head > span,
.published-cta span {
    color: #ff4051;
}

.published-hero h1 {
    color: #fff;
    font-size: 5.1rem;
    font-weight: 900;
}

.published-hero h1 span,
.published-hero-copy strong {
    color: #ff2538;
}

.published-hero h2 {
    color: #e2e6eb;
    font-size: 1.55rem;
    font-weight: 700;
}

.published-hero-copy > p {
    color: #aeb7c3;
}

.published-actions .button-outline {
    border-color: #606b79;
    color: #fff;
}

.published-actions .button-outline:hover {
    border-color: #fff;
}

.published-portrait {
    align-self: end;
    width: min(100%, 480px);
}

.published-portrait::before {
    content: '';
    position: absolute;
    z-index: -1;
    right: -28px;
    bottom: 34px;
    width: 74%;
    height: 72%;
    border: 1px solid #4a2630;
    background: #241218;
}

.published-portrait-ring {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.published-portrait-ring img {
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 24px 35px rgba(0, 0, 0, .4));
}

.published-portrait-badge {
    top: auto;
    right: -12px;
    bottom: 28px;
    border: 1px solid #ff2538;
    border-radius: 5px;
    background: #ff2538;
    color: #fff;
    box-shadow: none;
}

.published-specialties {
    border-bottom: 1px solid #2a323d;
    background: #0d1117;
}

.published-specialties .published-section-head h2,
.published-specialties .published-section-head p,
.published-method .published-section-head h2,
.published-method .published-section-head p {
    color: #fff;
}

.published-specialties .published-section-head p,
.published-method .published-section-head p {
    color: #aeb7c3;
}

.published-specialty-card {
    border-color: #303844;
    border-radius: 6px;
    background: #151b23;
    box-shadow: none;
}

.published-specialty-card h3,
.published-specialty-card li {
    color: #fff;
}

.published-specialty-card p {
    color: #aeb7c3;
}

.published-specialty-icon {
    border-radius: 5px;
    background: #28151a;
    color: #ff4051;
}

.published-about,
.published-ecosystem {
    background: #f2f3f5;
}

.published-about h2,
.published-ecosystem h2,
.published-about-panel h3 {
    color: #10151c;
}

.published-about p,
.published-ecosystem p {
    color: #586271;
}

.published-about-panel {
    border-left-color: #ff2538;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.published-method {
    border-top: 1px solid #2a323d;
    border-bottom: 1px solid #2a323d;
    background: #080b10;
}

.published-method-grid li {
    border-color: #303844;
    border-radius: 6px;
    background: #151b23;
}

.published-method-grid h3 {
    color: #fff;
}

.published-method-grid p {
    color: #aeb7c3;
}

.published-step {
    border-radius: 5px;
    background: #ff2538;
}

.published-area {
    border-color: #d3d8df;
    border-radius: 6px;
    background: #fff;
}

.published-area-icon {
    border-radius: 5px;
    background: #25151a;
    color: #ff2538;
}

.published-area strong {
    color: #11161d;
}

.published-cta {
    border-top: 1px solid #ff5564;
    background: #e91e34;
}

.published-cta span,
.published-cta h2,
.published-cta p {
    color: #fff;
}

.published-cta-button {
    border: 1px solid #080b10;
    background: #080b10;
}

/* Solutions, catalog and calculators */
.solution-area-desenvolvimento,
.solution-area-plataformas,
.solution-area-hospedagem,
.solution-area-dominios {
    --solution-accent: #ff2538;
    --solution-soft: #28151a;
    --solution-deep: #b91629;
}

.solution-area-card,
.solution-item-card {
    overflow: hidden;
}

.solution-area-icon,
.solution-detail-icon {
    border-radius: 5px;
    background: #28151a;
    color: #ff4051;
}

.solution-preview-list li::before {
    background: #ff2538;
}

.solution-consulting-band,
.solution-benefits-band {
    border-top: 1px solid #2a323d;
    background: #0d1117;
    color: #fff;
}

.solution-consulting-inner h2,
.solution-consulting-inner p,
.solution-benefits-inner h2,
.solution-benefits-inner li {
    color: #fff;
}

.solution-consulting-inner p,
.solution-benefits-inner li {
    color: #b2bbc6;
}

.solution-consulting-actions .button-outline {
    border-color: #697482;
    color: #fff;
}

.solution-area-nav {
    border-color: #2b333f;
    background: #10151c;
}

.solution-area-nav a {
    border-color: #303844;
    border-radius: 5px;
    color: #b5bec9;
}

.solution-area-nav a.is-active {
    border-color: #ff2538;
    background: #ff2538;
    color: #fff;
}

.department-stat {
    border-color: #d5d9e0;
    border-radius: 5px;
    background: #fff;
}

.catalog-kicker,
.feature-pills li {
    border-radius: 4px;
}

.feature-pills li {
    border-color: #cfd4dc;
    color: #4f5a68;
}

.calculator-card {
    background: #fff;
    background-image: none;
}

.calculator-card-marker {
    border-radius: 2px;
    background: #ff2538;
}

.calculator-tool-head {
    border-bottom-color: #d4d9e0;
}

.calculator-input-wrap {
    border-color: #c8ced7;
    border-radius: 5px;
    background: #f8f9fa;
}

.calculator-nav-group a:hover,
.calculator-nav-group a.is-active {
    background: #ff2538;
    color: #fff;
}

/* Footer */
.site-footer {
    border-top: 1px solid #303844;
    background: #07090d;
    color: #fff;
}

.footer-top {
    grid-template-columns: 1.35fr .7fr .8fr 1.15fr;
    gap: 42px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.footer-logo > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 5px;
    background: #fff;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo strong {
    color: #fff;
    font-size: 1.35rem;
}

.footer-tagline {
    margin: 8px 0 12px;
    color: #ff4051;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-brand > p:last-of-type,
.footer-contact p,
.footer-contact span {
    color: #9da7b4;
}

.footer-column,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-column h4,
.footer-contact h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1rem;
}

.footer-column a,
.footer-contact > a:not(.footer-contact-button) {
    color: #9da7b4;
}

.footer-column a:hover,
.footer-contact > a:hover {
    color: #ff4051;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.footer-social a {
    padding: 6px 9px;
    border: 1px solid #353d48;
    border-radius: 4px;
    color: #c6cdd6;
    font-size: .76rem;
    font-weight: 800;
}

.footer-social a:hover {
    border-color: #ff2538;
    color: #fff;
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #ff2538;
    border-radius: 5px;
    background: #ff2538;
    color: #fff;
    font-weight: 900;
}

.footer-bottom {
    border-top-color: #2d3540;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 980px) {
    .published-hero h1,
    .page-hero h1,
    .solutions-hero h1,
    .solution-detail-hero h1 {
        font-size: 3.7rem;
    }

    .published-hero::before {
        width: 34%;
    }

    .published-hero::after {
        right: 34%;
    }

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

@media (max-width: 760px) {
    .site-nav {
        border-color: #2b333f;
        background: #0d1117;
    }

    .nav-link {
        color: #d6dbe2;
    }

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

    .nav-link:hover,
    .nav-link.is-active {
        background: #24151a;
        color: #ff4051;
    }

    .mega-menu {
        border: 0;
        box-shadow: none;
    }

    .page-hero::before {
        left: 0;
        width: 4px;
    }

    .page-hero h1,
    .solutions-hero h1,
    .solution-detail-hero h1 {
        font-size: 2.75rem;
    }

    .section-head h2,
    .calculator-intro h2,
    .calculator-category-head h2 {
        font-size: 2.1rem;
    }

    .published-hero {
        min-height: auto;
    }

    .published-hero::before,
    .published-hero::after {
        display: none;
    }

    .published-hero-grid {
        min-height: 0;
    }

    .published-hero h1 {
        font-size: 3.15rem;
    }

    .published-portrait {
        width: min(90%, 390px);
    }

    .published-portrait::before {
        right: -14px;
    }

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

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

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

/* Restores the original site's information architecture in the Laravel layout. */
.published-resources {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.published-resource-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    min-height: 244px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    padding: 26px;
}

.published-resource-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #fff1f2;
    color: #c81e32;
    font-size: 1.1rem;
    font-weight: 950;
}

.published-resource-label {
    display: block;
    color: #c81e32;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.published-resource-card h3 {
    margin: 6px 0 9px;
    color: #111827;
    font-size: 1.4rem;
}

.published-resource-card p {
    margin: 0;
    color: #5f6670;
    font-size: 0.94rem;
    line-height: 1.55;
}

.published-resource-card a {
    grid-column: 1 / -1;
    align-self: end;
    color: #c81e32;
    font-size: 0.92rem;
    font-weight: 900;
}

.published-resource-card a span {
    margin-left: 6px;
}

@media (max-width: 980px) {
    .published-resource-grid {
        grid-template-columns: 1fr;
    }

    .published-resource-card {
        min-height: 0;
    }
}
