.ao-page {
    --ao-navy: #102a43;
    --ao-navy-soft: #35506c;
    --ao-blue: #1683df;
    --ao-blue-deep: #0d6fc2;
    --ao-teal: #138f83;
    --ao-green: #16a765;
    --ao-mist: #eff8ff;
    --ao-line: #dce9f2;
    --ao-muted: #64768a;
    --ao-shadow: 0 18px 60px rgba(16, 42, 67, 0.12);
    --abrs-ribbon-top: 72px;
    color: var(--ao-navy);
    background: #fff;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ao-page #header {
    height: 72px;
    margin-bottom: 0;
    border-color: rgba(16, 42, 67, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 30px rgba(16, 42, 67, 0.055);
    backdrop-filter: blur(16px);
}

.ao-page #header > div {
    max-width: 1160px;
}

.ao-page #header > div > div:first-child {
    height: 72px;
}

.ao-page #header img[alt="ABRS Advogados"] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.11);
}

.ao-page #header .nav-link {
    color: var(--ao-muted);
    font-size: 13px;
    font-weight: 600;
}

.ao-page #header .nav-link:hover {
    color: var(--ao-navy);
}

.ao-page [data-lawyer-ribbon] {
    border-color: rgba(22, 131, 223, 0.12);
    background: rgba(239, 248, 255, 0.94);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.ao-page [data-lawyer-ribbon] > div {
    max-width: 1160px;
}

.ao-page [data-lawyer-ribbon-photo] {
    box-shadow: 0 5px 16px rgba(16, 42, 67, 0.12);
}

.ao-hero {
    position: relative;
    isolation: isolate;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--ao-line);
    color: var(--ao-navy) !important;
    background: #fff !important;
}

.ao-hero::before,
.ao-hero::after {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(22, 131, 223, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ao-hero::before {
    top: 90px;
    left: -340px;
}

.ao-hero::after {
    right: -350px;
    bottom: -150px;
}

.ao-hero-media {
    left: auto !important;
    width: 58%;
    opacity: 0.12 !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 36%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 36%, #000 100%);
}

.ao-hero-media img {
    object-position: 58% center;
}

.ao-hero-overlay {
    display: none;
}

.ao-hero > .relative {
    width: min(1160px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 92px 0 104px;
}

.ao-hero > .relative > div {
    max-width: 790px;
}

.ao-hero .ao-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--ao-navy-soft) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ao-hero .ao-eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ao-blue);
    content: "";
    box-shadow: 0 0 0 6px rgba(22, 131, 223, 0.1);
}

.ao-hero h1 {
    max-width: 790px;
    margin: 0;
    color: var(--ao-navy);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 750;
    letter-spacing: -0.052em;
    line-height: 1;
    text-wrap: balance;
}

.ao-hero h1 .ao-highlight {
    color: var(--ao-blue-deep);
}

.ao-hero h1 + p {
    max-width: 690px;
    margin-top: 30px;
    color: var(--ao-muted) !important;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
    text-wrap: balance;
}

.ao-hero h1 + p + p {
    max-width: 650px;
    color: var(--ao-muted) !important;
    font-size: 17px;
    line-height: 1.65;
}

.ao-hero .ao-hero-actions {
    gap: 12px;
    margin-top: 32px;
}

.ao-hero .ao-hero-actions a {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 16px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ao-hero .ao-hero-actions a:first-child {
    background: #3498db;
}

.ao-hero .ao-hero-actions a:last-child {
    background: var(--ao-green);
}

.ao-hero .ao-hero-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.14);
}

.ao-trust-strip {
    border: 0 !important;
    background: #fff !important;
}

.ao-trust-strip > div {
    max-width: 1160px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.ao-trust-strip a {
    gap: 10px;
    padding: 5px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ao-section {
    padding: 100px 20px !important;
}

.ao-section > div {
    width: min(1080px, 100%);
    max-width: none !important;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.ao-section-mist {
    background: var(--ao-mist) !important;
}

.ao-section h2,
.ao-final-cta h2,
.ao-internal-links h2,
.ao-page [data-internal-links="campaign"] h2 {
    max-width: 760px;
    margin-top: 0;
    color: var(--ao-navy);
    font-size: clamp(34px, 4.6vw, 50px) !important;
    font-weight: 750;
    letter-spacing: -0.042em;
    line-height: 1.07;
    text-wrap: balance;
}

.ao-section h2 + p,
.ao-section .max-w-3xl > p,
.ao-section .text-gray-600,
.ao-section .text-gray-700 {
    color: var(--ao-muted);
}

.ao-booking-section > div > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ao-card,
.ao-booking-section .ao-focus-card,
.ao-services-section article,
.ao-team-section article,
.ao-docs-section .rounded-lg,
.ao-form-section form,
.ao-review-card,
.ao-internal-links a,
.ao-page [data-internal-links="campaign"] a {
    border-color: var(--ao-line) !important;
    border-radius: 24px !important;
    background: #fbfdff !important;
    box-shadow: none !important;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ao-booking-section .ao-focus-card {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    padding: 30px;
    flex-direction: column;
}

.ao-booking-section .ao-focus-card::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(22, 131, 223, 0.07);
    content: "";
    pointer-events: none;
}

.ao-booking-section .ao-focus-card:nth-child(2)::after {
    background: rgba(19, 143, 131, 0.08);
}

.ao-booking-section .ao-focus-card:nth-child(3)::after {
    background: rgba(124, 58, 237, 0.07);
}

.ao-booking-section .ao-focus-card:nth-child(4)::after {
    background: rgba(16, 42, 67, 0.07);
}

.ao-booking-section .ao-focus-card:hover,
.ao-services-section article:hover,
.ao-team-section article:hover,
.ao-internal-links a:hover,
.ao-page [data-internal-links="campaign"] a:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 131, 223, 0.34) !important;
    box-shadow: var(--ao-shadow) !important;
}

.ao-booking-section .ao-focus-card > div:first-child {
    width: 54px;
    height: 54px;
    margin-bottom: 36px;
    border-radius: 16px;
    color: var(--ao-blue-deep);
    background: rgba(22, 131, 223, 0.1);
}

.ao-booking-section .ao-focus-card:nth-child(2) > div:first-child {
    color: var(--ao-teal);
    background: rgba(19, 143, 131, 0.1);
}

.ao-booking-section .ao-focus-card:nth-child(3) > div:first-child {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.09);
}

.ao-booking-section .ao-focus-card:nth-child(4) > div:first-child {
    color: var(--ao-navy-soft);
    background: rgba(53, 80, 108, 0.1);
}

.ao-booking-section .ao-focus-card h3,
.ao-services-section article h3 {
    position: relative;
    z-index: 1;
    color: var(--ao-navy);
    font-size: 25px;
    letter-spacing: -0.025em;
}

.ao-booking-section .ao-focus-card p {
    position: relative;
    z-index: 1;
    flex: 1;
    line-height: 1.62;
}

.ao-booking-section .ao-focus-card > a {
    position: relative;
    z-index: 1;
    min-height: 50px;
    margin-top: 26px;
    border-radius: 8px;
}

.ao-booking-section .rounded-lg.border-yellow-200 {
    border-color: #f2d58a;
    border-radius: 16px;
    background: #fffaf0;
}

.ao-compact-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
    border-bottom: 1px solid var(--ao-line);
}

.ao-compact-section h2 {
    font-size: clamp(30px, 4vw, 42px) !important;
}

.ao-services-section article {
    min-height: 230px;
    padding: 28px;
}

.ao-services-section article p {
    line-height: 1.62;
}

.ao-services-section article a {
    color: var(--ao-blue-deep);
    text-decoration: none;
}

.ao-steps-section > div > .grid > div {
    padding: 28px 24px 26px;
    border-top: 3px solid rgba(22, 131, 223, 0.7) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0;
    background: transparent;
}

.ao-steps-section > div > .grid > div:nth-child(even) {
    border-top-color: rgba(19, 143, 131, 0.72) !important;
}

.ao-steps-section .text-3xl {
    color: var(--ao-blue);
    font-size: 44px;
    letter-spacing: -0.05em;
}

.ao-docs-section .rounded-lg {
    padding: 28px;
}

.ao-split-section img {
    aspect-ratio: 3 / 2;
    border-radius: 28px !important;
    box-shadow: var(--ao-shadow) !important;
}

.ao-team-section article {
    padding: 30px;
}

.ao-team-section article img {
    width: 88px;
    height: 88px;
    border-radius: 20px !important;
}

.ao-pricing-section > div {
    padding: 58px 62px !important;
    border: 1px solid var(--ao-line);
    border-radius: 30px;
    background: var(--ao-mist);
}

.ao-pricing-section li::marker {
    color: var(--ao-blue);
}

.ao-form-section {
    background: #fff !important;
}

.ao-form-section form {
    padding: 34px;
    background: #fff !important;
    box-shadow: var(--ao-shadow) !important;
}

.ao-form-section input:not([type="checkbox"]),
.ao-form-section select,
.ao-form-section textarea {
    min-height: 50px;
    border-color: var(--ao-line);
    border-radius: 10px;
    background: #fbfdff;
}

.ao-form-section textarea {
    min-height: 132px;
}

.ao-review-card {
    padding: 30px !important;
}

.ao-page :is(.ao-faq-section, [data-article-faq]) {
    background: var(--ao-mist);
}

.ao-page :is(.ao-faq-section, [data-article-faq]) > div {
    width: min(900px, 100%);
}

.ao-page :is(.ao-faq-section, [data-article-faq]) details {
    border-color: var(--ao-line) !important;
    border-radius: 16px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ao-page :is(.ao-faq-section, [data-article-faq]) details[open] {
    border-color: rgba(22, 131, 223, 0.32) !important;
    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
}

.ao-page :is(.ao-faq-section, [data-article-faq]) summary {
    font-size: 16px;
    font-weight: 700;
}

.ao-final-cta {
    padding: 48px 20px !important;
    color: #fff;
    background: #fff !important;
}

.ao-final-cta > div {
    width: min(1080px, 100%);
    max-width: none !important;
    padding: 54px 58px !important;
    border-radius: 30px;
    background: linear-gradient(135deg, #102a43 0%, #173f62 100%);
    box-shadow: 0 22px 60px rgba(16, 42, 67, 0.18);
}

.ao-final-cta h2 {
    color: #fff;
}

.ao-final-cta a {
    min-height: 50px;
    border-radius: 8px;
}

.ao-internal-links,
.ao-page [data-internal-links="campaign"] {
    padding: 72px 20px !important;
    border-top: 0 !important;
    background: var(--ao-mist) !important;
}

.ao-internal-links > div,
.ao-page [data-internal-links="campaign"] > div {
    width: min(1080px, 100%);
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.ao-internal-links h2,
.ao-page [data-internal-links="campaign"] h2 {
    font-size: 34px !important;
}

.ao-internal-links a,
.ao-page [data-internal-links="campaign"] a {
    padding: 24px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .ao-page {
        --abrs-ribbon-top: 68px;
    }

    .ao-page #header,
    .ao-page #header > div > div:first-child {
        height: 68px;
    }

    .ao-page #header img[alt="ABRS Advogados"] {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .ao-hero {
        min-height: 0;
    }

    .ao-hero-media {
        display: none;
    }

    .ao-hero > .relative {
        width: calc(100% - 40px);
        padding: 68px 0 76px;
    }

    .ao-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .ao-hero h1 + p {
        font-size: 19px;
    }

    .ao-section {
        padding: 76px 20px !important;
    }

    .ao-booking-section > div > .grid {
        grid-template-columns: 1fr;
    }

    .ao-pricing-section > div,
    .ao-final-cta > div {
        padding: 38px 28px !important;
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .ao-page [data-lawyer-ribbon-content] {
        gap: 8px;
    }

    .ao-hero > .relative {
        padding-top: 54px;
        padding-bottom: 64px;
    }

    .ao-hero h1 {
        font-size: 43px;
        line-height: 1.02;
    }

    .ao-hero .ao-hero-actions a {
        width: 100%;
    }

    .ao-trust-strip > div {
        justify-content: center;
    }

    .ao-section,
    .ao-internal-links,
    .ao-page [data-internal-links="campaign"] {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    .ao-section h2,
    .ao-final-cta h2 {
        font-size: 36px !important;
    }

    .ao-booking-section .ao-focus-card,
    .ao-services-section article,
    .ao-team-section article,
    .ao-form-section form {
        padding: 26px;
        border-radius: 20px !important;
    }

    .ao-booking-section .ao-focus-card {
        min-height: 0;
    }

    .ao-booking-section .ao-focus-card > div:first-child {
        margin-bottom: 28px;
    }

    .ao-final-cta {
        padding: 32px 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ao-page *,
    .ao-page *::before,
    .ao-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
