/* Pages du compte artisan (offres, inscription, connexion), dans la charte de l'accueil. */
:root{
  --green:#00FF82;--ink:#15171c;--ink-2:#2b2f37;--muted:#8a909b;--text:#4b515c;
  --bg:#fff;--bg-soft:#f5f6f8;--line:#e8eaee;--mint:#d8fbe8;--err:#b42318;--err-bg:#fdecea;
  --r-lg:28px;--r-md:20px;--r-sm:14px;
  --shadow-md:0 2px 6px rgba(20,24,30,.05),0 12px 32px rgba(20,24,30,.08);
  --font:"Inter Tight",system-ui,-apple-system,sans-serif;--ease:cubic-bezier(.22,1,.36,1);
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--font);color:var(--ink);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100vh;
  background:radial-gradient(1100px 520px at 50% -160px,#d8fbe8 0%,rgba(216,251,232,0) 70%),var(--bg)}
a{color:inherit}
button,input{font:inherit;color:inherit}
.haut{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1080px;margin:0 auto;padding:18px 24px}
.haut img{height:26px;width:auto;display:block}
.haut a.lien{font-size:14.5px;color:var(--text);text-decoration:none}
.haut a.lien b{color:var(--ink);font-weight:600}
.haut-nav{display:flex;align-items:center;gap:2px;margin-right:auto;margin-left:12px}
.haut-nav a{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;font-size:14.5px;color:var(--ink-2);text-decoration:none;white-space:nowrap;transition:background .2s}
.haut-nav a:hover{background:var(--bg-soft)}
.haut-nav a.accueil{background:var(--bg-soft);font-weight:500}
.haut-nav a.accueil:hover{background:var(--line)}
.haut-nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:1000px){
  .haut{flex-wrap:wrap;row-gap:8px}
  .haut-nav{order:3;width:100%;margin:0 -6px;overflow-x:auto;scrollbar-width:none}
  .haut-nav::-webkit-scrollbar{display:none}
}
main{max-width:1080px;margin:0 auto;padding:24px 24px 72px}
.tete{text-align:center;max-width:620px;margin:16px auto 28px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--ink-2);background:#fff;border-radius:99px;padding:6px 12px;box-shadow:0 0 0 1px var(--line)}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--green)}
h1{font-size:clamp(30px,4.6vw,46px);line-height:1.08;letter-spacing:-.03em;font-weight:600;margin:16px 0 10px}
h1 .soft{color:var(--muted)}
.tete p{margin:0;color:var(--text);font-size:17px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;cursor:pointer;border-radius:999px;font-weight:500;font-size:15px;padding:13px 22px;line-height:1.2;text-decoration:none;transition:transform .2s var(--ease),box-shadow .2s,background .2s}
.btn:active{transform:scale(.97)}
.btn[disabled]{opacity:.55;cursor:default}
.btn-dark{background:var(--ink);color:#fff;box-shadow:0 6px 18px rgba(20,24,30,.18)}
.btn-dark:hover{background:#000}
.btn-green{background:var(--green);color:#04130b;box-shadow:0 6px 18px rgba(0,200,100,.25)}
.btn-light{background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--line) inset}
.btn-plein{width:100%}

/* Mensuel / annuel */
.periode{display:flex;justify-content:center;margin:0 0 26px}
.periode div{display:inline-flex;background:var(--bg-soft);border-radius:99px;padding:4px;box-shadow:0 0 0 1px var(--line) inset}
.periode button{border:0;background:none;border-radius:99px;padding:9px 18px;font-size:14.5px;font-weight:500;cursor:pointer;color:var(--text);display:flex;align-items:center;gap:8px}
.periode button.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(20,24,30,.08),0 2px 8px rgba(20,24,30,.06)}
.periode small{font-size:12px;font-weight:600;color:#0b6b3d;background:var(--mint);border-radius:99px;padding:2px 8px}

.offres{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:820px;margin:0 auto}
.offre{background:var(--bg-soft);border-radius:var(--r-lg);padding:28px 26px;display:flex;flex-direction:column;border:2px solid transparent}
.offre.best{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(140deg,#00FF82 0%,#7ee8cf 45%,#b9b1f6 100%) border-box;box-shadow:0 20px 50px -20px rgba(0,180,100,.35)}
.offre h2{font-size:19px;font-weight:600;letter-spacing:-.015em;margin:0;display:flex;justify-content:space-between;align-items:center;gap:8px}
.offre .badge{font-size:12px;font-weight:600;background:var(--mint);color:#0b6b3d;border-radius:99px;padding:3px 10px;white-space:nowrap}
.prix{margin-top:18px;display:flex;align-items:baseline;gap:8px}
.prix b{font-size:44px;font-weight:600;letter-spacing:-.03em;line-height:1}
.prix span{color:var(--text);font-size:15px}
.prix s{color:var(--muted);font-size:16px}
.detail{font-size:13.5px;color:var(--text);margin-top:6px;min-height:21px}
.offre .btn{margin-top:22px}
.offre ul{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:9px;font-size:14.5px;color:var(--ink-2)}
.offre li{display:flex;gap:10px;align-items:flex-start}
.offre li::before{content:"";flex:none;width:16px;height:16px;margin-top:3px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304130b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.offre li.lbl{font-weight:600;color:var(--ink)}
.offre li.lbl::before{display:none}
.notes{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin:28px 0 0;padding:0;list-style:none;font-size:14px;color:var(--text)}
.notes li{display:flex;align-items:center;gap:8px}
.notes li::before{content:"";width:5px;height:5px;border-radius:50%;background:#b8bcc4}
.autre{text-align:center;margin-top:18px;font-size:14.5px;color:var(--text)}

/* Carte de formulaire (inscription, connexion) */
.carte{max-width:460px;margin:0 auto;background:#fff;border-radius:var(--r-lg);padding:30px 28px;box-shadow:0 0 0 1px var(--line),var(--shadow-md)}
.carte h1{font-size:30px;margin:0 0 6px}
.carte > p{margin:0 0 20px;color:var(--text)}
.choix{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bg-soft);border-radius:var(--r-sm);padding:12px 14px;margin-bottom:20px;font-size:14.5px}
.choix b{display:block;font-weight:600}
.choix span{color:var(--text);font-size:13.5px}
.choix a{font-size:13.5px;white-space:nowrap}
label.ch{display:block;font-size:14px;font-weight:500;margin-bottom:14px}
label.ch small{color:var(--muted);font-weight:400}
label.ch input{display:block;width:100%;margin-top:6px;border:0;border-radius:12px;padding:12px 14px;font-size:16px;background:var(--bg-soft);box-shadow:0 0 0 1px var(--line) inset;outline:none;transition:box-shadow .2s}
label.ch input:focus{box-shadow:0 0 0 2px var(--ink) inset;background:#fff}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.accord{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--text);margin:4px 0 18px;cursor:pointer}
.accord input{margin-top:3px;width:16px;height:16px;accent-color:var(--ink);flex:none}
.erreur{background:var(--err-bg);color:var(--err);border-radius:12px;padding:10px 14px;font-size:14px;margin-bottom:14px}
.erreur[hidden]{display:none}
.petit{font-size:13.5px;color:var(--text);text-align:center;margin:16px 0 0}
.envoye{text-align:center}
.envoye .rond{width:64px;height:64px;border-radius:50%;background:var(--mint);display:grid;place-items:center;margin:0 auto 16px}
.envoye .rond svg{width:30px;height:30px;stroke:#0b6b3d;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.envoye p{color:var(--text);margin:0 0 6px}
.envoye .actions{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.lienbtn{border:0;background:none;padding:6px;color:var(--text);font-size:14px;text-decoration:underline;cursor:pointer}
.tourne{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:tourne .8s linear infinite;display:inline-block}
.attente{display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 0;color:var(--text)}
.attente .tourne{width:28px;height:28px;color:var(--ink)}
@keyframes tourne{to{transform:rotate(360deg)}}

@media (max-width:760px){
  .offres{grid-template-columns:1fr;max-width:480px}
  .haut,main{padding-left:16px;padding-right:16px}
  .carte{padding:24px 18px}
  .duo{grid-template-columns:1fr}
}
