/* =========================================================
   F M MOTOS E FITNESS — UNAÍ
   Paleta: azul (#1199ed) + vermelho (#fe0000) + branco/preto
   Cores extraídas do material da marca
   Fontes: DM Sans / Archivo Black (display) + IBM Plex Mono (texto)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ---------- 1. RESET MÍNIMO ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

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

iframe {
    border: 0;
    display: block;
}

video {
    display: block;
    max-width: 100%;
}

[data-lucide] {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* ---------- 2. TOKENS DE DESIGN ---------- */
:root {
    /* Cores — base clara */
    --color-bg: #FFFFFF;
    --color-bg-soft: #F2F4F8;     /* off-white com leve frio (puxa o azul) */
    --color-bg-alt: #F5F7FB;      /* alternativo para zebrar seções */
    --color-card: #FFFFFF;

    /* Azul da marca (cor PRINCIPAL) */
    --color-gold: #1199ed;        /* azul F M, do material */
    --color-gold-light: #3FB0F5;
    --color-gold-soft: rgba(17, 153, 237, 0.07);
    --color-gold-border: rgba(17, 153, 237, 0.25);

    /* Vermelho da marca (cor de ACENTO / destaque) */
    --color-accent: #fe0000;      /* vermelho F M, do material */
    --color-accent-soft: rgba(254, 0, 0, 0.10);

    /* Preto e neutros */
    --color-ink: #101216;         /* preto/grafite para títulos */
    --color-black: #000000;       /* preto puro = fundo da logo */
    --color-text: #232830;        /* texto principal */
    --color-muted: #686E76;       /* texto secundário */
    --color-muted-light: #989DA4;
    --color-border: rgba(16, 18, 22, 0.08);
    --color-border-strong: rgba(16, 18, 22, 0.15);

    /* Tipografia */
    --font-display: "Archivo Black", "Arial Black", sans-serif;  /* títulos de impacto */
    --font-heading: "DM Sans", sans-serif;                       /* títulos secundários */
    --font-sans: "IBM Plex Mono", "Courier New", monospace;      /* texto corrido */
    --font-logo: "Fredoka", sans-serif;                          /* "FM" da logo */
    --font-logo-sub: "Quicksand", sans-serif;                    /* "Motos e Fitness" da logo */

    /* Layout */
    --max-content: 72rem;
    --max-content-lg: 64rem;
    --max-content-md: 56rem;

    /* Sombras */
    --shadow-button: 0 10px 25px -5px rgba(17, 153, 237, 0.35);
    --shadow-card: 0 25px 50px -12px rgba(16, 18, 22, 0.18);
    --shadow-soft: 0 4px 12px rgba(16, 18, 22, 0.06);
}

/* ---------- 3. BASE ---------- */
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--color-gold);
    color: #fff;
}

/* ---------- 4. UTILITÁRIOS ---------- */
.container {
    width: 100%;
    max-width: var(--max-content);
    margin-inline: auto;
    padding-inline: 0.5rem;
}

.container--lg { max-width: var(--max-content-lg);
    padding: 0; 
}

.text-accent { color: var(--color-gold); }
.text-italic { font-style: italic; }

.heading-display {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 3vw + 1rem, 2.5rem);
    font-weight: 800;
    color: var(--color-ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.divider {
    width: 4rem;
    height: 3px;
    background: var(--color-accent);   /* detalhe amarelo da logo */
    margin: 1.5rem auto 0;
}

/* Badge do HERO — amarelo da logo sobre fundo escuro */
.badge_hero {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    background: var(--color-accent-soft);
    margin-top: -30px;
}

@media (min-width: 768px) {
    .badge_hero {
        margin-top: -40px;
    }
}

/* Badge genérico (seções claras) — azul da marca */
.badge {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    background: var(--color-gold-soft);
}

.section {
    padding: 4rem 1.5rem;
}

.section--features { background: var(--color-bg-soft); }
.section--social   { background: var(--color-bg); }
.section--location {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding-inline: 1.25rem;
}

.section_heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section_subtitle {
    color: var(--color-muted);
    font-size: 0.88rem;
    margin-top: 1rem;
    font-weight: 400;
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.65;
}

/* ---------- 5. BOTÕES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
    border-radius: 0;
}

.btn [data-lucide] {
    width: 1rem;
    height: 1rem;
}

.btn--primary {
    background: var(--color-gold);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn--primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--color-ink);
    border-color: #fff;
}

.btn--block {
    width: 100%;
    padding-block: 1rem;
    font-weight: 700;
}

/* ---------- 6. HEADER ---------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        transparent 100%
    );
}

.site-header_inner {
    max-width: var(--max-content);
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo em TEXTO — recria o perfil: FM vermelho + Motos e Fitness azul */
.logo-text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.9;
    text-align: center;
}

.logo-text_fm {
    font-family: var(--font-logo);
    font-weight: 700;
    font-style: italic;
    font-size: 3.8rem;
    color: var(--color-accent);          /* vermelho da marca */
    letter-spacing: -0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.logo-text_sub {
    font-family: var(--font-logo-sub);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-gold);            /* azul da marca */
    letter-spacing: 0.01em;
    margin-top: 0.1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .logo-text_fm  {
        font-size: 4rem;
        margin-left: -60px;
        margin-top: 50px;
    }
    .logo-text_sub {
        font-size: 1.3rem;
        margin-left: -90px;
    }

    /* Desktop: logo à esquerda (reproduz a direção da logo antiga, que ia pra esquerda) */
    .site-header_inner { justify-content: flex-start; }
    .logo-text {
        align-items: flex-start;   /* alinha "FM" e "Motos e Fitness" pela esquerda */
        text-align: left;
        margin-top: -10px;         /* sobe levemente, como a logo antiga (margin-top negativo) */
    }
}

/* ---------- 7. HERO ---------- */
.hero {
    position: relative;
    height: 94vh;
    display: flex;
    justify-content: center;
    padding: 8rem 1.5rem 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero::before {
    /* Textura sutil */
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 5;
    pointer-events: none;
}

.hero_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    filter: brightness(0.35);
    z-index: 1;
}

.hero_content {
    position: relative;
    z-index: 30;
    max-width: 56rem;
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero_title {
    font-family: var(--font-heading);
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 1.25rem 0;
}

.hero_title em {
    color: var(--color-accent);   /* amarelo da logo no destaque */
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
}

.hero_subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 0.7vw + 0.75rem, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 44rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero_actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 28rem;
    margin-top: -15px;
}

.hero_scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.85;
    pointer-events: none;
    animation: bounce 2s infinite;
    color: #fff;
}

.hero_scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero_scroll [data-lucide] {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);   /* setinha amarela */
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-25%); }
}

@media (min-width: 640px) {
    .hero_actions {
        flex-direction: row;
        max-width: 42rem;
        margin-top: 35px;
    }
    .hero_actions .btn { flex: 1; }
}

@media (min-width: 768px) {
    .hero {
        height: 100vh;
        max-height: 900px;
    }
}

@media (min-width: 1024px) {
    .hero { padding-top: 6rem; }
    .hero_content { max-width: 72rem; margin-top: 3rem; }
}

/* ---------- 8. SERVIÇOS (features) ---------- */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: var(--max-content);
    margin-inline: auto;
}

.feature {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold);
    padding: 2.1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-soft);
}

.feature:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-card);
    border-top-color: var(--color-accent);   /* topo vira amarelo no hover */
}

.feature_icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.25s ease, color 0.25s ease;
    border-radius: 2px;
}

.feature_icon [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
}

.feature:hover .feature_icon {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.feature_title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.feature_desc {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--color-muted);
    line-height: 1.7;
    font-weight: 400;
    font-size: 0.88rem;
}

@media (min-width: 768px) {
    .feature { width: calc(50% - 1.5rem); }
}

@media (min-width: 1024px) {
    .feature { width: calc(33.33% - 1.5rem); }
}

/* ---------- 9. REDES SOCIAIS ---------- */
.section--social { padding-block: 5rem; }

.social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social_btn {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 256px;
    height: 56px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.social_btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.social_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.social_icon-img_insta {
    position: relative;
    z-index: 10;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social_icon-img_face {
    position: relative;
    z-index: 10;
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: -8px;
}

.social_btn span {
    position: relative;
    z-index: 10;
}

.social_btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.25);
}

.social_btn--facebook {
    background: #1877F2;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25);
}

@media (min-width: 640px) {
    .social {
        flex-direction: row;
        gap: 1.25rem;
    }
}

/* ---------- PRODUTOS CTA ---------- */
.produtos-cta {
    background: #d6d6d6;
    padding: 4rem 1.5rem;
}

.produtos-cta_heading {
    text-align: center;
    margin-bottom: 3rem;
}

.produtos-cta_badge {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    background: var(--color-gold-soft);
    margin-bottom: 1.25rem;
}

.produtos-cta_titulo {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.625rem, 3vw + 1rem, 2.5rem);
    line-height: 1.2;
    color: var(--color-ink);
    letter-spacing: 0.04em;
}

.produtos-cta_titulo em {
    color: var(--color-accent);
    font-style: italic;
}

.produtos-cta_divider {
    width: 4rem;
    height: 3px;
    background: var(--color-accent);
    margin: 1.25rem auto 0;
}

.produtos-cta_subtitle {
    color: var(--color-muted);
    font-size: 0.88rem;
    margin-top: 1rem;
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.65;
    font-weight: 400;
}

/* Grid */
.cards_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--max-content);
    margin-inline: auto;
}

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

/* Card */
.card_item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold);
    background: var(--color-black);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.card_item:hover {
    transform: translateY(-0.5rem);
    border-top-color: var(--color-accent);
    box-shadow: 0 30px 60px -10px rgba(16, 18, 22, 0.3);
}

.card_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.38);
    transition: transform 0.4s ease, filter 0.3s ease;
    z-index: 0;
}

.card_item:hover .card_bg {
    transform: scale(1.04);
    filter: brightness(0.28);
}

.card_overlay {
    position: relative;
    z-index: 10;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.30) 60%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.card_icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.card_item:hover .card_icon {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.card_title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.card_desc {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 400;
}

/* Botão WhatsApp */
.btn--wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-gold);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    box-shadow: var(--shadow-button);
    transition: background 0.25s ease, transform 0.25s ease;
    width: fit-content;
}

.btn--wa:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn--wa svg {
    width: 1rem;
    height: 1rem;
    fill: #fff;
    flex-shrink: 0;
}

/* ---------- 11. LOCALIZAÇÃO ---------- */
.section--location { padding-block: 4rem; }

.location {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    background: var(--color-card);
}

.location_map {
    width: 100%;
    min-height: 320px;
    position: relative;
}

.location_map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.location_info {
    width: 100%;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location_list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.location_row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.location_icon {
    padding: 0.75rem;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold);
    flex-shrink: 0;
    border-radius: 2px;
}

.location_icon [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
}

.location_row h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-ink);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.location_row p {
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .section--location { padding-block: 6rem; }
    .location { flex-direction: row; }
    .location_map,
    .location_info { width: 50%; }
    .location_map { min-height: 460px; }
    .location_info { padding: 3rem; }
}

@media (min-width: 1024px) {
    .location_info { padding: 3.5rem; }
}

/* ---------- 12. FOOTER ---------- */
.site-footer {
    padding: 2rem;
    text-align: center;
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ---------- 13. WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    color: #fff;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.whatsapp-float_fallback {
    display: none;
    width: 28px;
    height: 28px;
}

.whatsapp-float--fallback img { display: none; }
.whatsapp-float--fallback .whatsapp-float_fallback { display: block; }