:root {
  --container: 1280px;   /* your boxed width */
  --page-padding: 20px;  /* same side padding as other sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    width: 100%;
    padding: 0px 20px;
}

.logo-header {
    width: 142px;
}


/* Hero Section */

.section1 {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section1 .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: none;
  width: 100%;
  padding-left: max(var(--page-padding), calc((100vw - var(--container)) / 2 + var(--page-padding)));
  padding-right: 0;
}

.section1-left-container {
  flex: 0 1 600px;
  max-width: 640px;
  padding: 94px 40px 94px 0px;
  margin-left: 0;
}

.section1-right-container {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 1130px) {
  .section1-left-container,
  .section1-right-container {
    width: 50%;
    flex: 0 0 50%;  
    max-width: none;
  }
}

@media (max-width: 767px) {
  .section1 .container {
    padding: 0 20px;       /* your existing rule is fine here */
    max-width: 600px;      /* your existing rule */
  }
  .section1-left-container,
  .section1-right-container {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    padding-left: 0;       /* rely on the container’s 20px padding */
    padding-right: 0;
  }
}

.alerte-offre {
    padding: 16px 12px;
    background-color: #FAEAEA;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.alerte-offre img {
    width: 23px;
    margin-right: 16px;
}


.highlight {
    font-size: 11px;
    color: #FFF;
    font-weight: 700;
    align-self: center;
    padding: 3px 6px;
    border-radius: 15px;
    background-color: #ED282C;
    width: fit-content;
    z-index: 9;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    position: absolute;
    top: 0px;
    right: 0px;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.06);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- SWIPER 1 --- */

.section1 .swiper {
    width: 100%;
    height: 100%;
    background-color: #334F2F;
}

.section1 .swiper-slide {
    background-size: cover;
    background-position: center center;
    display: flex !important;
    align-items: flex-end;
}

.section1 .swiper-slide.one {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/slide1.png);
}

.section1 .swiper-slide.two {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/slide2.png);
}

.section1 .swiper-slide.three {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/slide3.png);
}

.section1 .swiper-text {
    width: 100%;
    padding: 100px 40px 60px 40px;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #FFF;
    font-style: italic;
    background: linear-gradient(180deg, rgba(18, 39, 19, 0) 12%, rgba(18, 39, 19, 0.7) 49%, rgba(18, 39, 19, 0.95) 83%);
}

.section1 .swiper-text span {
    max-width: 520px;
    width: 100%;
    display: block;
}

.section1 .swiper-pagination-bullet {
    background: #d3d3d3 !important;
    transition: .3s;
}

.section1 .swiper-pagination-bullet:hover {
    background: #FFF !important;
}

.section1 .swiper-pagination-bullet-active {
    background: #FFF !important;
}

.section1-left-container h1 {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    line-height: 36px;
    font-weight: 800;
    color: #1A1A1A;
    margin-top: 46px;
    margin-bottom: 40px;
}


.offer-type {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
    padding-right: 140px;

}

.offer-text {
    text-align: left;
    position: relative;
    width: 100%;

}

.offer-1 {
    margin-bottom: 4px;
}

.offer {
    background-color: #FFF;
    border: 2px solid #BABABA;
    border-radius: 8px;
    padding: 17px 14px;
    position: relative;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    transition: .3s;
    cursor: pointer;
    font-family: "Inter", sans-serif;

}

.offer input {
    margin-right: 10px;
    accent-color: rgba(227, 13, 34, 1);
    margin-bottom: 20px;
    margin-top: 4px;
}

.offer.active {
    border: 2px solid #4C7B4D;
    background-color: #FFF;
}

.offer ul {
    list-style: none;
}

.offer ul li {
    color: #2A502B;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.offer ul li img {
    margin-right: 10px;
    width: 16px;
}

.offer ul li:not(:last-child) {
    margin-bottom: 10px;
}

.cadeau {
    font-size: 12px;
    color: #2A502B;
    padding: 2px 4px;
    border-radius: 4px;
    background-color: #EAEEEA;
    font-weight: 500;
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    margin-bottom: 16px;
}

.cadeau img {
    width: 12px;
    margin-right: 8px;
}

.radio-input:checked:has(> .offer) {
    border-color: #000;
}

.price {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
}

.price span {
    font-weight: 500;
    color: #767676;
    text-decoration: line-through;
}


.subscribe-button {
    font-size: 16px;
    line-height: 16px;
    padding: 16px;
    background-color: #FCE73D;
    color: #000000;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 16px;
}

.subscribe-button:hover {
    background-color: #ffd450;
}



.section2 {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 90px 0px;
    background-color: #EAEEEA;
}

.section2 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-items: flex-start;
    overflow: hidden;
}

.section2 h2 {
    font-family: "Inter", sans-serif;
    font-size: 32px;
    line-height: 38px;
    font-weight: 800;
    color: #1A1A1A;
    width: 100%;
    margin-bottom: 40px;
}


/* --- SWIPER 2 --- */

.section2 .swiper {
    width: 100%;
    height: 200px;
}

.section2 .swiper-slide {
    background-size: cover;
    background-position: center center;
    display: flex !important;
    align-items: flex-end;
    border-radius: 8px;
}

.section2 .swiper-slide.one {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper1.png);
}

.section2 .swiper-slide.two {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper2.png);
}

.section2 .swiper-slide.three {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper3.png);
}

.section2 .swiper-slide.four {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper4.png);
}

.section2 .swiper-slide.five {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper5.png);
}

.section2 .swiper-slide.six {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper6.png);
}

.section2 .swiper-slide.seven {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper7.png);
}

.section2 .swiper-slide.eight {
    background-image: url(/src/midol/static/Offre-abonnes-canal/img/swiper8.png);
}


.section2 .swiper-text {
    padding: 20px;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;

}


.section2 .swiper-button-next,
.section2 .swiper-button-prev {
    background-color: #111111;
    border-radius: 30px;
    padding: 5px;
    height: 30px;
    width: 30px;
}

.section2 .swiper-button-next svg,
.section2 .swiper-button-prev svg {
    width: 8px;
}

.section2 .swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

.section2 .swiper-button-prev {
    right: auto !important;
    left: 10px !important;
}


/* Footer */
.footer {
    background-color: #111111;
    padding: 15px 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.footer .container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    height: 37px;
    width: auto;
}

.footer p {
    font-family: "Inter Tight", sans-serif;
    font-size: 20px;
    line-height: 27px;
    font-weight: 500;
    color: #FFF;
    margin-top: 10px;
    margin-bottom: 14px;
    text-align: center;
}


.footer a {
    color: #b8b8b8;
    text-decoration: underline;
}

.footer a:hover {
    color: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.social-icons img {
    height: 20px;
    width: auto;
}

.social-icons a {
    transition: .3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}






@media screen and (max-width:767px) {

    .section1 {
        padding: 40px 0px 60px 0px;
    }

    .section2 {
        padding: 60px 0px;
    }

    .section2 h2 {
        font-size: 26px;
        line-height: 33px;
    }

    .section1 .container {
        padding: 0px 20px;
    }

    .section1-left-container h1 {
        margin-top: 26px;
        margin-bottom: 20px;
    }

    .section1 .swiper {
        min-height: 500px;
    }

    .section1-left-container {
        padding-top: 0px;
        padding-bottom: 0px;

    }

    .section1 .swiper-text {
        padding: 100px 20px 40px 20px;
        font-size: 20px;
    }


    .section1-right-container {
        margin-top: 16px;
    }


    .section2 h2 {
        margin-bottom: 30px;
    }


    .section1 .container {
        max-width: 600px;
    }

    .footer p {
        font-size: 18px;
        line-height: 27px;
    }

    .footer .container {
        flex-direction: column;
    }

    .social-icons {
        margin-top: 20px;
    }

}