/* 144 Studio — feuille de styles */

/* Polices hébergées sur le site (pas d'appel à Google) */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/unbounded-var.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/jetbrains-mono-500.woff2) format('woff2'); }

:root {
  --noir: #0A0B0F;
  --noir-2: #0F1116;
  --graphite: #14161D;
  --acier: #262A35;
  --acier-2: #3A3F4C;
  --ligne: #1C1F27;
  --blanc: #F2F3F5;
  --texte-2: #DADDE3;
  --gris: #9AA0AC;
  --accent: #B8FF3B;
  --titre: 'Unbounded', system-ui, sans-serif;
  --texte: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--noir); color: var(--blanc); font-family: var(--texte); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typo */
.label { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }
.h2 { font-family: var(--titre); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -1px; }
.muted { color: var(--gris); }
.mono { font-family: var(--mono); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--noir); }
.btn-primary:hover { background: #C9FF66; }
.btn-ghost { border-color: var(--acier-2); color: var(--blanc); }
.btn-ghost:hover { border-color: var(--gris); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; }
[hidden] { display: none !important; }

/* Logo A */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-lines { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.brand-lines i { display: block; height: 3px; border-radius: 2px; background: var(--accent); }
.brand-lines i:nth-child(1) { width: 16px; } .brand-lines i:nth-child(2) { width: 11px; } .brand-lines i:nth-child(3) { width: 6px; }
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.brand-word b { font-family: var(--titre); font-weight: 800; font-size: 26px; line-height: .9; letter-spacing: -1.5px; }
.brand-word small { font-family: var(--mono); font-weight: 600; font-size: 8px; letter-spacing: 4px; color: var(--accent); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 15, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: #C9CDD5; }
.nav a:not(.btn):hover { color: var(--blanc); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 96px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--titre); font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: 1.08; letter-spacing: -2px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 540px; font-size: 19px; line-height: 1.55; color: var(--gris); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .actions { padding-top: 8px; }
.trust { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--gris); }

/* Cadre de visée */
.viseur { position: relative; }
.viseur > .c { position: absolute; width: 34px; height: 34px; border: 0 solid var(--accent); pointer-events: none; }
.viseur > .c.tl { top: 0; left: 0; border-top-width: 5px; border-left-width: 5px; border-top-left-radius: 12px; }
.viseur > .c.tr { top: 0; right: 0; border-top-width: 5px; border-right-width: 5px; border-top-right-radius: 12px; }
.viseur > .c.bl { bottom: 0; left: 0; border-bottom-width: 5px; border-left-width: 5px; border-bottom-left-radius: 12px; }
.viseur > .c.br { bottom: 0; right: 0; border-bottom-width: 5px; border-right-width: 5px; border-bottom-right-radius: 12px; }

/* Démo du bot (hero) */
.hero-demo { flex: 1 1 420px; min-width: 0; padding: 36px; }
.msg { border-radius: 18px; background: var(--graphite); border: 1px solid var(--acier); padding: 22px; display: flex; gap: 14px; }
.msg-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--noir); display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 14px; letter-spacing: -.5px; }
.msg-body { flex: 1 1 auto; min-width: 0; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.msg-head strong { font-weight: 600; font-size: 15px; }
.tag-bot { font-family: var(--mono); font-weight: 600; font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--accent); color: var(--noir); }
.msg-time { font-size: 12px; color: var(--gris); }
.typing { display: flex; align-items: center; gap: 10px; min-height: 24px; font-size: 14px; color: var(--gris); }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gris); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
.msg-content { display: flex; flex-direction: column; gap: 10px; }
.msg-content p { font-size: 15px; line-height: 1.5; color: var(--texte-2); }
.msg-content b { color: var(--blanc); }
.embed { border-radius: 12px; background: var(--noir); border: 1px solid var(--acier); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.embed-title { font-weight: 600; font-size: 15px; }
.embed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.embed-grid span { display: block; font-size: 12px; color: var(--gris); }
.embed-grid b { font-family: var(--mono); font-weight: 500; font-size: 14px; transition: color .3s; }
.embed-grid b.up { color: var(--accent); }
.joined { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texte-2); }
.joined svg { width: 16px; height: 16px; color: var(--accent); }
.embed-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.embed-btns span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.embed-btns .on { background: var(--accent); color: var(--noir); }
.embed-btns .off { border: 1px solid var(--acier-2); }

/* Promesses */
.band { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.promesses { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.promesse { flex: 1 1 280px; display: flex; gap: 16px; }
.promesse svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--accent); }
.promesse h3 { font-family: var(--titre); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.promesse p { font-size: 15px; line-height: 1.5; color: var(--gris); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-alt { background: var(--noir-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }

/* Offres */
.offres { display: flex; flex-wrap: wrap; gap: 20px; }
.offre { flex: 1 1 300px; min-width: 0; border-radius: 20px; background: var(--graphite); border: 1px solid var(--acier); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.offre.star { border: 2px solid var(--accent); }
.offre-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.offre-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--gris); }
.offre.star .offre-kicker { color: var(--accent); }
.badge { font-family: var(--mono); font-weight: 600; font-size: 11px; padding: 4px 8px; border-radius: 6px; background: var(--accent); color: var(--noir); }
.offre h3 { font-family: var(--titre); font-weight: 600; font-size: 24px; line-height: 1.2; }
.offre > p { font-size: 15px; line-height: 1.55; color: var(--gris); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1 1 auto; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.sep { height: 1px; background: var(--acier); }
.prix { display: flex; align-items: baseline; gap: 8px; }
.prix span { font-size: 13px; color: var(--gris); }
.prix b { font-family: var(--titre); font-weight: 700; font-size: 24px; }

/* Étapes */
.etapes { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.etape { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--acier); }
.etape:first-child { border-top-color: var(--accent); }
.etape .num { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--accent); }
.etape h3 { font-family: var(--titre); font-weight: 600; font-size: 18px; }
.etape p { font-size: 15px; line-height: 1.55; color: var(--gris); }

/* Réalisations */
.projets { display: flex; flex-wrap: wrap; gap: 24px; }
.projet { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shots { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--noir); border: 1px solid var(--acier); overflow: hidden; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease, transform .8s ease; transform: scale(1.02); }
.shot.on { opacity: 1; transform: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot.contain img { object-fit: contain; }
.shot figcaption { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 11, 15, .9); border: 1px solid var(--acier); }
.shots-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; }
.shots-dots button { width: 30px; height: 30px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.shots-dots button::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--acier-2); transition: width .3s, background-color .3s; box-shadow: 0 0 0 2px rgba(10, 11, 15, .6); }
.shots-dots button[aria-current="true"]::before { width: 18px; background: var(--accent); }
.shots > .c { z-index: 2; width: 18px; height: 18px; }
.shots > .c.tl { top: 16px; left: 16px; border-top-width: 3px; border-left-width: 3px; border-radius: 6px 0 0 0; }
.shots > .c.br { bottom: 16px; right: 16px; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 6px 0; }
.projet .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--accent); }
.projet h3 { font-family: var(--titre); font-weight: 600; font-size: 20px; line-height: 1.25; }
.projet p { font-size: 15px; line-height: 1.55; color: var(--gris); }
.lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--accent); align-self: flex-start; }
.lien svg { width: 16px; height: 16px; transition: transform .2s; }
.lien:hover svg { transform: translate(2px, -2px); }

/* Contact */
.cta { border-radius: 24px; background: var(--graphite); border: 1px solid var(--acier); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta p { max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--gris); }
.cta .actions { justify-content: center; padding-top: 8px; }
.cta .mail { font-family: var(--mono); font-size: 14px; color: var(--gris); }
.cta .mail a { color: var(--blanc); border-bottom: 1px solid var(--acier-2); }

/* Pied de page */
.foot { border-top: 1px solid var(--ligne); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--gris); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a:hover { color: var(--blanc); }

/* Pages simples (mentions légales, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-family: var(--titre); font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; margin: 12px 0 32px; }
.page h2 { font-family: var(--titre); font-weight: 600; font-size: 20px; margin: 36px 0 12px; }
.page p, .page li { color: var(--texte-2); line-height: 1.65; }
.page a { color: var(--accent); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.fade-in { animation: fadeUp .45s ease both; }

@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fade-in, .dots i { animation: none; }
  .shot { transition: none; }
}

/* Page contact / demande de devis */
.contact { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 72px; padding-bottom: 96px; align-items: flex-start; }
.contact-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-intro h1 { font-family: var(--titre); font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -1.5px; }
.contact-intro .lead { font-size: 18px; line-height: 1.55; color: var(--gris); max-width: 460px; }
.next { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next li { display: flex; gap: 16px; }
.next li > span { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--accent); padding-top: 2px; }
.next b { font-family: var(--titre); font-weight: 600; font-size: 16px; }
.next p { font-size: 15px; color: var(--gris); margin-top: 4px; }
.direct { font-size: 15px; color: var(--gris); line-height: 1.8; padding-top: 8px; }
.direct a { font-family: var(--mono); color: var(--blanc); border-bottom: 1px solid var(--acier-2); }
.copy { margin-left: 8px; font: 500 12px var(--mono); color: var(--accent); background: none; border: 1px solid var(--acier-2); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.copy:hover { border-color: var(--accent); }

.form-card { flex: 1.4 1 520px; min-width: 0; border-radius: 22px; background: var(--graphite); border: 1px solid var(--acier); padding: clamp(24px, 4vw, 40px); }
.form-card > .c { width: 22px; height: 22px; }
.form-card > .c.tl { top: -1px; left: -1px; border-top-width: 4px; border-left-width: 4px; border-radius: 22px 0 0 0; }
.form-card > .c.br { bottom: -1px; right: -1px; border-bottom-width: 4px; border-right-width: 4px; border-radius: 0 0 22px 0; }
#devis { display: flex; flex-direction: column; gap: 20px; }
.types { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.types legend { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--gris); text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type span { display: flex; flex-direction: column; gap: 3px; min-height: 64px; justify-content: center; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--acier); background: var(--noir); transition: border-color .15s, background-color .15s; }
.type b { font-weight: 600; font-size: 15px; }
.type small { font-size: 13px; color: var(--gris); }
.type input:checked + span { border-color: var(--accent); background: rgba(184, 255, 59, .06); }
.type input:checked + span b { color: var(--accent); }
.type input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > .field { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--texte-2); }
.field label em { font-style: normal; color: var(--accent); }
.field label span { color: var(--gris); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--texte); color: var(--blanc); background: var(--noir); border: 1px solid var(--acier); border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .15s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA0AC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6B7180; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .invalid, .field [aria-invalid="true"] { border-color: #FF6B6B; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; line-height: 1.5; padding: 12px 14px; border-radius: 10px; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #FFD1D1; }
.form-msg a { color: var(--blanc); text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.small { font-size: 12px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.sent:focus { outline: none; }
.sent-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--noir); display: grid; place-items: center; }
.sent-icon svg { width: 28px; height: 28px; }
.sent p { color: var(--gris); font-size: 16px; line-height: 1.55; }
.sent b { color: var(--blanc); }
@media (max-width: 520px) { .types { grid-template-columns: 1fr; } }
