
.te-main{
  --prune:#382B3F; --bordeaux:#7B2C3F; --olive:#5B6135; --sauge:#8B9271;
  --or:#A18A58; --or-texte:#7A6838; --blanc:#FDFCF9; --papier:#F6F4EE; --encre:#241C2A; --ligne:#E7E2D6;
  --serif:'Newsreader',Georgia,serif; --sans:'Instrument Sans',system-ui,sans-serif;
}
.te-main *{margin:0;padding:0;box-sizing:border-box}
::selection{background:var(--sauge);color:#fff}
.te-main section{padding:4rem 1.5rem}
.te-main .surtitre{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--or-texte);margin-bottom:.8rem}
.te-main h1, .te-main h2{font-family:var(--serif);font-weight:500;color:var(--prune);line-height:1.15}
.te-main h1{font-size:clamp(2.1rem,5.4vw,3.2rem);margin-bottom:1.1rem;max-width:680px}
.te-main h1 em{font-style:italic;color:var(--bordeaux)}
.te-main h2{font-size:clamp(1.55rem,3.4vw,2.1rem);margin-bottom:.7rem}
.te-main .lede{color:#5A5163;max-width:560px;font-size:1.05rem}
.te-main .exergue{font-family:var(--serif);font-style:italic;font-size:clamp(1.25rem,2.8vw,1.7rem);color:var(--prune);border-left:3px solid var(--or);padding-left:1.3rem;max-width:560px;margin-top:2.6rem;line-height:1.45}
/* ——— Étapes ——— */
.te-main .etapes{list-style:none;margin-top:3rem;display:grid;grid-template-columns:repeat(3,1fr)}
.te-main .etape{padding:1.8rem 1.6rem 0 0;position:relative}
.te-main .etape + .etape{padding-left:1.6rem;border-left:1px solid var(--ligne)}
.te-main .etape .numero{font-family:var(--serif);font-style:italic;font-size:2.6rem;color:var(--or);line-height:1;display:block;margin-bottom:.8rem}
.te-main .etape h3{font-family:var(--serif);font-weight:600;font-size:1.2rem;color:var(--prune);margin-bottom:.45rem}
.te-main .etape p{font-size:.92rem;color:#5A5163}
/* ——— Bande éditoriale ——— */
.te-main .bande-edito{background:var(--prune);color:var(--blanc);max-width:none}
.te-main .bande-edito .interieur{max-width:1080px;margin:0 auto}
.te-main .bande-edito p{font-family:var(--serif);font-style:italic;font-size:clamp(1.4rem,3.4vw,2.1rem);line-height:1.4;max-width:720px}
.te-main .bande-edito p b{color:#D9C89A;font-weight:500}
.te-main .bande-edito .signature{margin-top:1rem;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:#C9C2D2;font-family:var(--sans);font-style:normal}
/* ——— Situations ——— */
.te-main section.situations{background:var(--papier);max-width:none}
.te-main .situations .interieur{max-width:1080px;margin:0 auto}
.te-main .situations .intro-rangee{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;margin-bottom:2.2rem}
.te-main details{border-bottom:1px solid var(--ligne);background:transparent;transition:background .25s}
.te-main details[open]{background:var(--blanc)}
.te-main summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:baseline;gap:1.5rem;padding:1.35rem .4rem;font-family:var(--serif);font-weight:600;font-size:clamp(1.08rem,2.4vw,1.32rem);color:var(--prune);transition:color .2s}
.te-main summary::-webkit-details-marker{display:none}
.te-main summary:hover{color:var(--bordeaux)}
.te-main summary .num{flex:0 0 auto;font-family:var(--serif);font-style:italic;font-weight:400;color:var(--olive);font-size:.95rem;margin-right:1.1rem}
.te-main summary .question{flex:1}
.te-main summary .indice{flex:0 0 auto;font-family:var(--serif);font-style:italic;font-weight:400;color:#7a6838;font-size:1.2rem;transition:transform .25s}
.te-main details[open] summary .indice{transform:rotate(45deg)}
.te-main .reponse{padding:0 .4rem 1.5rem 3.1rem;max-width:660px}
.te-main .reponse .directe{font-weight:600;color:var(--prune);margin-bottom:.5rem;font-size:1rem}
.te-main .reponse p{font-size:.93rem;color:#5A5163}
.te-main .reponse p + p{margin-top:.5rem}
/* ——— Partage des responsabilités ——— */
.te-main section.partage{background:var(--papier);max-width:none}
.te-main .partage .interieur{max-width:1080px;margin:0 auto}
.te-main .table-partage{margin-top:2.4rem;border:1px solid var(--ligne);border-radius:10px;overflow:hidden;background:#fff}
.te-main .rangee{display:grid;grid-template-columns:1fr 1fr}
.te-main .rangee + .rangee{border-top:1px solid var(--ligne)}
.te-main .rangee.entete div{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--or-texte);padding:1rem 1.4rem;background:var(--blanc);font-weight:600}
.te-main .rangee div{padding:1.15rem 1.4rem;font-size:.95rem;color:#4A4152;line-height:1.55}
.te-main .rangee div + div{border-left:1px solid var(--ligne)}
.te-main .partage .note{margin-top:1.2rem;font-size:.85rem;color:#6B6273;max-width:640px}
/* ——— Après la mise en ligne ——— */
.te-main .grille-quatre{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--ligne);border:1px solid var(--ligne);margin-top:2.4rem}
.te-main .cellule{background:#fff;padding:1.6rem 1.4rem}
.te-main .cellule h3{font-family:var(--serif);font-weight:600;font-size:1.06rem;color:var(--prune);margin-bottom:.5rem}
.te-main .cellule p{font-size:.88rem;color:#5A5163;line-height:1.6}
/* ——— Détail contractuel ——— */
.te-main details.juridique summary{font-size:1rem;font-family:var(--sans);font-weight:600}
.te-main details.juridique .reponse p{font-size:.88rem}
/* ——— Appel à l'action ——— */
.te-main section.action{background:var(--prune);color:var(--blanc)}
.te-main .action h2{color:var(--blanc)}
.te-main .action p{color:#C9C2D2;max-width:520px;margin-bottom:1.8rem}
.te-main .action .boutons{display:flex;gap:.9rem;flex-wrap:wrap}
.te-main .btn{display:inline-block;border-radius:99px;padding:.9rem 1.9rem;font-size:.95rem;cursor:pointer;font-family:var(--sans);text-decoration:none;transition:.2s;border:1px solid transparent}
.te-main .btn-clair{background:var(--blanc);color:var(--prune)}
.te-main .btn-clair:hover{background:#EFE9DC}
.te-main .btn-contour{background:none;border-color:rgba(253,252,249,.4);color:var(--blanc)}
.te-main .btn-contour:hover{border-color:var(--blanc)}
.te-main :focus-visible{outline:2px solid var(--olive);outline-offset:2px}
@media(max-width:880px){
  .te-main section{padding:3rem 1.25rem}
  .te-main .etapes{grid-template-columns:1fr}
  .te-main .etape{padding:1.4rem 0 1.4rem 1.4rem;border-left:2px solid var(--or)}
  .te-main .etape + .etape{border-left:2px solid var(--or);padding-left:1.4rem}
  .te-main .grille-quatre{grid-template-columns:1fr 1fr}
  .te-main .rangee{grid-template-columns:1fr}
  .te-main .rangee div + div{border-left:none;border-top:1px dashed var(--ligne)}
  .te-main .rangee.entete div + div{border-top:none}
  .te-main .reponse{padding-left:.4rem}
}
@media(max-width:560px){
  .te-main .grille-quatre{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.te-main{max-width:1080px;margin:0 auto;padding-top:148px}
.te-main .note-legale{font-size:.82rem;color:#6B6273;margin-top:1.6rem}
@media(max-width:960px){.te-main{padding-top:108px}}
