/* Vitrine martine-secretary.net : AUCUN script (la CSP l'interdit). L'interactivité passe par des boutons radio en CSS.
   Cloudflare garde .css et .ttf jusqu'à 4 h : à chaque modification, augmenter ?v=N ici (polices) et dans les pages. */
@font-face{font-family:"Droid Sans";src:url(/droid-sans.ttf?v=2) format("truetype");font-weight:400;font-display:swap;unicode-range:U+0000-009F,U+00A1-FFFF}
@font-face{font-family:"Droid Sans";src:url(/droid-sans-gras.ttf?v=2) format("truetype");font-weight:700;font-display:swap;unicode-range:U+0000-009F,U+00A1-FFFF}

:root{
  --fond:#f3f5f8;--papier:#fff;--filet:#d3dae4;--filet-fort:#aab4c3;--encre:#17202e;--gris:#5b6779;
  --bleu:#1f5fd1;--bleu-fonce:#164aa8;--bleu-voile:#edf2fc;
  --jaune:#f2b705;
  --rouge:#c8381f;--ambre:#a86c00;--vert:#1b7a4e;--ardoise:#6b7687;
  --mono:"Consolas","Courier New",monospace;
  --police:"Droid Sans",Roboto,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--fond);color:var(--encre);font:16.5px/1.55 var(--police)}
a{color:var(--bleu)}
a:focus-visible,label:focus-visible{outline:3px solid var(--jaune);outline-offset:2px}
.cadre{max-width:1080px;margin:0 auto;padding:0 22px}
h1,h2,h3{line-height:1.2;margin:0}
h2{font-size:26px}
.repere{font-size:13px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--bleu);margin:0 0 6px}
.choix-radio{position:absolute;opacity:0;pointer-events:none}

/* ---------------------------------------------------------------- en-tête */
.tete{background:var(--papier);border-bottom:1px solid var(--filet)}
.tete .cadre{display:flex;align-items:center;gap:10px 26px;flex-wrap:wrap;min-height:62px}
.marque{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--encre);font-weight:700;font-size:21px;margin-right:auto}
.marque svg{width:30px;height:30px;flex:none}
.tete nav{display:flex;align-items:center;gap:6px 22px;flex-wrap:wrap;font-size:15px}
.tete nav a{color:var(--encre);text-decoration:none}
.tete nav a:hover{color:var(--bleu);text-decoration:underline}
.tete nav a.espace{color:var(--bleu);font-weight:700;border:1.5px solid var(--bleu);padding:6px 12px;border-radius:3px}
.tete nav a.espace:hover{background:var(--bleu);color:#fff;text-decoration:none}

/* ---------------------------------------------------------------- ouverture */
.ouverture{background:var(--bleu);color:#fff}
.ouverture .cadre{display:grid;grid-template-columns:1fr 300px;gap:60px;align-items:center;padding-top:54px;padding-bottom:0}
.ouverture .texte-ouv{padding-bottom:54px}
.ouverture h1{font-size:40px;letter-spacing:-.4px;max-width:560px}
.ouverture .accroche{font-size:19px;margin:16px 0 28px;color:#dbe5fa;max-width:500px}
.bouton{display:inline-block;background:var(--jaune);color:var(--encre);font-weight:700;text-decoration:none;padding:13px 20px;border-radius:3px}
.bouton:hover{background:#ffc928;color:var(--encre)}
.deja{margin:16px 0 0;font-size:15px;color:#dbe5fa}
.deja a{color:#fff}

/* téléphone : posé en bas du bandeau, comme sorti de la poche */
.tel{align-self:end;width:270px;justify-self:center;background:#121a29;border-radius:30px 30px 0 0;padding:11px 11px 0}
.ecran{background:#dfe5ee;border-radius:20px 20px 0 0;padding:10px 9px 16px;color:var(--encre);min-height:330px}
.barre{display:flex;justify-content:space-between;font-size:12px;color:#3d4757;padding:0 6px 10px;font-weight:700}
.n{background:#fff;border-radius:14px;padding:9px 11px 10px;margin-bottom:7px;font-size:13px;line-height:1.35}
.n-tete{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--gris);margin-bottom:4px}
.n-tete i{width:16px;height:16px;border-radius:4px;background:var(--bleu);color:var(--jaune);font-style:normal;font-weight:700;font-size:11px;
  display:inline-flex;align-items:center;justify-content:center}
.n-titre{font-weight:700;font-size:13.5px}
.n-titre .urgent{color:var(--rouge)}
.n-actions{margin-top:7px;display:flex;gap:16px;font-size:12px;font-weight:700;color:var(--bleu)}
.n.repli{opacity:.8}

/* ---------------------------------------------------------------- sections */
.section{padding:58px 0}
.blanc{background:var(--papier);border-top:1px solid var(--filet);border-bottom:1px solid var(--filet)}

/* ---------------------------------------------------------------- règle de 24 h */
.jour{position:relative;margin:34px 0 8px}
.heures{display:grid;grid-template-columns:repeat(24,1fr);height:44px;border:1px solid var(--filet-fort);border-radius:3px;overflow:hidden}
.heures span{border-right:1px solid rgba(0,0,0,.06);background:var(--papier)}
.heures span.nuit{background:#2b3546;border-right-color:#334055}
.heures span:last-child{border-right:0}
.graduations{display:grid;grid-template-columns:repeat(4,1fr);font-size:12px;color:var(--gris);font-family:var(--mono);margin-top:4px}
.graduations span:last-child{display:flex;justify-content:space-between}
.repere-h{position:absolute;top:-28px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;font-size:13px;font-weight:700;white-space:nowrap}
.repere-h::after{content:"";width:2px;height:72px;background:currentColor;margin-top:3px}
.repere-h.r8{left:33.333%;color:var(--bleu)}
.repere-h.r12{left:52.083%;color:var(--ambre)}
.repere-h.r18{left:75%;color:var(--ambre)}
.nuit-txt{position:absolute;top:13px;font-size:12.5px;color:#c4ccd8;white-space:nowrap}
.nuit-txt.a{left:1%}
.nuit-txt.b{right:1%}
.legende-jour{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:26px}
.legende-jour p{margin:0;font-size:15px;color:var(--gris)}
.legende-jour b{display:block;color:var(--encre);font-size:16px}
.legende-jour .c-bleu b{color:var(--bleu)} .legende-jour .c-ambre b{color:var(--ambre)}

/* ---------------------------------------------------------------- tableaux (règles, formules) */
table{border-collapse:collapse;width:100%;background:var(--papier);font-size:15.5px}
th,td{border:1px solid var(--filet);padding:11px 14px;text-align:left;vertical-align:top}
thead th{font-size:14px;background:var(--fond)}
.espace-t{margin-top:18px}
.t-regles{display:grid;grid-template-columns:repeat(3,1fr);background:var(--papier);border:1px solid var(--filet)}
.t-regles .col{border-right:1px solid var(--filet)}
.t-regles .col:last-child{border-right:0}
.t-regles h3{font-size:15px;padding:11px 14px;background:var(--fond);border-top:3px solid var(--filet-fort);border-bottom:1px solid var(--filet)}
.t-regles small{display:block;color:var(--gris);font-weight:400;font-size:13px}
.t-regles .vert h3{color:var(--vert);border-top-color:var(--vert)}
.t-regles .ambre h3{color:var(--ambre);border-top-color:var(--ambre)}
.t-regles .gris h3{color:var(--ardoise);border-top-color:var(--ardoise)}
.t-regles ul{list-style:none;margin:0;padding:0}
.t-regles li{padding:11px 14px;border-bottom:1px solid var(--filet);font-size:15.5px}
.t-regles li:last-child{border-bottom:0}

.t-formules th:first-child,.t-formules td:first-child{width:46%}
.t-formules thead label{display:block;cursor:pointer;text-align:center;font-size:15px;padding:4px 0;color:var(--encre)}
.t-formules thead label small{display:block;font-weight:400;color:var(--gris);font-size:12px}
.t-formules td.o{text-align:center;font-weight:700;color:var(--vert)}
.t-formules td.x{text-align:center;color:#b5bdc9}
.t-formules thead th.c{padding:6px 8px}
#f1:checked~table .c1,#f2:checked~table .c2,#f3:checked~table .c3{background:var(--bleu-voile)}
#f1:checked~table thead .c1,#f2:checked~table thead .c2,#f3:checked~table thead .c3{background:var(--bleu);border-color:var(--bleu)}
#f1:checked~table thead .c1 label,#f2:checked~table thead .c2 label,#f3:checked~table thead .c3 label,
#f1:checked~table thead .c1 small,#f2:checked~table thead .c2 small,#f3:checked~table thead .c3 small{color:#fff}
#f1:focus-visible~table thead .c1 label,#f2:focus-visible~table thead .c2 label,#f3:focus-visible~table thead .c3 label{outline:3px solid var(--jaune)}
.note{margin:12px 0 0;font-size:14.5px;color:var(--gris)}

/* ---------------------------------------------------------------- pour commencer */
.commencer{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:start}
.etapes{margin:14px 0 0;padding:0;list-style:none;counter-reset:e}
.etapes li{counter-increment:e;padding:12px 0 12px 40px;border-top:1px solid var(--filet);position:relative}
.etapes li:last-child{border-bottom:1px solid var(--filet)}
.etapes li::before{content:counter(e);position:absolute;left:0;top:11px;font-weight:700;font-size:20px;color:var(--bleu);font-family:var(--mono)}
.etapes b{margin-right:6px}
.etapes span{color:var(--gris)}
.ecrire{background:var(--papier);border:1px solid var(--filet-fort);border-top:4px solid var(--jaune);border-radius:3px;padding:22px 24px}
.ecrire h2{font-size:22px;margin-bottom:8px}
.ecrire p{margin:0 0 16px;color:var(--gris);font-size:15.5px}
.ecrire .petit{margin:14px 0 0;font-size:14.5px}

/* ---------------------------------------------------------------- pied */
.pied{border-top:1px solid var(--filet);font-size:14px;color:var(--gris)}
.pied .cadre{display:flex;flex-wrap:wrap;gap:6px 18px;padding-top:16px;padding-bottom:26px}
.pied a{color:var(--gris)}
.pied .nom{margin-right:auto}

/* ---------------------------------------------------------------- pages légales */
.texte{max-width:780px;background:var(--papier);border:1px solid var(--filet);border-radius:3px;margin:34px auto 50px;padding:32px 38px}
.texte h1{font-size:30px;margin-bottom:12px}
.texte h2{font-size:19px;margin:26px 0 8px}
.texte ul,.texte ol{padding-left:22px}
.texte li{margin:4px 0}
.meta{color:var(--gris);font-size:15px}
.a-completer{background:#fff3cc;border:1px dashed var(--ambre);padding:0 4px;border-radius:2px}

/* ---------------------------------------------------------------- petits écrans */
@media (max-width:900px){
  .ouverture .cadre{grid-template-columns:1fr;gap:10px}
  .ouverture h1{font-size:32px}
  .ouverture .texte-ouv{padding-bottom:20px}
  .commencer{grid-template-columns:1fr;gap:30px}
  .legende-jour{grid-template-columns:1fr;gap:12px}
  .t-regles{grid-template-columns:1fr}
  .t-regles .col{border-right:0;border-bottom:1px solid var(--filet)}
  .nuit-txt{display:none}
}
@media (max-width:560px){
  body{font-size:16px}
  h2{font-size:23px}
  .section{padding:44px 0}
  .tete nav a:not(.espace){display:none}
  .tel{width:250px}
  .repere-h{font-size:11.5px}
  .repere-h.r12{transform:translateX(-80%)}
  .repere-h.r18{transform:translateX(-20%)}
  th,td{padding:9px 8px}
  .texte{padding:22px 18px;margin:16px 10px 34px}
}
q{quotes:"\00AB\00A0" "\00A0\00BB"}
