/* ─────────────────────────────────────────────────────────────
   Direction éditoriale — chargée après styles.css.
   Mise en page plus sobre : titres alignés à gauche et numérotés,
   angles nets, moins de cartes et moins d'effets.
   Supprimez le lien vers ce fichier dans index.html pour revenir
   à l'ancien style.
   ───────────────────────────────────────────────────────────── */

/* Angles nets */
.btn, .chip, .form input, .form select, .form textarea { border-radius: 4px; }
.card, .contact-card, .result, .case-media, .member-link::after { border-radius: 6px; }
.form, .poster, .badge-frame { border-radius: 8px; }
.badge-frame img { border-radius: 4px; }
.brand img, .footer img { border-radius: 4px; }
.case-num { border-radius: 2px; }

/* Effets retirés */
.btn-gold { box-shadow: none; }
.btn-gold::after { display: none; }
.hero h1 .gold { animation: none; background: none; color: var(--gold); }
.hero-tags span, .badge-frame, .dark-star { animation: none; }
.divider, .values .star { display: none; }
.card:hover { transform: translateY(-2px); box-shadow: none; border-color: var(--primary); }
.card:hover .icon-box, .step:hover .num { transform: none; }
.member:hover .avatar { animation: none; }
.chip:hover { transform: none; }

/* Accueil : texte en bas à gauche */
.hero { text-align: left; align-items: flex-end; padding: 140px 0 64px; }
.hero::before { background: linear-gradient(90deg, oklch(23% .05 168 / .92) 0%, oklch(23% .05 168 / .72) 55%, oklch(23% .05 168 / .45) 100%), linear-gradient(0deg, oklch(23% .05 168 / .9), transparent 45%); }
.hero h1 { font-size: clamp(3rem, 10vw, 7rem); line-height: .92; margin: 14px 0 20px; letter-spacing: -.02em; }
.hero .tagline { font-weight: 500; }
.hero .lead { margin-left: 0; max-width: 560px; }
.hero-actions, .hero-tags { justify-content: flex-start; }
.hero-tags { margin-top: 56px; padding-top: 18px; border-top: 1px solid oklch(100% 0 0 / .22); gap: 26px; font-size: .72rem; }

/* Titres de section : à gauche, numérotés, texte en vis-à-vis */
main { counter-reset: sec; }
.section-head { counter-increment: sec; text-align: left; max-width: none; margin: 0 0 52px; padding-top: 22px; border-top: 1px solid var(--fg); display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 56px; align-items: end; }
.dark .section-head { border-top-color: oklch(100% 0 0 / .3); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 18px; letter-spacing: .2em; color: var(--muted-fg); }
.dark .section-head .eyebrow { color: oklch(97.7% .01 95 / .6); }
.section-head .eyebrow::before { content: counter(sec, decimal-leading-zero) " — "; color: var(--gold); font-weight: 700; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
.section-head p:not(.eyebrow) { margin: 0; font-size: .98rem; }

/* À propos */
.about .eyebrow { color: var(--muted-fg); letter-spacing: .2em; }
.about h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); letter-spacing: -.03em; }
.vision { background: none; border-left: 2px solid var(--gold); border-radius: 0; padding: 4px 0 4px 20px; }
.badge-frame { box-shadow: none; padding: 14px; }
.values { gap: 0; border-top: 1px solid var(--fg); }
.values .card { background: none; border: 0; border-right: 1px solid var(--border); border-radius: 0; padding: 24px 22px 8px; }
.values .card:last-child { border-right: 0; }
.values .card:first-child { padding-left: 0; }
.values .card:hover { transform: none; }
.values .card h3 { margin-top: 0; }
.poster { box-shadow: none; }

/* Services : colonnes à filet plutôt que cartes */
.service { background: none; border: 0; border-top: 2px solid var(--primary); border-radius: 0; padding: 20px 0 8px; }
.service:hover { transform: none; border-color: var(--gold); }
.service .icon-box { background: none; color: var(--primary); width: auto; height: auto; display: block; font-size: 1.6rem; margin-bottom: 12px; }
.service h3 { font-size: 1.15rem; }
.service .checklist li svg { display: none; }
.service .checklist li::before { content: "—"; color: var(--gold); }
#services .grid { gap: 40px 28px; }

/* Études de cas */
.case { border-top-color: oklch(100% 0 0 / .14); }
.case-media { box-shadow: none; border-color: oklch(100% 0 0 / .18); }
.results { gap: 0; border-top: 1px solid oklch(100% 0 0 / .18); border-bottom: 1px solid oklch(100% 0 0 / .18); }
.result { background: none; border: 0; border-right: 1px solid oklch(100% 0 0 / .18); border-radius: 0; text-align: left; padding: 16px 14px; }
.result:first-child { padding-left: 0; }
.result:last-child { border-right: 0; }
.result:hover { transform: none; }
.result strong { font-size: 1.9rem; }

/* Projets */
.project { border-radius: 0; border-width: 0 0 1px; background: none; padding: 22px 0; }
.project:hover { transform: none; border-color: var(--gold); }
#projets-grid { gap: 0 36px; }

/* Publics */
.audience { border-radius: 0; background: none; border: 0; border-top: 2px solid var(--gold); padding: 20px 0 0; }
.audience:hover { transform: none; }
.dotlist li::before { content: "→"; font-weight: 400; }

/* Processus : étapes sur une ligne de temps */
.step { background: none; border: 0; border-left: 1px solid var(--border); border-radius: 0; padding: 2px 0 6px 20px; }
.step:hover { transform: none; border-color: var(--gold); }
.step .num { font-size: .85rem; letter-spacing: .15em; color: var(--muted-fg); font-weight: 700; }
.step .num::after { content: " /07"; opacity: .5; }

/* Réalisations */
.achv { text-align: left; background: none; border: 0; border-top: 1px solid var(--fg); border-radius: 0; padding: 18px 0 0; }
.achv:hover { transform: none; }
.achv .icon-box { margin: 0 0 12px; background: none; width: auto; height: auto; display: block; font-size: 1.5rem; }

/* Équipe et contact */
.member { padding: 28px; }
.contact-card { text-align: left; background: none; padding: 22px 0 0; border-width: 1px 0 0; border-radius: 0; border-color: oklch(100% 0 0 / .3); }
.contact-card:hover { transform: none; background: none; }
.form { background: oklch(100% 0 0 / .03); border-color: oklch(100% 0 0 / .16); max-width: none; display: block; }
.footer { text-align: left; }
.footer img { margin: 0 0 14px; }
.footer .brand { justify-content: flex-start; }

@media (max-width: 1024px) {
  .values .card:nth-child(2) { border-right: 0; }
  .values .card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .values .card:nth-child(3) { padding-left: 0; }
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; row-gap: 14px; margin-bottom: 36px; }
  .hero { padding-bottom: 48px; }
}
@media (max-width: 560px) {
  .values .card { border-right: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .values .card:first-child { border-top: 0; }
  .result { border-right: 0; border-bottom: 1px solid oklch(100% 0 0 / .18); padding-left: 0; }
  .result:last-child { border-bottom: 0; }
  .hero-tags { gap: 14px; }
}


/* ── « Pour qui développons-nous » : panneaux animés ── */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--fg); }
.aud { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 360px; padding: 28px 24px 26px; border-right: 1px solid var(--fg); }
.aud:last-child { border-right: 0; }
.aud::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-deep); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.aud:hover::before, .aud:focus-within::before { transform: scaleY(1); }
.aud-num { font-family: var(--font-display); font-weight: 900; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); transition: color .4s; }
.aud:hover .aud-num, .aud:focus-within .aud-num { color: var(--gold); }
.aud-icon { position: absolute; top: 30px; right: 24px; font-size: 1.7rem; color: var(--primary); transition: transform .5s cubic-bezier(.3,1.6,.5,1), color .35s; }
.aud:hover .aud-icon, .aud:focus-within .aud-icon { color: var(--gold); transform: rotate(-12deg) scale(1.25); }
.aud h3 { font-size: 1.3rem; color: var(--primary); margin: 28px 0 8px; transition: color .35s; }
.aud p { font-size: .9rem; color: var(--muted-fg); margin-bottom: 18px; transition: color .35s; }
.aud ul { list-style: none; display: grid; gap: 9px; font-size: .93rem; margin-bottom: 24px; transition: color .35s; }
.aud li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(-16px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--d, 0ms) + 350ms + var(--i) * 90ms); }
.aud.visible li { opacity: 1; transform: none; }
.aud li::before { content: ""; width: 14px; height: 1px; background: var(--gold); transition: width .35s; }
.aud:hover li::before, .aud:focus-within li::before { width: 26px; }
.aud:hover, .aud:focus-within { color: var(--cream); }
.aud:hover h3, .aud:focus-within h3 { color: var(--cream); }
.aud:hover p, .aud:focus-within p { color: oklch(97.7% .01 95 / .72); }
.aud-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--gold); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.aud:hover .aud-cta, .aud:focus-within .aud-cta { opacity: 1; transform: none; }
.aud-cta svg { transition: transform .25s; }
.aud-cta:hover svg { transform: translateX(5px); }
@media (hover: none) { .aud-cta { opacity: 1; transform: none; } }

/* ── Affiche : apparition en rideau, inclinaison 3D, reflet ── */
.poster-stage { max-width: 940px; margin: 64px auto 0; perspective: 1400px; }
.poster-stage .poster { position: relative; margin: 0; max-width: none; overflow: hidden; border-radius: 8px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, clip-path 1.3s cubic-bezier(.7,0,.2,1), box-shadow .3s; clip-path: inset(0 100% 0 0); box-shadow: 0 40px 80px -40px oklch(23% .05 168 / .55); will-change: transform; }
.poster-stage.visible .poster { clip-path: inset(0 0 0 0); }
.poster-stage .poster img { width: 100%; transform: scale(1.12); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.poster-stage.visible .poster img { transform: scale(1); }
.poster-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), oklch(100% 0 0 / .28), transparent 65%); mix-blend-mode: soft-light; }
.poster:hover .poster-shine { opacity: 1; }
.marquee { margin-top: 56px; overflow: hidden; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2.1rem); letter-spacing: .02em; color: var(--primary); white-space: nowrap; }
.marquee-track span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1px var(--primary); }
.marquee-track i { font-style: normal; color: var(--gold); font-size: .8em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.about { padding-bottom: 0; }
.about + section { padding-top: 96px; }

/* ── Réseaux sociaux ── */
.follow { margin-top: 56px; padding-top: 22px; border-top: 1px solid oklch(100% 0 0 / .3); }
.follow .eyebrow { margin-bottom: 20px; }
.follow-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.social { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid oklch(100% 0 0 / .18); border-radius: 6px; background: none; color: var(--cream); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s, color .3s, transform .3s; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateX(-101%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.social:hover::before, .social:focus-visible::before { transform: none; }
.social:hover, .social:focus-visible { color: var(--forest-deep); border-color: var(--gold); transform: translateY(-3px); }
.social > svg { font-size: 1.7rem; color: var(--gold); transition: color .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.social:hover > svg, .social:focus-visible > svg { color: var(--forest-deep); transform: scale(1.15) rotate(-8deg); }
.social strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.social small { display: block; font-size: .78rem; opacity: .75; overflow-wrap: anywhere; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a, .footer-social button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid oklch(100% 0 0 / .2); border-radius: 4px; background: none; color: var(--cream); font-size: 1.15rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.footer-social a:hover, .footer-social button:hover { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); transform: translateY(-3px); }

@media (max-width: 1024px) {
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .aud:nth-child(2) { border-right: 0; }
  .aud:nth-child(-n+2) { border-bottom: 1px solid var(--fg); }
  .follow-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud { border-right: 0; border-bottom: 1px solid var(--fg); min-height: 0; }
  .aud:last-child { border-bottom: 0; }
  .follow-links { grid-template-columns: 1fr; }
  .marquee { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .aud li { opacity: 1; transform: none; }
  .poster-stage .poster { clip-path: none; }
  .poster-stage .poster img { transform: none; }
}

/* Lien « Visiter le site » des études de cas */
.case-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 4px; font-weight: 600; font-size: .92rem; color: var(--cream); border-bottom: 1px solid var(--gold); transition: color .25s, gap .25s; }
.case-link span { color: var(--gold); font-weight: 500; }
.case-link:hover { color: var(--gold); gap: 12px; }
