:root {
    --brand-green: #198754;
    --brand-gold: #ffc107;
    --soft-bg: #f8f9fa;
}

body {
    background: #fff;
}

.section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: #6c757d;
    max-width: 760px;
}

.hero-slide {
    min-height: 72vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28));
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.hover-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12);
}

.bg-soft {
    background: var(--soft-bg);
}

.badge-soft {
    background: rgba(25, 135, 84, .12);
    color: var(--brand-green);
}

.object-cover {
    object-fit: cover;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh; /* hauteur hero */
    overflow: hidden;
}

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

.hero-slider .slide {
    width: 100%;
    height: 85vh;
    position: relative;
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}
.hero-carousel,
.hero-slide {
    height: 85vh;
}

.hero-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .hero-carousel,
    .hero-slide {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}
/* ==========================
   HERO SLIDER
========================== */

.hero-slide{
    position:relative;
    height:500px;
    overflow:hidden;
}

.hero-img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    z-index:2;
    max-width:800px;
}

.hero-content h1{
    font-size:3rem;
}

.hero-content p{
    font-size:1.2rem;
}

/* TABLETTE */

@media (max-width:992px){

    .hero-slide{
        height:400px;
    }

    .hero-content h1{
        font-size:2.2rem;
    }

}

/* MOBILE */

@media (max-width:768px){

    .hero-slide{
        height:320px;
    }

    .hero-content{
        width:90%;
    }

    .hero-content h1{
        font-size:1.6rem;
    }

    .hero-content p{
        font-size:.95rem;
    }

    .hero-content .btn{
        font-size:.9rem;
        padding:.55rem 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next{
        display:none;
    }

}
/* FORCE SLIDE HORIZONTAL (pas fade) */
.carousel-item {
    transition: transform 0.8s ease-in-out !important;
}

/* Bootstrap 5 override safe */
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

/* direction claire gauche -> droite */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* éviter effet fade parasite */
.carousel-fade .carousel-item {
    opacity: 1 !important;
    transition: transform 0.8s ease-in-out !important;
}
@media (max-width: 768px) {
    .carousel-item {
        transition: transform 0.6s ease-in-out !important;
    }

    .hero-overlay {
        opacity: .6;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-slide img {
        height: 320px;
        object-fit: cover;
    }
}
/* =========================
   HERO PRO SLIDER
========================= */

.hero-pro {
    position: relative;
    overflow: hidden;
}

.hero-carousel-pro .carousel-item {
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* SLIDE EFFECT CLEAN (gauche → droite fluide) */
.hero-carousel-pro .carousel-item-next,
.hero-carousel-pro .carousel-item-prev,
.hero-carousel-pro .carousel-item.active {
    display: block;
}

/* IMAGE */
.hero-slide-pro {
    position: relative;
    height: 85vh;
    min-height: 520px;
    overflow: hidden;
}

.hero-img-pro {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s ease;
}

/* zoom lent style premium */
.carousel-item.active .hero-img-pro {
    transform: scale(1.15);
}

/* OVERLAY */
.hero-overlay-pro {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.75),
        rgba(0,0,0,.35),
        rgba(0,0,0,.6)
    );
}

/* CONTENT */
.hero-content-pro {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-text-box {
    max-width: 650px;
    color: #fff;
}

/* ANIMATION TEXT */
.animate-in {
    animation: heroFadeUp 1s ease forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 25px;
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #198754;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.hero-btn:hover {
    background: #146c43;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {

    .hero-slide-pro {
        height: 60vh;
        min-height: 380px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}