/* Real-project portfolio. Styles remain scoped to this page. */
.portfolio-page .portfolio-intro{padding-bottom:38px}
.portfolio-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:end}
.portfolio-heading h1{margin-bottom:0;font-size:clamp(44px,4.6vw,76px);line-height:1.08}
.portfolio-lead{max-width:510px;padding-bottom:5px}
.portfolio-lead>p{font-size:17px;line-height:1.8;margin:0;color:#d0e2ef}
.portfolio-lead .project-note{font-size:12px;line-height:1.8;color:#98b2c8;margin-top:21px;border-left:1px solid #8edcf560;padding-left:16px}
.portfolio-index{display:flex;gap:35px;flex-wrap:wrap;border-block:1px solid #a5c8df30;padding-block:20px;margin-bottom:60px}
.portfolio-index a{display:inline-flex;align-items:center;gap:12px;color:#c9ddeb;font-size:12px;line-height:1.5;padding-block:5px;text-decoration:none}
.portfolio-index a span{color:#74b9d5;font-size:10px}
.portfolio-index a:hover{color:#8edcf5}
.portfolio-projects{padding-bottom:35px}
.portfolio-project{min-width:0;scroll-margin-top:30px;margin-bottom:85px}
.project-heading{display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;justify-content:space-between}
.project-discipline{font-size:10px;line-height:1.7;letter-spacing:1px;color:#91c8e3}
.project-status{font-size:11px;color:#aec9db;border:1px solid #a5c8df30;padding:5px 10px}
.status-live{color:#a6e3c7}.status-live>span{font-size:7px;vertical-align:middle;margin-right:5px}
.project-overview{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin:17px 0 28px}
.portfolio-project h2{font-size:42px;line-height:1.3;letter-spacing:-1px;font-weight:500;margin:0}
.portfolio-project h2>span{display:block;font-size:20px;line-height:1.6;letter-spacing:-.3px;font-weight:400;color:#a5c7dd;margin-top:5px}
.project-description{font-size:14px;line-height:1.85;color:#b6ccdc;margin:0;max-width:600px}
.project-preview{margin:0;min-width:0;overflow:hidden;border:1px solid #a5c8df30;background:#071b2b;border-radius:4px}
.project-capture{display:block;overflow:hidden;line-height:0}
.project-capture img{display:block;width:100%;height:auto;object-fit:contain}
.project-preview figcaption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;font-size:11px;line-height:1.7;color:#a2bacd;padding:14px 20px;border-top:1px solid #a5c8df22}
.project-preview figcaption a{color:#c7eaff;white-space:nowrap;text-decoration:none}
.project-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin:28px 0}
.project-facts span{font-size:9px;line-height:1.6;letter-spacing:1.2px;color:#91c8e3}
.project-facts p{font-size:13px;line-height:1.8;color:#b6ccdc;margin:8px 0 0}
.project-story{border-block:1px solid #a5c8df30}
.project-story summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;font-size:13px;padding:18px 0;color:#d6ecf8;list-style:none}
.project-story summary::-webkit-details-marker{display:none}
.project-story summary>span{font-size:24px;line-height:1;color:#8edcf5;font-weight:300;transition:transform .2s}
.project-story[open] summary>span{transform:rotate(45deg)}
.project-story-body{padding:0 0 28px;max-width:830px}
.project-story h3{font-size:14px;font-weight:550;color:#91d7ef;margin:23px 0 9px;line-height:1.6;letter-spacing:0}
.project-story p,.project-story li{font-size:13px;color:#b6ccdc;line-height:1.85}
.project-story p{margin:0}.project-story ul{padding-left:18px;margin:0}
.project-story .project-intention{border-left:1px solid #8edcf5;padding-left:16px;margin-top:24px;color:#d2e8f5}
.project-story .text-link{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;font-size:13px;line-height:1.7}
.project-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;max-width:none;align-items:start}
.project-detail-image{margin:24px 0 0;border:1px solid #a5c8df30;overflow:hidden;border-radius:3px}
.project-detail-image img{display:block;width:100%;height:auto}
.project-detail-image figcaption{font-size:11px;line-height:1.7;color:#a2bacd;padding:12px}
.portfolio-page :is(.portfolio-index a,.project-story summary,.project-preview figcaption a):focus-visible{outline:2px solid #8edcf5;outline-offset:4px}
@media(min-width:1000px){.project-preview>.project-capture{max-height:610px}.project-preview>.project-capture img{max-height:610px;object-fit:contain;background:#071b2b}}
@media(max-width:800px){.portfolio-heading,.project-overview{grid-template-columns:1fr;gap:25px}.portfolio-lead{max-width:650px}.portfolio-index{gap:15px 30px;margin-bottom:42px}.project-overview{gap:18px}.portfolio-project h2{font-size:35px}.project-facts{gap:22px}.project-detail-grid{grid-template-columns:1fr;gap:5px}.portfolio-project{margin-bottom:62px}}
@media(max-width:520px){.portfolio-heading h1{font-size:43px}.portfolio-lead>p{font-size:15px}.portfolio-index{display:grid;gap:10px}.project-heading{align-items:flex-start}.project-discipline{font-size:9px;max-width:57%}.project-status{font-size:10px;padding:4px 7px}.portfolio-project h2{font-size:31px}.portfolio-project h2>span{font-size:18px}.project-overview{margin-top:18px}.project-facts{grid-template-columns:1fr;gap:17px;margin:23px 0}.project-facts p{margin-top:4px}.project-preview figcaption{font-size:10px;padding:11px 12px}.project-preview figcaption>span{max-width:70%}.project-capture img{min-height:0}.project-description{font-size:13px}.project-story-body{padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){.project-story summary>span{transition:none}}
.portfolio-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Créneau: actual application screens, without enlargement links. */
.creneau-preview{background:#f1f3f5;border-color:#d5d9de}
.app-showcase{padding:28px}
.app-showcase-screens{display:grid;grid-template-columns:1fr 1fr;gap:32px;max-width:660px;margin:auto}
.app-showcase-screens>div{min-width:0}
.app-showcase-screens>div>span{display:block;color:#4b5563;font-size:12px;margin-bottom:12px}
.app-showcase-screens img{display:block;width:100%;height:auto;border:1px solid #d2d7dd;border-radius:4px;min-width:0}
.creneau-preview figcaption{background:#fff;color:#59636f;border-top-color:#d5d9de;font-size:11px}
.project-demo-action{display:flex;align-items:center;gap:28px;margin:28px 0}
.project-demo-action p{font-size:11px;color:#a2bacd;line-height:1.8}
@media(max-width:800px){.project-demo-action{flex-wrap:wrap;gap:14px}}
@media(max-width:520px){.app-showcase{padding:18px 12px}.app-showcase-screens{gap:12px}.app-showcase-screens>div>span{font-size:10px;line-height:1.5;min-height:30px;margin-bottom:6px}.creneau-preview figcaption>span{max-width:100%}.project-demo-action .button{width:100%;justify-content:space-between}.project-demo-action p{font-size:10px}}

/* ClientFlow: captures de l’application, sans lien ni agrandissement. */
.clientflow-preview{background:#f5f7fa;border-color:#d9e0eb}.clientflow-preview>img{display:block;width:100%;height:auto}.clientflow-preview figcaption{background:#fff;color:#68778a;font-size:11px}.portfolio-index{flex-wrap:wrap}.portfolio-index a{white-space:normal}

/* RFORMAC: aperçu du parcours de connexion, sans agrandissement. */
.rformac-access{display:grid;grid-template-columns:1fr;gap:30px;align-items:center;margin:38px 0 42px;padding:34px;border:1px solid #a5c8df30;border-radius:5px;background:linear-gradient(130deg,#0b1e30aa,#06132055)}
.rformac-access-copy h3{font-size:26px;line-height:1.35;font-weight:500;letter-spacing:-.5px;margin:17px 0;color:#dcecf6}
.rformac-access-copy>p{font-size:13px;line-height:1.85;color:#b6ccdc;margin:0}
.rformac-access-copy ul{list-style:none;padding:0;margin:25px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.rformac-access-copy li{border-left:2px solid #6ab8de66;padding-left:15px}
.rformac-access-copy li strong{display:block;font-size:13px;font-weight:550;color:#d0e5f3;margin-bottom:5px}
.rformac-access-copy li span{display:block;font-size:12px;line-height:1.8;color:#a9c1d4}
.rformac-access-copy .text-link{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:13px;margin-top:28px;line-height:1.7}
.rformac-access-image{margin:0;width:100%;max-width:none;justify-self:stretch;border:1px solid #a5c8df30;border-radius:4px;overflow:hidden}
.rformac-access-image img{display:block;width:100%;height:auto}
.rformac-access-image figcaption{font-size:10px;line-height:1.7;padding:11px 14px;color:#a2bacd;background:#071522}
@media(max-width:800px){.rformac-access{gap:30px;padding:25px;grid-template-columns:1fr}.rformac-access-copy h3{font-size:23px}}
@media(max-width:600px){.rformac-access-copy ul{grid-template-columns:1fr}.rformac-access{grid-template-columns:1fr;padding:21px 17px;gap:25px;margin:28px 0}.rformac-access-image{width:100%;max-width:365px;justify-self:center}.rformac-access-copy h3{font-size:23px}.rformac-access-copy>p{font-size:12px}}
