:root{--or:#3f7a68;--or-clair:#6fa58f;--or-pale:#cfe3d9;--or-voile:rgba(63,122,104,.14);--ligne-or:rgba(63,122,104,.34);}
/* Magazine des métiers — grands titres, chapô, fiches en tuiles */
.mg-in{max-width:1120px;margin:0 auto;padding:0 24px}
.mg-ribbon{background:#1d1a16;color:#f3eee4;font:500 13.5px/1.2 'Inter',system-ui,sans-serif}
.mg-ribbon .mg-in{display:flex;align-items:center;gap:16px;min-height:46px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.mg-ribbon nav{display:flex;gap:4px;flex-wrap:wrap}
.mg-ribbon nav a{color:#e9e2d2;text-decoration:none;padding:6px 12px;border-radius:999px;border:1px solid rgba(233,226,210,.25)}
.mg-ribbon nav a:hover{background:rgba(233,226,210,.12)}
.mg-ribbon-test{margin-left:auto;background:var(--or,#3f7a68);color:#fff;text-decoration:none;padding:8px 14px;border-radius:999px;font-weight:600}
.mg-cover{background:linear-gradient(120deg,#efe7d8,#e2ede6);padding:64px 0}
.mg-cover-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:center}
.mg-overline{font:600 12px/1 'Inter',system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--or,#3f7a68);margin:0 0 14px}
.mg-overline a{color:inherit;text-decoration:none}
.mg-cover h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(34px,4.6vw,56px);line-height:1.02;font-weight:500;color:#1d1a16;margin:0 0 16px}
.mg-cover p{font:18px/1.6 'Inter',system-ui,sans-serif;color:#3b362e;max-width:520px}
.mg-cta{display:inline-block;margin-top:10px;background:#1d1a16;color:#fff;text-decoration:none;padding:14px 22px;border-radius:999px;font:600 15px 'Inter',system-ui,sans-serif}
.mg-cover-list{list-style:none;margin:0;padding:0;counter-reset:mg}
.mg-cover-list li{counter-increment:mg;border-top:1px solid rgba(29,26,22,.2)}
.mg-cover-list a{display:flex;gap:16px;align-items:baseline;padding:14px 0;font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;color:#1d1a16;text-decoration:none}
.mg-cover-list a::before{content:counter(mg,decimal-leading-zero);font:600 12px 'Inter',sans-serif;color:var(--or,#3f7a68)}
.mg-cover-list a:hover{font-style:italic}
.mg-head{background:#f7f4ee;padding:56px 0 40px;border-bottom:1px solid #e3dccd}
.mg-head h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(40px,6vw,74px);line-height:.98;font-weight:500;color:#1d1a16;margin:0 0 18px;max-width:900px}
.mg-standfirst{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:clamp(21px,2.2vw,26px);line-height:1.4;color:#3b362e;max-width:760px;margin:0 0 14px}
.mg-byline{font:13px 'Inter',sans-serif;color:#7d7466;margin:0}
.mg-col{max-width:720px;margin:0 auto;padding:36px 0 10px}
.mg-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:0 0 34px;background:#e3dccd;border-radius:14px;overflow:hidden}
.mg-facts div{background:#fff;padding:14px 16px}
.mg-facts dt{font:600 11px 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--or,#3f7a68);margin:0 0 6px}
.mg-facts dd{margin:0;font:15px/1.4 'Inter',sans-serif;color:#1d1a16}
.mg-text{font:18px/1.75 'Inter',system-ui,sans-serif;color:#2b2721}
.mg-text>p:first-of-type::first-letter{float:left;font-family:'Cormorant Garamond',Georgia,serif;font-size:72px;line-height:.8;padding:6px 10px 0 0;color:var(--or,#3f7a68)}
.mg-text h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:36px;font-weight:600;line-height:1.1;margin:44px 0 12px;color:#1d1a16}
.mg-text h3{font:600 19px 'Inter',sans-serif;margin:26px 0 8px}
.mg-text a{color:var(--or,#3f7a68);text-underline-offset:3px}
.mg-note{margin:28px -20px;padding:20px 24px;background:#e8f0eb;border-radius:14px;font-size:17px}
.mg-note-warn{background:#f6e8dc}
.mg-keys{list-style:none;padding:0;margin:24px 0;display:grid;gap:10px}
.mg-keys li{padding:12px 16px 12px 44px;background:#fff;border:1px solid #e3dccd;border-radius:12px;position:relative}
.mg-keys li::before{content:"";position:absolute;left:16px;top:18px;width:12px;height:12px;border-radius:50%;background:var(--or,#3f7a68)}
.mg-steps{list-style:none;padding:0;counter-reset:mgs}
.mg-steps li{counter-increment:mgs;padding:0 0 18px 64px;position:relative;min-height:48px}
.mg-steps li::before{content:counter(mgs);position:absolute;left:0;top:-4px;font-family:'Cormorant Garamond',Georgia,serif;font-size:46px;line-height:1;color:var(--or,#3f7a68)}
.mg-tablewrap{overflow-x:auto;margin:22px 0}
.mg-table{width:100%;border-collapse:collapse;font-size:15px}
.mg-table th{text-align:left;font:600 12px 'Inter',sans-serif;text-transform:uppercase;letter-spacing:.08em;border-bottom:2px solid #1d1a16;padding:8px}
.mg-table td{border-bottom:1px solid #e3dccd;padding:10px 8px;vertical-align:top}
.mg-testbox{margin:40px 0;padding:24px;border-radius:18px;background:#1d1a16;color:#f3eee4;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.mg-testbox p{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-size:26px}
.mg-testbox a{background:#f3eee4;color:#1d1a16;text-decoration:none;padding:11px 18px;border-radius:999px;font:600 14px 'Inter',sans-serif}
.mg-questions h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:36px;margin:30px 0 8px}
.mg-q{border-top:1px solid #e3dccd;padding:16px 0}
.mg-q h3{font:600 17px/1.35 'Inter',sans-serif;margin:0 0 6px}
.mg-q p{margin:0;font:16px/1.65 'Inter',sans-serif;color:#3b362e}
.mg-sources{font:13px/1.6 'Inter',sans-serif;color:#7d7466;border-top:1px solid #e3dccd;padding-top:14px;margin-top:30px}
.mg-sources span{font-weight:600}
.mg-src{color:#5d5547}
.mg-more{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:56px}
.mg-next{display:block;padding:20px;border-radius:16px;background:#f7f4ee;text-decoration:none;color:#1d1a16;border:1px solid #e3dccd}
.mg-next span{font:600 11px 'Inter',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--or,#3f7a68)}
.mg-next strong{display:block;margin-top:8px;font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;font-weight:600;line-height:1.15}
.mg-next:hover{background:#efe7d8}
.mg-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:40px 0}
.mg-tile{display:flex;flex-direction:column;gap:8px;min-height:170px;padding:22px;border-radius:18px;background:#fff;border:1px solid #e3dccd;text-decoration:none;color:#1d1a16}
.mg-tile:nth-child(3n+1){background:#e8f0eb}.mg-tile:nth-child(3n+2){background:#f6efe2}
.mg-tile-cat{font:600 11px 'Inter',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--or,#3f7a68)}
.mg-tile strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;font-weight:600;line-height:1.05}
.mg-tile em{margin-top:auto;font:italic 14px 'Inter',sans-serif;color:#5d5547}
.mg-tags{background:#f7f4ee;border-top:1px solid #e3dccd;padding:28px 0}
.mg-tags p{font:600 12px 'Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7d7466;margin:0 0 12px}
.mg-tags div{display:flex;flex-wrap:wrap;gap:8px}
.mg-tags a{padding:7px 13px;border-radius:999px;background:#fff;border:1px solid #e3dccd;color:#1d1a16;text-decoration:none;font:14px 'Inter',sans-serif}
.mg-quiz{margin:0 0 36px;padding:26px;border-radius:20px;background:#fff;border:1px solid #e3dccd;box-shadow:0 18px 40px -30px rgba(29,26,22,.5)}
.mg-quiz-q{border:0;margin:0;padding:0}
.mg-quiz-q legend{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;line-height:1.15;margin-bottom:16px;padding:0}
.mg-quiz-q legend span{display:block;font:600 12px 'Inter',sans-serif;letter-spacing:.14em;color:var(--or,#3f7a68);margin-bottom:6px}
.mg-quiz-q label{display:block;padding:12px 14px;margin:0 0 8px;border:1px solid #e3dccd;border-radius:12px;cursor:pointer;font:16px 'Inter',sans-serif}
.mg-quiz-q label:has(input:checked){border-color:var(--or,#3f7a68);background:#e8f0eb}
.mg-js .mg-quiz-q{display:none}.mg-js .mg-quiz-q.mg-on{display:block}
.mg-quiz-nav{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.mg-quiz-nav button{font:600 14px 'Inter',sans-serif;padding:11px 18px;border-radius:999px;border:1px solid #1d1a16;background:#fff;cursor:pointer}
.mg-quiz-nav .mg-quiz-next,.mg-quiz-nav .mg-quiz-done{background:#1d1a16;color:#fff}
.mg-quiz-result h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;margin:0 0 12px}
.mg-quiz-result ol{padding-left:20px}
.mg-quiz-result li{margin-bottom:14px;font:16px/1.55 'Inter',sans-serif}
.mg-quiz-result a{font-weight:600;color:var(--or,#3f7a68)}
@media (max-width:860px){.mg-cover-grid{grid-template-columns:1fr}.mg-facts{grid-template-columns:1fr 1fr}.mg-tiles,.mg-more{grid-template-columns:1fr 1fr}.mg-ribbon-test{margin-left:0}.mg-note{margin:24px 0}}
@media (max-width:540px){.mg-facts,.mg-tiles,.mg-more{grid-template-columns:1fr}}
.mg-quiz-result,.mg-quiz{scroll-margin-top:110px}
.mg-quiz-again{font:600 14px 'Inter',sans-serif;padding:11px 18px;border-radius:999px;border:1px solid #1d1a16;background:#fff;cursor:pointer}
