/* =========================================================================
   JR PNEUS - Premium Automotive Art Direction
   ========================================================================= */

:root {
    --bg-dark: #09090b;
    --bg-darker: #000000;
    --bg-card: #18181b;
    --bg-card-hover: #27272a;
    
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    
    --yellow-main: #facc15;
    --yellow-hover: #eab308;
    
    --border-color: #27272a;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --z-header: 1000;
    --z-drawer: 1050;
    --z-fab: 900;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-yellow {
    color: var(--yellow-main);
}
.hover-yellow:hover {
    color: var(--yellow-main);
}
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 1.5rem;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    opacity: 0.95;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-title-wrap {
    margin-bottom: 3rem;
}

/* =========================================================================
   PRELOADER
   ========================================================================= */
.preloader {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.preloader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader__logo {
    width: clamp(120px, 15vw, 180px);
    height: auto;
    opacity: 0;
    transform: scale(0.96);
    animation: preloaderFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.preloader__bar {
    width: 100px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: preloaderFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.preloader__progress {
    width: 0%;
    height: 100%;
    background-color: var(--yellow-main);
    animation: preloaderProgress 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader__logo {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
    .preloader__bar {
        animation: none;
        opacity: 1;
    }
    .preloader__progress {
        animation: none;
        width: 100%;
    }
    .preloader {
        transition: opacity 0.1s;
    }
}

/* =========================================================================
   BUTTONS (Advanced UI/UX)
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    z-index: 1;
    cursor: pointer;
    user-select: none;
}

/* Shine effect base for all buttons */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::after {
    left: 150%;
}

.btn i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i {
    transform: translateX(4px);
}

/* Primary CTA: Yellow */
.btn--yellow {
    background-color: var(--yellow-main);
    color: #000;
    box-shadow: 0 4px 15px -3px rgba(250, 204, 21, 0.4), 
                0 2px 6px -2px rgba(250, 204, 21, 0.2);
    border: 1px solid transparent;
}

.btn--yellow.btn:hover {
    background-color: var(--yellow-hover);
    color: var(--bg-darker);
    transform: scale(1.02);
    box-shadow: 0 8px 24px -8px rgba(250, 204, 21, 0.4);
}

.btn--yellow:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px -2px rgba(250, 204, 21, 0.4);
}

/* Secondary CTA: Outline */
.btn--outline {
    background-color: rgba(24, 24, 27, 0.3);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    border-color: var(--yellow-main);
    color: var(--yellow-main);
    background-color: rgba(250, 204, 21, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

.btn--outline:active {
    transform: translateY(-1px);
}

/* Utility classes */
.btn--full {
    width: 100%;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.header__nav {
    display: none;
}

.header__menu {
    display: flex;
    gap: 24px;
}

.header__link {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
    position: relative;
    padding: 4px 0;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--yellow-main);
    transition: var(--transition);
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

.header__link:hover,
.header__link.active {
    color: var(--yellow-main);
}

.header__cta {
    display: none;
}

.header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .header__nav, .header__cta {
        display: flex;
    }
    .header__burger {
        display: none;
    }
}

/* =========================================================================
   MOBILE DRAWER
   ========================================================================= */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80%;
    height: 100svh;
    background: var(--bg-dark);
    z-index: var(--z-drawer);
    padding: 24px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: calc(var(--z-drawer) - 1);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    backdrop-filter: blur(4px);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.drawer__close {
    font-size: 1.5rem;
    color: var(--text-main);
}

.drawer__menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer__link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* =========================================================================
   SPOTLIGHT PARTNER CARD (JR REBOQUE)
   ========================================================================= */
.partner-card {
    margin-top: 80px;
    background-color: #080808;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.partner-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.partner-card__content {
    flex: 1.2;
    padding: 32px 24px;
    background-color: #080808;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-card__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-main);
}

.partner-card__desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 100%;
}

/* Horizontal scroll for features on mobile */
.partner-card__features {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.partner-card__features::-webkit-scrollbar {
    display: none;
}

.p-feature {
    flex: 0 0 85%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.p-feature i {
    font-size: 1.5rem;
}

.p-feature strong {
    color: var(--text-main);
}

.partner-card__btn {
    width: 100%;
}

.partner-card__image-wrapper {
    flex: 1.5;
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.mobile-only-partner-img {
    display: block;
    margin-bottom: 24px;
    border-radius: 12px;
}
.desktop-only-partner-img {
    display: none;
}

.partner-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-card__img {
    opacity: 0.9;
}

.partner-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #080808 2%, transparent 70%);
    z-index: 1;
}

.partner-card__floating-brand {
    position: absolute;
    top: auto;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    border-radius: 100px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.partner-card__floating-brand:hover {
    background: rgba(20, 20, 20, 0.95);
    border-color: var(--yellow-main);
}

.partner-card__floating-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.badge-24h {
    background-color: var(--yellow-main);
    color: black;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

.brand-link {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 16px;
    display: none; /* Hide on very small screens */
}

@media (min-width: 380px) {
    .brand-link {
        display: flex;
    }
}

.brand-link small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.brand-link strong {
    font-size: 0.85rem;
    color: var(--yellow-main);
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.partner-card__floating-brand:hover .brand-icon {
    color: var(--yellow-main);
}

@media (min-width: 768px) {
    .partner-card__features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
    }
    .p-feature {
        background: transparent;
        border: none;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .partner-card {
        flex-direction: row;
    }
    
    .mobile-only-partner-img {
        display: none;
    }
    .desktop-only-partner-img {
        display: block;
    }
    
    .partner-card__content {
        padding: 60px 40px;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .partner-card__btn {
        width: auto;
        align-self: flex-start;
    }

    .partner-card__image-wrapper {
        min-height: 400px;
    }

    .partner-card__title {
        font-size: 3rem;
    }
    
    .partner-card__overlay {
        background: linear-gradient(to right, #080808 0%, transparent 40%);
    }

    .partner-card__floating-brand {
        top: auto;
        bottom: 24px;
        right: 24px;
        padding: 16px 24px;
        border-radius: 16px;
        gap: 16px;
    }

    .partner-card__floating-brand .brand-name {
        font-size: 1.25rem;
    }

    .badge-24h {
        border-radius: 6px;
        font-size: 0.9rem;
    }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    margin-top: -88px;
    padding: 130px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,9,11,0.95) 0%, rgba(9,9,11,0.8) 40%, rgba(9,9,11,0.4) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(4px);
}

.badge__dot {
    width: 8px;
    height: 8px;
    background-color: var(--yellow-main);
    border-radius: 50%;
}

.hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}
.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.scroll-line {
    width: 40px;
    height: 1px;
    background-color: var(--border-color);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow-main);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (min-width: 768px) {
    .hero__scroll-indicator {
        left: 48px;
    }
}

/* =========================================================================
   ABOUT / QUEM SOMOS (NOVA SEÇÃO)
   ========================================================================= */
.about-institutional {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about-inst__grid {
    display: grid;
    grid-template-columns: 1fr;
}

/* Visibilidade da Imagem e Botoes Mobile/Desktop */
.mobile-only-img {
    display: block;
    margin-bottom: 24px;
    border-radius: 8px; /* Arredonda levemente a imagem no meio do texto */
}
.desktop-only-img {
    display: none;
}

.mobile-only-btn {
    display: block;
}
.desktop-only-btn {
    display: none;
}

@media (min-width: 992px) {
    .about-inst__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .mobile-only-img {
        display: none;
    }
    .desktop-only-img {
        display: block;
    }
    
    .mobile-only-btn {
        display: none;
    }
    .desktop-only-btn {
        display: inline-flex;
    }
}

.about-inst__image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .about-inst__image-wrapper {
        height: 500px;
    }
}

.about-inst__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) contrast(1.1);
    transform: scale(1.05);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-institutional:hover .about-inst__img {
    transform: scale(1);
}

.about-inst__reveal {
    position: absolute;
    inset: 0;
    background-color: var(--bg-dark);
    z-index: 2;
    transform-origin: left;
    animation: revealImage 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealImage {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

.about-inst__content {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .about-inst__content {
        padding: 80px 10%;
    }
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.eyebrow-line {
    width: 24px;
    height: 2px;
    background-color: var(--yellow-main);
    transition: width 0.3s ease;
}

.about-institutional:hover .eyebrow-line {
    width: 40px;
}

.about-inst__desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
    max-width: 500px;
}

.about-inst__differentials {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .about-inst__differentials {
        grid-template-columns: 1fr 1fr;
    }
}

.diff-item {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    transition: var(--transition);
}

.diff-item:hover {
    border-color: var(--yellow-main);
}

.diff-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.diff-item__num {
    font-family: var(--font-heading);
    color: rgb(26, 115, 232);
    font-weight: 700;
    font-size: 1.1rem;
}

.diff-item__title {
    font-size: 1.1rem;
    color: var(--yellow-main);
}

.diff-item__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================================================
   PHOTO STRIP MARQUEE
   ========================================================================= */
.photo-strip {
    /* Mobile Variables */
    --img-w: 220px;
    --img-h: 140px;
    --gap: 20px;
    --num-images: 4;

    position: relative;
    width: 100%;
    background-color: var(--bg-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

@media (min-width: 992px) {
    .photo-strip {
        /* Desktop Variables - Much larger as requested */
        --img-w: 320px;
        --img-h: 200px;
        --gap: 32px;
        padding: 40px 0;
    }
}

.photo-strip::before,
.photo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 992px) {
    .photo-strip::before,
    .photo-strip::after {
        width: 200px;
    }
}

.photo-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.photo-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.photo-strip__track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.photo-strip:hover .photo-strip__track {
    animation-play-state: paused;
}

.photo-strip__track img {
    width: var(--img-w);
    height: var(--img-h);
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    flex-shrink: 0;
    filter: brightness(0.6) grayscale(20%);
    transition: filter 0.4s ease;
}

.photo-strip__track img:hover {
    filter: brightness(1) grayscale(0%);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { 
        /* Shifts exactly 4 images + 4 gaps to the left */
        transform: translateX(calc(-1 * (var(--img-w) + var(--gap)) * var(--num-images))); 
    }
}

@media (prefers-reduced-motion: reduce) {
    .photo-strip__track {
        animation: none;
        overflow-x: auto;
    }
}

/* =========================================================================
   SEARCH SECTION
   ========================================================================= */
.search-section {
    padding: 80px 0;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.search__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .search__container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .search__header {
        flex: 1;
        max-width: 400px;
    }
    .search__forms-wrapper {
        flex: 2;
    }
}

.search__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}
.search__header p {
    color: var(--text-muted);
}

.search__forms-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.search-card {
    display: flex;
    flex-direction: column;
}

.search-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.search-card__header i {
    color: var(--yellow-main);
    font-size: 1.4rem;
}

.search-card__header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.search__form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    background: var(--bg-card);
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
}

.form-group label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.custom-select {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:focus {
    outline: none;
    border-color: var(--yellow-main);
}

.form-group.divider {
    flex: 0 0 auto;
    min-width: auto;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--border-color);
    padding-bottom: 8px;
}

.btn--search {
    flex: 1 1 100%;
    margin-top: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .btn--search {
        flex: 0 0 auto;
        margin-top: 0;
    }
}

/* =========================================================================
   SHOWCASE (Pneus em Destaque)
   ========================================================================= */
.showcase-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

.showcase__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.showcase__card:hover {
    border-color: #3f3f46;
}

.card__image-wrap {
    position: relative;
    height: 300px;
    background: #000;
    overflow: hidden;
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.6s ease;
}

.showcase__card { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.showcase__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
}
.showcase__card:hover .card__img {
    transform: scale(1.02);

    opacity: 0.8;
}

.card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow-main);
    color: #000;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 4px 12px;
    z-index: 2;
    text-transform: uppercase;
}

.card__content {
    padding: 32px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__meta {
    font-family: var(--font-heading);
    color: var(--yellow-main);
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.card__title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.card__desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.card__btn {
    width: 100%;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .services__layout {
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
    }
    .services__info {
        position: sticky;
        top: 120px;
    }
}

.services__list {
    display: flex;
    flex-direction: column;
}

.service-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-item:first-child {
    padding-top: 0;
}

.service-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    cursor: default;
}

.service-item__header h3 {
    font-size: 2rem;
    color: var(--yellow-main);
    transition: var(--transition);
}

.service-item__header i {
    font-size: 1.5rem;
    color: rgb(26, 115, 232);
    transition: var(--transition);
}

.service-item:hover .service-item__header h3 {
    color: rgba(250, 204, 21, 0.8);
}
.service-item:hover .service-item__header i {
    transform: translateX(5px);
}

.service-item p {
    color: var(--text-muted);
    max-width: 500px;
}

/* =========================================================================
   FEATURES (Diferenciais)
   ========================================================================= */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 60px;
}

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

.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(26, 115, 232, 0.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgb(26, 115, 232);
}

.feature-card__num {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(250, 204, 21, 0.15);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-card__num {
    color: rgba(250, 204, 21, 0.6);
}

.feature-card__title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.feature-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* =========================================================================
   LOCATION
   ========================================================================= */
.location-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.location__layout {
    display: flex;
    flex-direction: column;
}

.location__title {
    order: 1;
    margin-bottom: 32px;
}
.location__details {
    order: 2;
}
.location__map {
    order: 3;
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    margin: 32px 0;
}
.location__actions {
    order: 4;
}

@media (min-width: 992px) {
    .location__layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 0 40px;
    }
    .location__title {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-bottom: 40px;
    }
    .location__details {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .location__actions {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        margin-top: 0;
    }
    .location__map {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
        margin: 0;
        height: 100%;
        min-height: 400px;
    }
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #111;
}

.map-content {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-content i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    color: var(--yellow-main);
}

.map-placeholder:hover .map-content {
    color: var(--text-main);
}

.nap-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.nap-item i {
    font-size: 1.5rem;
    color: var(--yellow-main);
    margin-top: 4px;
}

.nap-item h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.nap-item p {
    color: var(--text-muted);
}


/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.faq__item summary {
    padding: 24px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq__item .icon-arrow {
    color: var(--yellow-main);
    transition: transform 0.3s ease;
}

.faq__item[open] .icon-arrow {
    transform: rotate(180deg);
}

.faq__content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: -10px;
    padding-top: 24px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer__brand p {
    color: var(--text-muted);
    max-width: 350px;
    margin-bottom: 24px;
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-muted);
}

.footer__socials a:hover {
    border-color: var(--yellow-main);
    color: var(--yellow-main);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    color: var(--text-muted);
}
.footer ul a:hover {
    color: var(--yellow-main);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================================
   FAB (Floating Action Button) - Advanced UI
   ========================================================================= */
.fab-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fab);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: fabPulse 2.5s infinite;
}

.fab-wa::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: fabRipple 2.5s infinite;
    z-index: -1;
}

.fab-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

.fab-wa:hover::before {
    animation-play-state: paused;
    opacity: 0;
}

@keyframes fabPulse {
    0% { transform: scale(1); }
    10% { transform: scale(1.05); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes fabRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* =========================================================================
   MOTION DESIGN PREMIUM
   ========================================================================= */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slow-zoom {
    animation: slowZoom 20s cubic-bezier(0.25, 0.46, 0.45, 0.94) alternate infinite forwards;
    will-change: transform;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none !important;
        opacity: 1;
        transform: none;
    }
    .slow-zoom {
        animation: none !important;
    }
    body::before {
        display: none;
    }
}


/* =========================================================================
   CAMPANHA MÊS DA INDEPENDÊNCIA
   ========================================================================= */
.campaign-bar {
    background-color: var(--yellow-main);
    color: #000;
    padding: 8px 0;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1001;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}
.marquee-track {
    display: flex;
    animation: marquee-scroll 35s linear infinite;
    width: max-content;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 40px; /* space between text */
}
.campaign-bar .badge {
    background: #000;
    color: var(--yellow-main);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .campaign-bar {
        font-size: 0.8rem;
    }
}
.campaign-hero-badge {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.campaign-hero-offer {
    background: rgba(24, 24, 27, 0.7);
    border-left: 3px solid var(--yellow-main);
    padding: 12px 16px;
    margin: 24px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    max-width: fit-content;
}
.services-section .campaign-service-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(250, 204, 21, 0.05);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-main);
}
.services-section .campaign-service-badge strong {
    color: var(--yellow-main);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    font-size: 1.05rem;
}

/* =========================================================================
   MOBILE OPTIMIZATIONS FOR HERO (CAMPAIGN)
   ========================================================================= */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start !important;
        margin-top: -88px;
        padding: 120px 0 60px !important;
    }
    .hero__title {
        font-size: clamp(2.2rem, 9vw, 3rem) !important;
        margin-bottom: 12px !important;
        line-height: 1.05 !important;
    }
    .hero__badge {
        margin-bottom: 12px !important;
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
    }
    .campaign-hero-badge {
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }
    .campaign-hero-offer {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        margin: 16px 0 !important;
    }
    .hero__subtitle {
        margin-bottom: 24px !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
    .hero__actions {
        gap: 12px !important;
    }
    .hero__actions .btn {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .hero__scroll-indicator {
        bottom: 20px !important;
    }
}
