:root {
    --bg: #ffffff;
    --bg-soft: #f7f7f9;
    --ink: #111111;
    --muted: #666666;
    --line: #e7e7ec;
    --purple: #1f1f23;
    --pink: #e1306c;
    --orange: #f77737;
    --blue: #405de6;
    --gradient: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c, #f77737);
    --shadow: 0 22px 70px rgba(17, 17, 17, 0.08);
    --shadow-soft: 0 14px 38px rgba(17, 17, 17, 0.07);
    --radius: 24px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 12%, rgba(64, 93, 230, 0.09), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(225, 48, 108, 0.08), transparent 24rem);
    content: "";
    pointer-events: none;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(64, 93, 230, 0.45);
    outline-offset: 4px;
}

svg {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

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

.shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
    border-color: rgba(231, 231, 236, 0.88);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.05);
    backdrop-filter: blur(14px);
}

.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: var(--header-height);
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    place-items: center;
    border-radius: 13px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
    box-shadow: 0 10px 24px rgba(131, 58, 180, 0.22);
}

.brand-logo {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    font-size: 1.02rem;
}

.brand-text span {
    color: var(--purple);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 26px;
    color: #303034;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-menu a {
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--purple);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 99px;
    background: currentColor;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

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

.btn-gradient {
    background: #111111;
    color: #fff;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.18);
}

.btn-gradient:hover {
    background: #1b1b1f;
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.24);
}

.btn-secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.btn-compact {
    min-height: 44px;
    padding-inline: 17px;
    font-size: 0.92rem;
}

.hero {
    min-height: calc(100vh - var(--header-height));
    padding: 74px 0 74px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
    align-items: center;
    gap: 58px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 8vw, 5.9rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.96;
}

h1 span {
    color: #111111;
}

.section-heading h2 span {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.17rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.quick-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3f3f46;
    font-weight: 700;
}

.quick-note svg,
.nav-cta svg,
.whatsapp-float svg {
    color: #18b965;
}

.hero-visual {
    min-width: 0;
}

.phone-stage {
    position: relative;
    display: grid;
    min-height: 610px;
    place-items: center;
}

.phone-stage::before {
    position: absolute;
    width: min(82vw, 440px);
    aspect-ratio: 1;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.045), rgba(17, 17, 17, 0.015));
    content: "";
}

.apple-device-frame {
    position: relative;
    z-index: 2;
    width: min(92vw, 560px);
    margin: 0;
    padding: 0;
    border-radius: 38px;
    box-shadow:
    transform: rotate(-4deg);
}

.apple-device-frame::before {
    position: absolute;
    inset: 11% 8% 5%;
    z-index: -1;
    border-radius: 34px;
    background: rgba(0, 0, 0, 0.58);
    filter: blur(34px);
    content: "";
}

.apple-device-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
    object-fit: contain;
    filter: drop-shadow(0 24px 46px rgba(17, 17, 17, 0.26));
    transform: translateX(8px);
}

.floating-card {
    position: absolute;
    z-index: 3;
    width: 172px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    margin-bottom: 3px;
    font-size: 0.92rem;
}

.floating-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.card-stock {
    top: 76px;
    left: 0;
}

.card-repair {
    right: 0;
    top: 145px;
}

.card-service {
    bottom: 100px;
    left: 6px;
}

.card-chat {
    right: 22px;
    bottom: 52px;
}

.category-section {
    padding-bottom: 34px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card,
.service-card,
.benefit-card,
.product-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 42px rgba(17, 17, 17, 0.045);
}

.category-card {
    display: grid;
    min-height: 154px;
    align-content: start;
    gap: 8px;
    padding: 22px;
    border-radius: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: rgba(131, 58, 180, 0.28);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.category-card svg {
    width: 28px;
    height: 28px;
    color: var(--purple);
}

.category-card strong {
    font-size: 1rem;
}

.category-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.products-section,
.benefits-section {
    background: var(--bg-soft);
}

.products-section .shell {
    width: min(1160px, calc(100% - 40px));
}

.section-heading {
    max-width: 680px;
    margin-bottom: 36px;
}

.products-section .section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 5vw, 3.65rem);
    font-weight: 800;
    line-height: 1.03;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.07rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.product-card {
    display: flex;
    flex: 0 1 calc((100% - 48px) / 3);
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
    border-color: rgba(17, 17, 17, 0.09);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.09);
    transform: translateY(-4px);
}

.product-art {
    position: relative;
    display: grid;
    aspect-ratio: 5 / 4;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    background: #f7f7f9;
}

.device {
    position: relative;
    width: 102px;
    height: 202px;
    border-radius: 30px;
    background: color-mix(in srgb, var(--accent) 78%, #ffffff);
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.38), 0 18px 42px rgba(17, 17, 17, 0.18);
}

.device::before {
    position: absolute;
    top: 17px;
    left: 16px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 24px 0 0 rgba(255, 255, 255, 0.42), 12px 23px 0 rgba(255, 255, 255, 0.34);
    content: "";
}

.device span {
    position: absolute;
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
}

.product-photo {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    width: 92%;
    height: 92%;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 18px 30px rgba(17, 17, 17, 0.16));
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.product-photo.is-active {
    opacity: 1;
}

.product-photo.is-wide {
    width: 98%;
    height: 90%;
}

.product-photo.is-tall {
    width: 84%;
    height: 96%;
}

.product-slider,
.product-slides {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.product-image-fallback {
    position: absolute;
    z-index: 0;
}

.product-slide-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 6px 14px rgba(17, 17, 17, 0.06);
    color: #111;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

.product-slide-btn:hover {
    background: #fff;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.1);
    transform: translateY(-50%) scale(1.02);
}

.product-slide-btn.prev {
    left: 12px;
}

.product-slide-btn.next {
    right: 12px;
}

.product-slide-dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.product-slide-dots span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.2);
    transition: width 0.2s ease, background 0.2s ease;
}

.product-slide-dots span.is-active {
    width: 18px;
    height: 6px;
    background: #111;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

.product-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    min-height: 52px;
}

.product-topline h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.status {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.status.available {
    background: rgba(24, 185, 101, 0.12);
    color: #08703b;
}

.status.consult {
    background: rgba(247, 119, 55, 0.16);
    color: #9a430d;
}

.product-info p {
    min-height: 22px;
    margin-bottom: 0;
    color: #6f6f73;
    font-size: 0.98rem;
    line-height: 1.35;
}

.product-prices {
    min-height: 44px;
    margin-top: 2px;
    margin-bottom: 0;
}

.old-price {
    display: block;
    color: #8c8c94;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: line-through;
}

.price {
    display: block;
    font-size: 1.55rem;
    font-weight: 750;
    line-height: 1.12;
}

.btn-product {
    min-height: 50px;
    margin-top: auto;
    width: 100%;
    background: #111;
    color: #fff;
}

.btn-product:hover {
    background: #1b1b1f;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.empty-products {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    color: var(--muted);
    text-align: center;
}

.empty-products p {
    margin-bottom: 0;
}

.catalog-page {
    background: #fff;
}

.catalog-intro {
    padding: 64px 0 34px;
}

.catalog-intro h1 {
    max-width: none;
    margin: 6px 0 10px;
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
}

.catalog-intro > .shell > p:not(.eyebrow) {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 1.08rem;
}

.catalog-count {
    color: #4f4f55;
    font-size: 0.92rem;
    font-weight: 700;
}

.catalog-content {
    padding: 0 0 96px;
}

.catalog-shell {
    width: min(1160px, calc(100% - 40px));
}

.catalog-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.75fr) repeat(4, minmax(120px, 1fr));
    align-items: end;
    gap: 16px;
    margin-bottom: 34px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.catalog-filters label {
    display: block;
    margin-bottom: 7px;
    color: #303034;
    font-size: 0.8rem;
    font-weight: 800;
}

.catalog-filters input,
.catalog-filters select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #dcdce2;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.catalog-filters input:focus,
.catalog-filters select:focus {
    border-color: #77777f;
    outline: 3px solid rgba(17, 17, 17, 0.08);
}

.search-control {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-filter {
    min-height: 48px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.filter-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.filter-actions .btn-filter {
    padding-inline: 24px;
}

.filter-actions a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.catalog-empty {
    padding: 70px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.catalog-empty h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.catalog-empty p {
    margin-bottom: 24px;
    color: var(--muted);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.pagination a {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 750;
}

.pagination a:hover,
.pagination a.is-current {
    border-color: #111;
    background: #111;
    color: #fff;
}

@media (min-width: 1440px) {
    .products-section .shell {
        width: min(1160px, calc(100% - 56px));
    }
}

@media (min-width: 1536px) {
    .products-section .shell {
        width: min(1520px, calc(100% - 56px));
    }

    .catalog-shell {
        width: min(1520px, calc(100% - 56px));
    }

    .product-card {
        flex-basis: calc((100% - 72px) / 4);
    }
}

.accessory-band {
    padding-block: 58px;
}

.accessory-panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr auto;
    align-items: center;
    gap: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.accessory-panel h2 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.05;
}

.accessory-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card,
.benefit-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 22px;
}

.icon-bubble {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 16px;
    background: rgba(131, 58, 180, 0.09);
    color: var(--purple);
}

.service-card h3,
.benefit-card h3 {
    margin-bottom: 8px;
    font-size: 1.04rem;
}

.service-card p,
.benefit-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.diagnostic-cta,
.final-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 34px;
    border-radius: var(--radius);
}

.diagnostic-cta {
    border: 1px solid rgba(131, 58, 180, 0.16);
    background: linear-gradient(135deg, rgba(64, 93, 230, 0.08), rgba(247, 119, 55, 0.08));
}

.diagnostic-cta h3,
.final-panel h2 {
    margin-bottom: 8px;
}

.diagnostic-cta p,
.final-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.process-section {
    background: #fff;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.process-line::before {
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(64, 93, 230, 0.16), rgba(225, 48, 108, 0.28), rgba(247, 119, 55, 0.16));
    content: "";
}

.process-line article {
    position: relative;
    padding: 0 18px;
}

.process-line span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    color: var(--purple);
    font-weight: 800;
}

.process-line h3 {
    margin-bottom: 8px;
}

.process-line p {
    color: var(--muted);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit-card svg {
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    color: var(--purple);
}

.instagram-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: center;
    gap: 52px;
}

.instagram-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 5vw, 3.65rem);
    line-height: 1.02;
}

.instagram-copy p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 1.08rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.post-grid span {
    aspect-ratio: 1;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent),
        var(--gradient);
    box-shadow: var(--shadow-soft);
}

.post-grid span:nth-child(2),
.post-grid span:nth-child(5) {
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.72)),
        var(--gradient);
}

.post-grid span:nth-child(3),
.post-grid span:nth-child(4) {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72), transparent 34%),
        linear-gradient(135deg, #f7f7f9, #e9e9ef);
}

.final-cta {
    padding-top: 44px;
}

.final-panel {
    margin-top: 0;
    background: #111;
    color: #fff;
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.24);
}

.final-panel::before {
    position: absolute;
    inset: auto -80px -160px auto;
    width: 360px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.5;
    filter: blur(18px);
    content: "";
}

.final-panel > * {
    position: relative;
    z-index: 1;
}

.final-panel .eyebrow {
    color: #ffdc80;
}

.final-panel h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.03;
}

.final-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 600;
}

.site-footer p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(24, 185, 101, 0.25);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17, 17, 17, 0.14);
    color: var(--ink);
    font-weight: 800;
}

.whatsapp-float span {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
    max-width: 160px;
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        min-height: 0;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-description,
    .hero-actions {
        margin-inline: auto;
        justify-content: center;
    }

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

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

    .accessory-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1099px) {
    .product-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 68px;
    }

    .shell {
        width: min(100% - 28px, 1120px);
    }

    .section {
        padding: 68px 0;
    }

    .catalog-intro {
        padding-top: 48px;
    }

    .catalog-content {
        padding-bottom: 68px;
    }

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

    .catalog-search {
        grid-column: 1 / -1;
    }

    .nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-toggle {
        display: grid;
        order: 3;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;
        left: 14px;
        display: grid;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        backdrop-filter: blur(14px);
    }

    .nav-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px;
        border-radius: 14px;
    }

    .nav-menu a:hover {
        background: var(--bg-soft);
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 42px 0 42px;
    }

    h1 {
        font-size: clamp(2.72rem, 13vw, 4.4rem);
    }

    .hero-description {
        font-size: 1.04rem;
    }

    .phone-stage {
        min-height: 490px;
    }

    .floating-card {
        width: 152px;
        padding: 13px;
    }

    .card-stock {
        left: 1px;
    }

    .card-repair {
        right: 0;
    }

    .card-service {
        bottom: 82px;
    }

    .card-chat {
        right: 5px;
        bottom: 34px;
    }

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

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

    .process-line {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-line::before {
        top: 0;
        bottom: 0;
        left: 34px;
        width: 2px;
        height: auto;
    }

    .process-line article {
        display: grid;
        grid-template-columns: 68px 1fr;
        column-gap: 18px;
        padding: 0;
    }

    .process-line span {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .instagram-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links {
        justify-content: center;
    }

    .diagnostic-cta,
    .final-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .products-section .shell {
        width: calc(100% - 32px);
    }

    .hero-copy {
        text-align: left;
    }

    .hero-description,
    .hero-actions {
        margin-inline: 0;
        justify-content: flex-start;
    }

    .hero-actions,
    .hero-actions .btn,
    .diagnostic-cta .btn,
    .final-panel .btn,
    .accessory-panel .btn {
        width: 100%;
    }

    .hero-actions .btn {
        white-space: normal;
    }

    .phone-stage {
        min-height: 430px;
        overflow: hidden;
    }

    .apple-device-frame {
        width: min(92vw, 390px);
        transform: rotate(-2deg);
    }

    .apple-device-frame img {
        transform: translateX(0);
    }

    .floating-card {
        width: 138px;
    }

    .floating-card strong {
        font-size: 0.82rem;
    }

    .floating-card span {
        font-size: 0.72rem;
    }

    .card-stock {
        top: 44px;
    }

    .card-repair {
        top: 100px;
    }

    .card-service {
        bottom: 72px;
    }

    .card-chat {
        bottom: 30px;
    }

    .product-grid {
        flex-wrap: nowrap;
        gap: 14px;
        margin-inline: -16px;
        overflow-x: auto;
        padding: 4px 16px 18px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .catalog-shell {
        width: calc(100% - 32px);
    }

    .catalog-intro {
        padding: 38px 0 26px;
    }

    .catalog-intro h1 {
        font-size: 2.5rem;
    }

    .catalog-filters {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 20px 0;
    }

    .catalog-search,
    .filter-actions {
        grid-column: auto;
    }

    .search-control {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .catalog-grid {
        flex-wrap: wrap;
        margin-inline: 0;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .catalog-grid .product-card {
        flex: 0 0 100%;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 88vw;
        scroll-snap-align: start;
    }

    .product-info {
        padding: 18px;
    }

    .product-topline h3 {
        font-size: 1.18rem;
    }

    .price {
        font-size: 1.45rem;
    }

    .category-grid,
    .service-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 132px;
    }

    .service-card,
    .benefit-card {
        min-height: 0;
    }

    .post-grid {
        gap: 9px;
    }

    .post-grid span {
        border-radius: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        justify-content: center;
        padding: 0;
    }

    .whatsapp-float span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* Assistente de orçamento */
.quote-page { background: #f4f6fb; }
.quote-shell { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.quote-card { overflow: hidden; border: 1px solid #dfe4ef; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(21,35,70,.12); }
.quote-head { display:flex; align-items:center; gap:12px; padding:18px 22px; color:#fff; background:#111827; }
.quote-head img { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.quote-head strong,.quote-head span { display:block; }.quote-head span { color:#b9c2d5; font-size:.85rem; }
.quote-conversation { min-height:300px; max-height:58vh; overflow:auto; padding:24px; background:#f8fafc; }
.quote-bubble { white-space:pre-line; width:fit-content; max-width:85%; margin:0 0 13px; padding:12px 15px; border-radius:16px 16px 16px 4px; background:#e9eef8; color:#15203a; line-height:1.45; }
.quote-bubble.user { margin-left:auto; border-radius:16px 16px 4px; background:#111827; color:#fff; }
.quote-choices { display:flex; flex-wrap:wrap; gap:10px; padding:18px; border-top:1px solid #e5e7eb; }
.quote-choice,.quote-reset { appearance:none; border:1px solid #cbd5e1; border-radius:999px; padding:10px 14px; background:#fff; color:#111827; font:inherit; font-weight:700; cursor:pointer; text-decoration:none; }
.quote-choice:hover { border-color:#111827; }.quote-choice.primary { color:#fff; background:#16a34a; border-color:#16a34a; }.quote-reset { color:#64748b; }
@media (max-width:600px) { .quote-shell { padding:20px 12px 44px; }.quote-conversation { min-height:340px; }.quote-choice { width:100%; text-align:left; } }
