/* =========================================================
   SITEDYMO SHOP — FAQ
   Modern Green / White Branding
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --faq-primary: #16a34a;
    --faq-primary-dark: #15803d;
    --faq-primary-darker: #166534;

    --faq-primary-light: #f0fdf4;
    --faq-primary-soft: #dcfce7;
    --faq-primary-border: #bbf7d0;

    --faq-text: #17201a;
    --faq-text-soft: #52605a;
    --faq-muted: #718078;

    --faq-white: #ffffff;
    --faq-bg: #f8faf9;
    --faq-border: #e5ebe7;

    --faq-shadow-sm:
        0 4px 18px rgba(22, 101, 52, 0.06);

    --faq-shadow:
        0 16px 45px rgba(22, 101, 52, 0.10);

    --faq-radius: 18px;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.faq-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 5% 5%,
            rgba(220, 252, 231, 0.65),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 12%,
            rgba(187, 247, 208, 0.35),
            transparent 23%
        ),
        var(--faq-bg);

    color: var(--faq-text);
}


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

.faq-hero {
    position: relative;
    overflow: hidden;

    padding: 78px 24px 95px;

    background:
        linear-gradient(
            135deg,
            #052e16 0%,
            #14532d 48%,
            #16a34a 100%
        );

    color: #ffffff;
}

.faq-hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -170px;
    top: -250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
}

.faq-hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -160px;
    bottom: -230px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);
}

.faq-hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;
}


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

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;
    padding: 8px 16px 8px 9px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #dcfce7;

    font-size: 0.82rem;
    font-weight: 750;
}

.faq-badge-icon {
    display: grid;

    width: 31px;
    height: 31px;

    place-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);

    color: #bbf7d0;
}


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

.faq-hero h1 {
    margin: 0;

    font-size: clamp(2.35rem, 5vw, 4rem);

    line-height: 1.08;

    font-weight: 850;

    letter-spacing: -0.045em;
}

.faq-hero h1 span {
    color: #86efac;
}

.faq-hero p {
    max-width: 720px;

    margin: 22px auto 0;

    color: #dcfce7;

    font-size: 1.02rem;

    line-height: 1.8;
}


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

.faq-section {
    padding: 72px 20px 90px;
}

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


/* =========================================================
   INTRODUCTION
   ========================================================= */

.faq-intro {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 32px;
    padding: 26px 28px;

    border: 1px solid var(--faq-primary-border);
    border-radius: var(--faq-radius);

    background: var(--faq-white);

    box-shadow: var(--faq-shadow-sm);
}

.faq-intro-icon {
    flex: 0 0 auto;

    display: grid;

    width: 58px;
    height: 58px;

    place-items: center;

    border-radius: 16px;

    background: var(--faq-primary-light);

    color: var(--faq-primary);

    font-size: 1.35rem;
}

.faq-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--faq-primary);

    font-size: 0.74rem;
    font-weight: 850;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}

.faq-intro h2 {
    margin: 0;

    color: var(--faq-text);

    font-size: 1.45rem;

    line-height: 1.25;

    letter-spacing: -0.025em;
}

.faq-intro p {
    margin: 8px 0 0;

    color: var(--faq-text-soft);

    font-size: 0.92rem;

    line-height: 1.65;
}


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

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


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

.faq-item {
    overflow: hidden;

    border: 1px solid var(--faq-border);
    border-radius: var(--faq-radius);

    background: var(--faq-white);

    box-shadow: var(--faq-shadow-sm);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.faq-item:hover {
    border-color: var(--faq-primary-border);

    box-shadow: var(--faq-shadow);

    transform: translateY(-1px);
}

.faq-item.is-open {
    border-color: var(--faq-primary-border);

    box-shadow:
        0 10px 35px rgba(22, 163, 74, 0.10);
}


/* =========================================================
   QUESTION
   ========================================================= */

.faq-question {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    border: 0;
    outline: none;

    background: transparent;

    color: var(--faq-text);

    text-align: left;

    cursor: pointer;

    font: inherit;

    transition:
        background-color 0.25s ease;
}

.faq-question:hover {
    background: rgba(240, 253, 244, 0.55);
}

.faq-question:focus-visible {
    box-shadow:
        inset 0 0 0 3px rgba(22, 163, 74, 0.18);
}


/* =========================================================
   QUESTION CONTENT
   ========================================================= */

.faq-question-content {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    font-size: 1rem;

    font-weight: 750;

    line-height: 1.45;
}


/* =========================================================
   QUESTION NUMBER
   ========================================================= */

.faq-number {
    flex: 0 0 auto;

    display: grid;

    width: 40px;
    height: 40px;

    place-items: center;

    border-radius: 11px;

    background: var(--faq-primary-light);

    color: var(--faq-primary-dark);

    font-size: 0.73rem;

    font-weight: 850;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.faq-item.is-open .faq-number {
    background: var(--faq-primary);

    color: #ffffff;

    transform: scale(1.04);
}


/* =========================================================
   TOGGLE BUTTON
   ========================================================= */

.faq-toggle {
    flex: 0 0 auto;

    display: grid;

    width: 39px;
    height: 39px;

    place-items: center;

    border-radius: 50%;

    background: #f3f7f4;

    color: var(--faq-primary-dark);

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.faq-toggle i {
    font-size: 0.76rem;

    transition:
        transform 0.3s ease;
}

.faq-item.is-open .faq-toggle {
    background: var(--faq-primary-soft);

    color: var(--faq-primary-dark);
}

.faq-item.is-open .faq-toggle i {
    transform: rotate(180deg);
}


/* =========================================================
   ANSWER
   ========================================================= */

.faq-answer {
    border-top: 1px solid transparent;

    overflow: hidden;
}

.faq-item.is-open .faq-answer {
    border-top-color: var(--faq-border);
}

.faq-answer-inner {
    padding: 0 77px 26px;

    color: var(--faq-text-soft);

    font-size: 0.95rem;

    line-height: 1.8;
}

.faq-answer-inner p {
    margin: 17px 0 0;
}

.faq-answer-inner p + p {
    margin-top: 10px;
}

.faq-answer-inner strong {
    color: var(--faq-text);

    font-weight: 750;
}


/* =========================================================
   INFORMATION HIGHLIGHT
   ========================================================= */

.faq-highlight {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 20px;
    padding: 14px 16px;

    border: 1px solid var(--faq-primary-border);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ffffff
        );
}

.faq-highlight > i {
    flex: 0 0 auto;

    display: grid;

    width: 41px;
    height: 41px;

    place-items: center;

    border-radius: 11px;

    background: var(--faq-primary-soft);

    color: var(--faq-primary-dark);
}

.faq-highlight div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.faq-highlight strong {
    color: var(--faq-primary-darker);

    font-size: 0.9rem;
}

.faq-highlight span {
    color: var(--faq-text-soft);

    font-size: 0.82rem;
}


/* =========================================================
   CONTACT CTA
   ========================================================= */

.faq-contact {
    position: relative;

    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 45px;

    padding: 32px;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #052e16 0%,
            #14532d 52%,
            #16a34a 100%
        );

    color: #ffffff;

    box-shadow:
        0 22px 55px rgba(22, 101, 52, 0.18);
}

.faq-contact-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.faq-contact-decoration-one {
    width: 240px;
    height: 240px;

    right: -110px;
    top: -140px;

    background: rgba(255, 255, 255, 0.08);
}

.faq-contact-decoration-two {
    width: 170px;
    height: 170px;

    left: -85px;
    bottom: -110px;

    background: rgba(255, 255, 255, 0.05);
}


/* =========================================================
   CONTACT ICON
   ========================================================= */

.faq-contact-icon {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    display: grid;

    width: 62px;
    height: 62px;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 17px;

    background: rgba(255, 255, 255, 0.11);

    color: #bbf7d0;

    font-size: 1.3rem;
}


/* =========================================================
   CONTACT CONTENT
   ========================================================= */

.faq-contact-content {
    position: relative;
    z-index: 1;

    flex: 1;
}

.faq-contact-label {
    display: block;

    margin-bottom: 5px;

    color: #bbf7d0;

    font-size: 0.73rem;

    font-weight: 850;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.faq-contact h2 {
    margin: 0;

    color: #ffffff;

    font-size: 1.45rem;

    line-height: 1.25;

    letter-spacing: -0.025em;
}

.faq-contact p {
    max-width: 580px;

    margin: 8px 0 0;

    color: #dcfce7;

    font-size: 0.9rem;

    line-height: 1.65;
}


/* =========================================================
   CONTACT BUTTON
   ========================================================= */

.faq-contact-button {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    display: inline-flex;

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

    gap: 11px;

    padding: 13px 20px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;

    background: #ffffff;

    color: var(--faq-primary-dark);

    text-decoration: none;

    font-size: 0.88rem;

    font-weight: 800;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.faq-contact-button:hover {
    background: #f0fdf4;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.16);

    transform: translateY(-2px);
}

.faq-contact-button i {
    transition:
        transform 0.25s ease;
}

.faq-contact-button:hover i {
    transform: translateX(4px);
}

.faq-contact-button:focus-visible {
    outline: 3px solid #86efac;

    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 800px) {

    .faq-contact {
        align-items: flex-start;
    }

    .faq-contact-button {
        align-self: center;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .faq-hero {
        padding: 60px 20px 72px;
    }

    .faq-hero h1 {
        font-size: 2.4rem;
    }

    .faq-hero p {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .faq-section {
        padding: 50px 15px 70px;
    }

    .faq-intro {
        align-items: flex-start;

        padding: 21px;

        gap: 16px;
    }

    .faq-intro-icon {
        width: 50px;
        height: 50px;

        border-radius: 14px;
    }

    .faq-intro h2 {
        font-size: 1.25rem;
    }

    .faq-intro p {
        font-size: 0.87rem;
    }

    .faq-question {
        padding: 17px;
    }

    .faq-question-content {
        gap: 11px;

        font-size: 0.92rem;
    }

    .faq-number {
        width: 35px;
        height: 35px;

        border-radius: 9px;
    }

    .faq-toggle {
        width: 35px;
        height: 35px;
    }

    .faq-answer-inner {
        padding: 0 17px 22px;

        font-size: 0.9rem;
    }

    .faq-contact {
        flex-direction: column;

        align-items: flex-start;

        padding: 26px;

        border-radius: 21px;
    }

    .faq-contact-content {
        width: 100%;
    }

    .faq-contact h2 {
        font-size: 1.3rem;
    }

    .faq-contact p {
        font-size: 0.86rem;
    }

    .faq-contact-button {
        width: 100%;

        align-self: stretch;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .faq-hero {
        padding: 52px 17px 62px;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-badge {
        font-size: 0.74rem;
    }

    .faq-badge-icon {
        width: 28px;
        height: 28px;
    }

    .faq-intro-icon {
        display: none;
    }

    .faq-intro {
        padding: 19px;
    }

    .faq-question {
        gap: 10px;

        padding: 15px;
    }

    .faq-question-content {
        align-items: flex-start;

        gap: 9px;

        font-size: 0.88rem;
    }

    .faq-number {
        width: 32px;
        height: 32px;

        font-size: 0.68rem;
    }

    .faq-toggle {
        width: 31px;
        height: 31px;
    }

    .faq-toggle i {
        font-size: 0.68rem;
    }

    .faq-answer-inner {
        padding: 0 15px 20px;

        font-size: 0.87rem;
    }

    .faq-highlight {
        align-items: flex-start;

        padding: 12px;
    }

    .faq-highlight > i {
        width: 37px;
        height: 37px;
    }

    .faq-contact {
        padding: 23px;
    }

    .faq-contact-icon {
        width: 54px;
        height: 54px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-item,
    .faq-question,
    .faq-number,
    .faq-toggle,
    .faq-toggle i,
    .faq-contact-button,
    .faq-contact-button i {
        transition: none !important;
    }
}


/* =========================================================
   DARK MODE — DISABLED
   ---------------------------------------------------------
   SiteDymo utilise volontairement le branding blanc/vert.
   ========================================================= */