/* ==========================================================================
   Home Hero
   ========================================================================== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    padding: 7rem 0 5rem;
    background-image:
        linear-gradient(125deg, rgba(0, 0, 0, 0.78) 18%, rgba(0, 0, 0, 0.52) 55%, rgba(255, 77, 0, 0.10) 100%),
        linear-gradient(135deg, rgba(19, 19, 19, 0.60) 0%, rgba(5, 5, 5, 0.35) 48%, rgba(9, 9, 9, 0.55) 100%),
        url("../IMG/embreagem-hero.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: end;
    gap: 2rem;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 1rem 0;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-copy p {
    max-width: 650px;
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-stat {
    padding: 1.4rem;
    border-radius: var(--radius-md);
}

.hero-stat strong,
.hero-stat a {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.1rem;
    line-height: 1.55;
}

.hero-highlight {
    border-color: rgba(255, 77, 0, 0.38);
    background: linear-gradient(180deg, rgba(255, 77, 0, 0.18), rgba(255, 77, 0, 0.06));
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: var(--shadow-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background-size: 110%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 1.7rem;
}

.service-card h3,
.product-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
}

.service-card p,
.contact-item p {
    margin: 0;
    color: #d0d0d0;
    line-height: 1.7;
}

.service-card:hover h3 {
    color: var(--color-primary);
}

.service-cta {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2.5rem;
}

.about-visual {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #111;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.75) 100%);
}

.frame-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-visual strong {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: #fff;
    font-family: "Rajdhani", sans-serif;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

/* ==========================================================================
   Featured Products
   ========================================================================== */
.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    overflow: hidden;
    padding-bottom: 1.2rem;
}

.product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.28) 100%);
}

.product-image-1,
.product-image-2,
.product-image-3,
.product-image-4 {
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 140, 60, 0.22), transparent 28%),
        radial-gradient(circle at 50% 50%, rgba(255, 77, 0, 0.18), transparent 38%),
        linear-gradient(180deg, #6a2a0d 0%, #2a0f05 45%, #050505 100%);
}

.product-image img {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: translateY(8px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-card h3,
.product-card .btn {
    margin: 1.2rem 1.2rem 0;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-item + .contact-item {
    margin-top: 1.3rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-item a {
    font-size: 1.15rem;
    font-weight: 700;
}
