/* Pages « ColeagMail face à… » : mêmes polices, mêmes couleurs et mêmes boutons que la page d’accueil. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("../accueil/polices/fraunces.woff") format("woff"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../accueil/polices/fraunces-italique.woff") format("woff"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../accueil/polices/figtree.woff") format("woff"); }
:root { --fond: #f5f3fb; --fond-2: #ece8f8; --encre: #18112e; --encre-2: #463d66; --encre-3: #625a86; --bord: rgba(60, 40, 130, 0.12); --bord-2: rgba(60, 40, 130, 0.2); --acc: #6d4fe8; --acc-sombre: #5236c9; --nuit: #140c30; --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "Fraunces", Georgia, "Times New Roman", serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__lien { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--encre-2); text-decoration: none; }
.nav__lien:hover { background: rgba(40, 24, 110, 0.06); color: var(--encre); }
.nav__lien[hidden] { display: none; }
.bouton { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 13px; font-size: 15.5px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform 0.2s, background 0.2s; }
.bouton--plein { background: var(--acc); color: #fff; box-shadow: 0 10px 28px rgba(109, 79, 232, 0.32); }
.bouton--plein:hover { background: var(--acc-sombre); transform: translateY(-1px); }
.bouton--clair { background: #fff; color: var(--encre); }
.bouton--clair:hover { background: #efeafd; }
.bouton--petit { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.lien { font-weight: 600; text-underline-offset: 4px; }

main > section, .apercu > section { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.tete { padding-top: 56px; padding-bottom: 8px; }
.fil { font-size: 14px; color: var(--encre-3); }
.fil a { text-underline-offset: 3px; }
h1 { margin-top: 14px; max-width: 880px; font-family: var(--serif); font-size: clamp(36px, 5.4vw, 64px); font-weight: 300; font-optical-sizing: auto; letter-spacing: -0.032em; line-height: 1.04; text-wrap: balance; }
h1 em { display: block; font-style: italic; font-weight: 400; letter-spacing: -0.025em; padding-bottom: 0.08em; background: linear-gradient(112deg, #7c53ee 0%, #6d4fe8 42%, #159c92 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.chapo { max-width: 720px; margin-top: 22px; font-size: 19px; color: var(--encre-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }

.bloc { margin-top: 56px; }
.titre { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.carte { padding: 26px 28px 28px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--bord); }
.carte--nous { background: #efeafd; box-shadow: inset 0 0 0 1px rgba(109, 79, 232, 0.22); }
.carte h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.carte p, .carte ul { margin-top: 12px; color: var(--encre-2); }
.carte li { position: relative; padding-left: 20px; }
.carte li + li { margin-top: 9px; }
.carte li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--encre-3); }
.carte--nous li::before { background: var(--acc); }

.tableau { margin-top: 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--bord); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 22px; text-align: left; vertical-align: top; }
thead th { font-size: 15px; font-weight: 700; }
thead th:nth-child(2), tbody td:nth-child(2) { background: #f4f0fe; }
tbody tr { border-top: 1px solid var(--bord); }
tbody th { width: 24%; font-weight: 650; }
tbody td { width: 38%; color: var(--encre-2); }

.fin { margin-top: 64px; padding-top: 54px; padding-bottom: 56px; border-radius: 28px; background: radial-gradient(60% 90% at 100% 0%, rgba(124, 83, 238, 0.45), transparent 70%), var(--nuit); color: #fff; text-align: center; }
main > .fin, .apercu > .fin { max-width: 1040px; }
.fin h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.06; }
.fin p { margin-top: 12px; color: rgba(255, 255, 255, 0.78); }
.fin .bouton { margin-top: 26px; }
.notes { margin-top: 36px; padding-bottom: 56px; font-size: 14px; color: var(--encre-3); }
.notes p { max-width: 760px; }
.notes a { text-underline-offset: 3px; }
.autres { margin-top: 14px; }
.autres a { margin-left: 10px; font-weight: 600; color: var(--encre-2); }

.pied { padding: 44px 20px 52px; background: #120a2c; color: rgba(255, 255, 255, 0.72); }
.pied > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.pied .nav__logo { display: flex; color: #fff; }
.pied p { margin-top: 14px; font-size: 15px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; font-size: 15px; }
.pied nav a { text-decoration: none; }
.pied nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .tete { padding-top: 34px; }
  .chapo { font-size: 17px; }
  .bloc { margin-top: 40px; }
  .deux { grid-template-columns: 1fr; }
  .carte { padding: 22px 20px 24px; }
  .fin { margin-left: 12px; margin-right: 12px; border-radius: 22px; }
  /* Le tableau devient une suite de fiches : chaque ligne, puis les deux réponses nommées. */
  .tableau { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  table, tbody, tr, th, td { display: block; width: auto; }
  thead { display: none; }
  tbody tr { margin-top: 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--bord); overflow: hidden; }
  tbody th { width: auto; padding: 16px 18px 10px; font-size: 17px; }
  tbody td { width: auto; padding: 12px 18px 14px; }
  tbody td::before { content: attr(data-qui); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 700; color: var(--encre); }
  tbody td:nth-child(2) { background: #f4f0fe; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }
