:root {
    --rouge: #d71935;
    --rouge-fonce: #b90f29;
    --texte: #242424;
    --texte-slide: #3f3f3f;
    --texte-secondaire: #606060;
    --blanc: #ffffff;
    --fond: #f5f5f5;
    --bordure: #e7e7e7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--texte);
    background: var(--fond);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    min-height: 160px;
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1380px, calc(100% - 48px));
    min-height: 160px;
    margin: 0 auto;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    height: 150px;
}

.site-actions {
    display: flex;
    gap: 12px;
}

.site-guide-link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 10px;
    color: var(--texte-secondaire);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.site-guide-link:hover {
    color: var(--rouge);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.carousel__arrow:focus-visible,
.carousel__dot:focus-visible {
    outline: 3px solid rgba(215, 25, 53, 0.28);
    outline-offset: 3px;
}

.button--outline {
    color: var(--rouge);
    background: var(--blanc);
    border-color: var(--rouge);
}

.button--outline:hover {
    color: var(--blanc);
    background: var(--rouge);
}

.button--primary {
    color: var(--blanc);
    background: var(--rouge);
    border-color: var(--rouge);
}

.button--primary:hover {
    background: var(--rouge-fonce);
    border-color: var(--rouge-fonce);
}

.carousel-section {
    width: min(1380px, calc(100% - 48px));
    margin: 28px auto 36px;
}

.carousel {
    position: relative;
    height: 470px;
    overflow: hidden;
    background: #d8d8d8;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transition:
        opacity 650ms ease,
        visibility 650ms ease;
}

.slide::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.78) 27%,
        rgba(255, 255, 255, 0.35) 43%,
        rgba(255, 255, 255, 0) 58%
    );
}

.slide.is-active {
    visibility: visible;
    opacity: 1;
}

.slide--1 {
    background-image: url("../images/slide-1.webp");
}

.slide--2 {
    background-image: url("../images/slide-2.webp");
}

.slide--3 {
    background-image: url("../images/slide-3.webp");
}

.slide--4 {
    background-image: url("../images/slide-4.webp");
}

.slide__content {
    position: relative;
    z-index: 2;
    width: min(620px, 46%);
    padding: 48px 72px;
}

.slide__eyebrow {
    margin: 0 0 12px;
    color: var(--rouge);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.slide__title {
    max-width: 620px;
    margin: 0;
    color: var(--texte-slide);
    font-size: clamp(2rem, 3.5vw, 3.65rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.text-accent {
    color: var(--rouge);
}

.slide__text {
    max-width: 540px;
    margin: 22px 0 0;
    color: var(--texte-secondaire);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.6;
}

.carousel__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--blanc);
    background: rgba(36, 36, 36, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.carousel__arrow:hover {
    background: var(--rouge);
    transform: translateY(-50%) scale(1.05);
}

.carousel__arrow--previous {
    left: 18px;
}

.carousel__arrow--next {
    right: 18px;
}

.carousel__arrow span {
    font-size: 1.7rem;
    line-height: 1;
}

.carousel__dots {
    position: absolute;
    z-index: 5;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(63, 63, 63, 0.38);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        width 180ms ease,
        background-color 180ms ease;
}

.carousel__dot.is-active {
    width: 28px;
    background: var(--rouge);
    border-radius: 10px;
}

.site-footer {
    padding: 0 24px 28px;
    color: #666666;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 900px) {
    .slide__content {
        width: min(590px, 62%);
        padding-right: 42px;
        padding-left: 58px;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        width: min(100% - 28px, 1380px);
        min-height: 88px;
    }

    .site-logo img {
        height: 58px;
    }

    .button {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.84rem;
    }

    .button--outline {
        display: none;
    }

    .carousel-section {
        width: min(100% - 28px, 1380px);
        margin-top: 18px;
    }

    .carousel {
        height: 470px;
        border-radius: 14px;
    }

    .slide {
        align-items: end;
        background-position: center;
    }

    .slide::before {
        background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.87) 36%,
            rgba(255, 255, 255, 0.28) 67%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .slide__content {
        width: 100%;
        padding: 40px 28px 68px;
    }

    .slide__title {
        max-width: 520px;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .slide__text {
        max-width: 520px;
        margin-top: 16px;
        line-height: 1.5;
    }

    .carousel__arrow {
        top: 42%;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.session-expiree-message{position:relative;z-index:1000;margin:12px auto 0;max-width:980px;padding:11px 16px;border:1px solid #f0c36d;border-radius:8px;background:#fff7e5;color:#7a4b00;font-weight:600;text-align:center;}


.site-notice {
    width: min(100% - 32px, 760px);
    margin: 14px auto 0;
    padding: 11px 14px;
    border: 1px solid #f1d37a;
    border-radius: 9px;
    background: #fff8e6;
    color: #715500;
    font-size: 14px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Accueil public V23.3
   -------------------------------------------------------------------------- */
.home-section {
    padding: 78px 24px;
    background: var(--blanc);
}

.home-section--soft {
    background: #f8f8f8;
}

.home-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-container--narrow {
    width: min(900px, 100%);
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--rouge);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-section h1,
.home-section h2,
.home-section h3,
.home-section p {
    text-wrap: pretty;
}

.home-section h1 {
    max-width: 980px;
    margin: 0 0 24px;
    color: var(--texte);
    font-size: clamp(2.15rem, 4.2vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-section h2 {
    margin: 0;
    color: var(--texte);
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.home-section h3 {
    margin: 0 0 14px;
    font-size: 1.12rem;
    line-height: 1.25;
}

.home-section p {
    color: #565656;
    font-size: 1.02rem;
    line-height: 1.72;
}

.home-lead {
    margin-top: 0;
    font-size: 1.18rem !important;
}

.home-statement {
    margin: 30px 0;
    padding: 22px 26px;
    color: #303030 !important;
    background: #fff7f8;
    border-left: 4px solid var(--rouge);
    border-radius: 0 12px 12px 0;
    font-weight: 700;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.section-heading > p:last-child {
    margin-bottom: 0;
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dual-card,
.tenant-card,
.feature-group,
.price-card {
    background: var(--blanc);
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.dual-card {
    padding: 26px 28px;
}

.dual-card h3 {
    padding-bottom: 12px;
    border-bottom: 1px solid #ededed;
}

.dual-card p {
    margin: 12px 0 0;
}

.role-label {
    color: var(--rouge-fonce);
}

.dual-conclusion,
.section-closing {
    margin: 38px 0 0 !important;
    color: var(--texte) !important;
    font-size: 1.12rem !important;
    font-weight: 800;
    text-align: center;
}

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

.feature-group {
    padding: 26px 30px;
    background: #fcfcfc;
}

.feature-group--wide {
    grid-column: 1 / -1;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
    color: #505050;
    line-height: 1.55;
}

.feature-list li::before {
    position: absolute;
    top: 0.67em;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--rouge);
    border-radius: 50%;
    transform: translateY(-50%);
}

.feature-list strong {
    color: var(--texte);
    font-weight: 800;
}

.feature-wink {
    margin: 22px 0 0 !important;
    padding-top: 18px;
    color: var(--rouge-fonce) !important;
    border-top: 1px solid #ededed;
    font-weight: 700;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.tenant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tenant-card {
    padding: 28px 30px;
}

.tenant-card p:last-child {
    margin-bottom: 0;
}

.tenant-card--wide {
    grid-column: 1 / -1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    padding: 32px;
}

.price-card--featured {
    border: 2px solid rgba(215, 25, 53, 0.35);
}

.price-card__audience {
    margin: 0 0 8px !important;
    color: var(--rouge) !important;
    font-size: 0.84rem !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.8rem;
}

.pricing-example {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 960px;
    margin: 22px auto 0;
    overflow: hidden;
    background: #e6e6e6;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
}

.pricing-example > div {
    display: grid;
    gap: 7px;
    padding: 20px 22px;
    background: #fafafa;
}

.pricing-example span {
    color: #696969;
    font-size: 0.82rem;
    line-height: 1.4;
}

.pricing-example strong {
    color: var(--texte);
    font-size: 1.08rem;
}

.home-signature {
    padding-top: 64px;
    padding-bottom: 72px;
    background: #242424;
    text-align: center;
}

.home-signature h2,
.home-signature .section-closing {
    color: #fff !important;
}

.home-signature p:not(.section-kicker):not(.section-closing) {
    color: #d2d2d2;
}

.site-footer {
    padding: 22px 24px 28px;
    background: #242424;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, 100%);
    margin: 0 auto;
    gap: 18px;
}

.site-footer__inner nav {
    display: flex;
    gap: 20px;
}

.site-footer a:hover {
    color: var(--blanc);
}

@media (max-width: 820px) {
    .home-section {
        padding: 58px 20px;
    }

    .dual-grid,
    .feature-groups,
    .tenant-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-group--wide,
    .tenant-card--wide {
        grid-column: auto;
    }

    .pricing-example {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .home-section {
        padding: 48px 16px;
    }

    .dual-card,
    .tenant-card,
    .feature-group,
    .price-card {
        padding: 22px 20px;
        border-radius: 13px;
    }

    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
    }
}


/* FAQ publique : contenu disponible sans JavaScript. */
.home-faq .faq-group { margin-top: 32px; }
.home-faq .faq-group > h3 { margin: 0 0 14px; font-size: 1.15rem; color: var(--texte); }
.home-faq .faq-item { margin: 0 0 10px; border: 1px solid var(--bordure); border-radius: 12px; background: var(--blanc); overflow: hidden; }
.home-faq .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; font-weight: 700; line-height: 1.5; list-style: none; }
.home-faq .faq-item summary::-webkit-details-marker { display: none; }
.home-faq .faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--rouge); font-size: 1.5rem; line-height: 1; }
.home-faq .faq-item[open] summary::after { content: "−"; }
.home-faq .faq-item[open] summary { border-bottom: 1px solid var(--bordure); }
.home-faq .faq-item summary:hover { background: #fff8f9; }
.home-faq .faq-item summary:focus-visible { outline: 3px solid var(--rouge); outline-offset: -4px; border-radius: 10px; }
.home-faq .faq-answer { padding: 2px 22px 18px; color: var(--texte-secondaire); line-height: 1.75; }
.home-faq .faq-answer p { margin: 14px 0 0; }
.home-faq .faq-guide { margin-top: 28px; line-height: 1.6; }
.home-faq .faq-guide a { color: var(--rouge-fonce); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
    .home-faq .faq-item summary { padding: 16px; gap: 12px; }
    .home-faq .faq-answer { padding: 0 16px 16px; }
}
