.home {
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 100vh;
    background: url('../images/background-mwp.png');
    position: relative;
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.05);
}

/*** 1. HERO ***/
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px;
    justify-content: space-between;
    display: flex;
    flex: 1;
    align-items: center;
}
.hero .titre {
    width: 65%;
}
h1 {
    font-family: "Inter", sans-serif;
    line-height: 1;
    color: #13212f;
    font-size: 3.2em;
    line-height: 1.15;
    margin: 10px 0 15px;
    font-weight: bolder;
}
h1 span,
h2 span  {
    color: #b7bd24;
}
h2 {
    font-family: "Poppins", sans-serif;
    font-weight: bolder;
}
.sub {
    font-size: 1.5em;
    margin: 10px 0 20px;
    font-weight: 600;
}
.sub:nth-child(4) {
    font-size: 2em;
}
.sub span {
    color: #c6d300;
    font-weight: 700;
}
.accroche {
    max-width: 500px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
}
.arguments {
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}
.arguments li {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #374151;
    background: rgba(255,255,255,0.6);
    padding: 8px 14px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}
.arguments .icon {
    margin-right: 8px;
    color: #c6d300;
    font-size: 1em;
}
.positioning {
    margin: 20px 0;
    font-weight: 500;
    color: #111827;
}
.btn {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.btn a:first-child {
    background: #c6d300;
    color: #111;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(198,211,0,0.25);
    transition: 0.2s;
}
.btn a:first-child:hover {
    transform: translateY(-2px);
}
.btn a:nth-child(2) {
    border: 1px solid #d1d5db;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    color: #111;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
}
.btn a:nth-child(3) {
    font-size: 0.9em;
    color: #374151;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.2s;
}
.btn a:nth-child(3):hover {
    background: rgba(0,0,0,0.05);
}
.btn a .icon {
    transition: transform 0.2s;
}
.btn a:hover .icon {
    transform: translateX(4px);
    transition: 0.2s;
}
.stars {
    color: #fcc849;
    display: inline-block;
    margin-right: 10px;
}
.illus {
    width: 50%;
    height: 100%;
    display: block;
    content: '';
    align-self: flex-start;
}

/*** 2. PRÉSENTATION ***/
.mwp {
    width: 100%;
    min-height: 100vh;
    background: url('../images/background-mwp.png');
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.05);
}
.why {
    max-width: 1200px;
    height: auto;
}
.why h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #13212f;
    font-weight: bolder;
    text-align: center;
}
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}
.card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    transition: 0.25s;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid #c6d300;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.tag {
    font-size: 0.75em;
    font-weight: 600;
    color: #c6d300;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.card h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #111827;
    font-weight: bold;
}
.card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.card ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #4b5563;
}
.card ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #c6d300;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}
.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    text-decoration: none;
    color: #111;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(198,211,0,0.15);
    transition: 0.2s;
}
.card-btn:hover {
    background: #c6d300;
    color: #111;
}
.card-btn .icon {
    transition: transform 0.2s;
}
.card-btn:hover .icon {
    transform: translateX(4px);
}

/*** 3. OFFRES ***/
section.offres {
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 100vh;
    background: url('../images/background-mwp.png');
    position: relative;
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
div.offres {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}
.offre {
    width: 350px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    transition: 0.25s;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid #c6d300;
}
.offre:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.offre h3 {
    font-size: 1.2em;
    margin-bottom: 15px 0 0 0;
    color: #111827;
    font-weight: bold;
    text-align: center;
}
.offre p.price {
    font-size: 2em;
    text-align: center;
    font-weight: 600;
    color: #c6d300;
    letter-spacing: 1px;
    display: block;
    margin: 0;
    line-height: 1;
    padding: 0;
    line-height: 1.5;
}
.offre p.price span {
    color: #000;
    font-size: 0.7em;
    display: inline-flex;
    margin: 0;
    margin-left: 10px;
    padding: 0;
}
.offre p.setup {
    color: #5d626b;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}
.offre ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.offre ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #4b5563;
}
.offre ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #c6d300;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}
.cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    text-decoration: none;
    color: #111;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(198,211,0,0.15);
    transition: 0.2s;
    margin: 0 auto;
}
.cta:hover {
    background: #c6d300;
    color: #111;
}
.cta .icon {
    transition: transform 0.2s;
}
.cta:hover .icon {
    transform: translateX(4px);
}
.custom {
    text-align: center;
}
.custom a {
    color:#b7bd24;
}

/*** 4. RÉALISATIONS ***/ 
section.realisations {
    width: 100%;
    height: 100vh;
    background: url('../images/background-mwp.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px 3px rgba(0,0,0,0.05);
}
.realisations div.titre {
    margin: 50px 0;
    text-align: center;
}
.refs {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), 50% rgba(255,255,255,1));
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scroll 50s linear infinite;
}
.refs:hover .track {
    animation-play-state: paused;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.reference {
    min-width: 260px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.reference:hover {
    transform: translateY(-5px);
}
.reference img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.reference p {
    padding: 10px;
    font-size: 1.2em;
    color: #111;
    text-align: center;
    font-weight: bold;
}
.reference p span {
    font-size: 0.8em;
    font-weight: 500;
    display: block;
    font-style: italic;
    color:#747716;
}
.refs::before,
.refs::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}
.refs::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.refs::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.rdv {
    padding: 100px 20px;
    text-align: center;
    background: url('../images/background-mwp.png');
}
.rdv .container {
    max-width: 1100px;
    margin: 0 auto;
}
.rdv-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.rdv-form select,
.rdv-form input {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.95em;
    flex: 1;
}
.rdv-form button {
    background: #c6d300;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.rdv-form button:hover {
    transform: translateY(-2px);
}
.rdv-bar {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.6);
    border: 1px solid #e5e7eb;
    border-radius: 12px; /* Moins arrondi */
    padding: 10px;
    max-width: 1100px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.bar-item { flex: 1; position: relative; }
.flex-2 { flex: 2; }
.button-container {
    flex: none; 
    margin-left: auto;
}
.btn-submit {
    background: #c6d300;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #d4e100;
}
.btn-submit span{
    transition: 0.2s;
}
.btn-submit:hover span {
    transform: translateX(5px);
    transition: 0.2s;
}
.btn-modify-date {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    margin-bottom: 12px;
}
.btn-modify-date:hover {
    background: #e5e7eb;
    color: #111;
}
.date-title-display {
    font-weight: 800;
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 15px;
}
.rdv-bar input {
    width: 100%;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}
.rdv-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: white;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    border: 1px solid #eee;
}
.rdv-dropdown-content.show { display: block; }
.slots-grid-popup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.slot-btn {
    padding: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}
.flatpickr-calendar {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.rdv-dropdown-content {
    display: none;
    position: absolute;
    bottom: calc(100% + 15px); 
    top: auto; 
    left: 0;
    background: white;
    width: 350px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 99999 !important; 
    border: 1px solid #eee;
}
.rdv {
    position: relative;
    overflow: visible !important;
}
.container {
    overflow: visible !important;
}
.info-realisations,
.info-rdv {
    font-size: 0.9em;
    color: #5d626b;
    margin-top: 10px;
}
.mention-dispo { margin-top: 15px; color: #6b7280; }

.full-day {
    background: #eee;
    color: #999;
    cursor: not-allowed;
}

.illus {
    width: 35%;
    height: calc(100vh - 200px);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.illus video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/*** BOUTON PLAY ***/
.play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);

    color: white;
    font-size: 2.2rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s;
}

.play-video:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(198,211,0,0.9);
    color: #111;
}