/* ============================================================
   CRD Minerais — stylesheet (clone fiel)
   Paleta extraída do site original (Tailwind config)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: 'Bricolage Grotesque', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--crd-black);
    letter-spacing: -.02em;
}

p { margin: 0 0 1em; line-height: 1.75; }
button { font-family: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ---------- PALETA OFICIAL DO SITE ORIGINAL ---------- */
:root {
    /* Verdes (CRD Minerais) */
    --crd-green:        #1a7a3a;     /* bg-crd-green, principal */
    --crd-green-light:  #22a84e;     /* text-crd-green-light (logo) */
    --crd-green-dark:   #0f5226;     /* bg-crd-green-dark */

    /* Dourados (CRD Minerais) */
    --crd-gold:         #c9a84c;
    --crd-gold-light:   #dfc06e;

    /* Neutros */
    --crd-black:        #1a1a1a;
    --crd-gray:         #f5f5f5;     /* bg-crd-gray */
    --crd-gray-2:       #fafafa;
    --crd-white:        #ffffff;

    /* Primary/foreground (root original) */
    --primary:          #006738;
    --primary-foreground: #fafafa;

    /* Helper */
    --ink:              #1a1a1a;
    --ink-soft:         rgba(26, 26, 26, .75);
    --ink-mute:         rgba(26, 26, 26, .55);
    --line:             #e5e5e5;
    --line-soft:        rgba(26, 26, 26, .08);

    --shadow-sm: 0 1px 2px rgba(26, 26, 26, .04);
    --shadow-md: 0 8px 24px -8px rgba(26, 26, 26, .12);
    --shadow-lg: 0 18px 50px -12px rgba(26, 26, 26, .18);

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 18px;

    --header-h:  72px;
}

/* ---------- Eyebrow / tag-line ---------- */
.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--crd-green);
    background: rgba(26, 122, 58, .08);
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 122, 58, .15);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
}
.eyebrow i, .section-eyebrow i { width: 14px; height: 14px; }

/* Hero eyebrow: claro (com fundo branco translucido) */
.hero .eyebrow,
.section-hero .eyebrow {
    color: var(--crd-gold-light);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero .eyebrow i,
.section-hero .eyebrow i { color: var(--crd-gold-light); }

.accent {
    color: var(--crd-green-light);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.4rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: .85rem;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: .02em;
}
.btn i { width: 16px; height: 16px; }

.btn-primary {
    background: var(--crd-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 122, 58, .2);
    height: 38px;
}
.btn-primary:hover {
    background: var(--crd-green-light);
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(26, 122, 58, .3);
}
.btn-primary:active { transform: scale(.98); }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
    height: 38px;
    padding: .65rem 1.4rem;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .15);
    height: 38px;
    padding: .65rem 1.4rem;
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
}

.btn-light {
    background: #fff;
    color: var(--crd-black);
    border-color: var(--line);
    height: 38px;
}
.btn-light:hover {
    background: var(--crd-gray);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-sm { padding: .5rem 1rem; font-size: .8rem; height: auto; }
.btn-lg { padding: .9rem 1.8rem; font-size: .95rem; height: auto; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background .5s ease, backdrop-filter .5s ease, border-color .5s ease, box-shadow .5s ease;
    background: transparent;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.has-dark-header .site-header {
    background: rgba(26, 26, 26, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, .06);
    box-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}

/* Em páginas com header escuro, os textos já começam claros */
.has-dark-header .main-nav a { color: rgba(255, 255, 255, .7); }
.has-dark-header .main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.has-dark-header .brand { color: #fff; }
.has-dark-header .header-admin-link { color: rgba(255, 255, 255, .6); }
.has-dark-header .header-admin-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.has-dark-header .nav-toggle:hover { background: rgba(255, 255, 255, .08); }
.has-dark-header .nav-toggle i { color: #fff; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.01em;
}
.brand-logo {
    width: 40px; height: 40px;
    transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-text { font-weight: 700; }
.brand-text-accent { color: var(--crd-green-light); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
}
.main-nav a {
    display: inline-block;
    padding: .55rem .9rem;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
    font-size: .82rem;
    border-radius: 8px;
    letter-spacing: .02em;
    transition: color .2s ease, background .2s ease;
}
.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.header-cta { display: inline-flex; }

.header-admin-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    transition: background .2s ease, color .2s ease;
    border: 1px solid transparent;
}
.header-admin-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.header-admin-link i { width: 18px; height: 18px; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background .2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }
.nav-toggle i { width: 20px; height: 20px; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.site-main { display: block; }

.hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-image {
    position: absolute; inset: 0;
    background-image: url('../img/hero-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 3 degradês empilhados (do original) */
.hero-overlay-1 {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.85) 100%);
}
.hero-overlay-2 {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15, 82, 38, .35) 0%, transparent 50%, rgba(15, 82, 38, .25) 100%);
}
.hero-overlay-3 {
    position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(201, 168, 76, .05) 0%, transparent 50%, transparent 100%);
}

.hero-inner {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 6rem 1.25rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin: 1.5rem auto 1.5rem;
    max-width: 1000px;
    letter-spacing: -.03em;
    font-weight: 800;
}
.hero-title .accent {
    color: var(--crd-green-light);
    background: linear-gradient(135deg, var(--crd-green-light), var(--crd-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, .85);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Stats bar do hero */
.hero-stats {
    position: relative;
    z-index: 10;
    margin-top: 5rem;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.stat-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--crd-green-light);
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-label {
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    font-size: clamp(.65rem, .8vw, .75rem);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .4rem;
}

/* Scroll indicator (chevron bouncing) */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .4);
    font-size: .65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .15em;
    animation: bounce 2s infinite;
}
.scroll-indicator i { width: 16px; height: 16px; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.section {
    padding: 6rem 0;
    position: relative;
}
@media (min-width: 1024px) { .section { padding: 9rem 0; } }

.section-bg-white { background: #fff; }
.section-bg-gray  { background: var(--crd-gray); }
.section-bg-dark  { background: var(--crd-black); color: #fff; }
.section-bg-green { background: var(--crd-green); color: #fff; }

.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
    color: var(--crd-black);
}
.section-title.light { color: #fff; }

.section-sub {
    color: var(--ink-mute);
    font-size: 1rem;
    line-height: 1.75;
}
.section-sub.light { color: rgba(255, 255, 255, .72); }

.section-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   ABOUT / NOSSA HISTÓRIA
   ============================================================ */
.section-about { background: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}
@media (min-width: 1024px) { .about-grid { gap: 5rem; } }

.about-media { position: relative; }
.about-image {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    /* background-image vem inline (de settings/about_image no banco) */
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 40px -8px rgba(26, 26, 26, .12);
    position: relative;
    overflow: hidden;
}

/* Card 2020 (badge Explorar) */
.since-card {
    position: absolute;
    bottom: -1.25rem;
    right: -1.25rem;
    background: var(--crd-green);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 24px -4px rgba(26, 122, 58, .25);
    z-index: 2;
    text-align: left;
    min-width: 140px;
}
.since-year {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    display: block;
}
.since-tag {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    opacity: .85;
    display: block;
    margin-bottom: .15rem;
    font-weight: 500;
}
.since-label {
    font-size: .7rem;
    font-weight: 500;
    opacity: .8;
    margin-top: .25rem;
    display: block;
}

/* Quadrado decorativo (do original: absolute -top-3 -left-3) */
.about-deco {
    position: absolute;
    top: -.75rem;
    left: -.75rem;
    width: 80px; height: 80px;
    border: 2px solid rgba(26, 122, 58, .15);
    border-radius: 14px;
    z-index: -1;
}

.about-content .section-title { color: var(--crd-black); }
.about-content p { color: rgba(26, 26, 26, .75); font-size: 1rem; }

/* Diferenciais inline: 2 itens lado a lado, sem card (visual minimalista) */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.25rem;
    list-style: none;
    padding: 0;
}
.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform .25s ease;
}
.about-features li:hover {
    transform: translateY(-2px);
}
.feat-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    color: var(--crd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feat-icon i {
    width: 24px; height: 24px;
    color: var(--crd-green);
    stroke: var(--crd-green);
}
.about-features li > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1;
    min-width: 0;
}
.about-features li strong { color: var(--crd-black); font-size: 1rem; font-weight: 700; }
.about-features li span { color: var(--ink-mute); font-size: .85rem; line-height: 1.4; }

/* ============================================================
   MVP
   ============================================================ */
.section-mvp {
    position: relative;
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
}
.section-mvp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(22, 168, 78, .25) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.section-mvp .container { position: relative; z-index: 1; }
.section-mvp .section-title { color: #fff; }
.section-mvp .section-sub { color: rgba(255, 255, 255, .7); }
.section-mvp .section-eyebrow {
    color: var(--crd-green-light);
    background: rgba(110, 231, 168, .08);
    border-color: rgba(110, 231, 168, .2);
}

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.mvp-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 2.25rem 1.75rem;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
    backdrop-filter: blur(6px);
}
.mvp-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .07);
    border-color: rgba(110, 231, 168, .3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.mvp-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--crd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 18px rgba(26, 122, 58, .4);
}
.mvp-icon i { width: 24px; height: 24px; color: #fff; }
.mvp-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .65rem; }
.mvp-card p { color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.7; margin: 0; }

/* ============================================================
   PRODUTOS
   ============================================================ */
.section-details { background: var(--crd-gray); }

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.detail-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}
.detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 122, 58, .3);
}

.detail-img {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-color: #e5e5e5;
    position: relative;
    overflow: hidden;
}
.detail-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .15));
}
.detail-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--crd-green);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .35rem .8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 4px 14px rgba(26, 122, 58, .4);
    z-index: 2;
}

.detail-body { padding: 1.5rem 1.75rem 1.75rem; }
.detail-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    color: var(--crd-green);
    background: rgba(26, 122, 58, .08);
    padding: .3rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 122, 58, .15);
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.detail-body h3 { font-size: 1.2rem; margin: .25rem 0 .5rem; color: var(--crd-black); }
.detail-body p { color: var(--ink-mute); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.section-why { background: #fff; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.why-card {
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(26, 26, 26, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--crd-green);
    box-shadow: 0 12px 32px rgba(26, 122, 58, .12);
}
.why-card:hover .why-icon {
    background: var(--crd-green);
    color: #fff;
}
.why-card:hover .why-icon i {
    color: #fff;
    stroke: #fff;
}
.why-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(26, 122, 58, .1);
    color: var(--crd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.why-icon i {
    width: 24px; height: 24px;
    color: var(--crd-green);
    stroke: var(--crd-green);
}
.why-card h3 { font-size: 1.15rem; margin-bottom: .55rem; color: var(--crd-black); }
.why-card p { color: var(--ink-soft); font-size: .9rem; margin: 0; line-height: 1.65; }

/* Depoimento (fundo escuro com texto branco) */
.quote-block {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    padding: 3rem 2.5rem;
    border-radius: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}
.quote-block::before {
    content: '\201C';
    position: absolute;
    top: -20px; left: 30px;
    font-family: 'Bricolage Grotesque', serif;
    font-size: 10rem;
    line-height: 1;
    color: rgba(110, 231, 168, .12);
}
.quote-block p {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-style: italic;
    position: relative;
    font-weight: 400;
}
.quote-author {
    color: var(--crd-green-light);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .05em;
    position: relative;
}

/* ============================================================
   LOJAS
   ============================================================ */
.section-stores { background: var(--crd-gray); }

.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.store-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.store-map {
    aspect-ratio: 16 / 9;
    background: var(--crd-gray);
    position: relative;
    overflow: hidden;
}
.store-map iframe {
    width: 100%; height: 100%; border: 0;
    display: block;
}
.store-map-overlay {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(26, 26, 26, .85);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: background .2s ease;
    z-index: 2;
    backdrop-filter: blur(6px);
}
.store-map-overlay:hover { background: var(--crd-green); }
.store-map-overlay i { width: 14px; height: 14px; }

.store-info { padding: 1.5rem 1.75rem 1.75rem; }
.store-info h3 { font-size: 1.3rem; margin-bottom: .85rem; color: var(--crd-black); }
.store-addr {
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0 0 .75rem;
}
.store-phone {
    color: var(--crd-green);
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.1rem;
}
.store-phone i { width: 16px; height: 16px; }

/* ============================================================
   BLOG
   ============================================================ */
.section-news { background: #fff; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 122, 58, .3);
}

.news-img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #e5e5e5;
    position: relative;
    overflow: hidden;
}
.news-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--crd-green);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .35rem .8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 4px 12px rgba(26, 122, 58, .35);
    z-index: 2;
}

.news-body { padding: 1.5rem 1.75rem 1.75rem; }
.news-date {
    display: block;
    color: var(--ink-mute);
    font-size: .78rem;
    margin-bottom: .6rem;
}
.news-body h3 { font-size: 1.15rem; margin: 0 0 .65rem; line-height: 1.3; color: var(--crd-black); }
.news-body p { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1.1rem; line-height: 1.6; }

.news-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--crd-green);
    font-weight: 600;
    font-size: .85rem;
    transition: gap .2s ease, color .2s ease;
}
.news-link i { width: 14px; height: 14px; }
.news-link:hover { gap: .75rem; color: var(--crd-green-light); }

/* ============================================================
   CONTATO
   ============================================================ */
.section-contact { background: var(--crd-gray); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 2rem;
    border-radius: 14px;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    color: rgba(255, 255, 255, .85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}
.contact-info h3 {
    font-size: 1.3rem;
    margin: 0 0 1.5rem;
    color: #fff;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(34, 197, 94, .15);
    border: 1px solid rgba(34, 197, 94, .25);
    color: #4ade80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i { width: 18px; height: 18px; color: #4ade80; }

.contact-list li > div { display: flex; flex-direction: column; gap: .15rem; }
.contact-list li strong { color: var(--crd-green-light); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.contact-list li a { color: #fff; font-size: .98rem; font-weight: 500; }
.contact-list li a:hover { color: var(--crd-green-light); }
.contact-list li span { color: #fff; font-size: .98rem; }
.contact-list li small { color: rgba(255, 255, 255, .55); font-size: .8rem; }

/* Form */
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--crd-green);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.form-field input,
.form-field textarea {
    font: inherit;
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--crd-black);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(26, 26, 26, .4); }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--crd-green);
    box-shadow: 0 0 0 3px rgba(26, 122, 58, .12);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-banner {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    margin-bottom: 1rem;
    display: none;
}
.form-banner.success { background: rgba(26, 122, 58, .1); color: var(--crd-green); border: 1px solid var(--crd-green); }
.form-banner.error   { background: rgba(220, 38, 38, .1); color: #b91c1c; border: 1px solid #fca5a5; }
.form-banner.show { display: block; }

/* ============================================================
   POST PAGE
   ============================================================ */
.post-page { background: #fff; }

.post-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 12rem 0 5rem;
}
.post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.85) 100%);
}
.post-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}
.post-meta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
}
.post-tag {
    background: var(--crd-green);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .05em;
}
.post-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -.02em;
}
.post-excerpt {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto;
}

.post-body-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 4rem 1.25rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .post-body-wrap { grid-template-columns: 1fr; }
}

.post-content {
    background: #fff;
    border-radius: 14px;
    color: var(--crd-black);
    line-height: 1.8;
    font-size: 1rem;
}
.post-content h2 {
    color: var(--crd-black);
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.post-content h3 {
    color: var(--crd-black);
    font-size: 1.2rem;
    margin: 1.75rem 0 .75rem;
}
.post-content p { margin: 0 0 1.25rem; color: rgba(26, 26, 26, .85); }
.post-content strong { color: var(--crd-black); font-weight: 700; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.5rem; padding: 0; }
.post-content li { margin-bottom: .5rem; color: rgba(26, 26, 26, .85); }
.post-content img { border-radius: 12px; margin: 1.5rem 0; }

.post-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.post-sidebar {
    background: var(--crd-gray);
    border-radius: 14px;
    padding: 1.75rem;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.post-sidebar h3 {
    color: var(--crd-black);
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.related-posts { display: flex; flex-direction: column; gap: 1rem; }
.related-posts li { padding: 0; }
.related-posts a {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--line);
    transition: transform .2s ease, border-color .2s ease;
}
.related-posts a:hover {
    transform: translateX(4px);
    border-color: var(--crd-green);
}
.related-tag {
    font-size: .7rem;
    font-weight: 600;
    color: var(--crd-green);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.related-title {
    color: var(--crd-black);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
}


.site-footer {
    background: var(--crd-black);
    color: rgba(255, 255, 255, .7);
    padding-top: 4rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.brand-light { color: #fff; }

.footer-tagline {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    line-height: 1.7;
    margin: 1rem 0 0;
}

.footer-col h4 {
    color: #fff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    transition: color .2s ease, padding-left .2s ease;
}
.footer-links a:hover { color: var(--crd-green-light); padding-left: 4px; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: .65rem;
}
.footer-contact li strong { color: #fff; }
.footer-contact li i {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px; height: 18px;
    color: var(--crd-green-light);
    margin-top: 2px;
}

.socials {
    display: flex;
    gap: .55rem;
    margin-top: 1.25rem;
}
.socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    border: 1px solid rgba(255, 255, 255, .08);
}
.socials a:hover {
    background: var(--crd-green);
    color: #fff;
    transform: translateY(-2px);
    border-color: var(--crd-green);
}
.socials i { width: 16px; height: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.5rem 0;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-credit { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.footer-credit a { color: var(--crd-green); text-decoration: none; font-weight: 500; transition: opacity .2s; }
.footer-credit a:hover { opacity: .7; text-decoration: underline; }
.footer-credit-sep { color: var(--muted); }
.heart { color: var(--crd-green-light); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
    z-index: 90;
    transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 14px 40px rgba(37, 211, 102, .65); }
.whatsapp-float i { width: 26px; height: 26px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mvp-grid, .details-grid, .why-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .stores-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { position: static; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .header-cta { display: none; }
    .nav-toggle { display: inline-flex; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(26, 26, 26, .98);
        backdrop-filter: blur(16px);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }
    .main-nav.is-open { max-height: 500px; }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
    }
    .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .main-nav li:last-child { border-bottom: 0; }
    .main-nav a {
        display: block;
        padding: 1rem 0;
        color: rgba(255, 255, 255, .85);
        border-radius: 0;
    }
    .main-nav a:hover { background: transparent; color: var(--crd-green-light); }

    .mvp-grid, .details-grid, .why-grid, .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom .container { justify-content: center; text-align: center; }

    .hero-stats { gap: 1.5rem; padding-top: 2rem; margin-top: 3rem; }
    .about-features { grid-template-columns: 1fr; }
    .since-card { right: .5rem; bottom: -.75rem; padding: 1rem 1.25rem; min-width: 120px; }
    .since-year { font-size: 1.4rem; }
    .about-deco { display: none; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .contact-form, .contact-info { padding: 1.5rem; }
    .scroll-indicator { display: none; }
}

/* ============================================================
   WHATSAPP MODAL — escolha de loja
   ============================================================ */
.wa-modal[hidden] { display: none !important; }

.wa-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: wa-fade-in .25s ease;
}

@keyframes wa-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes wa-pop-in {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.wa-modal-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
    animation: wa-pop-in .35s cubic-bezier(.16, 1, .3, 1);
}

.wa-modal-head {
    background: #25d366;
    color: #fff;
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.wa-modal-head-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-modal-head-icon i { width: 22px; height: 22px; color: #fff; }
.wa-modal-head-text { flex: 1; min-width: 0; }
.wa-modal-head-text h2 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 .15rem;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.wa-modal-head-text p {
    color: rgba(255, 255, 255, .9);
    font-size: .85rem;
    margin: 0;
    line-height: 1.3;
}
.wa-modal-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
    flex-shrink: 0;
}
.wa-modal-close:hover { background: rgba(255, 255, 255, .15); }
.wa-modal-close i { width: 20px; height: 20px; }

.wa-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    background: #fff;
}

.wa-store {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    text-decoration: none;
    color: inherit;
}
.wa-store:hover {
    background: #f1f8f3;
    border-color: #25d366;
    transform: translateY(-2px);
}

.wa-store-pin {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #e6f7eb;
    color: #1a7a3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-store-pin i { width: 20px; height: 20px; }

.wa-store-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.wa-store-name {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.01em;
}
.wa-store-addr {
    color: #6b6b6b;
    font-size: .85rem;
    line-height: 1.3;
}
.wa-store-phone {
    color: #1a7a3a;
    font-weight: 600;
    font-size: .95rem;
    margin-top: .15rem;
}

.wa-store-cta {
    color: #cfcfcf;
    flex-shrink: 0;
    transition: color .2s ease, transform .2s ease;
}
.wa-store-cta i { width: 20px; height: 20px; }
.wa-store:hover .wa-store-cta {
    color: #25d366;
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .wa-modal-head { padding: 1.25rem; }
    .wa-modal-head-text h2 { font-size: 1.2rem; }
    .wa-modal-body { padding: 1rem 1.25rem 1.25rem; }
    .wa-store { padding: 1rem; }
}

/* ============================================================
   Filter Tabs — filtro de categoria na página de produtos
   ============================================================ */

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: .5rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.1rem;
    border-radius: 999px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(0, 0, 0, .03);
}

.filter-tab:hover {
    color: #000;
    background: rgba(0, 0, 0, .07);
    border-color: rgba(0, 0, 0, .18);
}

.filter-tab.is-active {
    background: linear-gradient(135deg, var(--crd-green, #1a7a3a), var(--crd-green-light, #22a84e));
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 168, 78, .35);
    border-color: rgba(255, 255, 255, .1);
}

.filter-tab i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.filter-tab-label {
    font-weight: 600;
}

.filter-count {
    display: inline-block;
    min-width: 22px;
    padding: 0 .35rem;
    height: 20px;
    line-height: 20px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .1);
    color: #1a1a1a;
    font-size: .72rem;
    font-weight: 700;
    font-family: 'SFMono-Regular', Consolas, monospace;
    text-align: center;
}

.filter-tab.is-active .filter-count {
    background: rgba(0, 0, 0, .3);
    color: #fff;
}

/* Mobile: tabs mais compactas (mas labels sempre visíveis) */
@media (max-width: 640px) {
    .filter-tabs {
        border-radius: 16px;
        padding: .4rem;
        gap: .35rem;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .filter-tab {
        padding: .45rem .7rem;
        font-size: .78rem;
        gap: .35rem;
    }
    .filter-tab i {
        width: 15px;
        height: 15px;
    }
    .filter-tab-label {
        display: inline; /* sempre visível */
        font-size: .78rem;
    }
    .filter-count {
        font-size: .65rem;
        min-width: 18px;
        height: 17px;
        line-height: 17px;
    }
}

/* ============================================================
   Empty state — quando não há produtos
   ============================================================ */

.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    color: rgba(255, 255, 255, .6);
    max-width: 480px;
    margin: 0 auto;
}

.empty-state i {
    width: 56px;
    height: 56px;
    color: rgba(255, 255, 255, .25);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 .5rem;
}

.empty-state p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}
