/* Fluc Consulting — compléments pour le convertisseur de signaux et les pages applications.
   À charger APRÈS css/style.css. Ne modifie aucune règle existante. */

.page-hero.compact{min-height:420px}
.breadcrumb{font-size:.82rem;color:var(--muted);margin-bottom:1rem}
.breadcrumb a{color:var(--muted)}.breadcrumb a:hover{color:var(--orange)}

/* ---------- Convertisseur ---------- */
.conv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1.6rem;align-items:start}
.conv-panel{background:linear-gradient(145deg,rgba(6,25,42,.96),rgba(3,15,26,.92));border:1px solid var(--line);border-radius:18px;padding:1.6rem;box-shadow:var(--shadow)}
.conv-panel h2{font-size:1.25rem!important;margin:0 0 1.2rem!important}
.conv-panel h3{font-size:1rem;margin:1.4rem 0 .8rem;color:#fff}
.field{margin-bottom:1rem}
.field label{display:block;font-size:.76rem;text-transform:uppercase;font-weight:750;letter-spacing:.04em;color:#c4d0da;margin-bottom:.35rem}
.field input,.field select{width:100%;border:1px solid var(--line);background:#03101c;color:#fff;border-radius:.55rem;padding:.75rem .85rem;font:inherit;font-size:16px;font-variant-numeric:tabular-nums}
.field input:focus,.field select:focus{outline:2px solid rgba(255,177,59,.4);border-color:var(--orange)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.row3{display:grid;grid-template-columns:1fr 1fr .8fr;gap:.8rem}
.seg{display:flex;flex-wrap:wrap;gap:.45rem}
.seg button{border:1px solid var(--line);background:rgba(3,14,25,.6);color:#d9e4ec;border-radius:999px;padding:.5rem .85rem;font:inherit;font-size:.86rem;font-weight:650;min-height:40px}
.seg button:hover{border-color:var(--orange)}
.seg button[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:#10100a}
.hint{font-size:.8rem;color:var(--muted);margin:.3rem 0 0}

.live{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.live .field{margin:0}
.live .field input{font-size:1.35rem;font-weight:750;padding:.7rem .8rem}
.live .unit{font-size:.8rem;color:var(--muted);margin-top:.3rem}

.gauge{margin:1.4rem 0 .4rem}
.gauge-track{position:relative;height:14px;border-radius:999px;background:#0a1d2e;border:1px solid var(--line);overflow:hidden}
.gauge-fill{position:absolute;inset:0 auto 0 0;width:50%;background:linear-gradient(90deg,var(--orange),var(--orange2));border-radius:999px;transition:width .2s}
.gauge-scale{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-top:.35rem;font-variant-numeric:tabular-nums}

.status{margin-top:1rem;padding:.75rem 1rem;border-radius:.6rem;font-size:.9rem;border:1px solid var(--line);background:rgba(3,14,25,.6);color:#d6e1ea}
.status.warn{border-color:rgba(255,177,59,.7);color:#ffd391;background:rgba(255,177,59,.08)}
.status.err{border-color:rgba(255,99,99,.7);color:#ffb3b3;background:rgba(255,99,99,.08)}

.ctable{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.95rem}
.ctable th{text-align:right;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;padding:.55rem .6rem;border-bottom:1px solid var(--line)}
.ctable td{text-align:right;padding:.55rem .6rem;border-bottom:1px solid rgba(173,207,231,.1)}
.ctable th:first-child,.ctable td:first-child{text-align:left}
.ctable tr:hover td{background:rgba(255,177,59,.05)}
.table-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.btn-small{min-height:40px!important;padding:.55rem 1rem!important;font-size:.85rem!important}

/* Encart promotion app */
.app-promo{display:grid;grid-template-columns:auto 1fr auto;gap:1.4rem;align-items:center;margin-top:1.6rem;padding:1.4rem;border-radius:18px;border:1px solid rgba(255,177,59,.45);background:linear-gradient(120deg,rgba(255,177,59,.10),rgba(6,25,42,.9))}
.app-promo img{width:72px;height:72px;border-radius:16px}
.app-promo h3{margin:0 0 .3rem;font-size:1.1rem}
.app-promo p{margin:0;color:var(--muted);font-size:.93rem}

/* FAQ */
.faq{display:grid;gap:.8rem;max-width:900px}
.faq details{border:1px solid var(--line);border-radius:14px;background:rgba(5,22,37,.72);padding:1rem 1.2rem}
.faq summary{cursor:pointer;font-weight:700;color:#fff;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--orange);font-weight:800}
.faq details[open] summary::after{content:"–"}
.faq p{color:var(--muted);margin:.7rem 0 0}

/* ---------- Pages application ---------- */
.store-badge{display:inline-flex;align-items:center;gap:.7rem;background:#000;color:#fff;border:1px solid rgba(255,255,255,.55);border-radius:12px;padding:.55rem 1.1rem;min-height:52px;transition:.2s}
.store-badge:hover{border-color:var(--orange);transform:translateY(-2px)}
.store-badge svg{width:26px;height:26px;fill:#fff}
.store-badge small{display:block;font-size:.68rem;line-height:1.1;opacity:.85}
.store-badge strong{display:block;font-size:1.05rem;line-height:1.15}
.store-badge.pending{opacity:.75;cursor:default}
.store-badge.pending:hover{transform:none;border-color:rgba(255,255,255,.55)}
.pill{display:inline-block;border:1px solid rgba(255,177,59,.6);color:var(--orange);border-radius:999px;padding:.3rem .8rem;font-size:.78rem;font-weight:700;margin-bottom:1rem}
.price-box{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.2rem}
.price{border:1px solid var(--line);border-radius:14px;padding:1.2rem;background:rgba(3,14,25,.6)}
.price.best{border-color:rgba(255,177,59,.7)}
.price strong{display:block;font-size:1.7rem;color:#fff}
.price span{color:var(--muted);font-size:.85rem}
.legal{font-size:.8rem;color:var(--muted);margin-top:1rem;line-height:1.6}
.hero-app-icon{width:96px;height:96px;border-radius:22px;margin-bottom:1.2rem;box-shadow:0 12px 30px rgba(0,0,0,.4)}
.hero-shot{max-width:300px;margin:auto;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow)}
.use-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.cert-wrap{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.cert-wrap img{border-radius:14px;border:1px solid var(--line);background:#fff}
.other-apps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.other-apps a{display:flex;gap:1rem;align-items:center;padding:1.2rem;border:1px solid var(--line);border-radius:16px;background:rgba(5,22,37,.72);transition:.2s}
.other-apps a:hover{border-color:rgba(255,177,59,.65)}
.other-apps img{width:56px;height:56px;border-radius:13px}
.other-apps strong{display:block}.other-apps span{color:var(--muted);font-size:.88rem}

@media(max-width:900px){
  .conv,.cert-wrap{grid-template-columns:1fr}
  .use-cases{grid-template-columns:1fr 1fr}
  .app-promo{grid-template-columns:auto 1fr}
  .app-promo .btn{grid-column:1/-1}
}
@media(max-width:640px){
  .live{grid-template-columns:1fr}
  .row3{grid-template-columns:1fr 1fr}
  .row3 .field:last-child{grid-column:1/-1}
  .use-cases,.other-apps,.price-box{grid-template-columns:1fr}
  .conv-panel{padding:1.2rem}
  .ctable{font-size:.85rem}
  .ctable th,.ctable td{padding:.45rem .35rem}
}

.conv-panel{min-width:0}.field{min-width:0}.field input{box-sizing:border-box}.table-actions button:disabled{opacity:.45;cursor:not-allowed}
.conv .btn-outline{color:#fff;cursor:pointer}.conv .btn-outline:hover{color:var(--orange)}
