/* KinouDépanne — Design System autonome (mobile-first, WCAG) */
:root{
  --blue:#1d4ed8; --blue-dark:#1640a8; --blue-50:#eff4ff;
  --ink:#1f2933; --gray:#52606d; --line:#e4e7eb; --bg:#ffffff; --bg-soft:#f7f9fc;
  --wa:#25d366; --wa-dark:#1da851; --accent:#f59e0b;
  --ok:#059669; --r:14px; --rs:10px;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);
  --shadow-lg:0 12px 40px rgba(16,24,40,.12);
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.6;font-size:17px;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1140px;margin:0 auto;padding:0 20px}
h1,h2,h3{line-height:1.18;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
h1{font-size:clamp(1.85rem,5.2vw,3rem);font-weight:800}
h2{font-size:clamp(1.5rem,4vw,2.25rem);font-weight:800;margin-bottom:.5rem}
h3{font-size:1.2rem;font-weight:700}
p{color:var(--gray);text-wrap:pretty}
section{padding:clamp(2.5rem,6vw,4.5rem) 0}
.bg-soft{background:var(--bg-soft)}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--blue);background:var(--blue-50);padding:.4rem .8rem;border-radius:999px;margin-bottom:1rem}
.lead{font-size:1.15rem;color:var(--gray);max-width:680px}
.center{text-align:center}.center .lead{margin-inline:auto}

/* ---- Focus accessibilité ---- */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:0;background:var(--blue);color:#fff;padding:.75rem 1rem;z-index:1000;border-radius:0 0 8px 0}
.skip:focus{left:0}

/* ---- Boutons ---- */
.btn{min-height:48px;padding:.75rem 1.35rem;border-radius:12px;font-weight:700;font-size:1rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border:2px solid transparent;transition:transform .18s,box-shadow .18s,background .18s;text-decoration:none!important;font-family:inherit;line-height:1.2}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 18px rgba(29,78,216,.28)}
.btn-primary:hover{background:var(--blue-dark)}
.btn-wa{background:var(--wa);color:#06351b}
.btn-wa:hover{background:var(--wa-dark);color:#fff}
.btn-ghost{background:#fff;color:var(--blue);border-color:var(--blue)}
.btn-ghost:hover{background:var(--blue-50)}
.btn-lg{min-height:56px;font-size:1.06rem;padding:.9rem 1.6rem}
.btn-block{width:100%}
.btn svg{width:20px;height:20px;flex:0 0 auto}

/* ---- Header ---- */
.topbar{background:var(--ink);color:#fff;font-size:.85rem}
.topbar .container{display:flex;align-items:center;justify-content:center;gap:1.2rem;padding-top:.5rem;padding-bottom:.5rem;flex-wrap:wrap}
.topbar a{color:#fff;font-weight:600;display:inline-flex;align-items:center;gap:.35rem}
.topbar .dot{width:7px;height:7px;border-radius:50%;background:var(--wa);display:inline-block}
.site-header{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.7rem;padding-bottom:.7rem}
.logo{font-weight:900;font-size:1.3rem;color:var(--ink);letter-spacing:-.03em;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}
.logo:hover{text-decoration:none}
.logo b{color:var(--blue)}
.logo .mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--blue),#3b82f6);display:grid;place-items:center;color:#fff;font-size:1rem}
.nav{display:none;align-items:center;gap:1.5rem}
.nav a{color:var(--ink);font-weight:600;font-size:.97rem}
.nav a:hover{color:var(--blue);text-decoration:none}
.header-cta{display:none;align-items:center;gap:.6rem}
.lang{display:inline-flex;gap:.15rem;align-items:center;font-size:.85rem}
.lang button{background:none;border:0;color:var(--gray);font-weight:700;cursor:pointer;padding:.25rem .4rem;border-radius:6px;font-family:inherit}
.lang button[aria-current="true"]{color:var(--blue);background:var(--blue-50)}
.burger{display:inline-flex;background:none;border:0;cursor:pointer;padding:.5rem;color:var(--ink)}
.burger svg{width:28px;height:28px}
.mobile-menu{display:none;flex-direction:column;gap:.25rem;padding:1rem 20px 1.5rem;border-bottom:1px solid var(--line);background:#fff}
.mobile-menu.open{display:flex}
.mobile-menu a{padding:.85rem .5rem;font-weight:600;color:var(--ink);border-radius:8px}
.mobile-menu a:hover{background:var(--blue-50);text-decoration:none}

/* ---- Hero ---- */
.hero{background:radial-gradient(1100px 480px at 80% -10%,var(--blue-50),transparent),linear-gradient(180deg,#fff,var(--bg-soft));padding-top:clamp(2rem,5vw,3.5rem)}
.hero-grid{display:grid;gap:2rem;align-items:center}
.hero-cta{display:flex;flex-direction:column;gap:.7rem;margin:1.5rem 0}
.reassure{list-style:none;display:grid;gap:.6rem;margin-top:1.25rem}
.reassure li{display:flex;align-items:flex-start;gap:.6rem;font-weight:600;color:var(--ink)}
.reassure svg{width:22px;height:22px;color:var(--ok);flex:0 0 auto;margin-top:1px}
.hero-visual{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:1.25rem}

/* ---- Cards / grids ---- */
.grid{display:grid;gap:1.1rem}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.card .ic{width:48px;height:48px;border-radius:12px;background:var(--blue-50);color:var(--blue);display:grid;place-items:center;margin-bottom:.8rem}
.card .ic svg{width:24px;height:24px}
.card h3{margin-bottom:.3rem}
.card p{font-size:.96rem}

/* ---- Pricing ---- */
.price-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
.price{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.6rem;box-shadow:var(--shadow);display:flex;flex-direction:column}
.price.feat{border:2px solid var(--blue);box-shadow:0 12px 36px rgba(29,78,216,.16)}
.price .tag{align-self:flex-start;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.3rem .7rem;border-radius:999px;background:var(--blue-50);color:var(--blue);margin-bottom:.8rem}
.price h3{font-size:1.4rem}
.price .amt{font-size:2.1rem;font-weight:900;color:var(--ink);margin:.4rem 0 .1rem;letter-spacing:-.02em}
.price .sub{font-size:.95rem;color:var(--gray);margin-bottom:1rem}
.price .sub b{color:var(--ink)}
.price ul{list-style:none;margin:.5rem 0 1.25rem;display:grid;gap:.5rem;flex:1}
.price li{display:flex;gap:.5rem;font-size:.95rem;align-items:flex-start}
.price li svg{width:18px;height:18px;color:var(--ok);flex:0 0 auto;margin-top:3px}
.price .price-cta{display:flex;flex-direction:column;gap:.5rem}
.note-box{background:var(--blue-50);border:1px solid #d6e0ff;border-radius:var(--r);padding:1.2rem 1.4rem;margin-top:1.5rem}
.note-box h3{margin-bottom:.3rem;font-size:1.05rem}
.note-box p{font-size:.96rem}

/* ---- FAQ ---- */
.faq{max-width:780px;margin-inline:auto;display:grid;gap:.7rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:var(--rs);overflow:hidden}
.faq summary{cursor:pointer;padding:1.05rem 1.2rem;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center;min-height:48px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.5rem;color:var(--blue);font-weight:400}
.faq details[open] summary::after{content:"\2212"}
.faq .a{padding:0 1.2rem 1.2rem;color:var(--gray);font-size:.97rem}

/* ---- Form ---- */
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lg);padding:clamp(1.25rem,4vw,2rem)}
.field{margin-bottom:1rem;display:flex;flex-direction:column;gap:.35rem}
.field label{font-weight:700;font-size:.95rem;color:var(--ink)}
.field .req{color:#dc2626}
.field input,.field select,.field textarea{width:100%;padding:.85rem 1rem;font-size:1rem;font-family:inherit;color:var(--ink);background:var(--bg-soft);border:1.5px solid var(--line);border-radius:10px;min-height:48px;-webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s}
.field select{appearance:menulist;cursor:pointer}
.field textarea{resize:vertical;min-height:120px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px rgba(29,78,216,.15)}
.field-row{display:grid;gap:1rem;grid-template-columns:1fr}
.consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;color:var(--gray)}
.consent input{width:20px;height:20px;min-height:0;margin-top:3px;flex:0 0 auto}
.form-msg{padding:1rem 1.2rem;border-radius:10px;font-weight:600;margin-bottom:1rem}
.form-msg.ok{background:#ecfdf5;border:1.5px solid var(--ok);color:#065f46}
.form-msg.err{background:#fef2f2;border:1.5px solid #dc2626;color:#991b1b}
.rgpd-note{font-size:.82rem;color:var(--gray);margin-top:.75rem;display:flex;gap:.4rem;align-items:flex-start}
.rgpd-note svg{width:16px;height:16px;flex:0 0 auto;margin-top:2px}

/* ---- Steps ---- */
.steps{counter-reset:s;display:grid;gap:1rem}
.step{display:flex;gap:1rem;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.2rem}
.step .n{counter-increment:s;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800}
.step .n::before{content:counter(s)}

/* ---- CTA band ---- */
.cta-band{background:linear-gradient(135deg,var(--blue),#3b82f6);color:#fff;border-radius:var(--r);padding:clamp(1.5rem,5vw,2.5rem);text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#dbe6ff}
.cta-band .hero-cta{flex-direction:row;flex-wrap:wrap;justify-content:center;margin-top:1.25rem}
.cta-band .btn-primary{background:#fff;color:var(--blue)}
.cta-band .btn-primary:hover{background:#eef2ff}

/* ---- Footer ---- */
.site-footer{background:#0f172a;color:#cbd5e1;padding:3rem 0 6rem;font-size:.95rem}
.site-footer a{color:#cbd5e1}
.site-footer a:hover{color:#fff}
.foot-grid{display:grid;gap:2rem;grid-template-columns:1fr}
.foot-logo{font-weight:900;font-size:1.3rem;color:#fff;margin-bottom:.6rem;display:inline-block}
.foot-logo b{color:#60a5fa}
.foot-col h4{color:#fff;font-size:.95rem;margin-bottom:.8rem;text-transform:uppercase;letter-spacing:.05em}
.foot-col ul{list-style:none;display:grid;gap:.5rem}
.foot-bottom{border-top:1px solid #1e293b;margin-top:2rem;padding-top:1.5rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;color:#94a3b8;font-size:.85rem}
.foot-lang button{background:none;border:0;color:#94a3b8;font-weight:700;cursor:pointer;padding:.2rem .4rem;font-family:inherit}
.foot-lang button[aria-current="true"]{color:#60a5fa}

/* ---- Sticky mobile CTA ---- */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;display:flex;gap:8px;padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0));background:#fff;box-shadow:0 -4px 20px rgba(0,0,0,.12);z-index:150}
.sticky-cta .btn{flex:1;min-height:48px}

/* ---- Cookie banner ---- */
.cookie{position:fixed;left:12px;right:12px;bottom:12px;z-index:300;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lg);padding:1.1rem 1.2rem;max-width:560px;margin-inline:auto;display:none}
.cookie.show{display:block}
.cookie p{font-size:.9rem;color:var(--ink);margin-bottom:.8rem}
.cookie .row{display:flex;gap:.5rem;flex-wrap:wrap}
.cookie .btn{min-height:42px;font-size:.9rem;padding:.5rem 1rem}
.cookie .link{background:none;border:0;color:var(--blue);font-weight:600;cursor:pointer;text-decoration:underline;font-family:inherit;font-size:.85rem;align-self:center}
@media(max-width:520px){.cookie{bottom:74px}}

/* ---- RTL ---- */
[dir="rtl"] .reassure li,[dir="rtl"] .price li,[dir="rtl"] .step{text-align:right}
[dir="rtl"] .topbar .container,[dir="rtl"] .hero-cta{direction:rtl}
[dir="rtl"] .faq summary{flex-direction:row-reverse}

/* ---- Responsive ---- */
@media(min-width:560px){
  .field-row{grid-template-columns:1fr 1fr}
  .hero-cta{flex-direction:row;flex-wrap:wrap}
  .price-cta{flex-direction:row}
  .grid-2{grid-template-columns:1fr 1fr}
}
@media(min-width:860px){
  .nav{display:flex}.header-cta{display:flex}.burger{display:none}
  .sticky-cta{display:none}
  .hero-grid{grid-template-columns:1.05fr .95fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .price-grid{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}
  body{padding-bottom:0}
}
@media(max-width:859px){.site-footer{padding-bottom:5.5rem}}
