/* ============================================================================
   Méthode, Formule (une seule, sur mesure), Questions fréquentes — the reassuring part between the
   reds of Réalisations and the contact. Back to the site's glass identity:
   deep black, electric blue to violet-magenta accents, silver type.
   ============================================================================ */
.trust {
    --tr-bg: #05060b;
    --tr-text: #f2f7ff;
    --tr-soft: #c3cad8;
    --tr-dim: #8d97ab;
    --tr-line: rgba(255, 255, 255, 0.1);
    --tr-blue: #2f5bff;
    --tr-violet: #5f7dff;     /* tout en bleu : électrique vers bleu clair */
    --tr-magenta: #9fd0ff;
    --tr-ease: cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 8; isolation: isolate;
    padding: 0 60px; color: var(--tr-text); overflow: hidden;
}
.trust-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, var(--tr-bg) 0, var(--tr-bg) calc(100% - 50vh), rgba(5, 6, 11, 0) 100%);
}
.trust-glow { position: absolute; border-radius: 50%; filter: blur(110px); }
.trust-glow.t1 { width: 60vw; height: 70vh; left: -24vw; top: 4%; opacity: 0.28; background: radial-gradient(closest-side, var(--tr-blue), transparent); }
.trust-glow.t2 { width: 55vw; height: 70vh; right: -22vw; top: 36%; opacity: 0.24; background: radial-gradient(closest-side, var(--tr-violet), transparent); }
.trust-glow.t3 { width: 50vw; height: 60vh; left: 10vw; top: 64%; opacity: 0.14; background: radial-gradient(closest-side, var(--tr-magenta), transparent); }
.trust-lines {
    position: absolute; inset: 0 60px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent 92%);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent 92%);
}
.trust-inner { position: relative; width: 100%; max-width: 1760px; margin: 0 auto; padding: 20vh 0 52vh; }
.trust-block + .trust-block { margin-top: clamp(130px, 15vw, 240px); }

/* ---- Reveals ---- */
.trust [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--tr-ease), transform 1.3s var(--tr-ease); }
.trust [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Heads ---- */
.trust-head {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px clamp(40px, 6vw, 120px); align-items: end; margin-bottom: clamp(60px, 7vw, 110px);
}
.trust-eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
    font: 500 11px/1 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #cfd6e6;
}
.trust-title { font-size: clamp(46px, 5.8vw, 104px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 400; color: var(--tr-text); }
.trust-title .line { display: block; overflow: hidden; white-space: nowrap; padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em; }
.trust-title .line.muted { color: #b9c1d1; }
.trust [data-reveal].is-in .line-inner { transform: none; opacity: 1; filter: blur(0); }
.trust-lead { font-size: 17px; line-height: 1.75; font-weight: 300; color: var(--tr-soft); max-width: 46ch; }

/* ---- Méthode: four steps on a line that draws in ---- */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 46px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.steps::before { background: rgba(255, 255, 255, 0.12); }
.steps::after {
    background: linear-gradient(90deg, var(--tr-blue), var(--tr-violet), var(--tr-magenta));
    transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--tr-ease) 0.3s;
}
.steps.is-in::after { transform: scaleX(1); }
.step {
    position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
    padding: 28px 26px 26px; border-radius: 22px; border: 1px solid var(--tr-line);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}
.step::before {
    content: ''; position: absolute; top: -52px; left: 26px; width: 11px; height: 11px; border-radius: 50%;
    background: var(--tr-bg); border: 1px solid #b9c1d1; box-shadow: 0 0 0 4px var(--tr-bg);
}
.step-index { font-size: 46px; line-height: 1; letter-spacing: -0.05em; color: #ffffff; }
.step-when {
    align-self: flex-start; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #cfd6e6;
}
.step h3 { font-size: 21px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.step p { flex: 1; font-size: 14.5px; line-height: 1.65; font-weight: 300; color: #b3bccb; }
.step-out { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #a9bbff; }
.step-out::before { content: '\2192\00a0\00a0'; color: var(--tr-violet); }

/* ---- Formule : une seule, sur mesure ---- */
/* La gamme : du plus sobre au plus immersif, sur une ligne qui se trace et s'intensifie vers le bleu. */
.gamme-axe {
    display: flex; justify-content: space-between; margin-bottom: 18px;
    font: 500 10.5px/1 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tr-dim);
}
.gamme-axe span:last-child { color: #a9bbff; }
.gamme-liste { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; padding-top: 48px; }
.gamme-liste::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--tr-blue) 72%, #a9bbff);
    transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--tr-ease) 0.2s;
}
.gamme.is-in .gamme-liste::before { transform: scaleX(1); }
.gamme-item { --g: 0.08; position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gamme-item::before {
    content: ''; position: absolute; top: -53px; left: 0; width: 10px; height: 10px; border-radius: 50%;
    background: #ffffff; box-shadow: 0 0 0 5px rgba(47, 91, 255, var(--g));
}
.gamme-item:nth-child(2) { --g: 0.14; }
.gamme-item:nth-child(3) { --g: 0.2; }
.gamme-item:nth-child(4) { --g: 0.26; }
.gamme-item:nth-child(5) { --g: 0.34; }
.gamme-item h3 { font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; color: var(--tr-text); }
.gamme-item p { flex: 1; font-size: 14.5px; line-height: 1.62; font-weight: 300; color: #b3bccb; }
.gamme-lien {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
    border-bottom: 1px solid rgba(169, 187, 255, 0.35); color: #a9bbff; text-decoration: none;
    font: 500 11px/1 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
    transition: color 0.3s, border-color 0.3s;
}
.gamme-lien:hover { color: #ffffff; border-color: #ffffff; }
.gamme-lien:focus-visible { outline: 1px solid #ffffff; outline-offset: 4px; }
/* La dernière étape reste ouverte : un cercle en pointillés qui respire. */
.gamme-item.is-ouvert::before {
    top: -57px; left: -4px; width: 18px; height: 18px; background: transparent;
    border: 1px dashed #a9bbff; box-shadow: none; animation: gamme-respire 3.2s ease-in-out infinite;
}
.gamme-item.is-ouvert h3 { color: #a9bbff; }
@keyframes gamme-respire { 50% { transform: scale(1.35); opacity: 0.55; } }
.gamme-phrase {
    margin-top: clamp(70px, 8vw, 128px); max-width: 16ch;
    font-size: clamp(40px, 5.4vw, 96px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; color: var(--tr-text);
    text-wrap: balance;
}
.gamme-phrase .muted { color: #a9bbff; }

/* Votre formule : toujours compris, puis ce que le client coche (cases liées au formulaire de contact). */
.mesure {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 44px clamp(40px, 5vw, 96px);
    margin-top: clamp(70px, 8vw, 120px); padding: clamp(30px, 4vw, 58px); border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
}
.mesure-titre { margin-bottom: 22px; font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; color: var(--tr-text); }
.mesure-liste { list-style: none; display: grid; gap: 14px; }
.mesure-liste li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: #dfe6f3; }
.mesure-liste li::before {
    content: ''; flex: none; width: 9px; height: 5px; margin-top: 6px;
    border-left: 1.5px solid #a9bbff; border-bottom: 1.5px solid #a9bbff; transform: rotate(-45deg);
}
.mesure-aide { margin: -10px 0 20px; font-size: 13.5px; line-height: 1.6; font-weight: 300; color: var(--tr-dim); }
.besoins { display: flex; flex-wrap: wrap; gap: 10px; }
.besoin { position: relative; display: flex; }
.besoin input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.besoin span {
    display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 17px 10px 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18); color: #dfe6f3; cursor: pointer; user-select: none;
    font: 400 13.5px/1.2 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; letter-spacing: 0.01em;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.besoin span::before { content: '+'; width: 10px; text-align: center; color: #a9bbff; font-size: 15px; }
.besoin:hover span { border-color: rgba(255, 255, 255, 0.42); }
.besoin input:checked + span { background: rgba(47, 91, 255, 0.24); border-color: #a9bbff; color: #ffffff; }
.besoin input:checked + span::before { content: '\2713'; color: #ffffff; font-size: 12px; }
.besoin input:focus-visible + span { outline: 1px solid #ffffff; outline-offset: 3px; }
.mesure-pied {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px;
    padding-top: 32px; border-top: 1px solid var(--tr-line);
}
.mesure-pied p { max-width: 64ch; font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--tr-soft); }
.offer-btn {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4); color: #ffffff; text-decoration: none;
    font: 500 13px/1 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; letter-spacing: 0.02em;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.offer-btn:hover { background: #ffffff; color: #000000; border-color: #ffffff; }
.mesure-btn { flex: none; min-width: 270px; background: var(--tr-blue); border-color: var(--tr-blue); }
.mesure-btn:focus-visible { outline: 1px solid #ffffff; outline-offset: 4px; }

/* ---- Questions fréquentes ---- */
.trust-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside .trust-lead { margin: 30px 0 36px; }
.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.faq-list details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq-list summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 26px 0; font-size: 19px; line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; color: var(--tr-text);
    transition: color 0.3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #a9bbff; }
.faq-list summary:focus-visible { outline: 1px solid #ffffff; outline-offset: 4px; }
.faq-list summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-list summary i::before, .faq-list summary i::after {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #b9c1d1;
    transition: transform 0.5s var(--tr-ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details p { max-width: 64ch; padding: 0 0 28px; font-size: 15.5px; line-height: 1.75; font-weight: 300; color: var(--tr-soft); }

/* ---- Narrow screens ---- */
@media (max-width: 1240px) {
    .gamme-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
    .gamme-liste::before { display: none; }
    .gamme-item { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
    .gamme-item::before { top: -5px; }
    .gamme-item.is-ouvert::before { top: -9px; }
}
@media (max-width: 1100px) {
    .trust-head, .trust-faq { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
    .faq-aside { position: static; }
    .mesure { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .gamme-liste { grid-template-columns: 1fr; row-gap: 30px; }
    .mesure-btn { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 900px) {
    .trust { padding: 0 24px; }
    .trust-lines { inset: 0 24px; }
    .trust-inner { padding: 16vh 0 44vh; }
    .trust-title { font-size: clamp(40px, 11vw, 84px); }
    .trust-eyebrow { margin-bottom: 26px; }
    .steps { grid-template-columns: 1fr; row-gap: 18px; padding: 0 0 0 30px; }
    .steps::before, .steps::after { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .steps::after { background: linear-gradient(180deg, var(--tr-blue), var(--tr-violet), var(--tr-magenta)); transform: scaleY(0); transform-origin: top; }
    .steps.is-in::after { transform: scaleY(1); }
    .step::before { top: 34px; left: -31px; }
    .mesure { padding: 28px 22px; border-radius: 22px; }
    .faq-list summary { font-size: 17px; padding: 22px 0; }
}

/* ---- Reduced motion (header switch or system setting) ---- */
html.reduce-motion .trust [data-reveal] { transform: none; transition: opacity 0.5s ease; }
html.reduce-motion .steps::after { transition: none; }
html.reduce-motion .gamme-liste::before { transform: none; transition: none; }
html.reduce-motion .gamme-item.is-ouvert::before { animation: none; }


/* ---- Améliorations du 14/10/2026 ---- */
.step-visual { margin: 6px 0 4px; overflow: hidden; border-radius: 14px; border: 1px solid rgba(159, 208, 255, 0.24); background: #0a0f1f; }
.step-visual-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.step-visual-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.step-visual img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.step-visual figcaption { padding: 8px 10px; font-size: 11px; letter-spacing: 0.04em; color: #a9bbff; }
.gamme-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); }
.gamme-vide { display: grid; place-items: center; border-style: dashed; border-color: rgba(169, 187, 255, 0.55); color: #a9bbff; font-size: 34px; font-weight: 300; background: rgba(47, 91, 255, 0.06); }
.mesure-btn { transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.5s; }
.mesure.a-choisi .mesure-btn { box-shadow: 0 0 0 4px rgba(159, 208, 255, 0.22), 0 14px 44px -10px rgba(61, 90, 241, 0.95); }
.mesure-nb { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: auto; margin-right: 10px; padding: 0 6px; border-radius: 999px; background: #ffffff; color: #05060b; font-size: 11.5px; }
.mesure-nb[hidden] { display: none; }


/* ---- 20/10/2026 : version téléphone, plus compacte ---- */
@media (max-width: 720px) {
    .trust { padding: 0 16px; }
    .trust-lines { inset: 0 16px; }
    .trust-inner { padding: 12vh 0 30vh; }
    .trust-block + .trust-block { margin-top: 96px; }
    .trust-head { gap: 16px; margin-bottom: 40px; }
    .trust-eyebrow { margin-bottom: 18px; }
    .trust-title { font-size: clamp(32px, 9.2vw, 42px); }
    .trust-lead { font-size: 15px; line-height: 1.65; }
    .steps { row-gap: 14px; padding-left: 26px; }
    .step { gap: 10px; padding: 20px 18px; border-radius: 18px; }
    .step::before { top: 26px; left: -27px; }
    .step-index { font-size: 34px; }
    .step h3 { font-size: 18px; }
    .step p { font-size: 14px; line-height: 1.6; }
    .gamme-liste { row-gap: 24px; }
    .gamme-item h3 { font-size: 18px; }
    .gamme-item p { font-size: 14px; line-height: 1.6; }
    .gamme-phrase { margin-top: 56px; font-size: clamp(30px, 9vw, 40px); }
    .mesure { margin-top: 48px; padding: 22px 16px; border-radius: 20px; gap: 28px; }
    .mesure-titre { margin-bottom: 16px; font-size: 20px; }
    .mesure-liste li, .mesure-pied p { font-size: 14px; }
    .besoins { gap: 8px; }
    .besoin span { min-height: 40px; padding: 8px 14px 8px 12px; font-size: 13px; }
    .faq-list summary { padding: 18px 0; font-size: 15.5px; }
    .faq-list details p { padding-bottom: 22px; font-size: 14.5px; line-height: 1.65; }
}
