/* ==========================================================================
   Page publique de detail service.
   La feuille Tailwind du template est pre-compilee : ce fichier ecrit a la
   main tout le style de la page, scope sous .sv.
   ========================================================================== */

.sv {
    --sv-accent: var(--primary, #44aa9c);
    --sv-text: #ffffff;
    --sv-muted: rgba(255, 255, 255, 0.62);
    --sv-surface: rgba(255, 255, 255, 0.04);
    --sv-surface-strong: rgba(255, 255, 255, 0.07);
    --sv-border: rgba(255, 255, 255, 0.12);
    --sv-dark: #14201e;
    --sv-radius: 14px;

    color: var(--sv-text);
    overflow: hidden;
}

html.light .sv {
    --sv-text: #191b1d;
    --sv-muted: rgba(25, 27, 29, 0.65);
    --sv-surface: #f7f9fb;
    --sv-surface-strong: #ffffff;
    --sv-border: rgba(25, 27, 29, 0.1);
}

/* ---------- Rythme vertical ---------- */

.sv-section {
    padding: 60px 0;
}

.sv-section--tight {
    padding: 40px 0;
}

@media (width >= 768px) {
    .sv-section {
        padding: 90px 0;
    }

    .sv-section--tight {
        padding: 60px 0;
    }
}

@media (width >= 1200px) {
    .sv-section {
        padding: 110px 0;
    }
}

.sv-section--alt {
    background-color: var(--sv-surface);
}

.sv-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.sv-head--start {
    margin-left: 0;
    text-align: start;
}

.sv-eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sv-muted);
    margin-bottom: 10px;
}

.sv-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--sv-text);
}

.sv-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    background-color: var(--sv-accent);
}

.sv-head:not(.sv-head--start) .sv-title::after {
    margin-left: auto;
    margin-right: auto;
}

.sv-lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--sv-muted);
    margin: 0;
}

@media (width >= 768px) {
    .sv-title {
        font-size: 34px;
    }

    .sv-lead {
        font-size: 17px;
    }
}

/* ---------- Boutons ---------- */

.sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--sv-accent);
    background-color: var(--sv-accent);
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.sv-btn:hover {
    transform: translateY(-2px);
    background-color: transparent;
    color: var(--sv-accent);
}

.sv-btn--light {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #191b1d;
}

.sv-btn--light:hover {
    background-color: transparent;
    color: #ffffff;
}

/* ---------- Banniere ---------- */

.sv-hero {
    position: relative;
    padding: 140px 0 60px;
    color: #ffffff;
    background-image: linear-gradient(115deg, #2f7f75 0%, var(--sv-accent) 55%, #5fc2b3 100%);
}

.sv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/noise-overlay.png");
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@media (width >= 992px) {
    .sv-hero {
        padding: 210px 0 90px;
    }
}

.sv-hero > .container {
    position: relative;
    z-index: 2;
}

.sv-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (width >= 992px) {
    .sv-hero__grid {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
        gap: 50px;
    }

    .sv-hero__grid--solo {
        grid-template-columns: minmax(0, 1fr);
        max-width: 820px;
    }
}

.sv-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
}

.sv-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sv-breadcrumb span[aria-current] {
    color: #ffffff;
}

.sv-hero__title {
    font-size: 32px;
    line-height: 1.12;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: #ffffff;
}

@media (width >= 768px) {
    .sv-hero__title {
        font-size: 46px;
    }
}

@media (width >= 1200px) {
    .sv-hero__title {
        font-size: 54px;
    }
}

.sv-hero__text {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 14px;
    max-width: 560px;
}

.sv-hero__tagline {
    font-weight: 500;
}

.sv-hero__actions {
    margin-top: 26px;
}

.sv-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------- Chiffres cles ---------- */

.sv-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (width >= 576px) {
    .sv-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 992px) {
    .sv-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sv-stats--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sv-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface-strong);
}

.sv-stat__mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--sv-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.sv-stat__value {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--sv-text);
}

.sv-stat__label {
    display: block;
    font-size: 14px;
    color: var(--sv-muted);
    margin-top: 4px;
}

/* ---------- Prose (contenu riche) ---------- */

.sv-prose {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.85;
    color: var(--sv-muted);
}

.sv-prose h2,
.sv-prose h3,
.sv-prose h4 {
    color: var(--sv-text);
    font-weight: 600;
    margin: 28px 0 12px;
}

.sv-prose h2 {
    font-size: 24px;
}

.sv-prose h3 {
    font-size: 20px;
}

.sv-prose p {
    margin: 0 0 16px;
}

.sv-prose ul,
.sv-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: revert;
}

.sv-prose li {
    margin-bottom: 8px;
}

.sv-prose a {
    color: var(--sv-accent);
    text-decoration: underline;
}

.sv-prose strong {
    color: var(--sv-text);
}

/* ---------- Blocs illustres ---------- */

.sv-block {
    padding: 50px 0;
}

.sv-block:nth-child(even) {
    background-color: var(--sv-surface);
}

@media (width >= 768px) {
    .sv-block {
        padding: 70px 0;
    }
}

.sv-block__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (width >= 992px) {
    .sv-block__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px;
    }

    /* Alternance : image a gauche sur les blocs pairs */
    .sv-block:nth-child(even) .sv-block__media {
        order: -1;
    }
}

.sv-block__grid--solo {
    grid-template-columns: minmax(0, 1fr);
}

.sv-block__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--sv-radius);
}

.sv-block__index {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--sv-accent);
    margin-bottom: 10px;
}

.sv-block__title {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--sv-text);
}

@media (width >= 768px) {
    .sv-block__title {
        font-size: 26px;
    }
}

.sv-block__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sv-muted);
    margin: 0 0 16px;
    white-space: pre-line;
}

.sv-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sv-bullets li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sv-muted);
}

.sv-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--sv-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Processus (frise) ---------- */

.sv-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (width >= 576px) {
    .sv-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 992px) {
    .sv-process {
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        grid-template-columns: none;
        gap: 16px;
    }
}

.sv-step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

/* Trait de liaison entre les etapes (desktop) */
@media (width >= 992px) {
    .sv-step::before {
        content: "";
        position: absolute;
        top: 36px;
        left: calc(-50% + 44px);
        width: calc(100% - 88px);
        border-top: 2px dashed var(--sv-border);
    }

    .sv-step:first-child::before {
        display: none;
    }
}

.sv-step__mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--sv-accent);
    background-color: var(--sv-surface-strong);
    color: var(--sv-accent);
    font-size: 22px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.sv-step__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--sv-text);
}

.sv-step__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sv-muted);
    margin: 0;
}

.sv-actions {
    margin-top: 40px;
    text-align: center;
}

.sv-actions--start {
    margin-top: 26px;
    text-align: start;
}

.sv-video__body .sv-head {
    margin-bottom: 20px;
}

/* ---------- Video ---------- */

.sv-video__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (width >= 992px) {
    .sv-video__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: 50px;
    }
}

.sv-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--sv-radius);
    overflow: hidden;
    background-color: #000000;
}

.sv-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Bandeau realisations ---------- */

.sv-showcase {
    position: relative;
    background-color: var(--sv-dark);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.sv-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 32, 30, 0.92) 0%, rgba(20, 32, 30, 0.55) 100%);
}

.sv-showcase > .container {
    position: relative;
    z-index: 2;
}

.sv-showcase__inner {
    max-width: 560px;
}

.sv-showcase__title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 14px;
    color: #ffffff;
}

@media (width >= 768px) {
    .sv-showcase__title {
        font-size: 34px;
    }
}

.sv-showcase__text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
}

/* ---------- Technologies ---------- */

.sv-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sv-tech__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 160px;
    min-height: 110px;
    padding: 20px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface-strong);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sv-tech__item:hover {
    transform: translateY(-5px);
    border-color: var(--sv-accent);
}

.sv-tech__item img {
    max-width: 90px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sv-tech__item span {
    font-size: 13px;
    color: var(--sv-muted);
    text-align: center;
}

/* ---------- Methodologie de travail ---------- */

.sv-workflow {
    background-color: var(--sv-dark);
    color: #ffffff;
}

.sv-workflow .sv-title,
.sv-workflow .sv-lead {
    color: #ffffff;
}

.sv-workflow .sv-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.sv-workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

@media (width >= 576px) {
    .sv-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 992px) {
    .sv-workflow-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sv-workflow-step {
    position: relative;
    padding-left: 56px;
}

.sv-workflow-step__mark {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--sv-accent);
    color: #ffffff;
    font-weight: 600;
}

.sv-workflow-step__mark img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.sv-workflow-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0 8px;
    color: #ffffff;
}

.sv-workflow-step p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ---------- Domaines d'intervention ---------- */

.sv-domains {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (width >= 576px) {
    .sv-domains {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 992px) {
    .sv-domains {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sv-domain {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface-strong);
    font-size: 15px;
    color: var(--sv-text);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sv-domain:hover {
    transform: translateY(-4px);
    border-color: var(--sv-accent);
}

.sv-domain__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--sv-accent) 15%, transparent);
    color: var(--sv-accent);
}

.sv-domain__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sv-domain__icon svg {
    width: 18px;
    height: 18px;
}

/* ---------- Temoignages ---------- */

.sv-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (width >= 768px) {
    .sv-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 1200px) {
    .sv-testimonials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sv-testimonial {
    padding: 26px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface-strong);
}

.sv-testimonial__quote {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sv-muted);
    margin: 0 0 20px;
}

.sv-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-testimonial__author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.sv-testimonial__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--sv-text);
}

.sv-testimonial__role {
    display: block;
    font-size: 13px;
    color: var(--sv-muted);
}

/* ---------- CTA final ---------- */

.sv-cta {
    background-image: linear-gradient(115deg, #2f7f75 0%, var(--sv-accent) 55%, #5fc2b3 100%);
    text-align: center;
    color: #ffffff;
}

.sv-cta .sv-title {
    color: #ffffff;
}

.sv-cta .sv-title::after {
    background-color: #ffffff;
}

.sv-cta p {
    max-width: 620px;
    margin: 0 auto 26px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   Page de listing /services
   Les blocs ci-dessous complètent le vocabulaire `sv-` de la page de détail :
   la liste et les fiches partagent ainsi le même système graphique.
   ========================================================================== */

/* ---------- Banniere du listing ---------- */

.sv-index-hero {
    position: relative;
    padding: 130px 0 50px;
    overflow: hidden;
}

@media (width >= 992px) {
    .sv-index-hero {
        padding: 200px 0 70px;
    }
}

.sv-index-hero__glow {
    position: absolute;
    top: -200px;
    right: -160px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--sv-accent) 24%, transparent) 0%, transparent 68%);
    pointer-events: none;
}

.sv-index-hero > .container {
    position: relative;
    z-index: 2;
}

.sv-index-hero__title {
    font-size: 32px;
    line-height: 1.14;
    font-weight: 700;
    margin: 0 0 18px;
    color: var(--sv-text);
    max-width: 22ch;
}

@media (width >= 768px) {
    .sv-index-hero__title {
        font-size: 48px;
    }
}

@media (width >= 1200px) {
    .sv-index-hero__title {
        font-size: 58px;
    }
}

.sv-index-hero__lead {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sv-muted);
    margin: 0;
    max-width: 62ch;
}

@media (width >= 768px) {
    .sv-index-hero__lead {
        font-size: 18px;
    }
}

/* Variante contour, pour les fonds clairs ou sombres de la page : sv-btn--light
   est un bouton blanc concu pour le hero colore des fiches service, il
   disparaitrait sur le fond blanc du listing. */
.sv-btn--ghost {
    background-color: transparent;
    border-color: var(--sv-border);
    color: var(--sv-text);
}

.sv-btn--ghost:hover {
    background-color: transparent;
    border-color: var(--sv-accent);
    color: var(--sv-accent);
    transform: none;
}

/* ---------- Chiffres reels ---------- */

.sv-figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    margin-top: 46px;
    padding-top: 32px;
    border-top: 1px dashed var(--sv-border);
}

@media (width >= 768px) {
    .sv-figures {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (width >= 1200px) {
    .sv-figures {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px;
    }
}

.sv-figure__value {
    display: block;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
    color: var(--sv-accent);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (width >= 768px) {
    .sv-figure__value {
        font-size: 36px;
    }
}

.sv-figure__label {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sv-muted);
    max-width: 20ch;
}

/* ---------- Bandeau de couverture ---------- */

.sv-index-banner img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
}

/* ---------- L'offre ---------- */

.sv-offer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (width >= 768px) {
    .sv-offer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

.sv-offer__card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

@media (width >= 992px) {
    .sv-offer__card {
        padding: 38px 34px;
    }
}

.sv-offer__card:hover {
    border-color: var(--sv-accent);
    background-color: var(--sv-surface-strong);
}

.sv-offer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.sv-offer__index {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--sv-accent);
}

/* Les icones de service portent stroke="#1a1a1a" en dur. Un attribut de
   presentation etant surclasse par toute regle CSS, currentColor suffit a les
   faire suivre le theme : plus besoin du filtre d'inversion du gabarit. */
.sv-offer__icon svg {
    display: block;
    width: 34px;
    height: 34px;
    stroke: currentColor;
    color: var(--sv-text);
}

.sv-offer__icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sv-offer__title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--sv-text);
}

@media (width >= 992px) {
    .sv-offer__title {
        font-size: 23px;
    }
}

.sv-offer__tagline {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--sv-accent);
    margin: 0 0 14px;
}

.sv-offer__text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--sv-muted);
    margin: 0 0 22px;
}

.sv-offer__deliverables {
    margin: 0 0 24px;
    padding-top: 20px;
    border-top: 1px solid var(--sv-border);
    list-style: none;
}

.sv-offer__deliverables li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sv-text);
}

.sv-offer__deliverables li:last-child {
    margin-bottom: 0;
}

.sv-offer__deliverables li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 8px;
    height: 1px;
    background-color: var(--sv-accent);
}

.sv-offer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: var(--sv-text);
    transition: color 0.25s ease;
}

.sv-offer__link:hover {
    color: var(--sv-accent);
}

/* ---------- Mission / Vision ---------- */

.sv-mv {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (width >= 768px) {
    .sv-mv {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

.sv-mv__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background-color: var(--sv-surface);
}

.sv-mv__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.sv-mv__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sv-mv__body {
    padding: 28px 26px;
}

@media (width >= 992px) {
    .sv-mv__body {
        padding: 34px 32px;
    }
}

.sv-mv__title {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--sv-text);
}

.sv-mv__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    background-color: var(--sv-accent);
}

.sv-mv__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sv-muted);
    margin: 0;
}

/* ---------- FAQ ---------- */

.sv-faq {
    max-width: 860px;
    margin: 0 auto;
}

.sv-faq__item {
    border-bottom: 1px solid var(--sv-border);
}

.sv-faq__item:first-child {
    border-top: 1px solid var(--sv-border);
}

/* Intitule de groupe sur la page /faq, ou les questions sont classees par
   categorie plutot que reparties dans des onglets pilotes par JavaScript. */
.sv-faq__group {
    margin: 44px 0 0;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--sv-accent);
}

.sv-faq__group:first-child {
    margin-top: 0;
}

.sv-faq__group + .sv-faq__item {
    border-top: 1px solid var(--sv-border);
}

/* La couleur est fixee explicitement : l'accordeon du gabarit heritait de
   var(--color-secondary), qui vaut #ffffff en theme clair — les questions
   etaient donc blanches sur fond blanc, invisibles. */
.sv-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 24px 0;
    cursor: pointer;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    text-align: start;
    color: var(--sv-text);
    list-style: none;
    transition: color 0.25s ease;
}

@media (width >= 992px) {
    .sv-faq__question {
        font-size: 19px;
    }
}

.sv-faq__question::-webkit-details-marker {
    display: none;
}

.sv-faq__question:hover {
    color: var(--sv-accent);
}

.sv-faq__sign {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--sv-accent);
}

.sv-faq__sign::before,
.sv-faq__sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sv-faq__sign::before {
    width: 100%;
    height: 2px;
}

.sv-faq__sign::after {
    width: 2px;
    height: 100%;
}

.sv-faq__item[open] .sv-faq__sign::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.sv-faq__answer {
    padding: 0 0 26px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--sv-muted);
}

.sv-faq__answer p {
    margin: 0 0 1em;
}

.sv-faq__answer p:last-child {
    margin-bottom: 0;
}

.sv-faq__answer ul,
.sv-faq__answer ol {
    margin: 0 0 1em;
    padding-left: 1.3em;
}

.sv-faq__answer ul {
    list-style: disc;
}

.sv-faq__answer ol {
    list-style: decimal;
}

.sv-faq__answer li {
    margin-bottom: 0.4em;
}

.sv-faq__answer strong {
    font-weight: 600;
    color: var(--sv-text);
}

.sv-faq__answer a {
    color: var(--sv-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sv-faq__more {
    margin-top: 32px;
    text-align: center;
}

/* ---------- Accessibilite ---------- */

.sv a:focus-visible,
.sv button:focus-visible,
.sv summary:focus-visible {
    outline: 2px solid var(--sv-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .sv *,
    .sv *::before,
    .sv *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
