/* ============================================
   NUTRAGILE - Page CMS "La marque"
   ============================================ */

/* ---- Casser le container PS pour le full-width ---- */
#cms #wrapper .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

#cms #content-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

#cms .page-cms,
#cms .page-content.page-cms {
    max-width: 100% !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

#cms #main {
    max-width: 100% !important;
    padding: 0 !important;
}

/* ---- Boutons communs ---- */
.nt-cms-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nt-cms-btn--filled {
    background: var(--nutragile-green-bright);
    color: var(--nutragile-white);
    border: 2px solid var(--nutragile-green-bright);
}

.nt-cms-btn--filled:hover {
    background: var(--nutragile-green-dark);
    border-color: var(--nutragile-green-dark);
    color: var(--nutragile-white);
    text-decoration: none;
}

.nt-cms-btn--outline {
    background: transparent;
    color: var(--nutragile-green-bright);
    border: 2px solid var(--nutragile-green-bright);
}

.nt-cms-btn--outline:hover {
    background: var(--nutragile-green-bright);
    color: var(--nutragile-white);
    text-decoration: none;
}

/* ============================================
   SECTION 1 : HERO
   ============================================ */

.nt-cms-hero {
    position: relative;
    width: 100%;
    min-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero/marque-hero.png') center / cover no-repeat;
    overflow: hidden;
}

.nt-cms-hero .nutragile-hero__ctas,
.nt-cms-satisfaction .nutragile-hero__ctas,
.nt-cms-reviews .nutragile-hero__ctas {
    justify-content: center !important;
}

.nt-cms-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.nt-cms-hero__deco {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: white;
    -webkit-mask: url(../img/libellule.svg) no-repeat center / contain;
    mask: url(../img/libellule.svg) no-repeat center / contain;
    position: absolute;
    top: 125px;
    z-index: 200;
}

.nt-cms-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 60px 24px;
}

.nt-cms-hero__title {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 36px;
    color: var(--nutragile-white);
    margin: 0 0 20px;
    line-height: 1.2;
}

.nt-cms-hero__text {
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 14px;
    color: var(--nutragile-white);
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: 0.9;
}

.nt-cms-hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTION 2 : INTRO MARQUE
   ============================================ */

.nt-cms-intro {
    padding: 64px 0;
    background: var(--nutragile-light-cream);
}

.nt-cms-intro__inner {
    display: flex;
    align-items: center;
    gap: 108px;
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 24px;
}

.nt-cms-intro__img {
    flex: 0 0 45%;
    max-width: 45%;
}

.nt-cms-intro__img img {
    width: 734px;
    height: 553px;
}

.nt-cms-intro__text {
    flex: 1;
}

.nt-cms-intro__text h2 {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 26px;
    color: var(--nutragile-text-dark);
    line-height: 1.3;
    margin: 0 0 30px;
}

.nt-cms-intro__text p {
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 14px;
    color: var(--nutragile-text-dark);
    line-height: 1.6;
    margin: 0 0 30px;
}

.nt-cms-intro__text ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 70px !important;
}

.nt-cms-intro__text ul li {
    font-family: var(--nutragile-font-link);
    font-weight: 500;
    font-size: 14px;
    color: var(--nutragile-text-dark);
    padding: 3px 0 3px 16px;
    position: relative;
}

.nt-cms-intro__text ul li::before {
    content: '•';
    font-size: 30px;
    position: absolute;
    left: 0;
    top: 2px;
}

.nt-cms-intro__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   SECTION 3 : CHIFFRES
   ============================================ */

.nt-cms-stats {
    width: 100%;
    background: var(--nutragile-white);
    padding: 48px 24px;
}

.nt-cms-stats__inner {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1170px;
    margin: 0 auto;
    gap: 24px;
}

.nt-cms-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.nt-cms-stats__number {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 28px;
    color: var(--nutragile-green-bright);
}

.nt-cms-stats__label {
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 13px;
    color: var(--nutragile-text-light);
    line-height: 1.4;
}

/* ============================================
   SECTION 4 : PHYTOTHERAPIE
   ============================================ */

.nt-cms-phyto {
    padding: 64px 0;
    background: var(--nutragile-light-cream);
}

.nt-cms-phyto__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.nt-cms-phyto__title {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 26px;
    color: var(--nutragile-text-dark);
    margin: 0 0 32px;
    line-height: 1.3;
}

.nt-cms-phyto__content p {
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 14px;
    color: var(--nutragile-text-dark);
    line-height: 1.7;
    margin: 0 0 16px;
}

.nt-cms-phyto__content p strong {
    font-weight: 500;
}

/* ============================================
   SECTION 5 : ENGAGEMENT ECOLOGIQUE
   ============================================ */

.nt-cms-eco {
    width: 100%;
    padding: 0px 64px 0px 24px;
}

.nt-cms-eco__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1430px;
    margin: 0 auto;
}

.nt-cms-eco__check {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.nt-cms-eco__check svg,
.nt-cms-eco__check img {
    width: 14px;
    height: 14px;
}

.nt-cms-eco__text {
    flex: 1;
}

.nt-cms-eco__text h2 {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 24px;
    color: var(--nutragile-text-dark);
    line-height: 1.3;
    margin: 0 0 32px;
}

.nt-cms-eco__point {
    margin-bottom: 30px;
}

.nt-cms-eco__point strong {
    font-family: var(--nutragile-font-link);
    font-weight: 500;
    font-size: 14px;
    color: var(--nutragile-green-bright);
    margin-bottom: 6px;
}

.nt-cms-eco__point strong.black {
    color: var(--nutragile-text-dark);
}

.nt-cms-eco__point p {
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 13px;
    color: var(--nutragile-text-dark);
    line-height: 1.6;
    margin: 0;
}

.nt-cms-eco__img {
    flex: 0 0 40%;
}

/* ============================================
   SECTION 6 : SATISFACTION
   ============================================ */

.nt-cms-satisfaction {
    padding: 99px 24px 0px 24px;
    display: flex;
    justify-content: center;
    background: var(--nutragile-light-cream);
}

.nt-cms-satisfaction__card {
    background: var(--nutragile-white);
    padding: 48px 64px;
    text-align: center;
    max-width: 720px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.nt-cms-satisfaction__card > * {
    position: relative;
    z-index: 1;
}

.nt-cms-satisfaction__card h2 {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 24px;
    color: var(--nutragile-text-dark);
    margin: 0 0 28px;
    line-height: 1.3;
}

.nt-cms-satisfaction__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .nt-cms-hero {
        min-height: 360px;
    }

    .nt-cms-hero__title {
        font-size: 28px;
    }

    .nt-cms-intro__inner {
        flex-direction: column;
    }

    .nt-cms-intro__img {
        flex: none;
        max-width: 100%;
    }

    .nt-cms-eco__inner {
        flex-direction: column;
    }

    .nt-cms-eco__img {
        flex: none;
        max-width: 100%;
        order: -1;
    }

    .nt-cms-stats__inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nt-cms-stats__item {
        flex: 0 0 45%;
    }

    .nt-cms-reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nt-cms-hero {
        min-height: 300px;
    }

    .nt-cms-hero__title {
        font-size: 22px;
    }

    .nt-cms-hero__deco {
        display: none;
    }

    .nt-cms-hero__text {
        font-size: 13px;
    }

    .nt-cms-intro__text h2,
    .nt-cms-phyto__title,
    .nt-cms-eco__text h2,
    .nt-cms-satisfaction__card h2,
    .nt-cms-reviews__title {
        font-size: 20px;
    }

    .nt-cms-stats__item {
        flex: 0 0 100%;
    }

    .nt-cms-stats__number {
        font-size: 22px;
    }

    .nt-cms-satisfaction__card {
        padding: 32px 24px;
    }

    .nt-cms-reviews__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .nt-cms-hero__ctas,
    .nt-cms-intro__ctas,
    .nt-cms-satisfaction__ctas,
    .nt-cms-reviews__ctas {
        flex-direction: column;
        align-items: center;
    }

    .nt-cms-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   NUTRAGILE - Page CMS "Le magasin"
   ============================================ */

/* ---- Hero ---- */
.nt-cms-magasin-hero {
    width: 100%;
    min-height: 710px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero/magasin-hero.jpg') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.nt-cms-magasin-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.nt-cms-magasin-hero__deco {
    position: absolute;
    top: 59%;
    left: -140px;
    transform: translateY(-50%);
    width: 1000px;
    height: 1000px;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-mask: url(../img/libellule.svg) no-repeat center / contain;
    mask: url(../img/libellule.svg) no-repeat center / contain;
    pointer-events: none;
    z-index: 2;
}

.nt-cms-magasin-hero__title {
    position: relative;
    z-index: 3;
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 60px;
    color: var(--nutragile-white);
    text-align: center;
    margin: 0;
    padding: 0 24px;
}

/* ---- Fiche magasin ---- */
.nt-cms-magasin-card {
    max-width: 1170px;
    margin: 48px auto;
    padding: 0 24px;
}

.nt-cms-magasin-card__inner {
    display: flex;
    gap: 0;
    background: var(--nutragile-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nt-cms-magasin-card__info {
    flex: 1;
    padding: 36px;
}

.nt-cms-magasin-card__heading {
    font-family: var(--nutragile-font-link);
    font-weight: 400;
    font-size: 20px;
    color: var(--nutragile-green-bright);
    margin: 0 0 8px;
}

.nt-cms-magasin-card__name {
    font-family: var(--nutragile-font);
    font-weight: 500;
    font-size: 15px;
    color: var(--nutragile-text-dark);
    margin: 0 0 20px;
}

.nt-cms-magasin-card__line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 14px;
    color: var(--nutragile-text-dark);
}

.nt-cms-magasin-card__line svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.nt-cms-magasin-card__line a {
    color: var(--nutragile-text-dark);
    text-decoration: none;
}

.nt-cms-magasin-card__line a:hover {
    color: var(--nutragile-green-bright);
}

/* Horaires */
.nt-cms-magasin-card__hours {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.nt-cms-magasin-card__hours svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.nt-cms-magasin-card__hours-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 4px 16px;
    font-family: var(--nutragile-font-link);
    font-weight: 300;
    font-size: 14px;
    color: var(--nutragile-text-dark);
}

.nt-cms-magasin-card__closed {
    color: #e74c3c;
    font-weight: 400;
}

/* Bouton carte */
.nt-cms-magasin-card__map-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--nutragile-green-bright);
    border-radius: 6px;
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 14px;
    color: var(--nutragile-green-bright);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nt-cms-magasin-card__map-btn:hover {
    color: var(--nutragile-green-bright);
}

/* Image + badge */
.nt-cms-magasin-card__img {
    flex: 0 0 42%;
    position: relative;
}

.nt-cms-magasin-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nt-cms-magasin-card__badge {
    position: absolute;
    top: 10%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    padding: 10px 20px;
    border-radius: 25px;
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 14px;
    color: var(--nutragile-green-bright);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ---- CTA ---- */
.nt-cms-magasin-cta {
    width: 100%;
    background: var(--nutragile-cream);
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nt-cms-magasin-cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background-color: var(--nutragile-light-cream);
    -webkit-mask: url(../img/libellule.svg) no-repeat center / contain;
    mask: url(../img/libellule.svg) no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

.nt-cms-magasin-cta > * {
    position: relative;
    z-index: 1;
}

.nt-cms-magasin-cta h2 {
    font-family: var(--nutragile-font);
    font-weight: 400;
    font-size: 24px;
    color: var(--nutragile-text-dark);
    margin: 0 0 24px;
}

.nt-cms-magasin-cta .nutragile-hero__ctas {
    justify-content: center !important;
}



/* ---- Responsive ---- */
@media (max-width: 992px) {
    .nt-cms-magasin-hero {
        min-height: 280px;
    }

    .nt-cms-magasin-hero__title {
        font-size: 30px;
    }

    .nt-cms-magasin-card__inner {
        flex-direction: column;
    }

    .nt-cms-magasin-card__img {
        flex: none;
        height: 280px;
    }
}

@media (max-width: 600px) {
    .nt-cms-magasin-hero {
        min-height: 220px;
    }

    .nt-cms-magasin-hero__title {
        font-size: 24px;
    }

    .nt-cms-magasin-hero__deco {
        width: 160px;
        height: 160px;
    }

    .nt-cms-magasin-card__info {
        padding: 24px;
    }
}

.nt-cms-legal {
    background: var(--nutragile-light-cream);
}

.nt-cms-legal-text {
    max-width: 1490px;
    margin: 0 auto;
    padding: 48px 0;
    color: var(--nutragile-text-dark);
}

.nt-cms-legal-text h2 {
    font-family: var(--nutragile-font);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.nt-cms-legal-text h3 {
    font-family: var(--nutragile-font);
    font-size: 28px;
    font-weight: 400;
}

.nt-cms-legal-text h4 {
    font-family: var(--nutragile-font-link);
    font-size: 16px;
    font-weight: 500;
}

.nt-cms-legal-text span {
    font-family: var(--nutragile-font);
    font-size: 16px;
    font-weight: 400;
    margin-top: -20px;
    margin-bottom: 20px;
    display:block;
    color: var(--nutragile-text-light);
}

.nt-cms-legal-text ul {
    list-style-type: none !important;
}

.nt-cms-legal-text a {
    color: var(--nutragile-text-dark);
    text-decoration: underline;
}
.nt-cms-legal-text .table-bordered,
.nt-cms-legal-text .table-bordered th,
.nt-cms-legal-text .table-bordered td{
    border: 2px solid var(--nutragile-cream) !important;
}
