/* --- Global --- */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    color: #1a1a1a;
    background-color: #fff;
}

/*h1, h2, h3 {
    text-align: center;
    margin: 0;
}*/

p {
    margin: 0;
    line-height: 1.5;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-image: url('../images/hero-travel-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: WHITESMOKE;
}

.hero-content p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 50px;
}

.btn-primary {
    background-color: #00796b;
    color: #fff;
    border: none;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #009688;
    transform: translateY(-2px);
}

/* --- Section avec image de fond floutée --- */
.info-bg {
    position: relative;
    background: #fbfbfb;
    overflow: hidden;
}

/* Image à droite avec flou et voile blanc + dégradé haut/bas */
.info-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-image: url('../images/info-travel-bg.jpg');
    background-size: cover;
    background-position: center right;
    filter: blur(3px) brightness(1.1);
    opacity: 0.8;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    z-index: 1;
    /*    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);*/
    /* Dégradé doux vers la gauche (#fbfbfb) */
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
}

/* Voile blanc doux sur l’image */
.info-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px; /* hauteur du dégradé */
    background: linear-gradient(to bottom, rgba(251, 251, 251, 0) 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
}

/* Conteneur global centré */
.overlay-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Sections centrées */
.how-it-works,
.parking-offer {
    position: relative;
    z-index: 4;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* --- How It Works --- */
.how-it-works {
    padding: 60px 20px;
    background: transparent;
}

.how-it-works h2 {
    font-size: 2.5rem;
    color: #004d40;
    margin-bottom: 40px;
}

/* --- Grid 2x2 --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    max-width: 700px;
    margin: 0 auto;
}

/* Step items uniformes */
.step-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 170px;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-bg {
    background-color: #fdf5ef;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover .icon-bg {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(4, 147, 151, 0.25);
}

.step-item img {
    width: 30px;
    height: 30px;
}

.step-item p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 992px) {
    .info-bg::before,
    .info-bg::after {
        display: none; /* pas d'image sur mobile */
    }

    .steps-grid {
        grid-template-columns: 1fr; /* une seule colonne */
        gap: 20px;
    }

    .how-it-works,
    .parking-offer {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* --- Parking Offer --- */
.blur-card {
    background: #fff;
    margin: 60px auto;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    text-align: center;
}

.new-label {
    font-size: 1rem;
    color: #d35400;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.blur-card h3 {
    font-size: 2.5rem;
    color: #004d40;
    margin-bottom: 10px;
}

.blur-card p {
    color: #555;
    margin-bottom: 45px;
    font-size: 1rem;
}

.btn-orange {
    background-color: #d35400;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-orange:hover {
        background-color: #e67e22;
        transform: translateY(-2px);
    }

/* --- Deals Section --- */
.deals {
    padding: 80px 20px;
}

.deals h2 {
    color: #004d40;
    margin-bottom: 45px;
    font-size: 2.5rem;
    text-align: center;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.deal-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .deal-card:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    }

    .deal-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Texte sur la carte */
.inspiration-txt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 0 25px;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}

.inspiration-txt p {
    margin: 3px 0;
    font-weight: 600;
}

.txt-white {
    color: #fff;
}

.txt-bold {
    font-weight: 700;
}

.txt-24 {
    font-size: 1.25rem;
}

/* */
.container50 {
    margin-bottom: 70px;
}

/* --- Animations Fade-in --- */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .blur-card {
        width: 95%;
        padding: 40px 20px;
    }

    .fade-section {
        transform: translateY(25px);
    }
}
