/* ── B2B Nav (home + contact) ────────────────────────────────────────────── */
body#index #header,
body.page-index #header {
    position: relative;
    background: transparent !important;
}

body#contact #header,
body.page-contact #header,
body.cms-id-3 #header,
body.cms-id-4 #header {
    position: relative;
    background: #0b1120 !important;
}

body#index .header-top--b2b,
body.page-index .header-top--b2b {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(11, 18, 33, 0.72) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

body#contact .header-top--b2b-solid,
body.page-contact .header-top--b2b-solid,
body.cms-id-3 .header-top--b2b-solid,
body.cms-id-4 .header-top--b2b-solid {
    position: relative;
    background: #0b1120 !important;
    border-bottom: 1px solid #1e293b;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

body#index .header-top--b2b #_desktop_logo,
body.page-index .header-top--b2b #_desktop_logo,
body#contact .header-top--b2b #_desktop_logo,
body.page-contact .header-top--b2b #_desktop_logo,
body.cms-id-3 .header-top--b2b #_desktop_logo,
body.cms-id-4 .header-top--b2b #_desktop_logo {
    flex-shrink: 0;
}

body#index .header-top--b2b #_desktop_logo h1,
body.page-index .header-top--b2b #_desktop_logo h1,
body#contact .header-top--b2b #_desktop_logo h1,
body.page-contact .header-top--b2b #_desktop_logo h1,
body.cms-id-3 .header-top--b2b #_desktop_logo h1,
body.cms-id-4 .header-top--b2b #_desktop_logo h1 {
    margin: 0;
    line-height: 1;
    font-size: inherit;
}

body#index .header-top--b2b #_desktop_logo img.logo,
body.page-index .header-top--b2b #_desktop_logo img.logo,
body#contact .header-top--b2b #_desktop_logo img.logo,
body.page-contact .header-top--b2b #_desktop_logo img.logo,
body.cms-id-3 .header-top--b2b #_desktop_logo img.logo,
body.cms-id-4 .header-top--b2b #_desktop_logo img.logo {
    display: block;
    width: auto !important;
    max-width: 130px !important;
    max-height: 44px !important;
    height: auto !important;
    object-fit: contain;
    filter: brightness(1.05);
}

.agti-b2b-nav {
    margin-left: auto;
}

.agti-b2b-nav__checkbox {
    display: none;
}

.agti-b2b-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    margin: 0;
}

.agti-b2b-nav__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1.75rem;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.agti-b2b-nav__menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.agti-b2b-nav__menu a {
    color: rgba(226, 232, 240, 0.9) !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.agti-b2b-nav__menu a:hover {
    color: #fff !important;
}

.agti-b2b-nav__cta {
    padding: 0.55rem 1.1rem !important;
    border-radius: 6px;
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%) !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.agti-b2b-nav__cta:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #c2410c 0%, #d97706 100%) !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

@media (max-width: 991px) {
    #index .header-top--b2b .d-flex,
    #contact .header-top--b2b .d-flex,
    .cms-id-3 .header-top--b2b .d-flex,
    .cms-id-4 .header-top--b2b .d-flex {
        flex-wrap: nowrap;
    }

    .agti-b2b-nav__toggle {
        display: inline-flex;
    }

    .agti-b2b-nav__menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-width: 260px;
        padding: 0.5rem 0;
        border-radius: 12px;
        background: rgba(11, 18, 33, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .agti-b2b-nav__menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .agti-b2b-nav__menu li:last-child {
        border-bottom: none;
        padding: 0.5rem 0.75rem 0.25rem;
    }

    .agti-b2b-nav__menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        font-size: 0.78rem;
    }

    .agti-b2b-nav__cta {
        text-align: center;
    }

    .agti-b2b-nav__checkbox:checked ~ .agti-b2b-nav__menu {
        display: flex;
    }

    .agti-b2b-nav {
        position: relative;
    }
}

/* ── Home scope ──────────────────────────────────────────────────────────── */
.agti-home {
    --agti-ink: #0b1221;
    --agti-slate: #1e293b;
    --agti-accent: #38bdf8;
    --agti-accent-deep: #0ea5e9;
    --agti-indigo: #6366f1;
    --agti-warm: #f59e0b;
    --agti-warm-hover: #d97706;
    --agti-surface: #f4f7fb;
    --agti-surface-alt: #e8eef6;
    --agti-text: #0f172a;
    --agti-muted: #64748b;
    --agti-line: rgba(148, 163, 184, 0.35);
    color: var(--agti-text);
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#index .page-home {
    padding-top: 0;
    margin-top: 0;
}

.agti-home #problema,
.agti-home #tecnologias,
.agti-home #solucoes,
.agti-home #solucoes-engenharia,
.agti-home #solucoes-saas,
.agti-home #estudos-de-caso {
    scroll-margin-top: 5.5rem;
}

.agti-home section {
    padding: 3.5rem 1rem !important;
}

@media (min-width: 992px) {
    .agti-home section {
        padding: 5.5rem 1.5rem !important;
    }
}

.agti-home__badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    margin-bottom: 1.25rem;
}

.agti-home__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--agti-accent-deep);
    margin-bottom: 0.75rem;
}

.agti-home__title {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 0 1.25rem;
}

.agti-home__lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.agti-home__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.agti-home__btn:hover {
    transform: translateY(-2px);
}

.agti-home__btn--primary {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.38);
    border: none;
}

.agti-home__btn--primary:hover {
    background: linear-gradient(135deg, #c2410c 0%, #d97706 100%);
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.48);
}

.agti-home__btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.agti-home__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

/* Hero */
.agti-home__hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding-top: 7rem !important;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(99, 102, 241, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 10%, rgba(56, 189, 248, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        linear-gradient(160deg, #0b1221 0%, #111827 45%, #1a2332 100%);
}

.agti-home__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
    pointer-events: none;
}

.agti-home__hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--agti-surface) 85%);
    clip-path: polygon(0 55%, 100% 15%, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 2;
}

.agti-home__hero > .container {
    position: relative;
    z-index: 3;
    padding-bottom: 75px !important;
}

.agti-home__hero .agti-home__title {
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: linear-gradient(135deg, #fff 30%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .agti-home__hero .agti-home__title {
        -webkit-text-fill-color: #fff;
        background: none;
    }
}

.agti-home__hero .agti-home__lead {
    margin-left: auto;
    margin-right: auto;
}

/* Capabilities (hero icons) */
.agti-home__capabilities {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 0;
}

.agti-home__capabilities-track {
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35) 20%, rgba(99, 102, 241, 0.45) 50%, rgba(56, 189, 248, 0.35) 80%, transparent);
    transform: translateY(-18px);
    pointer-events: none;
}

.agti-home__capability {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    max-width: 200px;
}

.agti-home__capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.agti-home__capability-icon svg {
    width: 60px;
    height: 60px;
}

.agti-home__capability-icon--automation {
    color: var(--agti-warm);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.12);
}

.agti-home__capability-icon--cloud {
    color: var(--agti-accent);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.12);
}

.agti-home__capability-icon--api {
    color: #a5b4fc;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.agti-home__capability:hover .agti-home__capability-icon {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.agti-home__capability-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
}

.agti-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Problem — two columns */
.agti-home__problem {
    background: var(--agti-surface);
    padding-top: 4rem !important;
    text-align: left;
}

.agti-home__problem .agti-home__title {
    color: #0f172a;
    font-weight: 800;
    max-width: none;
}

.agti-home__problem,
.agti-home__problem .agti-home__problem-text,
.agti-home__problem .agti-flow {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
}

.agti-home__problem-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--agti-muted);
    margin-bottom: 1rem;
}

.agti-home__problem-text p:last-child {
    margin-bottom: 0;
    color: var(--agti-text);
    font-weight: 600;
}

.agti-home__problem-text em {
    color: var(--agti-accent-deep);
    font-style: normal;
    font-weight: 700;
}

/* Integration flow diagram */
.agti-flow {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 2rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 10px 24px -4px rgba(15, 23, 42, 0.1);
}

.agti-flow__row {
    display: grid;
    gap: 1rem;
}

.agti-flow__row--top,
.agti-flow__row--middle,
.agti-flow__row--arrows {
    grid-template-columns: 1fr 1fr;
}

.agti-flow__row--base,
.agti-flow__row--arrows-center {
    grid-template-columns: 1fr;
    justify-items: center;
}

.agti-flow__node {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.agti-flow__node--clean {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.agti-flow__node--base {
    min-width: min(100%, 320px);
    font-weight: 600;
    color: #0f172a;
}

.agti-flow__node--alert {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px dashed #fca5a5;
    font-weight: 600;
}

.agti-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    padding: 0.2rem 0;
}

.agti-flow__arrow-svg {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 575px) {
    .agti-flow__row--top,
    .agti-flow__row--middle,
    .agti-flow__row--arrows {
        grid-template-columns: 1fr;
    }

    .agti-flow__row--arrows .agti-flow__arrow:last-child {
        display: none;
    }
}

/* Tech logos */
.agti-home__tech-logos {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--agti-line);
    text-align: center;
}

.agti-home__tech-logos-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.agti-home__tech-logos-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.agti-home__tech-logo {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #475569;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.agti-home__tech-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Pillars */
.agti-home__pillars {
    background: var(--agti-ink);
    color: #e2e8f0;
}

.agti-home__pillars .agti-home__title {
    color: #fff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
}

.agti-home__pillars-sub {
    text-align: center;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.agti-home__pillar-card {
    height: 100%;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.agti-home__pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.agti-home__pillar-card--integrations {
    border-top: 3px solid var(--agti-accent);
}

.agti-home__pillar-card--saas {
    border-top: 3px solid var(--agti-indigo);
}

.agti-home__pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.agti-home__pillar-card--integrations .agti-home__pillar-icon {
    background: rgba(56, 189, 248, 0.15);
    color: var(--agti-accent);
}

.agti-home__pillar-card--saas .agti-home__pillar-icon {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
}

.agti-home__pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.agti-home__pillar-intro {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.agti-home__pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agti-home__pillar-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.agti-home__pillar-list li i {
    color: var(--agti-accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.agti-home__pillar-card--saas .agti-home__pillar-list li i {
    color: #a5b4fc;
}

/* Why */
.agti-home__why {
    background: #f8fafc;
    text-align: center;
}

.agti-home__why .agti-home__title {
    color: var(--agti-text);
    margin-left: auto;
    margin-right: auto;
}

.agti-home__why-card {
    height: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 6px 16px rgba(15, 23, 42, 0.08);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agti-home__why-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.08),
        0 12px 28px rgba(15, 23, 42, 0.12);
}

.agti-home__why-card:nth-child(1) { border-top: 4px solid var(--agti-accent-deep); }
.agti-home__why-card:nth-child(2) { border-top: 4px solid var(--agti-indigo); }
.agti-home__why-card:nth-child(3) { border-top: 4px solid var(--agti-warm); }

.agti-home__why-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--agti-surface);
    color: var(--agti-accent-deep);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agti-home__why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--agti-text);
    margin-bottom: 0.6rem;
}

.agti-home__why-card p {
    font-size: 0.92rem;
    color: var(--agti-muted);
    margin: 0;
    line-height: 1.6;
}

/* CTA */
.agti-home__cta {
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(99, 102, 241, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 55%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.agti-home__cta .agti-home__title {
    color: #fff;
    -webkit-text-fill-color: unset;
    background: none;
    margin-left: auto;
    margin-right: auto;
}

.agti-home__cta .agti-home__lead {
    color: #cbd5e1;
}

.agti-home__cta-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

/* ── Mobile / tablet (≤991px) ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    body#index .header-top--b2b,
    body.page-index .header-top--b2b {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }

    body#index #header,
    body.page-index #header,
    body#contact #header,
    body.page-contact #header,
    body.cms-id-3 #header,
    body.cms-id-4 #header {
        overflow: visible;
        z-index: 300;
    }

    .header-top--b2b .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body#index .header-top--b2b #_desktop_logo img.logo,
    body.page-index .header-top--b2b #_desktop_logo img.logo,
    body#contact .header-top--b2b #_desktop_logo img.logo,
    body.page-contact .header-top--b2b #_desktop_logo img.logo,
    body.cms-id-3 .header-top--b2b #_desktop_logo img.logo,
    body.cms-id-4 .header-top--b2b #_desktop_logo img.logo {
        max-width: 110px !important;
        max-height: 38px !important;
    }

    .agti-b2b-nav__menu {
        min-width: 0;
        max-width: min(280px, calc(100vw - 2rem));
        z-index: 310;
    }

    .agti-home {
        overflow-x: clip;
        max-width: 100%;
    }

    .agti-home__hero {
        padding-top: 2.75rem !important;
    }

    .agti-home #problema,
    .agti-home #tecnologias,
    .agti-home #solucoes,
    .agti-home #solucoes-engenharia,
    .agti-home #solucoes-saas,
    .agti-home #estudos-de-caso {
        scroll-margin-top: 4.5rem;
    }

    .agti-home .container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .agti-home__hero > .container {
        padding-bottom: 75px !important;
    }

    .agti-home__capabilities {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 100%;
        padding: 1rem 0;
    }

    .agti-home__capabilities-track {
        display: none;
    }

    .agti-home__capability {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .agti-home__capability-icon {
        width: 88px;
        height: 88px;
    }

    .agti-home__capability-icon svg {
        width: 50px;
        height: 50px;
    }

    .agti-home__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.85rem;
        padding-bottom: 0.5rem;
    }

    .agti-home__btn {
        width: 100%;
    }

    .agti-home__problem {
        padding-top: 3rem !important;
    }

    .agti-flow {
        padding: 1.25rem;
    }

    .agti-home__cta-box {
        padding: 1.75rem 1.25rem;
    }

    .agti-home__pillars-sub {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .agti-home__hero .agti-home__title {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .agti-home__tech-logos-list {
        gap: 1.25rem 1.5rem;
    }
}

@media (max-width: 575px) {
    .agti-home section {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }

    .agti-home__badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}
