/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(48px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes blobDrift1 {
    0%,100% { transform: translate(0,0) scale(1); opacity:.55; }
    50%     { transform: translate(4%,-6%) scale(1.18); opacity:.85; }
}
@keyframes blobDrift2 {
    0%,100% { transform: translate(0,0) scale(1); opacity:.4; }
    50%     { transform: translate(-5%,4%) scale(1.22); opacity:.7; }
}
@keyframes float {
    0%,100% { transform: translateY(0) rotate(-1.5deg); }
    50%     { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marqueeScrollRev {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,99,99,0.4); }
    50%     { box-shadow: 0 0 0 8px rgba(255,99,99,0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity:1; transform:none; }

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible { opacity:1; transform:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background-color: #141414;
    min-height: 94vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 24px 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,99,99,0.15);
}

/* Animated ambient blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-blob--1 {
    width: 60vw; height: 60vw;
    top: -20%; left: -15%;
    background: radial-gradient(ellipse at center, rgba(255,60,60,.11) 0%, transparent 70%);
    animation: blobDrift1 10s ease-in-out infinite;
}
.hero-blob--2 {
    width: 50vw; height: 50vw;
    bottom: -15%; right: -10%;
    background: radial-gradient(ellipse at center, rgba(255,60,60,.08) 0%, transparent 70%);
    animation: blobDrift2 13s ease-in-out infinite;
}

/* Floating subcategory pills */
.hero-floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-floater {
    position: absolute;
    padding: 10px 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-floater img {
    width: 90px;
    height: 40px;
    object-fit: contain;
    opacity: .45;
}
.hf-0 { top:12%; left:4%;  animation-delay:0s;    animation-duration:7s; }
.hf-1 { top:18%; right:5%; animation-delay:1.2s;  animation-duration:8s; }
.hf-2 { top:55%; left:2%;  animation-delay:2.4s;  animation-duration:6.5s; }
.hf-3 { top:65%; right:4%; animation-delay:0.6s;  animation-duration:9s; }
.hf-4 { bottom:22%; left:8%;  animation-delay:1.8s; animation-duration:7.5s; }
.hf-5 { bottom:18%; right:8%; animation-delay:3s;   animation-duration:8.5s; }
.hf-6 { top:35%; left:1%;     animation-delay:0.3s; animation-duration:6s; }
.hf-7 { top:42%; right:2%;    animation-delay:2s;   animation-duration:7s; }

/* Hero content */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6363;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid rgba(255,99,99,.38);
    border-radius: 100px;
    margin-bottom: 40px;
    animation: fadeIn .7s ease both, badgePulse 3s 1s ease-in-out infinite;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    background: #ff6363;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

.hero-headline {
    color: #ffffff;
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    font-weight: 800;
    line-height: .97;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0 0 28px;
    animation: fadeInUp .9s .1s cubic-bezier(.22,1,.36,1) both;
}

.hero-tagline {
    color: rgba(255,255,255,.3);
    font-size: 14px;
    letter-spacing: 2px;
    margin: 0 0 24px;
    animation: fadeIn .7s .4s ease both;
}

.hero-desc {
    color: rgba(255,255,255,.5);
    font-size: 16px;
    line-height: 1.78;
    max-width: 520px;
    margin: 0 auto 48px;
    animation: fadeInUp .7s .5s cubic-bezier(.22,1,.36,1) both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp .7s .65s cubic-bezier(.22,1,.36,1) both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: #ff6363;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .2px;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #ff6363;
    transition: background .25s ease, color .25s ease, transform .22s ease, box-shadow .25s ease;
}
.hero-cta:hover {
    background: transparent;
    color: #ff6363;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,99,99,.3);
}

.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: transparent;
    color: rgba(255,255,255,.75);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,.2);
    transition: color .25s ease, border-color .25s ease, transform .22s ease;
}
.hero-cta-ghost:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,.5);
    transform: translateY(-3px);
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    background: #ff6363;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
}
.marquee-strip--dark {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,99,99,.2);
    border-bottom: 1px solid rgba(255,99,99,.2);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
}
.marquee-track--reverse {
    animation: marqueeScrollRev 30s linear infinite;
}

.marquee-item {
    padding: 0 28px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}
.marquee-strip--dark .marquee-item { color: rgba(255,255,255,.55); }

.marquee-sep {
    color: rgba(255,255,255,.5);
    font-size: 10px;
    flex-shrink: 0;
}
.marquee-strip--dark .marquee-sep { color: rgba(255,99,99,.5); }

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.page-section {
    background: #1a1a1a;
    padding: 96px 0;
}
.page-section--dark {
    background: #111111;
    border-top: 1px solid rgba(255,99,99,.12);
    border-bottom: 1px solid rgba(255,99,99,.12);
}
.page-section--white {
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-inner--carousel {
    max-width: 1200px;
    padding: 0 40px;
}

/* Split layout */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: center;
}
.layout-split--reverse {
    grid-template-columns: 1.6fr 1fr;
}

.split-left {}
.split-right {}

.split-desc {
    color: rgba(255,255,255,.4);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 320px;
}

/* Section heading block (centered, for product/estande sections) */
.section-header-block {
    margin-bottom: 56px;
}

.section-label {
    color: #ff6363;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.section-label--light { color: rgba(255,99,99,.8); }

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: .92;
    text-transform: uppercase;
    margin: 0;
}
.section-title .accent { color: #ff6363; }
.section-title--light { color: #ffffff; }
.section-title--dark  { color: #111111; }

/* ============================================================
   CATEGORY CHIPS
   ============================================================ */
.chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips-grid .category-chip {
    opacity: 0;
    transform: translateY(16px) scale(.95);
    transition: opacity .45s cubic-bezier(.22,1,.36,1),
                transform .45s cubic-bezier(.22,1,.36,1),
                background-color .2s ease, border-color .2s ease,
                color .2s ease, box-shadow .2s ease;
}
.chips-grid.chips-animated .category-chip {
    opacity: 1;
    transform: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .15px;
}
.category-chip:hover {
    background: #ff6363;
    border-color: #ff6363;
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 22px rgba(255,99,99,.3);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.row { margin-right:0; margin-left:0; }

.card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    color: #1a1a1a;
    transition: box-shadow .28s cubic-bezier(.22,1,.36,1),
                transform .28s cubic-bezier(.22,1,.36,1),
                border-color .28s ease;
}
.card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    transform: translateY(-4px);
    border-color: rgba(255,99,99,.3);
}
.card-body { background: transparent; }
.card-footer {
    background: #f9f9f9;
    border-top: 1px solid #eeeeee;
}

#titulo > a { color: #1a1a1a; font-size:14px; }
.titulo > a  { color: #1a1a1a; font-size:14px; }
.kit_cat     { font-size:12px; color:#888888; }
.estande > a { color:#555555; font-size:13px; text-decoration:none; }
.estande > a:hover { color:#ff6363; }

.link {
    padding:3px 9px; margin:2px;
    border-radius:4px;
    background:#ebebeb;
    color:#333333;
    font-size:12px; text-decoration:none;
    font-weight: 400;
    transition: background .18s ease, color .18s ease;
}
.link:hover { background:#ff6363; color:#fff; }

.desativado {
    padding:3px 9px; margin:2px;
    border-radius:4px;
    color:#bbbbbb;
    background:#ebebeb;
    font-size:12px;
    font-weight: 400;
}
.desativado:hover { color:#bbbbbb; cursor:default; }

/* ============================================================
   EMPRESA NAME CARDS
   ============================================================ */
.empresa-card-col { padding:8px; }

.empresa-name-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 28px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    min-height: 88px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: color .28s ease, border-color .28s ease,
                transform .28s cubic-bezier(.22,1,.36,1),
                box-shadow .28s ease, background .28s ease;
}
.empresa-name-card::after {
    content: '→';
    font-size: 18px;
    color: transparent;
    transition: color .28s ease, transform .28s ease;
}
.empresa-name-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-cor, #ff6363) 6%, transparent) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}
.empresa-name-card:hover::before { opacity: 1; }
.empresa-name-card:hover::after  { color: var(--brand-cor, #ff6363); transform: translateX(4px); }
.empresa-name-card:hover {
    border-color: var(--brand-cor, #ff6363);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 36px color-mix(in srgb, var(--brand-cor, #ff6363) 12%, transparent);
    background: color-mix(in srgb, var(--brand-cor, #ff6363) 5%, transparent);
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.section-cta { text-align:center; margin-top:56px; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: .2px;
    border: 2px solid transparent;
    transition: background .25s ease, color .25s ease,
                transform .22s ease, box-shadow .25s ease;
}
.cta-btn--filled {
    background: #ff6363;
    color: #ffffff;
    border-color: #ff6363;
}
.cta-btn--filled:hover {
    background: transparent;
    color: #ff6363;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,99,99,.28);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 992px) {
    .layout-split,
    .layout-split--reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .layout-split--reverse .split-left { order: -1; }
    .split-desc { max-width: 100%; }
}

@media screen and (max-width: 640px) {
    .hero-section { padding: 40px 20px 64px; }
    .hero-floater { display: none; }
    .section-inner { padding: 0 20px; }
    .page-section { padding: 64px 0; }
    .section-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.prod-carousel-outer {
    width: 100%;
    --prod-carousel-gap: 12px;
    --prod-near-width: 180px;
    --prod-active-width: 620px;
}

.prod-carousel-flex {
    display: flex;
    align-items: center;
    gap: var(--prod-carousel-gap);
}

/* Viewport: clips the track */
.prod-carousel-viewport {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
}

.prod-carousel-track {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

/* ── Slide base ─────────────────────────────────────────── */
.prod-carousel-slide {
    flex: 0 0 auto;
    overflow: hidden;
    height: auto;
    border-radius: 16px;
    cursor: pointer;
    transform-origin: center center;
    transition: width 0.52s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.52s cubic-bezier(0.22, 1, 0.36, 1),
                margin 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    margin-right: var(--prod-carousel-gap);
}

.prod-carousel-slide:last-child {
    margin-right: 0;
}

/* Fix Bootstrap col inside slide */
.prod-carousel-slide .col {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

.prod-carousel-slide .prod-card {
    height: 100%;
    border-radius: 12px;
    margin: 0;
}

/* Active — full card width */
.prod-carousel-slide--active {
    width: var(--prod-active-width);
    opacity: 1;
    cursor: default;
    transform: translateY(0) scale(1);
    filter: none;
}

/* Previous / next */
.prod-carousel-slide--prev,
.prod-carousel-slide--next {
    width: var(--prod-near-width);
    opacity: 0.82;
    transform: translateY(10px) scale(0.96);
    filter: saturate(0.92);
}

.prod-carousel-slide--prev {
    transform-origin: right center;
}

.prod-carousel-slide--next {
    transform-origin: left center;
}

/* Hidden — collapsed */
.prod-carousel-slide--hidden {
    display: none;
}

/* ── Side-card visual (tudo exceto ativo) ──────────────── */
.prod-carousel-slide:not(.prod-carousel-slide--active) .prod-info,
.prod-carousel-slide:not(.prod-carousel-slide--active) .prod-brand-logo,
.prod-carousel-slide:not(.prod-carousel-slide--active) .prod-detail-btn {
    display: none;
}

.prod-carousel-slide:not(.prod-carousel-slide--active) .prod-card {
    padding: 12px;
    justify-content: center;
}

.prod-carousel-slide:not(.prod-carousel-slide--active) .prod-thumb {
    width: 100%;
    height: auto;
    max-height: 160px;
}

/* ── Navigation buttons ────────────────────────────────── */
.prod-carousel-btn {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #fff4f2 100%);
    border: 1px solid rgba(255, 99, 99, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    color: #333333;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    transition: background 0.22s ease, color 0.22s ease,
                border-color 0.22s ease, transform 0.22s ease;
}

.prod-carousel-btn:hover {
    background: #ff6363;
    color: #ffffff;
    border-color: #ff6363;
    transform: scale(1.1);
}

.prod-carousel-btn:focus-visible {
    outline: 3px solid rgba(255,99,99,0.45);
    outline-offset: 2px;
}

.prod-carousel-btn:active {
    transform: scale(0.96);
}

/* ── Dots ──────────────────────────────────────────────── */
.prod-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
}

.prod-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.prod-carousel-dot--active {
    width: 26px;
    border-radius: 4px;
    background: #ff6363;
}

/* ── Responsive ────────────────────────────────────────── */
@media screen and (max-width: 900px) {
    .section-inner--carousel {
        max-width: 1200px;
        padding: 0 40px;
    }

    .prod-carousel-outer {
        --prod-carousel-gap: 10px;
        --prod-near-width: 62px;
    }

    .prod-carousel-slide { height: auto; border-radius: 16px; }
}

@media screen and (max-width: 600px) {
    .section-inner--carousel {
        padding: 0 20px;
    }

    .prod-carousel-outer {
        --prod-carousel-gap: 8px;
        --prod-near-width: 56px;
    }

    .prod-carousel-slide { height: auto; }
    .prod-carousel-flex { gap: 8px; }
    .prod-carousel-btn  { width: 40px; height: 40px; font-size: 24px; }
}
