/* ═══════════════════════════════════════════════════════
   OneTech — feuille de style
   Palette : nuit technique + bleu électrique
   ═══════════════════════════════════════════════════════ */

:root{
  --ink:        #080B14;   /* fond principal */
  --ink-2:      #0D1220;   /* fond alterné    */
  --surface:    #121A2C;   /* cartes          */
  --line:       #1E2942;   /* bordures        */
  --text:       #E9EDF7;
  --muted:      #8E9AB5;
  --dim:        #747F96;   /* texte discret, contraste AA garanti (4.9:1) */
  --blue:       #5B8CFF;
  --violet:     #8B5CF6;
  --green:      #34D399;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "Courier New", monospace;

  --r:  14px;
  --r-s: 9px;
  --gut: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:88px; }

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3{ font-family:var(--display); line-height:1.12; letter-spacing:-.02em; margin:0; }
h1{ font-size:clamp(2.1rem, 5.4vw, 3.7rem); font-weight:700; }
h2{ font-size:clamp(1.7rem, 3.6vw, 2.5rem); font-weight:600; }
h3{ font-size:1.09rem; font-weight:600; letter-spacing:-.01em; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }

:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; border-radius:4px; }

.wrap{ width:min(1160px, 100% - var(--gut)*2); margin-inline:auto; }

.skip{
  position:absolute; left:-9999px; top:12px; z-index:100;
  background:var(--blue); color:#04070F; padding:10px 16px; border-radius:var(--r-s); font-weight:600;
}
.skip:focus{ left:16px; }

.eyebrow{
  font-family:var(--mono); font-size:.74rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--blue); margin-bottom:14px;
}

.grad{
  background:linear-gradient(100deg, var(--blue) 10%, var(--violet) 90%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}

.hl{ color:var(--blue); }

/* ── Boutons ─────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--body); font-size:.94rem; font-weight:600;
  padding:13px 24px; border-radius:var(--r-s); border:1px solid transparent;
  cursor:pointer; transition:transform .18s var(--ease), box-shadow .18s var(--ease),
                             background .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary{
  background:var(--blue); color:#04070F;
  box-shadow:0 8px 26px -10px rgba(91,140,255,.85);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 34px -12px rgba(91,140,255,.95); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); }
.btn-sm{ padding:9px 17px; font-size:.87rem; }
.btn-block{ width:100%; margin-top:6px; }
.btn[disabled]{ opacity:.55; cursor:progress; transform:none; }

/* ── En-tête ─────────────────────────────────────────── */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(8,11,20,.72); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:border-color .25s, background .25s;
}
.header.scrolled{ border-bottom-color:var(--line); background:rgba(8,11,20,.92); }
.header-inner{ display:flex; align-items:center; gap:26px; height:70px; }

.brand{ display:inline-flex; align-items:center; gap:9px; margin-right:auto; min-height:44px; }
.brand-mark{
  display:grid; place-items:center; width:31px; height:31px; border-radius:9px;
  background:linear-gradient(140deg, var(--blue), var(--violet)); color:#04070F;
}
.brand-mark svg{ width:17px; height:17px; }
.brand-name{ font-family:var(--display); font-weight:700; font-size:1.16rem; letter-spacing:-.02em; }

.nav{ display:flex; gap:28px; font-size:.92rem; color:var(--muted); }
.nav a{ position:relative; transition:color .18s; }
.nav a:hover{ color:var(--text); }
.nav a::after{
  content:""; position:absolute; left:0; bottom:-5px; height:1.5px; width:0;
  background:var(--blue); transition:width .22s var(--ease);
}
.nav a:hover::after{ width:100%; }

/* ── Hero ────────────────────────────────────────────── */
.hero{ position:relative; padding:clamp(56px, 9vw, 104px) 0 clamp(64px, 10vw, 116px); overflow:hidden; }
.hero-glow{
  position:absolute; inset:-30% -10% auto -10%; height:620px; pointer-events:none;
  background:
    radial-gradient(46% 52% at 22% 40%, rgba(91,140,255,.24), transparent 70%),
    radial-gradient(38% 46% at 76% 22%, rgba(139,92,246,.18), transparent 72%);
}
.hero-inner{
  position:relative; max-width:44rem; margin-inline:auto;
  text-align:center;
}

.lede{ color:var(--muted); font-size:clamp(1.01rem,1.5vw,1.13rem); max-width:33em; margin:38px auto 0; }
.hero-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:32px; }

.hero-facts{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; margin-top:34px;
  font-family:var(--mono); font-size:.79rem; color:var(--muted);
}
.hero-facts li{ display:flex; align-items:center; gap:8px; }
.hero-facts li::before{
  content:""; width:6px; height:6px; border-radius:50%; background:var(--green);
  box-shadow:0 0 0 3px rgba(52,211,153,.16);
}

/* ── Console signature ───────────────────────────────── */
.console-body{
  padding:0; font-family:var(--mono);
  font-size:.775rem; line-height:2.05; min-height:262px;
}
.console-body .line{ opacity:0; }
.console-body .line.show{ animation:lineIn .32s var(--ease) forwards; }
@keyframes lineIn{ from{ opacity:0; transform:translateY(5px); } to{ opacity:1; transform:none; } }

.console-body .prompt{ color:var(--blue); margin-right:7px; }
.console-body .cmd{ color:var(--text); }
.console-body .t{ color:#556482; margin-right:11px; }
.console-body .line{ color:var(--muted); }
.console-body .ok{ color:var(--green); float:right; }
.console-body .res{
  color:var(--text); margin-top:12px; padding-top:13px;
  border-top:1px dashed var(--line);
}
.cursor{
  display:inline-block; width:8px; height:15px; background:var(--blue);
  vertical-align:-2px; animation:blink 1.05s steps(2) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

/* ── Sections ────────────────────────────────────────── */
.section{ padding:clamp(64px, 9vw, 112px) 0; }
.section-alt{ background:var(--ink-2); border-block:1px solid var(--line); }

.section-head{ max-width:46rem; margin-bottom:clamp(38px, 5vw, 58px); }
.section-lede{ color:var(--muted); margin-top:16px; font-size:1.02rem; }

.apropos-role{ color:var(--blue); font-family:var(--mono); font-size:.82rem; margin-top:8px; }

.bio-close{
  position:absolute; top:8px; right:8px; width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center;
  background:transparent; border:1px solid var(--line); color:var(--muted);
  cursor:pointer; font-size:.85rem; transition:border-color .18s, color .18s;
}
.bio-close:hover{ border-color:var(--blue); color:var(--blue); }

/* ── Bulle contact, façon bulle de savon ──────────────── */
.contact-dialog{
  border:1px solid rgba(200,220,255,.22); border-radius:52px; padding:0;
  background:
    radial-gradient(38% 22% at 22% 6%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(120% 90% at 12% -10%, rgba(91,140,255,.16), transparent 55%),
    radial-gradient(110% 85% at 100% 112%, rgba(139,92,246,.14), transparent 55%),
    radial-gradient(70% 60% at 90% -5%, rgba(236,120,220,.08), transparent 60%),
    var(--surface);
  color:var(--text);
  width:min(400px, calc(100vw - 40px));
  max-height:min(640px, 85vh);
  box-shadow:
    0 44px 90px -30px rgba(0,0,0,.85),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 1px 0 rgba(255,255,255,.12) inset,
    0 0 0 7px rgba(91,140,255,.05);
  transform:scale(.9); opacity:0;
  transition:transform .32s cubic-bezier(.2,.9,.3,1.3), opacity .22s ease;
}
.contact-dialog[open]{ transform:scale(1); opacity:1; }
.contact-dialog::backdrop{ background:rgba(4,6,12,.72); backdrop-filter:blur(3px); }
.contact-dialog-inner{
  position:relative; padding:46px 38px 40px; text-align:center;
  overflow-y:auto; max-height:inherit;
}
.contact-photo{
  width:76px; height:76px; border-radius:50%; object-fit:cover; border:1px solid var(--line);
  box-shadow:0 0 0 5px rgba(91,140,255,.09); margin-bottom:14px;
}
.contact-dialog-inner h3{ font-size:1.12rem; }
.contact-dialog-inner .apropos-role{ justify-content:center; }
.contact-bio{ color:var(--muted); font-size:.88rem; margin-top:14px; line-height:1.55; }

.contact-details{ margin:24px 0 0; display:grid; gap:1px; text-align:left; }
.contact-details div{ padding:12px 0; border-top:1px solid var(--line); }
.contact-details div:last-child{ border-bottom:1px solid var(--line); }
.contact-details dt{
  font-family:var(--mono); font-size:.68rem; letter-spacing:.09em; text-transform:uppercase;
  color:var(--muted);
}
.contact-details dd{ margin:3px 0 0; font-size:.94rem; }
.contact-details a{ color:var(--blue); }
.contact-details a:hover{ opacity:.8; }

/* ── Cartes services ─────────────────────────────────── */
.cards{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:760px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1060px){ .cards{ grid-template-columns:repeat(3,1fr); } }

.card{
  display:block; position:relative; padding:30px 26px 28px;
  background:rgba(18,26,44,.6); backdrop-filter:blur(6px);
  border:1px solid rgba(91,140,255,.22); border-radius:var(--r);
  box-shadow:0 0 0 1px rgba(91,140,255,.05) inset, 0 0 24px -14px rgba(91,140,255,.5);
  transition:transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  cursor:pointer;
}
.card:hover{
  transform:translateY(-4px); border-color:rgba(91,140,255,.6);
  box-shadow:0 0 0 1px rgba(91,140,255,.14) inset, 0 0 36px -10px rgba(91,140,255,.65),
             0 22px 44px -26px rgba(0,0,0,.9);
}
.card-lead{
  border-color:rgba(91,140,255,.5);
  background:linear-gradient(180deg, rgba(30,45,80,.65), rgba(20,28,45,.6));
  box-shadow:0 0 0 1px rgba(91,140,255,.1) inset, 0 0 40px -12px rgba(91,140,255,.75);
}
.card-lead:hover{
  border-color:rgba(139,164,255,.75);
  box-shadow:0 0 0 1px rgba(91,140,255,.18) inset, 0 0 50px -8px rgba(120,150,255,.85),
             0 22px 44px -26px rgba(0,0,0,.9);
}
.card-tag{
  position:absolute; top:-10px; left:26px;
  font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase;
  background:var(--blue); color:#04070F; padding:3px 10px; border-radius:99px;
}
.card-icon{
  display:grid; place-items:center; width:42px; height:42px; margin-bottom:19px;
  border-radius:11px; background:rgba(91,140,255,.11); color:var(--blue);
  border:1px solid rgba(91,140,255,.2);
}
.card-icon svg{ width:21px; height:21px; }
.card > p{ color:var(--muted); margin-top:9px; font-size:.95rem; }

.ticks{ margin-top:19px; display:grid; gap:9px; }
.ticks li{
  position:relative; padding-left:24px; font-size:.9rem; color:var(--muted); line-height:1.5;
}
.ticks li::before{
  content:""; position:absolute; left:2px; top:.5em;
  width:9px; height:5px; border-left:1.8px solid var(--blue); border-bottom:1.8px solid var(--blue);
  transform:rotate(-45deg);
}

/* ── Méthode ─────────────────────────────────────────── */
.steps{ display:grid; gap:0; max-width:44rem; }
.step{ position:relative; display:flex; gap:24px; padding-bottom:30px; }
.step:last-child{ padding-bottom:0; }
.step::before{
  content:""; position:absolute; left:19px; top:42px; bottom:0; width:1px;
  background:linear-gradient(var(--line), transparent);
}
.step:last-child::before{ display:none; }

.step-num{
  flex:0 0 39px; height:39px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:50%; background:var(--ink);
  font-family:var(--mono); font-size:.76rem; color:var(--blue); z-index:1;
}
.step-body p{ color:var(--muted); margin-top:6px; font-size:.95rem; }

/* ── Atouts ──────────────────────────────────────────── */
.atouts{ display:grid; gap:clamp(32px,5vw,64px); align-items:start; }
@media (min-width:900px){ .atouts{ grid-template-columns:1fr 1fr; } }

.atouts-list{ display:grid; gap:2px; }
.atouts-list li{
  display:flex; align-items:flex-start; gap:14px;
  padding:17px 4px; border-bottom:1px solid var(--line); font-size:.98rem;
}
.atouts-list li:first-child{ border-top:1px solid var(--line); }
.atouts-list li::before{
  content:"✓"; flex:0 0 auto; color:var(--green); font-size:.9rem; line-height:1.7;
}

/* ── Devis ───────────────────────────────────────────── */
.devis{ display:grid; gap:clamp(34px,5vw,60px); align-items:start; }
@media (min-width:920px){ .devis{ grid-template-columns:.85fr 1.15fr; } }

.devis-contact{ margin-top:34px; display:grid; gap:1px; }
.devis-contact li{
  display:flex; gap:16px; align-items:baseline;
  padding:13px 0; border-top:1px solid var(--line); font-size:.94rem;
}
.devis-contact li:last-child{ border-bottom:1px solid var(--line); }
.ct-label{
  flex:0 0 88px; font-family:var(--mono); font-size:.72rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
}
.devis-contact a{ color:var(--blue); transition:opacity .18s; }
.devis-contact a:hover{ opacity:.75; }

.form{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(24px,3.4vw,34px); display:grid; gap:17px;
}
.field-row{ display:grid; gap:17px; }
@media (min-width:600px){ .field-row{ grid-template-columns:1fr 1fr; } }

.field{ display:grid; gap:7px; margin:0; }
.field label{ font-size:.85rem; font-weight:500; color:var(--text); }
.opt{ color:var(--muted); font-weight:400; font-size:.79rem; }

.field input,
.field select,
.field textarea{
  /* 16px minimum : en dessous, Safari iOS zoome sur le champ au focus */
  width:100%; font-family:var(--body); font-size:16px; color:var(--text);
  background:var(--ink); border:1px solid var(--line); border-radius:var(--r-s);
  padding:12px 14px; transition:border-color .18s, box-shadow .18s;
}
.field textarea{ resize:vertical; min-height:120px; line-height:1.6; }
.field input::placeholder,
.field textarea::placeholder{ color:var(--dim); }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(91,140,255,.14);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"]{ border-color:#F87171; }
.field select{ appearance:none; -webkit-appearance:none; -moz-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9AB5' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center; background-size:17px;
  padding-right:40px;
}

.field-check{ display:flex; align-items:flex-start; gap:11px; }
.field-check input{ width:17px; height:17px; margin-top:3px; accent-color:var(--blue); flex:0 0 auto; }
.field-check label{ font-size:.85rem; color:var(--muted); font-weight:400; line-height:1.5; }

input[name="_gotcha"]{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }

.form-note{ font-size:.87rem; min-height:1.2em; margin-top:2px; }
.form-note.ok{ color:var(--green); }
.form-note.err{ color:#F87171; }

/* ── Page mentions légales ───────────────────────────── */
.legal-wrap{ max-width:44rem; }
.legal-title{ font-size:clamp(1.9rem,4vw,2.7rem); }
.legal-maj{
  font-family:var(--mono); font-size:.76rem; color:var(--muted); margin-top:12px;
}
.legal h2{
  font-size:1.16rem; margin:44px 0 14px; padding-top:22px;
  border-top:1px solid var(--line);
}
.legal p{ color:var(--muted); margin-bottom:14px; font-size:.96rem; }
.legal a{ color:var(--blue); }
.legal a:hover{ text-decoration:underline; }

.legal-dl{ margin:0; display:grid; gap:0; }
.legal-dl dt{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.09em;
  text-transform:uppercase; color:var(--muted); padding-top:14px;
}
.legal-dl dd{
  margin:3px 0 0; padding-bottom:14px; border-bottom:1px solid var(--line);
  font-size:.96rem;
}
@media (min-width:640px){
  .legal-dl{ grid-template-columns:190px 1fr; }
  .legal-dl dt{ padding-bottom:14px; border-bottom:1px solid var(--line); }
  .legal-dl dd{ margin-top:0; padding-top:14px; }
}

.legal-retour{ margin-top:46px; }
.legal-retour a{ font-weight:500; }

/* ── Pied de page ────────────────────────────────────── */
.footer{ border-top:1px solid var(--line); padding:46px 0 54px; }
.footer-inner{ display:grid; gap:13px; justify-items:center; text-align:center; }
.footer-line{ color:var(--muted); font-size:.92rem; }
.footer-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; }
.footer-nav a{
  font-size:.87rem; color:var(--muted); border-bottom:1px solid var(--line);
  padding-bottom:2px; transition:color .18s, border-color .18s;
}
.footer-nav a:hover{ color:var(--blue); border-color:var(--blue); }
.footer-legal{ color:var(--dim); font-size:.8rem; font-family:var(--mono); }

/* ── Assistant OneTech ───────────────────────────────── */
.bot{ position:fixed; right:20px; bottom:20px; z-index:60; }

.bot-toggle{
  width:58px; height:58px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(140deg, var(--blue), var(--violet)); color:#04070F;
  display:grid; place-items:center; box-shadow:0 14px 34px -10px rgba(91,140,255,.6);
  transition:transform .18s var(--ease);
}
.bot-toggle:hover{ transform:scale(1.06); }
.bot-toggle svg{ width:25px; height:25px; }

.bot-panel{
  position:absolute; right:0; bottom:74px;
  width:min(360px, calc(100vw - 40px)); height:min(500px, calc(100vh - 140px));
  background:
    radial-gradient(120% 60% at 10% 0%, rgba(91,140,255,.14), transparent 55%),
    var(--surface);
  border:1px solid rgba(91,140,255,.24); border-radius:24px;
  box-shadow:0 30px 70px -24px rgba(0,0,0,.85);
  display:flex; flex-direction:column; overflow:hidden;
  transform:translateY(12px) scale(.97); opacity:0; pointer-events:none;
  transition:transform .22s var(--ease), opacity .18s ease;
}
.bot.open .bot-panel{ transform:none; opacity:1; pointer-events:auto; }
.bot.open .bot-toggle{ transform:none; }

.bot-head{
  display:flex; align-items:center; gap:11px; padding:16px 16px;
  border-bottom:1px solid var(--line); flex:0 0 auto;
}
.bot-avatar{
  width:34px; height:34px; border-radius:50%; flex:0 0 auto;
  background:linear-gradient(140deg, var(--blue), var(--violet)); color:#04070F;
  display:grid; place-items:center;
}
.bot-avatar svg{ width:19px; height:19px; }
.bot-name{ font-family:var(--display); font-weight:600; font-size:.92rem; }
.bot-status{
  display:flex; align-items:center; gap:6px; font-size:.74rem; color:var(--muted);
  font-family:var(--mono);
}
.bot-dot{ width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(52,211,153,.16); }
.bot-close{
  margin-left:auto; width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
  display:grid; place-items:center;
  background:transparent; color:var(--muted); cursor:pointer; font-size:.75rem;
  transition:border-color .18s, color .18s;
}
.bot-close:hover{ border-color:var(--blue); color:var(--blue); }

.bot-log{
  flex:1 1 auto; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px;
}
.bot-msg{
  max-width:82%; padding:10px 13px; border-radius:14px; font-size:.87rem; line-height:1.55;
}
.bot-msg.from-bot{
  align-self:flex-start; background:var(--ink); border:1px solid var(--line);
  border-bottom-left-radius:4px; color:var(--text);
}
.bot-msg.from-user{
  align-self:flex-end; background:var(--blue); color:#04070F; font-weight:500;
  border-bottom-right-radius:4px;
}
.bot-msg a{ color:var(--blue); text-decoration:underline; }
.bot-msg.from-user a{ color:#04070F; }

.bot-quick{
  display:flex; flex-wrap:wrap; gap:7px; padding:0 16px 14px; flex:0 0 auto;
}
.bot-quick button{
  font-family:var(--body); font-size:.78rem; font-weight:500; color:var(--blue);
  background:rgba(91,140,255,.1); border:1px solid rgba(91,140,255,.28);
  border-radius:99px; padding:7px 13px; cursor:pointer; transition:background .18s, border-color .18s;
}
.bot-quick button:hover{ background:rgba(91,140,255,.2); border-color:var(--blue); }

.bot-form{
  display:flex; align-items:center; gap:8px; padding:10px; border-top:1px solid var(--line); flex:0 0 auto;
}
.bot-form input{
  /* 16px minimum : en dessous, Safari iOS zoome sur le champ au focus */
  flex:1; background:var(--ink); border:1px solid var(--line); border-radius:99px;
  padding:10px 15px; color:var(--text); font-family:var(--body); font-size:16px;
}
.bot-form input:focus{ outline:none; border-color:var(--blue); }
.bot-form button{
  width:44px; height:44px; border-radius:50%; border:none; background:var(--blue);
  display:grid; place-items:center;
  color:#04070F; font-size:1.1rem; cursor:pointer; flex:0 0 auto;
}

@media (max-width:480px){
  .bot{ right:14px; bottom:14px; }
  .bot-toggle{ width:44px; height:44px; }
  .bot-toggle svg{ width:19px; height:19px; }
  .bot-panel{
    position:fixed; left:14px; right:14px; bottom:66px;
    width:auto; height:min(32vh, 260px);
  }
  /* En-tête, boutons rapides et formulaire resserrés pour laisser de la
     place à la conversation dans une fenêtre deux fois plus basse. */
  .bot-head{ padding:8px 12px; }
  .bot-avatar{ width:28px; height:28px; }
  .bot-quick{ flex-wrap:nowrap; overflow-x:auto; padding:0 12px 10px; }
  .bot-quick button{ flex:0 0 auto; }
  .bot-form{ padding:8px; }
}

/* ── Apparition au défilement ────────────────────────── */
.reveal{ opacity:0; transform:translateY(18px); }
.reveal.in{
  opacity:1; transform:none;
  transition:opacity .62s var(--ease), transform .62s var(--ease);
  transition-delay:calc(var(--d, 0) * 95ms);
}

@media (max-width:719px){
  .nav a{ display:none; }
  #contact-nav-link{
    display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box;
    color:var(--text); font-weight:600; font-size:.85rem;
    border:1px solid var(--line); padding:8px 14px; border-radius:var(--r-s);
    white-space:nowrap; margin-left:auto;
  }
  .header-inner .btn-sm{ display:none; }
}
@media (max-width:359px){
  .btn-sm{ font-size:.74rem; padding:7px 9px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  .console-body .line{ opacity:1; }
}
