/* =========================================================
   PHYZ FONCTIONNALITÉS
   Template public — DA PHYZ
   ========================================================= */

.phyz-feature-page {
    --phyz-green: #53A10F;
    --phyz-green-dark: #2F551F;
    --phyz-text: #242424;
    --phyz-gray: #F0F0F0;
    --phyz-border: #E7E7E7;

    color: var(--phyz-text);
    background: #fff;
    font-family: inherit;
    overflow-x: clip;
}

a.phyz-pricing-feature-link {
    color: #242020;
    font-weight: 700;
}

.phyz-feature-page { --phyz-sticky-top: 100px; }

.phyz-feature-page *,
.phyz-feature-page *::before,
.phyz-feature-page *::after {
    box-sizing: border-box;
}

.phyz-feature-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.phyz-feature-hero {
    background: #F0F0F0;
    padding: 35px 0 75px;
}

.phyz-feature-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 60px;

    font-size: 13px;
    color: #757575;
}

.phyz-feature-breadcrumb a {
    color: #757575;
    text-decoration: none;
    transition: color .2s ease;
}

.phyz-feature-breadcrumb a:hover {
    color: #53A10F;
}

.phyz-feature-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 65px;
    align-items: center;
}

.phyz-feature-hero-copy {
    max-width: 720px;
}

.phyz-feature-eyebrow {
    display: inline-block;
    color: #53A10F;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.phyz-feature-hero h1 {
    font-family: inherit;
    color: #242424 !important;

    font-size: clamp(34px, 4.8vw, 66px);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -1.8px;

    margin: 0 0 26px;
}

.phyz-feature-lead {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.65;
    color: #575757;
    font-weight: 500;
    margin: 0;
}

.phyz-feature-hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phyz-feature-hero-image img {
    display: block;
    width: 100%;
    max-height: 550px;
    height: auto;
    object-fit: contain;
}

.phyz-feature-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.phyz-feature-status {
    display: inline-block;
    color: #2F551F;
    border: 1px solid #53A10F;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 20px;
}

/* =========================================================
   BOUTONS
   ========================================================= */

.phyz-feature-page .phyz-feature-cta {
    margin: 0;
}

.phyz-feature-page .phyz-feature-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #53A10F;
    color: #fff !important;

    border: 1px solid #53A10F;
    border-radius: 4px;

    padding: 16px 24px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.3;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.phyz-feature-page .phyz-feature-button:hover {
    background: #2F551F;
    border-color: #2F551F;
    color: #fff !important;
    transform: translateY(-2px);
}

.phyz-feature-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #242424 !important;
    border: 1px solid #242424;
    background: transparent;

    padding: 16px 24px;
    border-radius: 4px;

    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;

    transition: background-color .25s ease, color .25s ease;
}

.phyz-feature-secondary-button:hover {
    background: #242424;
    color: #fff !important;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.phyz-feature-main-section {
    padding: 90px 0;
    background: #fff;
}

.phyz-feature-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 75px;
    align-items: start;
}

.phyz-feature-sidebar {
    min-width: 0;
}

.phyz-feature-sticky {
    position: sticky;
    top: 120px;
}

.phyz-sidebar-title {
    color: #53A10F;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    margin-bottom: 20px;
}

#phyz-feature-toc {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

#phyz-feature-toc a {
    color: #757575;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;

    padding: 7px 8px 7px 15px;
    border-left: 2px solid #E6E6E6;

    transition: color .2s ease, border-color .2s ease;
}

#phyz-feature-toc a:hover,
#phyz-feature-toc a.is-active {
    color: #53A10F;
    border-left-color: #53A10F;
}

#phyz-feature-toc a[data-level="h3"] {
    padding-left: 24px;
    font-size: 13px;
}

#phyz-feature-toc a[data-level="h4"] {
    padding-left: 32px;
    font-size: 12px;
}

.phyz-sidebar-cta {
    margin-top: 35px;
    padding: 24px 18px;
    background: #F0F0F0;
    border-radius: 8px;
}

.phyz-sidebar-cta > p {
    margin: 0 0 15px;
    font-weight: 700;
    font-size: 16px;
}

.phyz-sidebar-cta .phyz-feature-button {
    width: 100%;
    padding: 14px 10px;
    font-size: 13px;
}

.phyz-feature-article {
    min-width: 0;
    width: 100%;
    max-width: 890px;
}

/* =========================================================
   CONTENU ÉDITORIAL
   ========================================================= */

.phyz-feature-editorial {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    overflow-wrap: break-word;
}

.phyz-feature-editorial h2,
.phyz-feature-editorial h3,
.phyz-feature-editorial h4 {
    color: #242424 !important;
    font-family: inherit;
    font-style: normal;
    scroll-margin-top: 120px;
}

.phyz-feature-editorial h2 {
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 60px 0 22px;
}

.phyz-feature-editorial h3 {
    font-size: clamp(22px, 2.2vw, 27px);
    font-weight: 700;
    line-height: 1.3;
    margin: 38px 0 15px;
}

.phyz-feature-editorial h4 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 28px 0 12px;
}

.phyz-feature-editorial p {
    color: #444;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 23px;
}

.phyz-feature-editorial > p.phyz-feature-intro {
    font-size: 19px;
    color: #242424;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 45px;
}

.phyz-feature-editorial strong {
    color: #242424;
    font-weight: 700;
}

.phyz-feature-editorial a:not(.phyz-feature-button) {
    color: #53A10F;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.phyz-feature-editorial a:not(.phyz-feature-button):hover {
    color: #2F551F;
}

.phyz-feature-editorial ul,
.phyz-feature-editorial ol {
    margin: 0 0 28px 20px;
    padding: 0;
}

.phyz-feature-editorial li {
    padding: 3px 0;
}

/* =========================================================
   GALERIE / CARROUSEL
   ========================================================= */

.phyz-feature-gallery {
    margin: 45px 0;
    width: 100%;
    min-width: 0;
}

.phyz-feature-gallery-track {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;

    scrollbar-width: none;
}

.phyz-feature-gallery-track::-webkit-scrollbar {
    display: none;
}

.phyz-feature-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: #F0F0F0;
    border-radius: 8px;
    padding: 28px;
    overflow: hidden;
}

.phyz-feature-slide img {
    width: auto;
    max-width: 100%;
    max-height: 570px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.phyz-feature-slide figcaption {
    text-align: center;
    color: #757575;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
}

.phyz-feature-gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.phyz-feature-gallery-controls button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;

    padding: 0;
    background: #F0F0F0;
    color: #242424;
    border: 0;
    border-radius: 4px;

    font-size: 22px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.phyz-feature-gallery-controls button:hover {
    background: #53A10F;
    color: #fff;
}

.phyz-feature-gallery-controls button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.phyz-feature-gallery-controls button:disabled:hover {
    background: #F0F0F0;
    color: #242424;
}

.phyz-feature-gallery-count {
    color: #242424;
    font-size: 13px;
    font-weight: 700;
    min-width: 45px;
    text-align: center;
}

/* =========================================================
   VIDÉO
   ========================================================= */

.phyz-feature-video {
    width: 100%;
    margin: 45px 0;
}

.phyz-feature-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    background: #242424;
    border-radius: 8px;
}

.phyz-feature-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #242424;
    border-radius: 8px;
}

.phyz-feature-video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.phyz-video-transcript {
    margin-top: 16px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    padding: 18px;
}

.phyz-video-transcript summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #242424;
}

.phyz-video-transcript > div {
    padding-top: 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   OFFRES
   ========================================================= */

.phyz-feature-availability {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #E7E7E7;
}

.phyz-feature-availability h2,
.phyz-feature-related h2 {
    font-size: clamp(25px, 2.7vw, 34px);
    line-height: 1.25;
    font-weight: 800;
    color: #242424 !important;
    margin: 0 0 28px;
}

.phyz-feature-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.phyz-feature-offer {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px;
    background: #F0F0F0;
    border-radius: 8px;
}

.phyz-feature-offer-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #53A10F;
    color: #fff;
    font-weight: 700;
}

.phyz-feature-offer strong {
    display: block;
    font-size: 14px;
    color: #242424;
}

.phyz-feature-offer small {
    display: block;
    color: #757575;
    font-size: 12px;
    margin-top: 4px;
}

/* =========================================================
   MAILLAGE / PAGES CONNEXES
   ========================================================= */

.phyz-feature-related {
    margin-top: 80px;
}

.phyz-feature-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.phyz-feature-related-card {
    display: block;
    background: #F0F0F0;
    color: #242424 !important;
    text-decoration: none !important;
    overflow: hidden;
    border-radius: 8px;
    transition: transform .25s ease;
}

.phyz-feature-related-card:hover {
    transform: translateY(-4px);
}

.phyz-feature-related-card > img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.phyz-related-card-content {
    padding: 25px;
}

.phyz-related-card-content h3 {
    color: #242424 !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.4;
}

.phyz-related-card-content span {
    color: #53A10F;
    font-size: 14px;
    font-weight: 700;
}

.phyz-feature-pillar {
    background: #F0F0F0;
    border-radius: 8px;
    padding: 35px;
    margin-top: 65px;
}

.phyz-feature-pillar > p {
    color: #53A10F;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.phyz-feature-pillar h2 {
    font-size: 26px;
    font-weight: 800;
    color: #242424 !important;
    margin: 0 0 20px;
}

.phyz-feature-pillar a {
    color: #53A10F !important;
    font-weight: 700;
    text-decoration: none;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.phyz-feature-final-cta {
    background: #2F551F;
    color: #fff;
    border-radius: 8px;
    padding: 55px 45px;
    margin-top: 80px;
    text-align: center;
}

.phyz-feature-final-cta > span {
    display: block;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
}

.phyz-feature-final-cta h2 {
    color: #fff !important;
    font-weight: 800;
    font-size: clamp(26px, 3vw, 39px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.phyz-feature-final-cta > p {
    color: #fff;
    opacity: .9;
    line-height: 1.7;
    font-size: 16px;
    margin: 0 auto 28px;
    max-width: 550px;
}

.phyz-feature-final-cta .phyz-feature-button {
    background: #53A10F;
    border-color: #53A10F;
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.phyz-feature-page a:focus-visible,
.phyz-feature-page button:focus-visible {
    outline: 2px solid #53A10F;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .phyz-feature-page *,
    .phyz-feature-page *::before,
    .phyz-feature-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1024px) {
    .phyz-feature-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 35px;
    }

    .phyz-feature-hero-inner {
        gap: 35px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .phyz-feature-container {
        width: calc(100% - 36px);
    }

    .phyz-feature-hero {
        padding: 20px 0 50px;
    }

    .phyz-feature-breadcrumb {
        font-size: 12px;
        margin-bottom: 35px;
    }

    .phyz-feature-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .phyz-feature-hero h1 {
        font-size: clamp(32px, 8vw, 44px);
        letter-spacing: -1px;
        line-height: 1.12;
    }

    .phyz-feature-lead {
        font-size: 16px;
    }

    .phyz-feature-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .phyz-feature-hero-actions .phyz-feature-cta,
    .phyz-feature-hero-actions .phyz-feature-button,
    .phyz-feature-hero-actions .phyz-feature-secondary-button {
        width: 100%;
    }

    .phyz-feature-main-section {
        padding: 45px 0 65px;
    }

    .phyz-feature-layout {
        display: block;
    }

    .phyz-feature-sidebar {
        display: none;
    }

    .phyz-feature-editorial h2 {
        font-size: 27px;
        margin-top: 45px;
    }

    .phyz-feature-editorial h3 {
        font-size: 22px;
    }

    .phyz-feature-editorial h4 {
        font-size: 18px;
    }

    .phyz-feature-editorial > p.phyz-feature-intro {
        font-size: 17px;
    }

    .phyz-feature-slide {
        padding: 14px;
    }

    .phyz-feature-slide img {
        max-height: 480px;
    }

    .phyz-feature-offers,
    .phyz-feature-related-grid {
        grid-template-columns: 1fr;
    }

    .phyz-feature-related-card > img {
        height: 200px;
    }

    .phyz-feature-pillar {
        padding: 25px;
    }

    .phyz-feature-final-cta {
        padding: 40px 23px;
        margin-top: 60px;
    }

    .phyz-feature-final-cta .phyz-feature-button {
        width: 100%;
    }
}
/* =========================================================
   v1.1 — STRUCTURE PARAMÉTRABLE
   ========================================================= */

/* Hero sans image */

.phyz-feature-hero-inner--text {
    grid-template-columns: minmax(0, 1fr);
}

.phyz-feature-hero-inner--text .phyz-feature-hero-copy {
    max-width: 860px;
}

/* Sans colonne latérale */

.phyz-feature-layout--no-sidebar {
    display: block;
}

.phyz-feature-layout--no-sidebar .phyz-feature-article {
    margin: 0 auto;
    max-width: 960px;
}

.phyz-feature-layout--wide .phyz-feature-article {
    max-width: none;
}

/* CTA placé dans le contenu */

.phyz-feature-editorial > .phyz-feature-cta {
    margin: 35px 0;
}

/* =========================================================
   BLOCS TEXTE + MÉDIA
   ========================================================= */

.phyz-block {
    margin: 55px 0;
}

.phyz-feature-editorial > .phyz-block:first-child {
    margin-top: 0;
}

.phyz-block--gray {
    background: #F0F0F0;
    border-radius: 8px;
    padding: 45px;
}

.phyz-block--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: center;
}

.phyz-block--valign-top {
    align-items: start;
}

.phyz-block--media-left .phyz-block-media {
    order: -1;
}

.phyz-block-text,
.phyz-block-media {
    min-width: 0;
}

.phyz-block-text > :first-child {
    margin-top: 0 !important;
}

.phyz-block-text > :last-child {
    margin-bottom: 0 !important;
}

.phyz-block--full .phyz-block-text + .phyz-block-media {
    margin-top: 30px;
}

.phyz-block-media .phyz-feature-gallery,
.phyz-block-media .phyz-feature-video {
    margin: 0;
}

/* Image seule */

.phyz-block-image {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #F0F0F0;
    border-radius: 8px;
    padding: 28px;
}

.phyz-block-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 570px;
    object-fit: contain;
    border-radius: 8px;
}

.phyz-block-image figcaption {
    text-align: center;
    color: #757575;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
}

/* Médias sur fond gris : cadre blanc pour garder le contraste */

.phyz-block--gray .phyz-block-image,
.phyz-block--gray .phyz-feature-slide,
.phyz-block--gray .phyz-feature-gallery-controls button {
    background: #fff;
}

/* Médias en demi-largeur */

.phyz-block--split .phyz-block-image,
.phyz-block--split .phyz-feature-slide {
    padding: 20px;
}

.phyz-block--split .phyz-block-image img,
.phyz-block--split .phyz-feature-slide img {
    max-height: 520px;
}

/* =========================================================
   FAQ
   ========================================================= */

.phyz-feature-faq {
    margin-top: 70px;
}

.phyz-feature-faq h2 {
    margin-top: 0 !important;
}

.phyz-faq-item {
    background: #fff;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: border-color .2s ease;
}

.phyz-faq-item[open] {
    border-color: #53A10F;
}

.phyz-faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 18px 54px 18px 20px;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.phyz-faq-item summary::-webkit-details-marker {
    display: none;
}

.phyz-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #53A10F;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.phyz-faq-item[open] summary::after {
    content: "−";
}

.phyz-faq-answer {
    padding: 0 20px 4px;
}

/* =========================================================
   v1.1 — TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 1024px) {
    .phyz-block--split {
        gap: 32px;
    }

    .phyz-block--gray {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .phyz-block {
        margin: 40px 0;
    }

    .phyz-block--split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .phyz-block--media-left .phyz-block-media {
        order: 0;
    }

    .phyz-block--gray {
        padding: 24px 18px;
    }

    .phyz-block-image,
    .phyz-block--split .phyz-block-image,
    .phyz-block--split .phyz-feature-slide {
        padding: 14px;
    }

    .phyz-block-image img,
    .phyz-block--split .phyz-block-image img,
    .phyz-block--split .phyz-feature-slide img {
        max-height: 480px;
    }

    .phyz-faq-item summary {
        font-size: 15px;
        padding: 16px 48px 16px 16px;
    }

    .phyz-faq-answer {
        padding: 0 16px 2px;
    }
}
