/* AutoParts theme based on the provided Unique Software landing reference. */
:root {
    --ref-blue: #1080f2;
    --ref-blue-2: #2c93fb;
    --ref-green: #47a032;
    --ref-dark: #0f2c49;
    --ref-text: #1a1a1a;
    --ref-muted: #8a8a8a;
    --ref-soft: #f0f5f7;
    --ref-line: #e2e7ec;
    --ref-shadow: 0 0 21px 2px rgba(226, 231, 236, .95);
}

html { scroll-padding-top: 100px; }
body {
    background: #ffffff;
    color: var(--ref-text);
    font-family: Poppins, Aptos, "Segoe UI", system-ui, sans-serif;
}
body::before,
body::after { display: none; }

.tax-alert {
    position: relative;
    inset: auto;
    min-height: 36px;
    background: #ffffff;
    color: var(--ref-muted);
    border-bottom: 1px solid var(--ref-line);
    box-shadow: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.tax-alert strong { color: var(--ref-blue); }

.site-header {
    top: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    min-height: 56px;
}
.site-header.scrolled {
    width: 100%;
    top: 0;
    padding: 12px max(22px, calc((100% - var(--container-width)) / 2));
    background: rgba(16, 128, 242, .96);
    box-shadow: 0 10px 35px rgba(16, 128, 242, .24);
}
.brand { gap: 10px; }
.brand-logo {
    width: clamp(156px, 13vw, 220px);
    height: 58px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 21, .16));
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--ref-blue);
    box-shadow: none;
}
.brand-copy strong,
.brand-copy small,
.site-nav a,
.site-nav a:hover,
.site-nav a.active { color: #ffffff; }
.brand-copy small { letter-spacing: .16em; opacity: .78; }
.site-nav { gap: 0; }
.site-nav a {
    padding: 10px 12px;
    border-radius: 0;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 500;
    background: transparent !important;
}
.site-nav a:hover,
.site-nav a.active { border-bottom: 1px solid #ffffff; }
.header-actions .btn-quiet { display: none; }
.header-actions .btn-primary {
    min-height: 42px;
    padding: 0 24px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    text-transform: uppercase;
    font-size: 12px;
}
.header-actions .btn-primary:hover {
    background: #ffffff;
    color: var(--ref-blue);
}

.hero {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(22px, 1fr) minmax(0, var(--container-width)) minmax(22px, 1fr);
    gap: 0;
    min-height: 760px;
    padding: 0;
    margin: -36px 0 0;
    background:
        radial-gradient(circle at 18% 14%, rgba(255,255,255,.16), transparent 18%),
        linear-gradient(135deg, #1180f3 0%, #1aa0fb 52%, #33b8ff 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -118px;
    height: 250px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    filter: none;
    transform: none;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    right: 6%;
    top: 120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 48px solid rgba(255,255,255,.08);
}
.hero-copy,
.product-stage {
    position: relative;
    z-index: 1;
    grid-column: 2;
}
.hero-copy {
    padding-top: 155px;
    text-align: center;
    justify-self: center;
    max-width: 820px;
}
.product-stage {
    margin-top: 54px;
    width: min(100%, 980px);
    justify-self: center;
}
.eyebrow {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
h1 {
    max-width: 820px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.45rem, 4.1vw, 3.65rem);
    font-weight: 600;
    line-height: 1.18;
}
h2 {
    max-width: 780px;
    color: var(--ref-text);
    font-size: clamp(2rem, 3.2vw, 2.55rem);
    font-weight: 400;
    line-height: 1.28;
}
h3 { color: var(--ref-text); font-weight: 500; }
.hero-copy p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}
.hero-actions {
    justify-content: center;
    margin-top: 28px;
}
.btn {
    min-height: 45px;
    border-radius: 30px;
    padding: 0 34px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}
.hero-actions .btn,
.cta-actions .btn {
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}
.hero-actions .btn:hover,
.cta-actions .btn:hover {
    background: #ffffff;
    color: var(--ref-blue);
}
.btn-cta { gap: 10px; }
.btn-cta i { font-size: 15px; }
.cta-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: start;
    gap: 10px 32px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
.cta-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.cta-checks li i {
    font-size: 15px;
    color: #ffffff;
}
.hero-proof-grid,
.trust-strip { display: none; }

.screen-stack {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.screen-stack::before,
.stage-topbar,
.stage-caption,
.floating-chip { display: none; }
.screen-main {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center top;
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(15, 44, 73, .28);
    background: #ffffff;
}
.screen-phone {
    right: 5%;
    bottom: -16px;
    width: 18%;
    border: 8px solid #ffffff;
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(15, 44, 73, .24);
}

.section,
.section-slim,
.subhero,
.site-footer {
    width: min(var(--container-width), calc(100% - 44px));
}
.section { padding: 92px 0; }
.section-slim { padding: 90px 0 70px; }
.metrics-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #ffffff;
}
.metric-item,
.problem-card,
.module-card,
.glass-card,
.integration-card,
.quote-card,
.result-card,
.compare-card,
.price-card,
.final-cta,
.flow-step,
.faq-item,
.lead-form {
    border: 1px solid var(--ref-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
}
.metric-item {
    min-height: 138px;
    padding: 24px;
}
.metric-item strong {
    color: var(--ref-blue);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
}
.metric-item span { color: var(--ref-muted); font-size: 13px; }

.section-head,
.screens-copy,
.pricing-copy,
.lead-copy {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-head .eyebrow,
.screens-copy .eyebrow,
.pricing-copy .eyebrow,
.lead-copy .eyebrow,
.price-card > span {
    display: block;
    color: #b6b6b6;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.section-head h2,
.screens-copy h2,
.pricing-copy h2,
.lead-copy h2 {
    margin: 10px auto 0;
    text-align: center;
    padding-bottom: 24px;
    background: linear-gradient(var(--ref-blue), var(--ref-blue)) no-repeat center bottom / 70px 3px;
}
.section-head p,
.screens-copy p,
.pricing-copy p,
.final-cta p,
.subhero p,
.lead-copy p {
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 18px auto 0;
}

.problems-section,
.operation-flow-section,
.segments-section,
.results-section,
.faq-section {
    width: 100%;
    max-width: none;
    background: var(--ref-soft);
    padding-left: max(22px, calc((100% - var(--container-width)) / 2));
    padding-right: max(22px, calc((100% - var(--container-width)) / 2));
}
.faq-heading {
    width: 100%;
    max-width: none;
}
.faq-heading h2 {
    max-width: none;
    white-space: nowrap;
}
.faq-list {
    max-width: none;
}
.problems-section .section-head {
    max-width: none;
}
.problems-section .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.compare-section .section-head {
    max-width: none;
}
.compare-section .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.modules-section .section-head {
    max-width: none;
}
.modules-section .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.automotive-section .section-head {
    max-width: none;
}
.automotive-section .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.results-section .section-head {
    max-width: none;
}
.results-section .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.pricing-copy h2 {
    white-space: nowrap;
}
.problem-grid,
.module-grid,
.segment-grid,
.integration-grid,
.testimonial-grid,
.result-grid {
    gap: 28px;
}
.problem-card,
.module-card,
.glass-card,
.integration-card,
.quote-card,
.result-card {
    padding: 28px 24px;
    text-align: center;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.problem-card:hover,
.module-card:hover,
.glass-card:hover,
.integration-card:hover,
.quote-card:hover,
.result-card:hover {
    transform: translateY(-6px);
}
.problem-card > span,
.module-card span,
.integration-card strong,
.flow-step span,
.text-link {
    color: var(--ref-blue);
}
.module-card span {
    font-weight: 400;
}
.module-device {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 10px 0 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}
.module-device-web {
    background: rgba(71, 160, 50, .12);
    color: #047857;
}
.module-device-mobile {
    background: rgba(16, 128, 242, .12);
    color: #1080f2;
}
.problem-card h3,
.module-card h3,
.glass-card h3,
.integration-card strong {
    font-size: 18px;
    margin: 8px 0 10px;
}
.problem-card p,
.problem-card strong,
.module-card p,
.glass-card p,
.integration-card p,
.quote-card span {
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.75;
}
.problem-card strong { font-weight: 400; }
.module-card { padding: 0; overflow: hidden; text-align: left; }
.module-card img {
    height: 210px;
    background: var(--ref-soft);
}
.module-card div { padding: 22px; }
.module-card small { color: var(--ref-muted); }
.module-card strong {
    color: #0b1c38;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
}
.module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operation-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.flow-step {
    min-height: 118px;
    padding: 24px;
    text-align: center;
}
.flow-step:not(:last-child)::after { display: none; }

.screens-section,
.pricing-section,
.lead-section {
    grid-template-columns: 1fr;
    gap: 30px;
}
.screens-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.screens-gallery figure {
    border: 1px solid var(--ref-line);
    border-radius: 5px;
    background: var(--ref-soft);
    box-shadow: var(--ref-shadow);
}
.screens-gallery img { height: 230px; }
.screens-gallery figcaption {
    color: var(--ref-muted);
    text-align: center;
    font-size: 13px;
}

.compare-grid { gap: 28px; }
.compare-card { padding: 32px; }
.compare-card-primary {
    border-color: var(--ref-blue);
    background: #ffffff;
}
.compare-card-visual {
    overflow: hidden;
    padding: 0;
    background: #ffffff;
}
.compare-card-visual img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.compare-card-visual div {
    padding: 26px 28px 30px;
}
.compare-card-visual span {
    display: block;
    margin-bottom: 10px;
    color: var(--ref-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.compare-card-visual h3 {
    font-size: 22px;
    line-height: 1.22;
}
.compare-card ul,
.price-card ul { color: #616161; font-size: 13px; line-height: 1.75; }

.price-card {
    max-width: 390px;
    margin: 0 auto;
    padding: 0 0 28px;
    overflow: hidden;
    text-align: center;
}
.price-card > span {
    padding: 30px 20px;
    color: #ffffff;
    background: var(--ref-blue);
}
.price-card strong {
    display: block;
    margin: 24px 0 0;
    color: var(--ref-text);
    font-size: 42px;
    font-weight: 600;
}
.price-card small,
.price-card p { color: var(--ref-muted); }
.price-actions { justify-content: center; }
.price-card .btn-primary,
.price-card .btn-secondary,
.lead-form .btn-primary {
    border: 1px solid var(--ref-blue);
    background: #ffffff;
    color: var(--ref-blue);
    box-shadow: none;
}
.price-card .btn-primary:hover,
.price-card .btn-secondary:hover,
.lead-form .btn-primary:hover {
    background: var(--ref-blue);
    color: #ffffff;
}

.lead-section {
    border: 0;
    border-radius: 0;
    background: var(--ref-soft);
    box-shadow: none;
    padding: 92px max(22px, calc((100% - var(--container-width)) / 2));
    width: 100%;
    max-width: none;
}
.lead-form {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
    border-color: var(--ref-line);
    border-radius: 24px;
}
.lead-form textarea { border-radius: 16px; }

.final-cta {
    width: min(var(--container-width), calc(100% - 44px));
    background: var(--ref-blue);
    color: #ffffff;
    padding: 42px;
    text-align: left;
    margin-bottom: 40px;
}
.final-cta h2,
.final-cta .eyebrow,
.final-cta p { color: #ffffff; background: none; text-align: left; }
.final-cta h2 { padding-bottom: 0; }
.final-cta .eyebrow { margin-bottom: 40px; }
.btn-primary[href*="wa.me"],
.magnetic[href*="wa.me"] {
    animation: ap-cta-pulse 2.6s ease-in-out infinite;
}
.btn-primary[href*="wa.me"]::after,
.magnetic[href*="wa.me"]::after {
    animation-duration: 3.8s;
}

.site-footer {
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 48px max(22px, calc((100% - var(--container-width)) / 2)) 0;
    background: var(--ref-dark);
    border-top: 0;
}
.site-footer strong,
.site-footer .brand-copy strong,
.site-footer .brand-copy small { color: #ffffff; }
.site-footer .brand-logo {
    width: 220px;
    height: 66px;
    object-position: left center;
}
.site-footer p,
.site-footer a,
.site-footer span { color: #9aadbf; }
.footer-bottom {
    border-top-color: #27425c;
    font-size: 12px;
}
.footer-bottom span:last-child {
    gap: 10px;
}
.footer-bottom span:last-child a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}
.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: color .2s var(--ease-out);
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #ffffff;
}
.footer-contact i,
.footer-social i {
    color: var(--ref-blue-2);
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex: 0 0 auto;
}
.footer-social {
    display: grid;
    align-content: start;
    gap: 8px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: color .2s var(--ease-out);
}
.footer-social a:hover,
.footer-social a:focus-visible {
    color: #ffffff;
}
.footer-social a i {
    font-size: 17px;
}
.wa-float {
    border-radius: 30px;
    background: var(--ref-green);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(71,160,50,.25);
}

@media (max-width: 1180px) {
    .site-header.scrolled { padding-inline: 14px; }
    .site-nav.open { background: var(--ref-blue); padding: 12px; }
}
@media (max-width: 980px) {
    .tax-alert { display: grid; text-align: center; }
    .site-header { top: 10px; width: calc(100% - 24px); }
    .hero { margin-top: 0; min-height: auto; padding: 118px 22px 80px; display: block; }
    .hero-copy { padding-top: 0; }
    .product-stage { margin-inline: auto; }
    .metrics-band,
    .problem-grid,
    .module-grid,
    .segment-grid,
    .integration-grid,
    .testimonial-grid,
    .result-grid,
    .operation-flow,
    .screens-gallery { grid-template-columns: repeat(2, 1fr); }
    .screen-phone { position: static; width: 180px; margin: 16px auto 0; }
}
@media (max-width: 700px) {
    .header-actions { display: none; }
    .brand-logo { width: 148px; height: 48px; }
    .brand-mark { background: #ffffff; color: var(--ref-blue); }
    h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
    h2 { font-size: clamp(1.65rem, 8vw, 2.25rem); }
    .btn { width: 100%; padding-inline: 20px; }
    .metrics-band,
    .problem-grid,
    .module-grid,
    .segment-grid,
    .integration-grid,
    .testimonial-grid,
    .result-grid,
    .operation-flow,
    .screens-gallery,
    .compare-grid,
    .footer-main { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .section-slim { padding: 70px 0 50px; }
    .final-cta { display: grid; text-align: center; }
    .final-cta h2,
    .final-cta .eyebrow,
    .final-cta p { text-align: center; }
}

/* Crypterium-like motion layer: floating particles, hero parallax and polished reveals. */
.hero .hero-copy::before,
.hero .hero-copy::after,
.hero .product-stage::before,
.hero .product-stage::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.hero .hero-copy::before {
    left: -120px;
    top: 110px;
    width: 18px;
    height: 18px;
    background: rgba(255,255,255,.50);
    animation: ap-float-a 5.8s ease-in-out infinite;
}
.hero .hero-copy::after {
    right: -90px;
    top: 210px;
    width: 42px;
    height: 42px;
    border: 8px solid rgba(255,255,255,.18);
    animation: ap-float-b 7s ease-in-out infinite;
}
.hero .product-stage::before {
    left: -70px;
    bottom: 130px;
    width: 62px;
    height: 62px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 0 0 18px rgba(255,255,255,.055);
    animation: ap-float-c 8s ease-in-out infinite;
}
.hero .product-stage::after {
    right: -60px;
    bottom: 90px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    opacity: .55;
    animation: ap-float-a 6.4s ease-in-out infinite reverse;
}
.screen-main {
    animation: ap-mockup-drift 6.8s ease-in-out infinite;
    transform-origin: center bottom;
}
.screen-phone {
    animation: ap-phone-drift 5.8s ease-in-out infinite;
}
.btn-primary,
.hero-actions .btn:first-child {
    position: relative;
    overflow: hidden;
}
.btn-primary::after,
.hero-actions .btn:first-child::after {
    content: "";
    position: absolute;
    top: -40%;
    bottom: -40%;
    left: -65%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent);
    transform: skewX(-22deg);
    animation: ap-button-shine 4.8s ease-in-out infinite;
}
.metric-item,
.problem-card,
.module-card,
.glass-card,
.integration-card,
.quote-card,
.result-card,
.compare-card,
.price-card,
.flow-step,
.screens-gallery figure {
    will-change: transform;
}
.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(.985);
    transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
}
.animate-on-scroll.is-visible,
.animate-on-scroll.animate__animated {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.problem-card:nth-child(2),
.module-card:nth-child(2),
.glass-card:nth-child(2),
.integration-card:nth-child(2),
.quote-card:nth-child(2),
.result-card:nth-child(2) { transition-delay: .08s; }
.problem-card:nth-child(3),
.module-card:nth-child(3),
.glass-card:nth-child(3),
.integration-card:nth-child(3),
.quote-card:nth-child(3),
.result-card:nth-child(3) { transition-delay: .16s; }
.problem-card:nth-child(4),
.module-card:nth-child(4),
.glass-card:nth-child(4),
.integration-card:nth-child(4),
.quote-card:nth-child(4),
.result-card:nth-child(4) { transition-delay: .24s; }
.problem-card:hover,
.module-card:hover,
.glass-card:hover,
.integration-card:hover,
.quote-card:hover,
.result-card:hover,
.screens-gallery figure:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 42px rgba(16, 128, 242, .15);
}
.site-header,
.tax-alert {
    animation: ap-drop-in .64s cubic-bezier(.2,.8,.2,1) both;
}
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p,
.hero-actions,
.product-stage {
    animation: ap-rise-in .86s cubic-bezier(.2,.8,.2,1) both;
}
.hero-copy h1 { animation-delay: .08s; }
.hero-copy p { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
.product-stage { animation-delay: .34s; }

@keyframes ap-rise-in {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ap-drop-in {
    from { opacity: 0; transform: translate3d(-50%, -18px, 0); }
    to { opacity: 1; transform: translate3d(-50%, 0, 0); }
}
@keyframes ap-cta-pulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 28px rgba(16, 128, 242, .22); }
    50% { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(16, 128, 242, .34); }
}
@keyframes ap-mockup-drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(.35deg); }
}
@keyframes ap-phone-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -18px, 0); }
}
@keyframes ap-float-a {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .48; }
    50% { transform: translate3d(12px, -22px, 0); opacity: .86; }
}
@keyframes ap-float-b {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: .62; }
    50% { transform: translate3d(-16px, 24px, 0) rotate(18deg); opacity: .34; }
}
@keyframes ap-float-c {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -18px, 0) scale(1.08); }
}
@keyframes ap-button-shine {
    0%, 60% { left: -65%; }
    78%, 100% { left: 125%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Initial three feature cards matching the reference structure. */
.initial-features {
    background: var(--ref-soft);
    padding-top: 100px;
    padding-bottom: 100px;
}
.initial-features .reference-heading .eyebrow { color: #b6b6b6; }
.initial-features .reference-heading h2 { color: var(--ref-text); }
.initial-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 42px;
    align-items: center;
    width: min(var(--container-width), calc(100% - 44px));
    margin: 0 auto;
}
.initial-feature-copy .section-head {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}
.initial-feature-copy .section-head h2 {
    max-width: none;
    white-space: nowrap;
}
.initial-feature-copy .section-head p {
    max-width: 620px;
    margin-left: 0;
    margin-right: 0;
}
.initial-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin: 0;
}
.initial-feature-card {
    position: relative;
    min-height: 0;
    padding: 22px 24px;
    text-align: left;
    border: 1px solid var(--ref-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
    overflow: hidden;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.initial-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(16, 128, 242, .16);
}
.initial-feature-card .feature-icon {
    margin: 0 0 18px;
}
.initial-feature-visual {
    position: relative;
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(16,128,242,.16);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(16, 128, 242, .16);
}
.initial-feature-visual::before {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: -1;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16,128,242,.16), rgba(237,28,36,.08));
}
.initial-feature-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e2e7ec;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1080f2, #2c93fb);
    box-shadow: 0 16px 34px rgba(16, 128, 242, .25);
}
.feature-icon svg { width: 36px; height: 36px; fill: #ffffff; }
.feature-image {
    height: 128px;
    margin: 0 -10px 22px;
    border-radius: 8px;
    background: #f0f5f7;
    overflow: hidden;
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.initial-feature-card h3 {
    margin: 0 0 12px;
    color: var(--ref-text);
    font-size: 18px;
    font-weight: 500;
}
.initial-feature-card p {
    margin: 0;
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.75;
}
@media (max-width: 980px) {
    .initial-feature-layout {
        grid-template-columns: 1fr;
    }
    .initial-feature-copy .section-head {
        text-align: center;
    }
    .initial-feature-copy .section-head p {
        margin-left: auto;
        margin-right: auto;
    }
    .initial-feature-copy .section-head h2 {
        white-space: normal;
    }
}
@media (max-width: 700px) {
    .initial-feature-grid { grid-template-columns: 1fr; }
    .initial-feature-card { min-height: 0; }
    .initial-feature-visual { padding: 8px; }
}

/* AutoParts official blue and circular WhatsApp contact chooser. */
:root { --gradient-header: linear-gradient(135deg, #000015 0%, #0b1c38 100%); }
.hero {
    background:
        radial-gradient(circle at 20% 12%, rgba(255,255,255,.14), transparent 18%),
        radial-gradient(circle at 78% 24%, rgba(16,128,242,.24), transparent 24%),
        var(--gradient-header);
}
.site-header.scrolled,
.tax-alert,
.price-card > span,
.final-cta {
    background: #1180f3;
}
.header-actions .btn-primary:hover,
.hero-actions .btn:hover,
.cta-actions .btn:hover {
    color: #0b1c38;
}
.wa-float {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 1500 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.wa-float.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.wa-float-button {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #24c461;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(36,196,97,.32);
    transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.wa-float-button:hover,
.wa-float.open .wa-float-button {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 24px 54px rgba(36,196,97,.38);
}
.wa-float-button svg {
    width: 33px;
    height: 33px;
    fill: currentColor;
}
.wa-contact-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    display: grid;
    gap: 10px;
    width: 260px;
    padding: 12px;
    border: 1px solid rgba(16,128,242,.16);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0,0,21,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.96);
    transform-origin: right bottom;
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s var(--ease-out);
}
.wa-float.open .wa-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.wa-contact-panel a {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #0b1c38;
    background: #f0f5f7;
    text-decoration: none;
    transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.wa-contact-panel a:hover {
    background: #e3f2ff;
    transform: translateX(-2px);
}
.wa-contact-panel strong {
    color: #0b1c38;
    font-size: 14px;
    font-weight: 700;
}
.wa-contact-panel span {
    color: #58708e;
    font-size: 13px;
}
@media (max-width: 700px) {
    .wa-float { right: 16px !important; bottom: 16px !important; left: auto !important; }
    .wa-contact-panel { width: min(260px, calc(100vw - 32px)); }
}

/* Final reference fidelity: official dark header, FA icons, improved flow and 3D screen gallery. */
.hero {
    background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
}
.hero::before {
    left: -12%;
    right: -12%;
    bottom: -132px;
    height: 280px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #ffffff;
}
.hero::after {
    border-color: rgba(255,255,255,.055);
}
.site-header { top: 54px; }
.tax-alert { display: none; }
.hero { margin-top: 0; }
.brand-mark { background: #ffffff; color: #0b1c38; }
.initial-feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #0b1c38, #1080f2); }
.problem-card-icon small {
    display: block;
    color: #b6b6b6;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.fa-problem-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #1080f2, #2c93fb);
    box-shadow: 0 16px 34px rgba(16,128,242,.22);
    font-size: 24px;
}
.fa-problem-icon i {
    color: #ffffff;
}
.operation-flow-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: flow;
}
.operation-flow-icons .flow-step {
    position: relative;
    min-height: 150px;
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
}
.operation-flow-icons .flow-step span {
    position: absolute;
    top: 14px;
    left: 16px;
    margin: 0;
    color: #b6b6b6;
}
.operation-flow-icons .flow-step i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    background: #1180f3;
    font-size: 22px;
    box-shadow: 0 14px 32px rgba(11,28,56,.20);
}
.operation-flow-icons .flow-step strong {
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.35;
}
.dg-container {
    position: relative;
    width: min(var(--container-width), calc(100% - 44px));
    min-height: 470px;
    margin: 16px auto 0;
    perspective: 1200px;
}
.dg-wrapper {
    position: relative;
    width: 100%;
    height: 390px;
    transform-style: preserve-3d;
}
.dg-item {
    position: absolute;
    top: 16px;
    left: 50%;
    width: min(640px, 72vw);
    border: 10px solid #ffffff;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15,44,73,.20);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateZ(-520px);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s cubic-bezier(.2,.8,.2,1), visibility .45s;
    text-decoration: none;
    overflow: hidden;
}
.dg-item img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    object-position: top;
}
.dg-item span {
    display: block;
    padding: 12px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.dg-item.dg-center {
    z-index: 4;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateZ(0) rotateY(0deg);
}
.dg-item.dg-left {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translateX(calc(-50% - 350px)) translateZ(-400px) rotateY(0deg);
}
.dg-item.dg-right {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translateX(calc(-50% + 350px)) translateZ(-400px) rotateY(0deg);
}
.dg-item.dg-hidden { pointer-events: none; }
.dg-container nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
}
.dg-prev,
.dg-next {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ref-line);
    border-radius: 50%;
    color: #1080f2;
    background: #ffffff;
    cursor: pointer;
    box-shadow: var(--ref-shadow);
    transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.dg-prev:hover,
.dg-next:hover {
    color: #ffffff;
    background: #1080f2;
    transform: translateY(-2px);
}
@media (max-width: 980px) {
    .site-header { top: 14px; }
    .dg-container { min-height: 410px; }
    .dg-wrapper { height: 330px; }
    .dg-item { width: min(560px, 82vw); }
    .dg-item img { height: 260px; }
    .dg-item.dg-left { transform: translateX(calc(-50% - 210px)) translateZ(-300px); }
    .dg-item.dg-right { transform: translateX(calc(-50% + 210px)) translateZ(-300px); }
}
/* Testimonials carousel (Swiper) matching the original site. */
.swiper-ap { position: relative; width: 100%; padding: 8px 4px 56px; overflow: hidden; }
.swiper-ap .swiper-slide { height: auto; display: flex; }
.testimonials-swiper { padding-inline: 4px; }
.testimonial-card-ap {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 34px 30px 30px;
    border: 1px solid var(--ref-line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
    text-align: left;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.swiper-slide-active .testimonial-card-ap,
.testimonial-card-ap:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(16, 128, 242, .16);
    border-color: rgba(16, 128, 242, .35);
}
.testimonial-card-ap .quote-icon {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
    line-height: .6;
    color: var(--ref-blue);
    opacity: .28;
    margin-bottom: 6px;
}
.testimonial-card-ap .stars { display: flex; gap: 4px; color: #ffb400; font-size: 14px; margin-bottom: 14px; }
.testimonial-card-ap .testimonial-text {
    flex: 1 0 auto;
    margin: 0 0 22px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #1080f2, #2c93fb);
    font-size: 18px;
    font-weight: 600;
    flex: 0 0 auto;
}
.author-meta { display: flex; flex-direction: column; line-height: 1.3; }
.author-meta strong { color: var(--ref-text); font-size: 15px; font-weight: 600; }
.author-meta span { color: var(--ref-muted); font-size: 13px; }
.swiper-ap .swiper-pagination { bottom: 12px; }
.swiper-ap .swiper-pagination-bullet { background: #c3d3e2; opacity: 1; transition: width .25s var(--ease-out), background .25s var(--ease-out); }
.swiper-ap .swiper-pagination-bullet-active { width: 26px; border-radius: 6px; background: var(--ref-blue); }
.swiper-nav-ap {
    position: absolute;
    top: 42%;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ref-line);
    border-radius: 50%;
    color: var(--ref-blue);
    background: #ffffff;
    cursor: pointer;
    box-shadow: var(--ref-shadow);
    transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.swiper-nav-ap:hover { color: #ffffff; background: var(--ref-blue); transform: translateY(-2px); }
.swiper-nav-prev { left: -6px; }
.swiper-nav-next { right: -6px; }
.swiper-nav-ap.swiper-button-disabled { opacity: .4; cursor: default; }
@media (max-width: 1024px) { .swiper-nav-ap { display: none; } }

/* Testimonials via Slick carousel. */
.testimonials-slick { position: relative; padding: 10px 44px 58px; }
.testimonials-slick .slick-track { display: flex; }
.testimonials-slick .slick-slide { height: auto; }
.testimonials-slick .slide-item { height: auto; padding: 10px 12px; box-sizing: border-box; }
.testimonials-slick .testimonial-card-ap { height: 100%; }
.testimonials-slick .slick-dots { bottom: 14px; }
.testimonials-slick .slick-dots li,
.testimonials-slick .slick-dots li button { width: 12px; height: 12px; }
.testimonials-slick .slick-dots li button:before {
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 11px;
    color: #c3d3e2;
    opacity: 1;
}
.testimonials-slick .slick-dots li.slick-active button:before { color: var(--ref-blue); }
.testimonials-slick .slick-prev,
.testimonials-slick .slick-next {
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ref-line);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
    transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.testimonials-slick .slick-prev:hover,
.testimonials-slick .slick-next:hover { background: var(--ref-blue); transform: translateY(-50%) scale(1.05); }
.testimonials-slick .slick-prev:before,
.testimonials-slick .slick-next:before { color: var(--ref-blue); opacity: 1; }
.testimonials-slick .slick-prev:hover:before,
.testimonials-slick .slick-next:hover:before { color: #ffffff; }
.testimonials-slick .slick-prev { left: 0; }
.testimonials-slick .slick-next { right: 0; }
@media (max-width: 700px) {
    .testimonials-slick { padding-inline: 10px; }
    .testimonials-slick .slick-prev { left: -4px; }
    .testimonials-slick .slick-next { right: -4px; }
}

/* Instagram carousel. */
.instagram-section .ig-handle { color: var(--ref-blue); font-weight: 600; text-decoration: none; }
.instagram-section .ig-handle:hover { text-decoration: underline; }
.ig-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ref-soft);
    box-shadow: var(--ref-shadow);
    text-decoration: none;
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ig-card:hover img { transform: scale(1.06); }
.ig-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 34px;
    background: linear-gradient(135deg, rgba(131,58,180,.55), rgba(29,124,242,.55));
    opacity: 0;
    transition: opacity .3s var(--ease-out);
}
.ig-card:hover .ig-overlay { opacity: 1; }
.ig-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 14px 12px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    background: linear-gradient(transparent, rgba(11,28,56,.82));
}
.instagram-cta { display: flex; justify-content: center; margin-top: 24px; }
.instagram-cta .btn-primary {
    border: 0;
    background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
    color: #ffffff;
}
.instagram-cta .btn-primary i { margin-right: 8px; }

/* About page: origin story, recognition and mission/vision/commitment. */
.about-story {
    display: block;
    background: #ffffff;
}
.about-origin-heading {
    margin-top: 26px;
}
.about-origin-heading h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}
.about-origin {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}
.about-origin .glass-card { padding: 32px; text-align: left; }
.about-origin p { color: var(--ref-muted); font-size: 14px; line-height: 1.85; margin: 0 0 16px; }
.about-origin p:last-child { margin-bottom: 0; }
.about-origin strong { color: var(--ref-text); font-weight: 600; }
.about-origin-photo {
    overflow: hidden;
    max-width: 360px;
    margin: 0 auto 24px;
    border: 1px solid var(--ref-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(16, 128, 242, .12);
}
.about-origin-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.about-origin-photo figcaption {
    padding: 14px 18px;
    color: var(--ref-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.about-timeline {
    display: grid;
    gap: 14px;
}
.about-timeline div {
    display: grid;
    gap: 4px;
    padding: 22px 24px;
    border: 1px solid var(--ref-line);
    border-left: 4px solid var(--ref-blue);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
}
.about-timeline strong {
    color: #0b1c38;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}
.about-timeline span {
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.65;
}
.about-highlight {
    grid-column: 1 / -1;
    position: relative;
    padding: 40px 44px !important;
    border: 2px solid #1180f3;
    background: #1180f3;
    box-shadow: 0 26px 70px rgba(16, 128, 242, .26);
    overflow: hidden;
}
.about-highlight::before {
    content: "\f005";
    position: absolute;
    top: 28px;
    right: 34px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255,255,255,.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 18px 38px rgba(11,28,56,.18);
}
.about-highlight .eyebrow {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.about-highlight h3 {
    max-width: calc(100% - 90px);
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 600;
    margin: 10px 0 16px;
}
.about-highlight p {
    max-width: 980px;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    line-height: 1.9;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.about-values .glass-card { padding: 32px 26px; text-align: center; }
.about-values h3 { font-size: 18px; margin: 6px 0 12px; }
.about-values p { color: var(--ref-muted); font-size: 13px; line-height: 1.8; margin: 0; }
.about-value-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #1080f2, #2c93fb);
    box-shadow: 0 16px 34px rgba(16, 128, 242, .22);
    font-size: 24px;
}
@media (max-width: 900px) {
    .about-origin { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .about-highlight { padding: 32px 26px !important; }
    .about-highlight::before { position: static; margin-bottom: 18px; }
    .about-highlight h3 { max-width: none; }
}

/* Hero side screens flanking the central operation-center image. */
.screen-stack { position: relative; }
.screen-side {
    position: absolute;
    top: -6%;
    width: 40%;
    border: 7px solid #ffffff;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 44, 73, .30);
    object-fit: cover;
    object-position: top;
    z-index: 0;
}
.screen-side.screen-left {
    left: -7%;
    transform: rotate(-4deg);
    animation: ap-side-drift-l 7.4s ease-in-out infinite;
}
.screen-side.screen-right {
    right: -7%;
    transform: rotate(4deg);
    animation: ap-side-drift-r 8s ease-in-out infinite;
}
.screen-main { position: relative; z-index: 2; }
@keyframes ap-side-drift-l {
    0%, 100% { transform: rotate(-4deg) translate3d(0, 0, 0); }
    50% { transform: rotate(-4deg) translate3d(0, -16px, 0); }
}
@keyframes ap-side-drift-r {
    0%, 100% { transform: rotate(4deg) translate3d(0, 0, 0); }
    50% { transform: rotate(4deg) translate3d(0, -16px, 0); }
}
@media (max-width: 980px) {
    .screen-side { width: 44%; }
    .screen-side.screen-left { left: -4%; }
    .screen-side.screen-right { right: -4%; }
}
@media (max-width: 700px) {
    .screen-side { display: none; }
}

@media (max-width: 700px) {
    .operation-flow-icons { grid-template-columns: 1fr; }
    .dg-container { min-height: 350px; }
    .dg-wrapper { height: 280px; }
    .dg-item { width: min(92vw, 420px); }
    .dg-item img { height: 210px; }
    .dg-item.dg-left,
    .dg-item.dg-right { opacity: .28; transform: translateX(-50%) translateZ(-260px); }
}

/* Unique Software fidelity pass: same blue header field and centered top mockup. */
.site-header {
    top: 20px;
    width: min(var(--container-width), calc(100% - 44px));
    min-height: 58px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.site-header.scrolled {
    top: 0;
    width: 100%;
    min-height: 70px;
    padding: 10px max(22px, calc((100% - var(--container-width)) / 2));
    background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
    box-shadow: 0 8px 24px rgba(16, 128, 242, .22);
}
body.module-page .site-header {
    top: 0;
    left: 50%;
    width: 100%;
    min-height: 70px;
    padding: 10px max(22px, calc((100% - var(--container-width)) / 2));
    border-radius: 0;
    background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
    box-shadow: 0 8px 24px rgba(16, 128, 242, .22);
}
body.legal-page .site-header {
    top: 0;
    left: 50%;
    width: 100%;
    min-height: 70px;
    padding: 10px max(22px, calc((100% - var(--container-width)) / 2));
    border-radius: 0;
    background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
    box-shadow: 0 8px 24px rgba(16, 128, 242, .22);
}
.site-nav {
    justify-self: end;
    gap: 0;
}
.site-nav a {
    padding: 10px 11px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}
.site-nav a:hover,
.site-nav a.active {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}
.brand-logo {
    width: 178px;
    height: 58px;
    filter: none;
}
.hero {
    display: grid;
    grid-template-columns: minmax(22px, 1fr) minmax(0, var(--container-width)) minmax(22px, 1fr);
    min-height: 760px;
    margin-top: 0;
    padding: 0;
    background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
}
.hero-copy {
    grid-column: 2;
    max-width: 900px;
    padding-top: 128px;
    text-align: center;
}
.hero-copy .eyebrow {
    display: none;
}
.hero h1 {
    max-width: 1080px;
    color: #ffffff;
    font-size: clamp(2.5rem, 4.15vw, 3.85rem);
    font-weight: 600;
    line-height: 1.18;
}
.hero h1 span {
    display: block;
    white-space: nowrap;
}
.hero-copy p {
    max-width: 720px;
    margin: 20px auto 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.8;
}
.hero-actions {
    justify-content: center;
    padding-top: 25px;
    margin-top: 0;
}
.hero-actions .btn {
    min-height: 45px;
    padding: 0 50px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
}
.hero-actions .btn:hover {
    background: #ffffff;
    color: #1080f2;
}
.product-stage {
    grid-column: 2;
    width: min(100%, 1070px);
    margin: 42px auto 0;
}
.screen-stack {
    display: block;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.screen-main {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    object-position: center top;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.screen-phone,
.stage-topbar,
.stage-caption,
.floating-chip,
.hero-proof-grid,
.trust-strip {
    display: none !important;
}
.screen-side {
    display: block !important;
    position: absolute;
    top: 3%;
    width: 38%;
    max-height: 260px;
    border: 7px solid #ffffff;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 44, 73, .30);
    object-fit: cover;
    object-position: top;
    z-index: 1;
}
.screen-side.screen-left {
    left: -4%;
    transform: rotate(-4deg);
}
.screen-side.screen-right {
    right: -4%;
    transform: rotate(4deg);
}
.screen-main {
    position: relative;
    z-index: 2;
    width: 74%;
    margin: 0 auto;
    max-height: 430px;
}
.hero::before {
    bottom: -132px;
    height: 250px;
    background: #ffffff;
}
.hero::after,
.hero .hero-copy::before,
.hero .hero-copy::after,
.hero .product-stage::before,
.hero .product-stage::after {
    display: none;
}
@media (max-width: 980px) {
    .site-header {
        top: 10px;
        width: calc(100% - 24px);
        grid-template-columns: auto auto;
    }
    .site-header.scrolled {
        min-height: 64px;
        padding: 8px 12px;
    }
    .site-nav.open {
        background: #1080f2 url('/assets/images/topbg.jpg') repeat-x top center;
    }
    .hero {
        display: block;
        min-height: auto;
        padding: 108px 22px 88px;
    }
    .hero-copy {
        padding-top: 0;
    }
    .product-stage {
        margin-top: 34px;
    }
}
@media (max-width: 700px) {
    .brand-logo {
        width: 150px;
        height: 48px;
    }
    .hero h1 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }
    .hero h1 span {
        white-space: normal;
    }
    .hero-actions .btn {
        width: 100%;
        padding-inline: 20px;
    }
}

/* Pricing cards matching the original three-plan block. */
.pricing-section {
    background: var(--ref-soft);
}
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    width: min(var(--container-width), calc(100% - 44px));
    margin: 36px auto 0;
}
.pricing-grid .price-card {
    width: 380px;
    max-width: 100%;
    height: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--ref-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.pricing-grid .price-card-featured {
    margin-top: -50px;
}
.plan-title {
    min-height: 0;
    padding: 32px 24px;
    border-radius: 18px 18px 0 0;
    background: #1080f2;
    color: #ffffff;
    overflow: visible;
    text-align: center;
}
.plan-title span {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}
.plan-title h3 {
    margin: 10px 0 8px;
    color: #ffffff;
    font-size: clamp(2.55rem, 4vw, 3.35rem);
    font-weight: 600;
    line-height: 1.22;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible;
}
.pricing-grid .price-card ul {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pricing-grid .price-card li {
    margin: 0;
    padding: 16px 24px;
    border-top: 1px solid #ececec;
    border-bottom: 0;
    color: #616161;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}
.plan-btn {
    position: static;
    padding: 24px;
    text-align: center;
}
.plan-btn a {
    display: block;
    width: 100%;
    padding: 12px 46px;
    border: 1px solid #1080f2;
    border-radius: 100px;
    background: #ffffff;
    color: #1080f2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.plan-btn a:hover {
    background: #1080f2;
    color: #ffffff;
}
@media (max-width: 980px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
    }
    .pricing-grid .price-card-featured {
        margin-top: 0;
    }
}
@media (max-width: 760px) {
    .faq-heading h2 {
        white-space: normal;
    }
    .problems-section .section-head h2 {
        white-space: normal;
    }
    .compare-section .section-head h2 {
        white-space: normal;
    }
    .modules-section .section-head h2 {
        white-space: normal;
    }
    .automotive-section .section-head h2 {
        white-space: normal;
    }
    .results-section .section-head h2 {
        white-space: normal;
    }
    .pricing-copy h2 {
        white-space: normal;
    }
}

.hero::before {
    display: none;
}

/* ============================================================
   Módulo ERP - template SaaS premium (páginas /modulos/*)
   Escopado a body.module-page para não alterar o restante do site.
   ============================================================ */
body.module-page .module-hero.subhero {
    min-height: 0;
    padding: 168px 0 84px;
    background:
        radial-gradient(circle at 12% 10%, rgba(16,128,242,.08), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(44,147,251,.06), transparent 28%),
        #ffffff;
}
body.module-page .module-hero-copy {
    max-width: 620px;
}
body.module-page .module-hero-copy h1 {
    color: var(--ref-dark);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 8px 0 0;
}
body.module-page .module-hero-copy .hero-subtitle {
    margin: 18px 0 0;
    color: var(--ref-dark);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.5;
}
body.module-page .module-hero-copy .hero-description {
    margin: 14px 0 0;
    color: var(--ref-muted);
    font-size: .98rem;
    line-height: 1.7;
}
body.module-page .hero-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 22px;
}
body.module-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--ref-line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15,44,73,.06);
    color: var(--ref-dark);
    font-size: .86rem;
    font-weight: 600;
    white-space: nowrap;
}
body.module-page .hero-badge i {
    color: var(--ref-blue);
    font-size: 14px;
}
body.module-page .hero-price {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    border: 1px solid rgba(16,128,242,.28);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16,128,242,.10), rgba(0,194,255,.08));
}
body.module-page .hero-price strong {
    color: var(--ref-blue);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}
body.module-page .hero-price span {
    color: var(--ref-muted);
    font-size: .82rem;
    font-weight: 500;
}
body.module-page .module-visual {
    border: 0;
    border-radius: 22px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}body.module-page .module-visual img {
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    max-height: 560px;
    object-fit: cover;
    box-shadow: 0 34px 80px rgba(15,44,73,.16);
}
body.module-page.module-estoque .module-visual {
    display: grid;
    place-items: center;
}
body.module-page.module-estoque .module-visual img {
    max-height: 440px;
    max-width: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.module-page.module-apps-mobile .module-visual {
    display: grid;
    place-items: center;
}
body.module-page.module-apps-mobile .module-visual img {
    max-height: 430px;
    max-width: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Botão CTA azul sempre (sobrescreve regras de botão branco do hero). */
body.module-page .module-hero .hero-actions .btn,
body.module-page .btn-cta {
    min-height: 52px;
    padding: 0 36px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    background: linear-gradient(135deg, var(--ref-blue-2), var(--ref-blue));
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(16,128,242,.32);
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}
body.module-page .module-hero .hero-actions .btn i,
body.module-page .btn-cta i {
    font-size: 15px;
}
body.module-page .module-hero .hero-actions .btn:hover,
body.module-page .btn-cta:hover {
    background: linear-gradient(135deg, #0b6ad0, #0a5fc2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(16,128,242,.4);
}
body.module-page .final-cta .btn-cta {
    border-color: #ffffff;
}

/* Grids e cards das novas seções. */
body.module-page .module-benefits,
body.module-page .module-why,
body.module-page .module-numbers {
    width: 100%;
    max-width: none;
    background: var(--ref-soft);
    padding-left: max(22px, calc((100% - var(--container-width)) / 2));
    padding-right: max(22px, calc((100% - var(--container-width)) / 2));
}
body.module-page .module-resources,
body.module-page .module-flow {
    width: min(var(--container-width), calc(100% - 44px));
    margin-inline: auto;
}
body.module-page .module-resources,
body.module-page .module-flow {
    padding: 92px 0;
}
body.module-page .module-benefits {
    padding: 96px max(22px, calc((100% - var(--container-width)) / 2));
}
body.module-page .module-why {
    padding: 92px max(22px, calc((100% - var(--container-width)) / 2));
}
body.module-page .module-numbers {
    padding: 92px max(22px, calc((100% - var(--container-width)) / 2));
}
body.module-page .benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}
body.module-page .benefit-card {
    position: relative;
    padding: 30px 28px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15,44,73,.06);
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out);
}
body.module-page .benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16,128,242,.35);
    box-shadow: 0 26px 60px rgba(15,44,73,.12);
}
body.module-page .benefit-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16,128,242,.14), rgba(44,147,251,.08));
    color: var(--ref-blue);
    font-size: 22px;
}
body.module-page .benefit-card h3 {
    color: var(--ref-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
body.module-page .benefit-card p {
    margin-top: 10px;
    color: var(--ref-muted);
    font-size: .9rem;
    line-height: 1.65;
}

body.module-page .resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
    flex-wrap: nowrap;
}
body.module-page .resource-card {
    padding: 24px 22px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,44,73,.05);
    transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out), border-color .26s var(--ease-out);
}
body.module-page .resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16,128,242,.3);
    box-shadow: 0 20px 46px rgba(15,44,73,.1);
}
body.module-page .resource-card i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ref-blue), var(--ref-blue-2));
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(16,128,242,.28);
}
body.module-page .resource-card h3 {
    color: var(--ref-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
body.module-page .resource-card p {
    margin-top: 8px;
    color: var(--ref-muted);
    font-size: .85rem;
    line-height: 1.6;
}

/* Timeline horizontal do fluxo. */
body.module-page .module-flow .flow-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 40px;
}
body.module-page .module-flow .flow-panel > div {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 22px 22px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,44,73,.05);
    text-align: left;
}
body.module-page .module-flow .flow-panel > div::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    width: 18px;
    height: 2px;
    background: var(--ref-line);
}
body.module-page .module-flow .flow-panel > div:last-child::after {
    display: none;
}
body.module-page .module-flow .flow-panel span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ref-blue), var(--ref-blue-2));
    color: #ffffff;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(16,128,242,.28);
}
body.module-page .module-flow .flow-panel strong {
    color: var(--ref-dark);
    font-size: 1rem;
    font-weight: 700;
}
body.module-page .module-flow .flow-panel small {
    color: var(--ref-muted);
    font-size: .85rem;
    line-height: 1.5;
}

/* Por que escolher o AutoParts ERP. */
body.module-page .why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}
body.module-page .why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 22px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,44,73,.05);
    transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out), border-color .26s var(--ease-out);
}
body.module-page .why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16,128,242,.3);
    box-shadow: 0 20px 46px rgba(15,44,73,.1);
}
body.module-page .why-number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16,128,242,.12), rgba(44,147,251,.06));
    color: var(--ref-blue);
    font-size: .9rem;
    font-weight: 800;
}
body.module-page .why-card h3 {
    color: var(--ref-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}
body.module-page .why-copy p {
    margin-top: 6px;
    color: var(--ref-muted);
    font-size: .86rem;
    line-height: 1.6;
}
body.module-page .why-copy {
    min-width: 0;
}

/* Números que demonstram nossa evolução. */
body.module-page .numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}
body.module-page .number-card {
    padding: 34px 22px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15,44,73,.06);
    text-align: center;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
body.module-page .number-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(15,44,73,.12);
}
body.module-page .number-card strong {
    display: block;
    color: var(--ref-blue);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.01em;
}
body.module-page .number-card strong span {
    font-size: .5em;
    font-weight: 700;
}
body.module-page .number-card strong.number-title {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    letter-spacing: 0;
}
body.module-page .number-card p {
    margin-top: 10px;
    color: var(--ref-muted);
    font-size: .86rem;
    line-height: 1.5;
}

/* Cabeçalhos de seção do módulo: alinhar à esquerda, mais próximos do SaaS. */
body.module-page .module-benefits .section-head,
body.module-page .module-resources .section-head,
body.module-page .module-flow .section-head,
body.module-page .module-why .section-head,
body.module-page .module-numbers .section-head,
body.module-page .module-checklist .section-head,
body.module-page .module-table .section-head {
    max-width: 720px;
    margin-bottom: 0;
}
body.module-page .module-benefits .section-head .eyebrow,
body.module-page .module-resources .section-head .eyebrow,
body.module-page .module-flow .section-head .eyebrow,
body.module-page .module-why .section-head .eyebrow,
body.module-page .module-numbers .section-head .eyebrow,
body.module-page .module-checklist .section-head .eyebrow,
body.module-page .module-table .section-head .eyebrow {
    display: block;
}
body.module-page .module-benefits .section-head h2,
body.module-page .module-resources .section-head h2,
body.module-page .module-flow .section-head h2,
body.module-page .module-why .section-head h2,
body.module-page .module-numbers .section-head h2 {
    text-align: left;
    padding-bottom: 0;
    background: none;
    margin-left: 0;
    white-space: nowrap;
}
body.module-page .module-benefits .section-head p,
body.module-page .module-resources .section-head p,
body.module-page .module-flow .section-head p,
body.module-page .module-why .section-head p,
body.module-page .module-numbers .section-head p {
    margin-left: 0;
    text-align: left;
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.7;
}
body.module-page .module-note .module-note-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    border: 1px solid rgba(16,128,242,.24);
    border-left: 4px solid var(--ref-blue);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16,128,242,.08), rgba(0,194,255,.05));
    color: var(--ref-dark);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.6;
}
body.module-page .module-note .module-note-card a {
    color: var(--ref-blue);
    text-decoration: underline;
}
body.module-page .soon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}
body.module-page .soon-card {
    position: relative;
    padding: 28px 26px 24px;
    border: 1px dashed rgba(16,128,242,.4);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16,128,242,.06), rgba(0,194,255,.04));
}
body.module-page .soon-card i {
    font-size: 22px;
    color: var(--ref-blue);
}
body.module-page .soon-logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 96px;
    margin-bottom: 10px;
}
body.module-page .soon-logo img {
    max-width: 80%;
    max-height: 96px;
    object-fit: contain;
}
body.module-page .soon-logo-lg {
    height: 140px;
}
body.module-page .soon-logo-lg img {
    max-height: 140px;
    max-width: 90%;
}
body.module-page .soon-card h3 {
    margin: 14px 0 0;
    color: var(--ref-dark);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}
body.module-page .soon-card p {
    margin: 8px 0 0;
    color: var(--ref-muted);
    font-size: .88rem;
    line-height: 1.6;
}
body.module-page .soon-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16,128,242,.12);
    color: var(--ref-blue);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
}
body.module-page .soon-note {
    margin: 22px 0 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(16,128,242,.08);
    color: var(--ref-dark);
    font-size: .86rem;
    font-weight: 500;
    text-align: center;
}
body.module-page .indicator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}
body.module-page .indicator-card {
    padding: 26px 24px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,44,73,.05);
    transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out), border-color .26s var(--ease-out);
}
body.module-page .indicator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(15,44,73,.12);
    border-color: rgba(16,128,242,.35);
}
body.module-page .indicator-card i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ref-blue), var(--ref-blue-2));
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(16,128,242,.25);
}
body.module-page .indicator-card h3 {
    margin: 16px 0 0;
    color: var(--ref-dark);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}
body.module-page .indicator-card p {
    margin-top: 8px;
    color: var(--ref-muted);
    font-size: .86rem;
    line-height: 1.6;
}
body.module-page .module-checklist {
    background: #ffffff;
}
body.module-page .checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-top: 36px;
}
body.module-page .checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid var(--ref-line);
    border-radius: 12px;
    background: var(--ref-bg);
    color: var(--ref-dark);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: transform .24s var(--ease-out), border-color .24s var(--ease-out), box-shadow .24s var(--ease-out);
}
body.module-page .checklist-item:hover {
    transform: translateY(-3px);
    border-color: rgba(16,128,242,.35);
    box-shadow: 0 14px 34px rgba(15,44,73,.1);
}
body.module-page .checklist-item i {
    color: var(--ref-blue);
    font-size: 15px;
    flex: 0 0 auto;
}
body.module-page .module-table {
    background: #ffffff;
}
body.module-page .table-scroll {
    overflow-x: auto;
    margin-top: 36px;
    border: 1px solid var(--ref-line);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15,44,73,.06);
}
body.module-page .module-table-grid {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
body.module-page .module-table-grid th {
    text-align: left;
    padding: 16px 22px;
    background: var(--ref-bg);
    color: var(--ref-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ref-line);
}
body.module-page .module-table-grid td {
    padding: 15px 22px;
    border-bottom: 1px solid var(--ref-line);
    vertical-align: top;
    color: var(--ref-muted);
    font-size: .9rem;
    line-height: 1.55;
}
body.module-page .module-table-grid tr:last-child td {
    border-bottom: 0;
}
body.module-page .module-table-grid tbody tr {
    transition: background .22s var(--ease-out);
}
body.module-page .module-table-grid tbody tr:hover {
    background: rgba(16,128,242,.04);
}
body.module-page .module-table-grid td strong {
    display: block;
    color: var(--ref-dark);
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 980px) {
    body.module-page .module-hero.subhero {
        grid-template-columns: 1fr;
        padding: 150px 0 64px;
        gap: 36px;
    }
    body.module-page .resource-grid,
    body.module-page .numbers-grid,
    body.module-page .indicator-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.module-page .module-flow .flow-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    body.module-page .module-flow .flow-panel > div::after {
        display: none;
    }
}
@media (max-width: 700px) {
    body.module-page .module-hero.subhero {
        padding-top: 132px;
    }
    body.module-page .module-benefits .section-head h2,
    body.module-page .module-resources .section-head h2,
    body.module-page .module-flow .section-head h2,
    body.module-page .module-why .section-head h2,
    body.module-page .module-numbers .section-head h2,
    body.module-page .module-checklist .section-head h2,
    body.module-page .module-table .section-head h2 {
        white-space: normal;
    }
    body.module-page .benefit-card h3,
    body.module-page .resource-card h3,
    body.module-page .why-card h3 {
        white-space: normal;
    }
    body.module-page .hero-badges {
        flex-wrap: wrap;
    }
    .cta-checks {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .cta-checks li {
        white-space: normal;
    }
    body.module-page .benefit-grid,
    body.module-page .why-grid,
    body.module-page .indicator-grid {
        grid-template-columns: 1fr;
    }
    body.module-page .resource-grid,
    body.module-page .numbers-grid,
    body.module-page .module-flow .flow-panel {
        grid-template-columns: 1fr;
    }
    body.module-page .soon-grid {
        grid-template-columns: 1fr;
    }
    body.module-page .module-hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding-inline: 20px;
    }
}

/* ============================================================
   Páginas legais (Privacidade e Termos) — layout de documentação
   ============================================================ */
body.legal-page .legal-hero {
    min-height: 0;
    padding: 148px 22px 64px;
    background:
        radial-gradient(circle at 14% 12%, rgba(16,128,242,.09), transparent 30%),
        radial-gradient(circle at 88% 86%, rgba(44,147,251,.05), transparent 30%),
        #ffffff;
    border-bottom: 1px solid var(--ref-line);
}
body.legal-page .legal-container {
    width: min(1000px, calc(100% - 44px));
    margin-inline: auto;
}
body.legal-page .legal-hero .eyebrow {
    color: var(--ref-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
body.legal-page .legal-hero h1 {
    margin: 14px 0 0;
    max-width: 780px;
    color: var(--ref-dark);
    font-size: clamp(2.1rem, 3.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}
body.legal-page .legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 22px 0 0;
    padding: 9px 16px;
    border: 1px solid var(--ref-line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15,44,73,.06);
    color: var(--ref-muted);
    font-size: .86rem;
    font-weight: 600;
}
body.legal-page .legal-updated i {
    color: var(--ref-blue);
    font-size: 14px;
}
body.legal-page .legal-lead {
    margin: 20px 0 0;
    max-width: 760px;
    color: var(--ref-dark);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 500;
}
body.legal-page .legal-doc {
    width: 100%;
    background: var(--ref-soft);
    padding: 72px max(22px, calc((100% - 1000px) / 2)) 96px;
}
body.legal-page .legal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
}
body.legal-page .legal-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
body.legal-page .legal-card {
    scroll-margin-top: 96px;
    padding: 36px 40px;
    border: 1px solid var(--ref-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15,44,73,.06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
body.legal-page .legal-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16,128,242,.3);
    box-shadow: 0 26px 60px rgba(15,44,73,.1);
}
body.legal-page .legal-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
body.legal-page .legal-card-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16,128,242,.14), rgba(44,147,251,.06));
    color: var(--ref-blue);
    font-size: 1.2rem;
}
body.legal-page .legal-card-head h2 {
    margin: 0;
    color: var(--ref-dark);
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}
body.legal-page .legal-card-body > p {
    margin: 0 0 14px;
    color: var(--ref-text);
    font-size: 1rem;
    line-height: 1.75;
}
body.legal-page .legal-card-body > p:last-child { margin-bottom: 0; }
body.legal-page .legal-list-box {
    margin: 0 0 16px;
    padding: 20px 22px 22px;
    border: 1px solid var(--ref-line);
    border-left: 4px solid var(--ref-blue);
    border-radius: 14px;
    background: var(--ref-soft);
}
body.legal-page .legal-list-box strong {
    display: block;
    margin-bottom: 12px;
    color: var(--ref-dark);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.6;
}
body.legal-page .legal-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}
body.legal-page .legal-list-box li {
    position: relative;
    padding-left: 22px;
    color: var(--ref-text);
    font-size: .98rem;
    line-height: 1.65;
}
body.legal-page .legal-list-box li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .66em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ref-blue);
}
body.legal-page .legal-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: .95rem;
    line-height: 1.7;
}
body.legal-page .legal-note .legal-note-icon {
    flex: 0 0 auto;
    margin-top: 3px;
    font-size: 1.05rem;
}
body.legal-page .legal-note strong { font-weight: 700; }
body.legal-page .legal-note.info {
    border: 1px solid rgba(16,128,242,.24);
    background: rgba(16,128,242,.07);
    color: var(--ref-dark);
}
body.legal-page .legal-note.info .legal-note-icon { color: var(--ref-blue); }
body.legal-page .legal-note.amber {
    border: 1px solid rgba(214,158,46,.34);
    background: rgba(240,173,0,.10);
    color: var(--ref-dark);
}
body.legal-page .legal-note.amber .legal-note-icon { color: #c78a1a; }
body.legal-page .legal-contact {
    border-color: rgba(16,128,242,.22);
    background:
        linear-gradient(180deg, #ffffff, rgba(16,128,242,.04));
}
body.legal-page .legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 6px;
}
body.legal-page .legal-contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid var(--ref-line);
    border-radius: 14px;
    background: #ffffff;
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
body.legal-page .legal-contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(16,128,242,.4);
    box-shadow: 0 14px 30px rgba(15,44,73,.08);
}
body.legal-page .legal-contact-item i {
    margin-bottom: 8px;
    color: var(--ref-blue);
    font-size: 1.15rem;
}
body.legal-page .legal-contact-item span {
    color: var(--ref-muted);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
body.legal-page .legal-contact-item strong {
    color: var(--ref-dark);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}
@media (max-width: 900px) {
    body.legal-page .legal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    body.legal-page .legal-card {
        padding: 30px 26px;
    }
}
@media (max-width: 700px) {
    body.legal-page .legal-hero { padding: 128px 18px 48px; }
    body.legal-page .legal-container { width: min(1000px, calc(100% - 32px)); }
    body.legal-page .legal-doc { padding: 52px 18px 72px; }
    body.legal-page .legal-content { gap: 20px; }
    body.legal-page .legal-card { padding: 26px 20px; border-radius: 16px; }
    body.legal-page .legal-card-head { gap: 12px; }
    body.legal-page .legal-card-icon { width: 44px; height: 44px; font-size: 1.05rem; }
    body.legal-page .legal-contact-grid { grid-template-columns: 1fr; gap: 12px; }
    body.legal-page .legal-lead { font-size: 1rem; }
}
