/* Zelos 21 — langage visuel startup et mouvement abstrait. */
:root { --font-display: 'Segoe UI Variable Display', 'Segoe UI', Arial, sans-serif; }
body { font-family: var(--font-display); }
.site-header { top: 12px; width: min(calc(100% - 32px),1344px); margin: 12px auto; border: 1px solid var(--line-light); border-radius: 16px; box-shadow: 0 8px 25px rgba(25,21,47,.025); }
.header-inner { min-height: 76px; width: calc(100% - 38px); }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(25,21,47,.09); }
.site-nav { font-weight: 600; }
.site-nav .nav-cta { border-radius: 8px; background: var(--accent-readable); }
.site-nav .nav-cta:hover { background: var(--ink); }
.site-nav > a:not(.nav-cta)::after { border-radius: 10px; bottom: 6px; height: 2px; }
.button { border-radius: 9px; }
.button-primary { background: var(--accent-readable); border-color: var(--accent-readable); box-shadow: 0 4px 16px rgba(108,99,255,.12); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 650; }
.eyebrow-line { border-radius: 4px; height: 3px; width: 16px; }
h1::after { display: none; }
.hero h1,.company-page .article-hero h1,.article-hero h1,.robot-article .article-hero h1 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.065em; line-height: 1.06; }
.hero h1 span,.company-page .article-hero h1 span { font-family: var(--font-display); font-size: 1em; font-weight: 650; letter-spacing: inherit; }
.company-intro h2,.trust-layout h2,.detail-intro h2,.company-story-copy h2,.company-purpose h2,.company-world h2,.company-identity h2 { font-weight: 600; letter-spacing: -.05em; }
.reviews-heading h2,.contact-card h2,.company-atlas figcaption strong,.article-hero-card strong,.company-date-card > strong,.company-metrics dt { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; }
.reviews-heading h2 em { font-style: normal; font-weight: 600; }
.company-date-card p { font-family: var(--font-display); font-size: 24px; font-style: normal; letter-spacing: -.025em; }

/* The entry screen is an open composition, with the animation integrated. */
.home-page .hero { width: min(calc(100% - 32px),1440px); margin: 0 auto; color: var(--paper); border: 1px solid #302944; border-radius: 24px; background: radial-gradient(ellipse at 80% 28%,rgba(108,99,255,.13),transparent 48%),var(--ink); isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(232,229,248,.12) .65px,transparent .65px); background-size: 24px 24px; mask-image: linear-gradient(90deg,transparent 5%,#000 85%); }
.hero-layout { width: calc(100% - 80px); min-height: 650px; padding-block: 62px; grid-template-columns: 1.09fr 1fr; gap: 0; align-items: center; }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero .eyebrow { color: #D8D4EA; display: inline-flex; background: rgba(232,229,248,.045); border: 1px solid rgba(232,229,248,.15); border-radius: 999px; padding: 8px 13px; font-size: 11px; letter-spacing: .085em; gap: 9px; margin-bottom: 24px; }
.hero .eyebrow-line { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px rgba(255,107,87,.4); }
.hero h1 { color: var(--paper); font-size: clamp(3rem,5.15vw,4.8rem); margin-bottom: 24px; }
/* One padded paint area prevents tight tracking from clipping end-of-line glyphs. */
.hero h1 span { display: block; padding: .12em .1em; margin: -.12em -.1em; color: #ACA5FF; background: linear-gradient(100deg,#FF9383 -20%,#B5ACFF 45%,#8980FF 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 420px; color: #C4BED8; font-size: 18px; line-height: 1.8; }
.home-page .hero-lead { margin-bottom: 30px; }
.hero .button-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 0 0 28px rgba(108,99,255,.17); }
.hero .button-primary:hover { background: var(--line-light); border-color: var(--line-light); box-shadow: 0 0 34px rgba(108,99,255,.3); }
.hero .text-link { color: var(--paper); border-color: rgba(232,229,248,.25); font-size: 14px; }
.hero .text-link:hover { color: #C2BBFF; }
.hero-actions { gap: 22px; }
.hero-signature { color: #A8A0C0; border-color: rgba(232,229,248,.14); font-size: 12px; font-weight: 500; letter-spacing: .05em; margin-top: 30px; padding-top: 20px; }
.trajectory-scene { position: relative; min-width: 0; width: 112%; margin-left: -6%; height: 530px; isolation: isolate; }
.trajectory-scene::before { content: ''; position: absolute; inset: 16% 8%; border-radius: 50%; background: radial-gradient(ellipse,transparent 40%,rgba(108,99,255,.18) 45%,#6C63FF 47%,rgba(255,107,87,.45) 49%,transparent 56%); transform: rotate(-32deg); opacity: .9; transition: opacity .6s; }
.trajectory-scene[data-animation-ready="true"]::before { opacity: 0; }
#trajectory-canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; pointer-events: none; }
.trajectory-heading { position: absolute; left: 25px; bottom: 68px; display: grid; gap: 4px; padding: 13px 18px; border: 1px solid rgba(232,229,248,.16); border-radius: 12px; background: rgba(25,21,47,.5); backdrop-filter: blur(14px); }
.trajectory-heading span { color: #BFB8D4; font-size: 12px; }
.trajectory-heading strong { color: var(--paper); font-weight: 500; font-size: 24px; letter-spacing: -.045em; line-height: 1.2; }
.trajectory-labels { position: absolute; left: 25px; right: 25px; bottom: 0; display: flex; justify-content: space-between; gap: 12px; color: #CEC9E0; padding: 20px 0 0; font-size: 13px; border-top: 1px solid rgba(232,229,248,.13); }
.trajectory-labels span { display: inline-flex; align-items: center; gap: 8px; }
.trajectory-labels span::before { content: ''; display: block; width: 4px; height: 4px; background: var(--purple); border-radius: 50%; }
.trajectory-labels span:nth-child(2)::before { background: var(--emerald); }
.trajectory-labels span:nth-child(3)::before { background: var(--mint); }
.animation-toggle { position: absolute; top: 6px; right: 22px; z-index: 3; display: inline-flex; gap: 9px; align-items: center; justify-content: center; color: #D4CEE6; background: rgba(232,229,248,.04); border: 1px solid rgba(232,229,248,.15); border-radius: 999px; min-height: 42px; padding: 9px 14px; font-size: 12px; line-height: 1; transition: background .2s; }
.animation-toggle[hidden] { display: none; }
.animation-toggle:hover { background: rgba(108,99,255,.2); }
.animation-symbol { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.animation-toggle[aria-pressed="true"] .animation-symbol { border: 0; width: 9px; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }

/* Replace repeated numbered columns with a compact projects overview. */
.home-page .trust-section { border-top: 0; padding-top: 95px; padding-bottom: 80px; }
.home-page .trust-layout { display: block; }
.home-page .trust-layout > div:first-child { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 10%; }
.home-page .trust-layout > div:first-child .eyebrow { grid-column: 1/-1; }
.home-page .trust-layout h2 { font-size: clamp(2rem,3vw,2.8rem); grid-column: 1; grid-row: 2 / span 2; margin: 0; }
.home-page .projects-intro { grid-column: 2; grid-row: 2; margin: 0 0 20px; }
.home-page .projects-next { grid-column: 2; grid-row: 3; justify-self: start; }
.home-page .trust-copy { margin-top: 44px; max-width: none; width: 100%; }
.home-page .trust-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-page .trust-point,.home-page .trust-point:first-child { display: block; padding: 28px; border: 1px solid var(--line-light); border-radius: 16px; background: linear-gradient(145deg,#FFFFFF,var(--paper)); transition: transform .3s,border-color .3s,box-shadow .3s; position: relative; overflow: hidden; }
.home-page .trust-point::before { content: ''; display: block; width: 30px; height: 4px; padding: 0; border-radius: 8px; background: var(--purple); margin-bottom: 24px; counter-increment: none; }
.home-page .trust-point:nth-child(2)::before { background: var(--emerald); }
.home-page .trust-point:nth-child(3)::before { background: var(--mint); }
.home-page .trust-point h3 { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.home-page .trust-point:hover { transform: translateY(-4px); border-color: rgba(108,99,255,.45); box-shadow: 0 16px 32px rgba(25,21,47,.055); }
.home-page .trust-point p { line-height: 1.75; }
.home-page .detail-point { display: block; }
.home-page .detail-point h3 { font-weight: 600; letter-spacing: -.03em; }
.home-page #optimisation-fiscale { padding-block: 80px 95px; }
.home-page #optimisation-fiscale .detail-points { border-left: 1px solid var(--line-light); padding-left: 38px; }
.home-page #securite { width: min(calc(100% - 32px),1344px); border-radius: 24px; margin: 0 auto; padding-block: 65px; background: radial-gradient(ellipse at 100% 50%,rgba(108,99,255,.16),transparent 55%),var(--ink); }
.home-page #securite .detail-layout { display: block; }
.home-page #securite .detail-intro { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 12%; margin: 0; max-width: none; width: 100%; }
.home-page #securite .eyebrow { grid-column: 1/-1; }
.home-page #securite h2 { grid-row: 2/4; }
.home-page #securite .detail-intro > p:not(.eyebrow) { grid-column: 2; margin: 0 0 20px; }
.home-page #securite .text-link { grid-column: 2; justify-self: start; }
.home-page #securite .detail-points { grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 38px; }
.home-page #securite .detail-point,.home-page #securite .detail-point:first-child { padding: 25px 0 0; border-bottom: 0; border-top: 1px solid #48405C; }
.home-page #securite .detail-point h3 { color: #E7E3F3; }
.home-page #robot-trading { border-top: 0; }
.robot-panel { border-radius: 18px; box-shadow: 0 20px 50px rgba(25,21,47,.07); overflow: hidden; }
.robot-dashboard-title strong { font-weight: 600; letter-spacing: -.04em; }
.robot-signals article { border-radius: 8px; min-height: 68px; padding: 13px 10px; }
.robot-chart-wrap { border-radius: 10px; }
.robot-dashboard-tag { border-radius: 999px; }
.reviews-section { background: #F6F5FC; border: 0; }
.review-card { background: var(--paper); border-radius: 18px; }
.review-card-purple { background: var(--ink); }
.reviews-arrow,.reviews-play { border-radius: 999px; }
.company-atlas { border-radius: 20px; }
.company-metrics dt { font-size: clamp(2.6rem,4vw,3.7rem); }
.company-values { gap: 20px; }
.company-value { border: 1px solid var(--line-light); border-radius: 16px; padding: 28px; }
.company-value h3 { font-weight: 600; font-size: 22px; }
.company-date-card { border-color: var(--purple); }
.company-date-card > strong { background: var(--gradient-main); background-clip: text; -webkit-background-clip: text; color: transparent; }
.company-facts { border-color: var(--purple); }
.contact-card { border-radius: 22px; background: radial-gradient(ellipse at 100% 20%,rgba(108,99,255,.23),transparent 65%),var(--ink); }
.contact-card h2 { font-weight: 600; font-size: clamp(2rem,3.4vw,3.15rem); line-height: 1.13; }
.contact-card::before { height: 2px; opacity: .65; }
.article-hero-card { border-left-color: var(--purple); }
.article-hero-card strong { font-size: 31px; }
.article-content h2 { font-weight: 600; }
.article-callout { border-radius: 0 12px 12px 0; }
.about-visual { border-radius: 20px; }

@media (max-width: 1180px) {
  .hero-layout { width: calc(100% - 64px); grid-template-columns: 1.1fr 1fr; }
  .hero h1 { font-size: clamp(2.8rem,5vw,3.8rem); }
  .hero-actions { gap: 20px; flex-direction: column; align-items: start; }
  .trajectory-scene { height: 505px; }
}
@media (max-width: 1000px) {
  .header-inner { min-height: 70px; }
  body.js-enabled .site-nav { top: 70px; left: -1px; right: -1px; border: 1px solid var(--line-light); border-radius: 0 0 16px 16px; max-height: calc(100dvh - 96px); }
  .hero-layout { min-height: 615px; padding-block: 42px; }
  .hero h1 { font-size: clamp(2.6rem,5vw,3.4rem); }
  .hero .eyebrow { font-size: 10px; padding: 8px 10px; }
  .hero-lead { font-size: 17px; }
  .trajectory-scene { height: 490px; }
  .trajectory-heading { left: 18px; bottom: 68px; padding: 11px 14px; }
  .trajectory-labels { left: 18px; right: 12px; font-size: 12px; gap: 8px; }
  .trajectory-labels span { gap: 5px; }
  .animation-toggle { right: 12px; }
  .home-page .trust-point,.home-page .trust-point:first-child { padding: 22px; }
  .home-page .trust-point h3 { font-size: 19px; }
  .home-page .trust-layout > div:first-child { column-gap: 6%; }
  .home-page #securite .detail-intro { column-gap: 6%; }
  .home-page #securite .detail-points { gap: 22px; }
}
@media (max-width: 700px) {
  .site-header { top: 8px; width: calc(100% - 24px); margin: 8px auto; border-radius: 13px; }
  .header-inner { width: calc(100% - 22px); min-height: 66px; }
  .brand-logo,.brand-logo img { width: 175px; flex-basis: 175px; }
  body.js-enabled .site-nav { top: 66px; max-height: calc(100dvh - 84px); }
  .home-page .hero { width: calc(100% - 24px); border-radius: 20px; }
  .hero-layout { width: calc(100% - 40px); grid-template-columns: 1fr; padding-block: 34px 28px; gap: 15px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .06em; margin-bottom: 24px; max-width: 100%; }
  .hero h1 { font-size: clamp(2.25rem,9.5vw,3.7rem); line-height: 1.07; letter-spacing: -.065em; }
  .hero-lead { font-size: 16px; line-height: 1.75; max-width: 100%; }
  .hero .button { font-size: 14px; gap: 14px; padding: 14px 17px; }
  .hero-actions { gap: 19px; }
  .hero-signature { font-size: 11px; line-height: 1.8; margin-top: 24px; padding-top: 18px; }
  .trajectory-scene { width: calc(100% + 20px); margin-left: -10px; height: 340px; }
  .trajectory-heading { left: 10px; bottom: 56px; padding: 10px 13px; }
  .trajectory-heading strong { font-size: 20px; }
  .trajectory-heading span { font-size: 11px; }
  .trajectory-labels { left: 10px; right: 10px; font-size: 11px; padding-top: 17px; }
  .animation-toggle { top: 0; right: 10px; font-size: 11px; min-height: 38px; padding-inline: 12px; }
  .home-page .trust-section { padding-block: 60px; }
  .home-page .trust-layout > div:first-child { display: block; }
  .home-page .trust-layout h2 { margin-bottom: 24px; }
  .home-page .projects-intro { margin-bottom: 20px; }
  .home-page .trust-copy { margin-top: 32px; }
  .home-page .trust-points { grid-template-columns: 1fr; gap: 12px; }
  .home-page .trust-point,.home-page .trust-point:first-child { padding: 25px; }
  .home-page .trust-point h3 { font-size: 21px; }
  .home-page .trust-point::before { margin-bottom: 18px; }
  .home-page #optimisation-fiscale { padding-block: 60px; }
  .home-page #optimisation-fiscale .detail-points { padding-left: 0; border: 0; }
  .home-page #securite { width: calc(100% - 24px); border-radius: 20px; padding-block: 40px; }
  .home-page #securite .container { width: calc(100% - 40px); }
  .home-page #securite .detail-intro { display: block; }
  .home-page #securite .detail-points { grid-template-columns: 1fr; margin-top: 30px; gap: 22px; }
  .home-page #securite .detail-point p { margin-bottom: 0; }
  .company-value { padding: 25px; }
  .company-page .article-hero h1,.article-hero h1,.robot-article .article-hero h1 { font-size: clamp(2.25rem,9vw,3.3rem); }
  .company-date-card > strong { font-size: 5.5rem; }
  .company-metrics dt { font-size: 2rem; }
  .contact-card h2 { font-size: 2.15rem; }
  .reviews-heading h2 { font-size: 2.7rem; }
}
@media (max-width: 380px) {
  .hero-layout { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 9px; padding-inline: 9px; }
  .hero .button { font-size: 13px; padding-inline: 12px; gap: 11px; }
  .trajectory-scene { height: 290px; }
  .trajectory-labels { font-size: 10px; gap: 4px; }
  .trajectory-labels span { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* Liens légaux du pied de page */
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; width: 100%; margin-top: .75rem; font-size: .85rem; }
.footer-legal a { color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover, .footer-legal a:focus-visible { opacity: 1; }
.legal-todo { background: #fff3b0; color: #3b2f00; padding: 0 .25em; border-radius: 3px; font-weight: 600; }
