/* Page « Portail client » (refonte du 25/11/2026) : introduction, captures du portail de démonstration
   dans un cadre de navigateur, rubriques, fonctions détaillées, personnalisation, bénéfices, FAQ, appel à l'action.
   Classes préfixées ptl-. Chargé uniquement par les pages dont l'en-tête contient « css: portail ».
   Captures : static/uploads/2026/11/portail-client-cargo-tms-*. Variables : style.css partie 1. */

.ptl {
  --ptl-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fef2f2'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23dc2626' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ptl h2 { margin-top: 0; }
.ptl a:not(.btn):not(.btn-link) { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(220, 38, 38, .35); text-underline-offset: 3px; }
.ptl a:not(.btn):not(.btn-link):hover { color: var(--brand-dark); }
.ptl-kicker { margin: 0 0 8px; font: 600 13px/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* Introduction */
.ptl-intro { max-width: 820px; margin: 8px auto 0; text-align: center; }
.ptl-intro .lead { color: var(--text); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); margin: 0; }
.ptl-checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.ptl-checks li { padding-left: 28px; background: var(--ptl-check) left center / 20px no-repeat; font-weight: 500; color: var(--ink); }
.ptl-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 30px; }
.ptl-actions .btn-link { margin-top: 0; }

/* Cadre de navigateur autour des captures */
.ptl-frame {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.ptl-frame::before {
  content: ""; display: block; height: 34px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20px 17px, #f87171 5px, transparent 5.5px),
    radial-gradient(circle at 38px 17px, #fbbf24 5px, transparent 5.5px),
    radial-gradient(circle at 56px 17px, #34d399 5px, transparent 5.5px),
    var(--soft-2);
}
.ptl-frame img { display: block; width: 100%; border-radius: 0; }
.ptl-frame figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); text-align: center; font-size: .92rem; color: var(--muted); background: #fff; }
.ptl-frame-hero { margin: 48px auto 0; max-width: 1180px; box-shadow: var(--shadow-lg); }

/* Sections */
.ptl-section { margin-top: 96px; }
.ptl-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.ptl-head p { margin: 0; color: var(--muted); }

/* Rubriques */
.ptl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ptl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ptl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(220, 38, 38, .3); }
.ptl-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.ptl-card p { margin: 0; font-size: .97rem; }
.ptl-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), #f97316); color: #fff; box-shadow: 0 10px 22px rgba(220, 38, 38, .28);
}
.ptl-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Fonctions détaillées : texte sur deux colonnes, capture en dessous */
.ptl-band {
  margin: 96px calc(50% - 50vw) 0; padding: 80px calc(50vw - 50%);
  background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ptl-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: 32px; }
.ptl-feature p:last-child { margin-bottom: 0; }
.ptl-list { list-style: none; margin: 0; padding: 0; }
.ptl-list li { position: relative; padding-left: 32px; margin-bottom: 11px; line-height: 1.5; color: var(--ink); }
.ptl-list li:last-child { margin-bottom: 0; }
.ptl-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; background: var(--ptl-check) center / contain no-repeat; }

/* Personnalisation */
.ptl-brand { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1000px; margin-left: auto; margin-right: auto; }
.ptl-brand-media { margin: 0; padding: 18px; background: var(--soft-2); border-radius: 22px; }
.ptl-brand-media img { display: block; width: 230px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.ptl-brand .ptl-list { margin-top: 18px; }

/* Bénéfices */
.ptl-dark {
  margin: 96px calc(50% - 50vw) 0; padding: 80px calc(50vw - 50%);
  background: radial-gradient(900px 320px at 85% -10%, rgba(220, 38, 38, .28), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #cbd5e1;
}
.ptl-dark h2, .ptl-dark h3 { color: #fff; }
.ptl-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ptl-benefit { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px 24px; }
.ptl-benefit h3 { margin: 0 0 10px; font-size: 1.2rem; }
.ptl-benefit p { margin: 0; color: #cbd5e1; }

/* FAQ */
.ptl-faq { max-width: 820px; margin-left: auto; margin-right: auto; }
.ptl-faq h2 { text-align: center; margin-bottom: 22px; }
.ptl-faq details p { margin: 0 0 16px; }

/* Appel à l'action */
.ptl-cta {
  margin-top: 96px; text-align: center; color: #fee2e2; border-radius: 20px; padding: clamp(40px, 6vw, 64px) 28px;
  background: radial-gradient(900px 300px at 50% -20%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(135deg, var(--brand), #9f1239);
}
.ptl-cta h2 { color: #fff; margin: 0 0 10px; }
.ptl-cta p { margin: 0; color: #fee2e2; }
.ptl-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* Responsive */
@media (max-width: 1000px) {
  .ptl-grid, .ptl-benefits { grid-template-columns: 1fr 1fr; }
  .ptl-feature { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 768px) {
  .ptl-section { margin-top: 64px; }
  .ptl-band, .ptl-dark { margin-top: 64px; padding-top: 56px; padding-bottom: 56px; }
  .ptl-cta { margin-top: 64px; }
  .ptl-grid, .ptl-benefits { grid-template-columns: 1fr; }
  .ptl-brand { grid-template-columns: 1fr; justify-items: center; }
  .ptl-brand > div { justify-self: stretch; }
  .ptl-frame-hero { margin-top: 36px; }
  .ptl-frame::before { height: 26px; background-size: auto; }
  /* captures trop fines à 390 px : on les garde lisibles et on les fait défiler */
  .ptl-frame-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ptl-frame img { width: 820px; max-width: none; }
  /* la capture d'en-tête sert d'aperçu : entière, sans défilement */
  .ptl-frame-hero .ptl-frame-scroll { overflow: visible; }
  .ptl-frame-hero img { width: 100%; }
  .ptl-cta-actions .btn { width: 100%; }
}
