/* Busca Mais Ferramentas — landing do grupo de ferramentas (base visual: /copa) */
:root {
    --fx-orange: #ff6a00;
    --fx-orange-deep: #d94f00;
    --fx-yellow: #ffc61a;
    --fx-yellow-dark: #e0a800;
    --fx-asphalt: #1b1d21;
    --fx-steel: #2c3036;
    --fx-steel-light: #3a3f47;
    --fx-concrete: #f3efe7;
    --fx-text: #1b1d21;
    --fx-muted: #555b66;
    --radius-pill: 999px;
    --font-display: "Archivo Black", "Montserrat", system-ui, sans-serif;
    --font-body: "Montserrat", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body.fx-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--fx-text);
    background: var(--fx-asphalt);
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body.fx-page {
        padding-bottom: 88px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.fx-wrap {
    max-width: 480px;
    margin: 0 auto;
}

/* Faixas e texturas */
.fx-hazard {
    height: 8px;
    background: repeating-linear-gradient(-45deg, var(--fx-yellow) 0 12px, var(--fx-asphalt) 12px 24px);
}

.fx-hazard--thick {
    height: 14px;
}

.fx-stripes-bg {
    background-color: var(--fx-orange);
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 16px);
}

.fx-concrete-bg {
    background-color: var(--fx-concrete);
    background-image:
        linear-gradient(rgba(27, 29, 33, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 29, 33, 0.06) 1px, transparent 1px);
    background-size: 14px 14px;
}

/* Chapa xadrez (piso de oficina) */
.fx-plate-bg {
    background-color: var(--fx-steel);
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.18) 75%);
    background-size: 18px 18px;
}

/* Hero */
.fx-hero {
    padding: 28px 20px 12px;
    text-align: center;
}

.fx-hero__kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.42em;
    color: #fff;
}

.fx-hero__mega {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 10.6vw, 3.1rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow:
        3px 3px 0 var(--fx-asphalt),
        5px 5px 0 rgba(0, 0, 0, 0.25);
}

.fx-hero__line {
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: clamp(0.88rem, 3.8vw, 1.06rem);
    color: var(--fx-asphalt);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fx-chip {
    display: inline-flex;
    margin: 16px 0 0;
    padding: 10px 16px;
    background: var(--fx-asphalt);
    border: 3px solid var(--fx-yellow);
    border-radius: 8px;
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    font-weight: 800;
    color: var(--fx-yellow);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.fx-hero__sub {
    margin: 16px auto 0;
    max-width: 34ch;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.fx-avatar {
    position: relative;
    width: min(260px, 70vw);
    margin: 24px auto 26px;
}

.fx-avatar__img {
    display: block;
    width: 100%;
    border-radius: 50%;
    border: 6px solid var(--fx-yellow);
    outline: 4px solid var(--fx-asphalt);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
}

.fx-avatar__badge {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%) rotate(-3deg);
    padding: 6px 14px;
    background: var(--fx-yellow);
    border: 3px solid var(--fx-asphalt);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--fx-asphalt);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

/* CTA WhatsApp */
@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 4px 4px 0 var(--fx-asphalt), 0 8px 20px rgba(34, 197, 94, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 4px 4px 0 var(--fx-asphalt), 0 10px 30px rgba(34, 197, 94, 0.45);
        transform: scale(1.04);
    }
}

.fx-cta-wrap {
    padding: 4px 20px 28px;
    text-align: center;
}

.fx-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    padding: 18px 24px;
    border: 3px solid var(--fx-asphalt);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.25;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(to right, #22c55e, #16a34a);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: cta-pulse 2s ease-in-out infinite;
}

.fx-btn-wa:hover {
    transform: scale(1.05);
    animation: none;
}

.fx-btn-wa:active,
.fx-btn-wa.pressed {
    transform: scale(0.97);
}

.fx-btn-wa .wa-ico {
    width: clamp(23px, 5.2vw, 26px);
    height: clamp(23px, 5.2vw, 26px);
    flex-shrink: 0;
}

.fx-micro {
    margin: 14px 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fx-asphalt);
}

.fx-micro span {
    color: #fff;
}

/* Lojas */
.fx-stores {
    background: var(--fx-asphalt);
    text-align: center;
    padding: 16px 16px 18px;
}

.fx-stores__tagline {
    margin: 0 0 14px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.fx-stores__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.fx-pill {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 2px solid;
    background: var(--fx-steel);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.fx-pill--ml { border-color: #fedf00; }
.fx-pill--sp { border-color: #ee4d2d; }
.fx-pill--amz { border-color: #ff9900; }

/* Intro */
.fx-intro {
    padding: 32px 20px 28px;
}

.fx-intro p {
    margin: 0 auto;
    max-width: 40ch;
    font-size: 0.94rem;
    line-height: 1.62;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.fx-intro .hi-or { color: var(--fx-orange-deep); }
.fx-intro .hi-dk { color: var(--fx-asphalt); }

/* Cards de benefício */
.fx-features {
    padding: 0 16px 32px;
}

.fx-fcard {
    display: grid;
    grid-template-columns: 72px 1fr;
    max-width: 440px;
    margin: 0 auto 14px;
}

.fx-fcard__ico {
    display: grid;
    place-items: center;
    font-size: 1.85rem;
    border-radius: 10px 0 0 10px;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}

.fx-fcard__body {
    padding: 16px;
    background: #fff;
    border: 4px solid;
    border-radius: 0 10px 10px 0;
    margin-left: -2px;
    box-shadow: 5px 5px 0 var(--fx-asphalt);
}

.fx-fcard--orange .fx-fcard__ico { background: var(--fx-orange); }
.fx-fcard--orange .fx-fcard__body { border-color: var(--fx-orange); }
.fx-fcard--dark .fx-fcard__ico { background: var(--fx-asphalt); }
.fx-fcard--dark .fx-fcard__body { border-color: var(--fx-asphalt); }
.fx-fcard--yellow .fx-fcard__ico { background: var(--fx-yellow); }
.fx-fcard--yellow .fx-fcard__body { border-color: var(--fx-yellow-dark); }

.fx-fcard__ttl {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fx-asphalt);
}

.fx-fcard__txt {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--fx-muted);
}

/* Categorias */
.fx-cats {
    padding: 30px 16px 32px;
    text-align: center;
}

.fx-cats h2 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.15rem, 4.6vw, 1.4rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--fx-yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

.fx-cats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.fx-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--fx-asphalt);
    border: 2px solid var(--fx-steel-light);
    border-left: 5px solid var(--fx-orange);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    color: #fff;
}

.fx-cat span {
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Urgência */
.fx-urge {
    padding: 24px 20px 26px;
    text-align: center;
    background: var(--fx-asphalt);
}

.fx-badge-warn {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--fx-orange);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.fx-urge h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.15rem, 4.4vw, 1.42rem);
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--fx-yellow);
}

.fx-urge p {
    margin: 14px auto 0;
    max-width: 36ch;
    font-size: 0.93rem;
    font-weight: 600;
    color: #fff;
}

/* Bloco final */
.fx-finale {
    padding: 32px 20px 38px;
    text-align: center;
}

.fx-finale h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.42rem, 6vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 3px 0 var(--fx-asphalt);
}

.fx-finale h2 .dark {
    display: inline-block;
    margin-top: 4px;
    color: var(--fx-asphalt);
    text-shadow: 2px 3px 0 var(--fx-yellow);
}

.fx-micro-free {
    margin: 14px auto 24px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.fx-finale .fx-cta-wrap {
    padding-bottom: 0;
}

/* Rodapé */
.fx-bot {
    padding: 20px 16px calc(22px + env(safe-area-inset-bottom));
    background: var(--fx-asphalt);
    border-top: 4px solid var(--fx-orange);
    text-align: center;
}

.fx-bot .transparency-btn,
.fx-bot .footer-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.fx-bot .transparency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.fx-bot .footer-link {
    display: inline-block;
    padding: 4px 10px 10px;
}

.fx-bot .transparency-btn:hover,
.fx-bot .footer-link:hover {
    color: #fff;
}

.fx-bot .transparency-btn .arrow {
    font-size: 0.65rem;
    transition: transform 0.35s ease;
}

.fx-bot .transparency-btn.active .arrow {
    transform: rotate(180deg);
}

.fx-bot .transparency-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.35s ease;
}

.fx-bot .transparency-content.open {
    max-height: 480px;
    opacity: 1;
    margin: 4px 0 16px;
}

.fx-bot .affiliate-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 10px;
}

.fx-bot .mini-logo {
    height: 25px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.65;
}

.fx-bot .legal-text {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0 6px;
    font-size: 0.7rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

.fx-bot .legal-text strong {
    color: var(--fx-yellow);
}

.fx-bot-tagline {
    margin: 0 0 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}

.fx-bot .copyright {
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.fx-bot .copyright a {
    color: rgba(255, 255, 255, 0.9);
}

.fx-bot .copyright a:hover {
    color: var(--fx-yellow);
}

/* CTA fixo no mobile (exibição controlada por script.js) */
.fx-page .mobile-fixed-cta.fx-fixed {
    display: none;
}

@media (max-width: 768px) {
    .fx-page .mobile-fixed-cta.fx-fixed {
        display: flex;
        justify-content: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px) * 0.5);
        background: rgba(27, 29, 33, 0.97);
        border-top: 3px solid var(--fx-orange);
    }

    .fx-fixed .fx-btn-sticky {
        padding: 14px 18px;
        animation: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }
}
