/* =========================================================
   Mais 1 Furo — tema da marca sobre o Bootstrap 5.3
   Preto (fundo) · branco · cinza. Cores de marketplace mantidas.
   Tokens: ver DESIGN.md
   ========================================================= */

/* ---------- Fontes (auto-hospedadas, variáveis) ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-var.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-latin-var.woff2') format('woff2');
}

/* ---------- Tokens da marca → variáveis do Bootstrap ---------- */
:root {
    --m1f-ink: #0a0a0a;
    --m1f-black: #000;
    --m1f-white: #fff;
    --m1f-gray-50: #f5f5f5;
    --m1f-gray-200: #e5e5e5;
    --m1f-gray-300: #d4d4d4;
    --m1f-gray-400: #a3a3a3;
    --m1f-gray-700: #404040;
    --m1f-gray-800: #262626;
    --m1f-gray-850: #1c1c1c;
    --m1f-gray-900: #141414;
    --m1f-font-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --m1f-header-h: 72px;
}

[data-bs-theme="dark"] {
    --bs-body-bg: var(--m1f-ink);
    --bs-body-bg-rgb: 10, 10, 10;
    --bs-body-color: var(--m1f-white);
    --bs-body-color-rgb: 255, 255, 255;
    --bs-emphasis-color: var(--m1f-white);
    --bs-secondary-color: var(--m1f-gray-400);
    --bs-secondary-bg: var(--m1f-gray-800);
    --bs-tertiary-bg: var(--m1f-gray-900);
    --bs-border-color: var(--m1f-gray-800);
    --bs-border-color-translucent: rgba(255, 255, 255, .12);
    --bs-link-color: var(--m1f-white);
    --bs-link-color-rgb: 255, 255, 255;
    --bs-link-hover-color: var(--m1f-gray-300);
    --bs-link-hover-color-rgb: 212, 212, 212;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-heading-color: var(--m1f-white);
    --bs-focus-ring-color: rgba(255, 255, 255, .5);
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

section {
    scroll-margin-top: var(--m1f-header-h);
}

/* Foco visível e consistente (teclado) */
:focus-visible {
    outline: 2px solid var(--m1f-white);
    outline-offset: 3px;
    box-shadow: none !important;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: .5rem 1rem;
    background: var(--m1f-white);
    color: var(--m1f-black);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

/* ---------- Tipografia ---------- */
.font-display {
    font-family: var(--m1f-font-display);
}

.display-hero {
    font-family: var(--m1f-font-display);
    font-weight: 300;
    font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.section-title {
    font-family: var(--m1f-font-display);
    font-weight: 300;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.lead-muted {
    color: var(--bs-secondary-color);
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
}

/* ---------- Espaçamento de seção ---------- */
.section {
    padding-block: 4.5rem;
}

@media (min-width: 992px) {
    .section {
        padding-block: 7rem;
    }
}

.section-alt {
    background-color: var(--m1f-gray-900);
}

/* ---------- Ícones SVG ---------- */
.icon {
    display: inline-block;
    width: auto;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
    height: var(--m1f-header-h);
    border-bottom: 1px solid var(--m1f-gray-800);
}

/* Desfoque numa camada própria: backdrop-filter direto no header prenderia
   o menu mobile (offcanvas, position: fixed) dentro dos 72 px do header. */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(0, 0, 0, .85);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    backdrop-filter: saturate(140%) blur(12px);
}

.site-header .brand-name {
    font-family: var(--m1f-font-display);
    font-weight: 400;
    font-size: 1.375rem;
    letter-spacing: -0.01em;
}

.site-header .nav-link {
    color: var(--m1f-gray-400);
    font-weight: 500;
    transition: color .15s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--m1f-white);
}

.site-header .offcanvas {
    background-color: var(--m1f-black);
}

@media (max-width: 767.98px) {
    .site-header .offcanvas .nav-link {
        font-family: var(--m1f-font-display);
        font-size: 2rem;
        font-weight: 300;
        color: var(--m1f-white);
        padding-block: .5rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding-top: calc(var(--m1f-header-h) + 3rem);
    padding-bottom: 4rem;
    background:
        radial-gradient(60% 60% at 80% 40%, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 70%),
        var(--m1f-black);
}

@media (min-width: 992px) {
    .hero {
        min-height: 100vh;
        padding-bottom: 5rem;
    }
}

.hero-vitrine {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1.5rem;
    background: var(--m1f-white);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    transform: rotate(-2deg);
    transition: transform .4s ease;
}

.hero-vitrine:hover {
    transform: rotate(0deg) scale(1.015);
}

/* ---------- Diferenciais ---------- */
.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--m1f-gray-700);
    font-size: 1.25rem;
}

/* ---------- Cards de kit (vitrine) ---------- */
.kit {
    background-color: var(--m1f-gray-900);
    border: 1px solid var(--m1f-gray-800);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}

.kit:hover {
    border-color: var(--m1f-gray-700);
    transform: translateY(-4px);
}

.kit-media {
    background: var(--m1f-white);
    overflow: hidden;
}

.kit-media img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.kit:hover .kit-media img {
    transform: scale(1.03);
}

.kit-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.chip {
    display: inline-block;
    padding: .25rem .65rem;
    border: 1px solid var(--m1f-gray-700);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
    color: var(--m1f-gray-300);
    white-space: nowrap;
}

/* ---------- Onde comprar ---------- */
.store-grid {
    display: grid;
    gap: .875rem;
    grid-template-columns: 1fr;
    max-width: 960px;
    margin-inline: auto;
}

@media (min-width: 576px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .store-grid {
        grid-template-columns: repeat(var(--cols, 3), 1fr);
    }
}

.btn-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    min-height: 3.75rem;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.0625rem;
    white-space: nowrap;
}

.btn-store .icon {
    font-size: 1.5rem;
}

.wholesale {
    border: 1px solid var(--m1f-gray-800);
    border-radius: 1.5rem;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 60%),
        var(--m1f-gray-900);
}

/* ---------- Como usar ---------- */
.step-number {
    font-family: var(--m1f-font-display);
    font-weight: 200;
    font-size: 3rem;
    line-height: 1;
    color: var(--m1f-gray-700);
}

/* ---------- FAQ ---------- */
.faq details {
    border-bottom: 1px solid var(--m1f-gray-800);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-block: 1.25rem;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    font-family: var(--m1f-font-display);
    font-weight: 300;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--m1f-gray-400);
    transition: transform .2s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

/* ---------- Contato ---------- */
.contact-card {
    background-color: var(--m1f-gray-850);
    border: 1px solid var(--m1f-gray-800);
    border-radius: 1.25rem;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--m1f-white);
    color: var(--m1f-black);
    font-size: 1.5rem;
}

/* ---------- Rodapé ---------- */
.site-footer {
    background: var(--m1f-black);
    border-top: 1px solid var(--m1f-gray-800);
}

.footer-link {
    color: var(--m1f-gray-400);
    text-decoration: none;
    transition: color .15s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--m1f-white);
}

/* ---------- Botões de marketplace (cores mantidas) ---------- */
.btn-magalu {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00a8ff;
    --bs-btn-border-color: #00a8ff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0097e6;
    --bs-btn-hover-border-color: #0097e6;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0097e6;
    --bs-btn-active-border-color: #0097e6;
}

.btn-shopee {
    --bs-btn-color: #fff;
    --bs-btn-bg: #fd7e14;
    --bs-btn-border-color: #fd7e14;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e66b0a;
    --bs-btn-hover-border-color: #e66b0a;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e66b0a;
    --bs-btn-active-border-color: #e66b0a;
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }

    .hero-vitrine,
    .hero-vitrine:hover,
    .kit:hover,
    .kit:hover .kit-media img {
        transform: none;
    }
}

/* 4 lojas ativas (ex.: Magalu reativada) */
.store-grid-4 {
    --cols: 4;
}

/* Largura confortável de leitura */
.measure {
    max-width: 34rem;
}
