/* Gestion des loyers : charte DELL DIGITAL. Conçu d'abord pour un petit téléphone. */
:root{
  --vert:#0F2A24; --vert2:#163C31; --orange:#F28C28; --orange2:#ffb15e;
  --creme:#FAF8F3; --pale:#DCEBE4; --filet:#e6e1d6; --gris:#4B5F58; --err:#b42318;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif; background:var(--creme); color:var(--vert); font-size:16px; line-height:1.55; -webkit-text-size-adjust:100%; }
[hidden]{ display:none !important; }
.largeur{ width:100%; max-width:640px; margin:0 auto; padding-left:18px; padding-right:18px; }
:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; }

.hero{ background:linear-gradient(160deg,var(--vert) 0%,var(--vert2) 100%); color:#fff; padding:22px 0 36px; }
.marque{ display:flex; align-items:center; gap:8px; font-weight:700; letter-spacing:1px; font-size:15px; margin-left:-8px; }
.etat{ margin:22px 0 8px; color:var(--orange2); font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.8px; }
h1{ margin:0 0 12px; font-size:clamp(29px,8.4vw,44px); line-height:1.15; font-weight:700; text-wrap:balance; }
.accroche{ margin:0 0 22px; font-size:18px; color:var(--pale); }

.btn{ display:inline-block; border:0; border-radius:999px; padding:14px 24px; min-height:52px; font-family:inherit; font-size:16px; font-weight:600; text-align:center; text-decoration:none; background:var(--orange); color:var(--vert); cursor:pointer; }
.btn:hover{ background:var(--orange2); }
.btn:disabled{ opacity:.6; cursor:wait; }
.btn.plein{ width:100%; }
.btn.vert{ background:#25D366; }

.bloc{ padding-top:30px; scroll-margin-top:8px; }
h2{ margin:0 0 14px; font-size:22px; line-height:1.3; font-weight:700; text-wrap:balance; }
.gestes{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.gestes li{ display:flex; gap:14px; background:#fff; border:1px solid var(--filet); border-radius:16px; padding:16px; }
.gestes svg{ flex:none; width:34px; height:34px; fill:none; stroke:var(--orange); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.gestes h3{ margin:0 0 2px; font-size:17px; line-height:1.35; }
.gestes p{ margin:0; color:var(--gris); font-size:15px; }
.suivi{ margin:16px 0 0; font-weight:500; }

.carte{ background:#fff; border:1px solid var(--filet); border-top:5px solid var(--orange); border-radius:18px; padding:22px 18px; box-shadow:0 10px 28px rgba(15,42,36,.08); }
.carte h2{ margin-bottom:4px; }
.sous{ margin:0 0 18px; color:var(--gris); font-size:15px; }
.champ{ margin:0 0 16px; border:0; padding:0; min-width:0; }
.champ > label, legend{ display:block; font-weight:600; font-size:15px; margin:0 0 6px; padding:0; }
.champ label span{ font-weight:400; }
.champ > input, .tel input{ width:100%; min-height:52px; padding:12px 14px; font-family:inherit; font-size:16px; color:var(--vert); background:#fff; border:2px solid #CBD5CF; border-radius:12px; }
.champ > input:focus, .tel input:focus{ outline:none; border-color:var(--orange); box-shadow:0 0 0 4px rgba(242,140,40,.25); }
.tel{ display:flex; align-items:stretch; gap:8px; }
.tel span{ display:flex; align-items:center; padding:0 12px; border:2px solid #CBD5CF; border-radius:12px; background:var(--creme); font-weight:600; }
.tel input{ flex:1; min-width:0; }
.champ [aria-invalid="true"]{ border-color:var(--err); }
.choix{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.choix label{ position:relative; cursor:pointer; }
.choix input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.choix span{ display:flex; align-items:center; justify-content:center; min-height:52px; padding:6px 4px; text-align:center; border:2px solid #CBD5CF; border-radius:12px; font-weight:600; font-size:15px; }
.choix input:checked + span{ background:var(--vert); border-color:var(--vert); color:#fff; }
.choix input:focus-visible + span{ outline:3px solid var(--orange); outline-offset:2px; }
.aide{ margin:5px 0 0; color:var(--gris); font-size:13px; }
.centre{ text-align:center; margin-top:12px; }
.erreur-champ{ margin:5px 0 0; color:var(--err); font-size:14px; font-weight:500; }
.alerte{ margin:0 0 14px; padding:12px 14px; border-radius:12px; background:#FEF3F2; border:1.5px solid #FDA29B; color:var(--err); font-weight:500; font-size:15px; }
.piege{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.merci{ text-align:center; padding:8px 0; }
.coche{ width:68px; height:68px; margin:0 auto 12px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; font-size:34px; font-weight:700; }
.merci p{ margin:0 0 12px; }

.question{ text-align:center; margin:18px 0 0; font-size:15px; }
.question a, noscript a{ color:inherit; font-weight:600; text-underline-offset:4px; }
.pied{ padding:34px 18px 30px; text-align:center; color:var(--gris); font-size:13px; }

/* ---------- Page des inscrits (administrateur) ---------- */
.admin{ max-width:1040px; margin:0 auto; padding:20px 14px 40px; }
.admin h1{ font-size:24px; }
.admin .carte{ max-width:420px; }
.barre{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:0 0 14px; }
.petit{ font-family:inherit; font-size:14px; font-weight:600; min-height:42px; padding:9px 16px; border:2px solid var(--vert); border-radius:10px; background:#fff; color:var(--vert); cursor:pointer; }
.petit:hover{ background:var(--pale); }
.compteurs{ display:flex; flex-wrap:wrap; gap:10px; margin:0 0 16px; }
.compteurs div{ background:#fff; border:1px solid var(--filet); border-radius:12px; padding:10px 16px; min-width:110px; font-size:13px; color:var(--gris); }
.compteurs strong{ display:block; font-size:24px; color:var(--vert); }
.table-wrap{ overflow-x:auto; background:#fff; border:1px solid var(--filet); border-radius:14px; }
table{ border-collapse:collapse; width:100%; min-width:640px; font-size:14px; }
th{ text-align:left; padding:11px 12px; border-bottom:2px solid var(--filet); font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:var(--gris); }
td{ padding:11px 12px; border-bottom:1px solid #F0EDE3; vertical-align:top; }
td a{ color:inherit; }
