/* Art Color v4 : système clair et sobre. Violet = marque et action ; les encres = la méthode uniquement. */
@font-face { font-family: Geologica; src: url("assets/fonts/Geologica-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/Inter-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Andalan Eug"; src: url("assets/fonts/AndalanEug.woff2") format("woff2"); font-display: swap; }

:root {
  --violet: #5a28f0;
  --violet-dark: #4519d4;
  --violet-soft: #efe9ff;
  --ink: #160d30;
  --ink-2: #5a4f70;
  --ink-3: #8a8299;
  --line: #e9e3f5;
  --white: #fff;
  --tint: #f8f6fd;
  --anchor: #1f0c55;
  --anchor-2: #34129a;
  --on-anchor: #e6dcff;
  --cyan: #2fb4e6;
  --magenta: #e0218a;
  --yellow: #ffd23f;
  --display: Geologica, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --r-img: 12px;
  --r-card: 20px;
  --shadow: 0 1px 2px rgba(22, 13, 48, .04), 0 12px 32px rgba(22, 13, 48, .07);
  --pad: clamp(80px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.container { width: min(1200px, 100% - 64px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Surfaces : blanc, blanc lavande, et trois sections d'ancrage violet. */
.s { padding-block: var(--pad); }
.s--tint { background: var(--tint); }
.s--anchor { background: radial-gradient(ellipse at 85% 0%, rgba(132, 86, 255, .35), transparent 55%), linear-gradient(160deg, var(--anchor-2), var(--anchor) 65%); color: var(--on-anchor); }
.s--anchor h2, .s--anchor h3 { color: #fff; }

/* Typographie : une seule échelle. */
.eyebrow { display: inline-block; margin-bottom: 18px; font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.s--anchor .eyebrow { color: #c9b6ff; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.nowrap { white-space: nowrap; }
h1 .accent { background: linear-gradient(100deg, var(--violet) 10%, #b04bff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
h2 .soft { color: var(--ink-3); }
.s--anchor h2 .soft { color: #a996e6; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.title-s { font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.s--anchor .lead, .s--anchor p { color: var(--on-anchor); }
.muted { color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-3); }
.s--anchor .note { color: #b4a3e8; }
.head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lead { margin-top: 20px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lead { margin-inline: auto; }
.missing { padding: 1px 6px; border-radius: 4px; background: #fff1bf; color: #6b4e00; font-size: .9em; }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--violet); color: #fff; font: 600 15px/1.2 var(--display); text-decoration: none; box-shadow: 0 10px 24px rgba(90, 40, 240, .22); transition: background .2s, transform .2s; }
.btn:hover { background: var(--violet-dark); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--anchor-2); box-shadow: none; }
.btn--light:hover { background: var(--violet-soft); }
.link { color: var(--violet); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.s--anchor .link { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.links-row { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.links-row .sep { margin-inline: 10px; color: var(--line); }

/* Navigation : #5A28F0 à 8 % sur fond givré au scroll, logo couleur. */
.nav-wrap { position: fixed; z-index: 100; inset: 16px 0 auto; padding-inline: 16px; }
.nav { position: relative; display: flex; align-items: center; gap: 28px; width: min(1232px, 100%); margin-inline: auto; padding: 12px 14px 12px 22px; border: 1px solid transparent; border-radius: 18px; transition: background .25s, border-color .25s, box-shadow .25s; }
.nav-wrap.is-scrolled .nav { background: linear-gradient(rgba(90, 40, 240, .08), rgba(90, 40, 240, .08)), rgba(255, 255, 255, .84); border-color: rgba(90, 40, 240, .12); box-shadow: 0 8px 30px rgba(22, 13, 48, .06); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.logo { display: block; width: 148px; aspect-ratio: 328 / 82; background: var(--violet); -webkit-mask: url("assets/logo.png") center / contain no-repeat; mask: url("assets/logo.png") center / contain no-repeat; }
.logo--white { background: #fff; }
.nav__logo { flex: none; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; font: 500 15px/1 var(--display); }
.nav__links a { text-decoration: none; color: var(--ink); }
.nav__links a:hover { color: var(--violet); }
.nav__lang { display: flex; gap: 8px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 13px; }
.nav__lang-current { color: var(--violet); font-weight: 600; }
.nav__cta { padding: 12px 18px; font-size: 14px; box-shadow: none; }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 168px 0 var(--pad); background: radial-gradient(ellipse 60% 70% at 88% 18%, rgba(90, 40, 240, .13), transparent 70%), radial-gradient(ellipse 40% 40% at 70% 85%, rgba(176, 75, 255, .08), transparent 70%), var(--white); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero .lead { margin-top: 28px; }
.services { margin-top: 18px; font: 500 14px/1.6 var(--display); letter-spacing: .01em; color: var(--ink); }
.services span { color: var(--violet); padding-inline: 6px; }
.hero .actions { margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.trust strong { font-family: var(--display); color: var(--ink); }
.handwritten { font-family: "Andalan Eug", cursive; font-size: 26px; line-height: 1.1; color: var(--violet); transform: rotate(-4deg); }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure { position: absolute; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow); background: var(--tint); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { inset: 0 24% 32% 0; }
.collage__b { width: 38%; aspect-ratio: 4 / 5; right: 0; top: 24%; }
.collage__c { width: 58%; aspect-ratio: 1734 / 907; left: 8%; bottom: 0; }
.collage figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 500 12px/1 var(--display); color: var(--ink); }

/* Avant / après, typographique */
.ba { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: start; }
.ba__col h3 { margin-bottom: 22px; }
.ba__col li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--line); }
.ba__before h3, .ba__before li { color: var(--ink-3); }
.ba__before li::before { content: "—"; position: absolute; left: 0; color: #c4bdd2; }
.ba__after h3 { color: var(--violet); }
.ba__after li::before { content: "✓"; position: absolute; left: 2px; color: var(--violet); font-weight: 700; }
.ba__arrow { align-self: center; justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-weight: 700; }

/* Le problème : citations, sans cadres */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quotes blockquote { padding-top: 24px; border-top: 2px solid var(--ink); font: 500 22px/1.4 var(--display); letter-spacing: -.01em; }
.quotes blockquote::before { content: "«"; display: block; margin-bottom: 8px; color: var(--violet); font-size: 34px; line-height: 1; }
.after-note { margin-top: 48px; font-size: 18px; color: var(--ink-2); }
.after-note strong { color: var(--ink); }

/* La méthode : encres en surimpression, seul endroit où elles apparaissent. */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.venn { max-width: 500px; width: 100%; margin-inline: auto; }
.venn svg { display: block; width: 100%; height: auto; overflow: visible; }
.venn .ink { mix-blend-mode: multiply; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.venn .ink--c { fill: var(--cyan); fill-opacity: .78; }
.venn .ink--m { fill: var(--magenta); fill-opacity: .72; }
.venn .ink--y { fill: var(--yellow); fill-opacity: .85; }
.venn .centre { fill: var(--violet); transition: opacity .6s .7s; }
.venn text { font-family: var(--display); }
.js .venn:not(.is-in) .ink--c { transform: translate(-46px, -26px); }
.js .venn:not(.is-in) .ink--m { transform: translate(46px, -26px); }
.js .venn:not(.is-in) .ink--y { transform: translate(0, 52px); }
.js .venn:not(.is-in) .centre { opacity: 0; }
.colours li { display: grid; grid-template-columns: 10px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.colours li:last-child { border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; }
.dot--c { background: var(--cyan); }
.dot--m { background: var(--magenta); }
.dot--y { background: var(--yellow); }
.colours p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.colours .without { font-size: 14px; color: var(--ink-3); }
.centre-note { margin-top: 26px; font-size: 16px; color: var(--ink-2); }
.centre-note strong { color: var(--violet); }

/* L'offre : un seul panneau, trois colonnes séparées par des filets. */
.panel { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; color: var(--ink); border-radius: var(--r-card); box-shadow: 0 30px 60px rgba(10, 2, 40, .25); }
.panel > div { padding: 36px 34px; }
.panel > div + div { border-left: 1px solid var(--line); }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); font-size: 18px; }
.panel li { padding: 8px 0; color: var(--ink-2); font-size: 15px; border-top: 1px solid #f1edf8; }
.panel li:first-child { border-top: 0; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 64px; }
.fit h3 { margin-bottom: 16px; font-size: 18px; }
.fit li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid rgba(230, 220, 255, .16); color: var(--on-anchor); font-size: 16px; }
.fit li::before { position: absolute; left: 0; font-weight: 700; }
.fit__yes li::before { content: "✓"; color: #fff; }
.fit__no li::before { content: "✕"; color: #b4a3e8; }

/* Réalisations */
.wall { overflow: hidden; margin-bottom: 72px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wall__track { display: flex; gap: 20px; width: max-content; animation: wall 90s linear infinite; }
.wall:hover .wall__track { animation-play-state: paused; }
.wall figure { flex: none; width: 210px; }
.wall img { width: 210px; height: 262px; object-fit: cover; border-radius: var(--r-img); }
.wall figcaption { margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--ink-3); }
@keyframes wall { to { transform: translateX(-50%); } }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.feature__visual { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: end; }
.feature__visual img { border-radius: var(--r-img); box-shadow: var(--shadow); }
.story-dl dt { margin-top: 18px; font: 600 12px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.story-dl dd { margin-top: 4px; color: var(--ink-2); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 88px; }
.card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 24px 26px 28px; }
.card .story-dl dt:first-child { margin-top: 10px; }
.card .story-dl dd { font-size: 15px; }

/* Avis */
.reviews-carousel { position: relative; }
.reviews--carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews--carousel::-webkit-scrollbar { display: none; }
.reviews-track { display: flex; gap: 24px; }
.review { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); }
.review blockquote { font-size: 16px; line-height: 1.6; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font: 600 13px/1 var(--display); }
.review-who strong { display: block; font: 600 15px/1.3 var(--display); }
.review-who span { font-size: 13px; color: var(--ink-3); }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.reviews-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.reviews-controls button:hover { border-color: var(--violet); color: var(--violet); }
.reviews-position { font-size: 13px; color: var(--ink-3); min-width: 44px; text-align: center; }
.reviews-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reviews-translated { margin-top: 12px; }

/* L'appel */
.call { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.steps { counter-reset: step; margin-top: 36px; }
.steps li { position: relative; padding: 20px 0 20px 56px; border-top: 1px solid rgba(230, 220, 255, .16); counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 22px; font: 600 14px/1 var(--display); color: #c9b6ff; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 4px; font-size: 16px; }
.contact-card { padding: 34px; background: #fff; color: var(--ink); border-radius: var(--r-card); }
.contact-card h3 { color: var(--ink); }
.contact-card li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-card li:first-child { margin-top: 18px; }
.contact-card li > span { display: block; font-size: 13px; color: var(--ink-3); }
.contact-card a { color: var(--violet); font-weight: 600; }
.contact-card .note { margin-top: 18px; color: var(--ink-3); }

/* Histoire et équipe */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.story-rows li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.story-rows li:last-child { border-bottom: 1px solid var(--line); }
.story-rows p { color: var(--ink-2); font-size: 16px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 96px; }
.team img, .team__placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.team__placeholder { display: grid; place-items: center; padding: 20px; background: var(--tint); text-align: center; }
.team figcaption { margin-top: 16px; }
.team figcaption strong { display: block; font: 600 18px/1.3 var(--display); }
.team figcaption span { font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 48px 24px 0; font: 500 18px/1.4 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 24px; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); }

/* Dernier appel + pied de page, une seule ancre */
.close { text-align: center; }
.close h2 { max-width: 14ch; margin-inline: auto; }
.close p { max-width: 56ch; margin: 22px auto 0; }
.close .actions { justify-content: center; }
.close .handwritten { margin-top: 36px; color: #d9c9ff; }
.footer { padding: 64px 0 40px; background: var(--anchor); color: var(--on-anchor); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(230, 220, 255, .14); }
.footer-top p { margin-top: 18px; color: #b4a3e8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; align-content: start; }
.footer-links a, .footer-social a, .footer-lang, .footer-bottom a { color: var(--on-anchor); text-decoration: none; }
.footer-links a:hover, .footer-social a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; margin-top: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; color: #b4a3e8; }

/* Apparition douce */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }


/* Typographie du site d'origine : les axes variables de Geologica fournis par la designer, sur tous les titres. */
:root { --title-variation: "CRSV" 0, "SHRP" 37; }
:is(h1, h2, h3, h4, .eyebrow, .title-s, summary, .services, .story-dl dt, .quotes blockquote, .featured-quote blockquote,
    .team figcaption strong, .review-who strong, .result__label, .result__name, .result__tagline, .clients__title,
    .clients__list li, .offer-path strong, .quiz__group legend, .quiz__verdict, .ghost, .panel h3, .fit h3) {
  font-variation-settings: var(--title-variation);
}
h1 { line-height: 1.08; }
h2 { line-height: 1.12; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall { overflow-x: auto; }
  .wall__track { animation: none; }
  .js [data-reveal], .venn .ink, .venn .centre { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .venn:not(.is-in) .ink { transform: none; }
  .js .venn:not(.is-in) .centre { opacity: 1; }
}

@media (max-width: 1000px) {
  .nav__links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav--open .nav__links { display: flex; }
  .nav__links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__lang { padding: 14px 0 6px; border: 0; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
  .nav { background: rgba(255, 255, 255, .9); border-color: var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .hero__grid, .method, .feature, .call, .story { grid-template-columns: 1fr; gap: 48px; }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
  .panel { grid-template-columns: 1fr; }
  .panel > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cases { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .review { flex-basis: calc((100% - 24px) / 2); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links, .footer-meta { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  body { font-size: 16px; }
  .hero { padding-top: 132px; }
  .lead { font-size: 17px; }
  .ba { grid-template-columns: 1fr; gap: 24px; }
  .ba__arrow { transform: rotate(90deg); }
  .quotes, .fit { grid-template-columns: 1fr; gap: 28px; }
  .quotes blockquote { font-size: 19px; }
  .story-rows li { grid-template-columns: 1fr; gap: 8px; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
  .team > :last-child { grid-column: 1 / -1; max-width: 50%; }
  .review { flex-basis: 86%; }
  .wall figure, .wall img { width: 160px; }
  .wall img { height: 200px; }
  .nav__cta { display: none; }
  .logo { width: 128px; }
  .faq summary { font-size: 16px; }
}
