/* Outil « Générateur de mot de passe client » — complète landing.css (en-tête et pied de page). */
.pt {
    --pt-blue: #0b5ed7; --pt-teal: #2dd4bf;
    --pt-ink: #0b1220; --pt-muted: #5b6475; --pt-hair: #e7eaf0; --pt-paper: #fbfbfd;
    --pt-night: #050b18;
    --pt-glass: rgba(255, 255, 255, .055); --pt-glass-line: rgba(255, 255, 255, .12);
    --pt-ease: cubic-bezier(.16, 1, .3, 1);
    background: var(--pt-paper);
    color: var(--pt-ink);
}
.pt h1, .pt h2, .pt h3 { margin: 0; }
.pt-wrap { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- haut de page ---------- */
.pt-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--pt-night); }
.pt-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; background:
    radial-gradient(38% 45% at 78% 22%, rgba(59, 130, 246, .45), transparent 70%),
    radial-gradient(30% 40% at 12% 85%, rgba(45, 212, 191, .18), transparent 70%),
    radial-gradient(60% 60% at 50% 0%, rgba(30, 64, 175, .35), transparent 70%); }
.pt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pt-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 72px 24px 96px; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #93a4c0; }
.pt-eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, #93a4c0); }
.pt h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 20px; font-weight: 650; color: #fff; }
.pt h1 .pt-hl { background: linear-gradient(100deg, #bcd4ff 10%, #7dd3fc 50%, #5eead4 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-lead { color: #a9b6cc; font-size: 18px; max-width: 520px; margin: 0 0 36px; }

/* ---------- le générateur, panneau de verre ---------- */
.pt-gen { position: relative; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid var(--pt-glass-line); box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pt-gen::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(135deg, rgba(125,211,252,.55), transparent 35%, transparent 65%, rgba(94,234,212,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pt-gen-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8796b0; margin-bottom: 14px; }
.pt-gen-label span:last-child { letter-spacing: .02em; text-transform: none; color: #a9b6cc; }
.pt-tiles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 66px; }
.pt-tile { font-size: clamp(20px, 2.7vw, 28px); font-weight: 600; letter-spacing: -.015em; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); color: #fff; animation: pt-rise .7s var(--pt-ease) both; }
.pt-tile.pt-num { background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(45,212,191,.3)); border-color: rgba(125,211,252,.45); }
.pt-dash { color: #4f5d78; font-weight: 500; font-size: 22px; }
@keyframes pt-rise { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.pt-say { margin: 16px 0 22px; font-size: 14px; color: #8796b0; }
.pt-say b { color: #dbe4f3; font-weight: 500; }
.pt-actions { display: flex; gap: 10px; }
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; padding: 14px 20px; font: inherit; font-weight: 600; letter-spacing: -.005em; cursor: pointer; text-decoration: none; transition: transform .35s var(--pt-ease), box-shadow .35s var(--pt-ease), background .3s; }
.pt-btn svg { width: 18px; height: 18px; }
.pt-btn:active { transform: scale(.97); }
.pt-btn:focus-visible, .pt-pill:focus-within, .pt-field input:focus-visible, .pt-tabs label:focus-within { outline: 2px solid #7dd3fc; outline-offset: 3px; }
/* « .lp a:not(.lp-btn) » (landing.css) donnerait sa couleur blanche au lien d'essai. */
.lp .pt a.pt-btn-white { color: var(--pt-ink); }
.pt .pt-btn-white { flex: 1; background: #fff; color: var(--pt-ink); box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 -2px 0 rgba(11,18,32,.08); }
.pt .pt-btn-white:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.pt-btn-glass { background: var(--pt-glass); color: #e5ecf7; border: 1px solid var(--pt-glass-line); }
.pt-btn-glass:hover { background: rgba(255,255,255,.1); }
.pt .pt-btn.pt-done { background: var(--pt-teal); color: #042f2a; }
.pt-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.pt-group { display: contents; }
.pt-pill { position: relative; font-size: 13px; font-weight: 500; color: #93a4c0; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); cursor: pointer; user-select: none; transition: all .25s; }
.pt-pill:hover { color: #dbe4f3; }
.pt-pill:has(input:checked) { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.pt-pill input, .pt-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.pt-sep { width: 1px; background: rgba(255,255,255,.1); margin: 4px; }
.pt-private { display: flex; gap: 10px; align-items: center; margin: 22px 0 0; font-size: 13px; color: #8fb8ab; }
.pt-private svg { width: 16px; height: 16px; flex: none; color: var(--pt-teal); }

/* ---------- téléphone ---------- */
.pt-phone-wrap { position: relative; justify-self: center; width: min(320px, 100%); animation: pt-float 7s ease-in-out infinite; }
.pt-phone-wrap::before { content: ""; position: absolute; inset: 10% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(59,130,246,.45), transparent); filter: blur(30px); }
@keyframes pt-float { 50% { transform: translateY(-10px); } }
.pt-phone { border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2a3446, #0d1320 40%, #1d2534); box-shadow: 0 50px 100px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.pt-screen { position: relative; border-radius: 37px; overflow: hidden; background: #f2f4f8; min-height: 470px; }
.pt-island { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #05070c; z-index: 2; }
.pt-chat-head { display: grid; justify-items: center; gap: 4px; padding: 46px 16px 14px; background: rgba(255,255,255,.85); border-bottom: 1px solid #e3e7ee; color: var(--pt-ink); }
.pt-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 17px; color: #fff; background: linear-gradient(135deg, #64748b, #334155); }
.pt-chat-head b { font-size: 13px; font-weight: 600; }
.pt-chat { padding: 18px 14px 22px; display: grid; gap: 8px; }
.pt-when { text-align: center; font-size: 11px; color: #8a94a6; margin-bottom: 6px; }
.pt-bubble { max-width: 86%; justify-self: end; background: linear-gradient(180deg, #2f7bf6, #0b5ed7); color: #fff; font-size: 14px; line-height: 1.42; padding: 9px 13px; border-radius: 20px 20px 6px 20px; overflow-wrap: anywhere; animation: pt-rise .8s var(--pt-ease) both; }
.pt-bubble.pt-in { justify-self: start; background: #e4e7ed; color: var(--pt-ink); border-radius: 20px 20px 20px 6px; animation-delay: .5s; }
.pt-bubble mark { background: rgba(255,255,255,.22); color: #fff; padding: 0 4px; border-radius: 5px; font-weight: 600; }

/* ---------- bande de confiance ---------- */
.pt-trust { border-top: 1px solid rgba(255,255,255,.07); }
.pt-trust ul { list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-size: 13px; color: #8796b0; letter-spacing: .02em; }
.pt-trust li { display: flex; align-items: center; gap: 8px; }
.pt-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pt-teal); }

/* ---------- sections claires ---------- */
.pt-band { padding: 112px 0; }
.pt-head { max-width: 640px; margin-bottom: 56px; }
.pt-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pt-blue); }
.pt h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.05; margin: 12px 0 14px; font-weight: 650; }
.pt-band h2 .pt-hl { color: var(--pt-blue); }
.pt-sub { color: var(--pt-muted); font-size: 17px; margin: 0; }

.pt-msg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: stretch; }
.pt-composer { background: #fff; border: 1px solid var(--pt-hair); border-radius: 24px; padding: 28px; box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 24px 60px rgba(11,18,32,.06); }
.pt-field { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pt-muted); }
.pt-field input { font: inherit; border: 1px solid var(--pt-hair); background: var(--pt-paper); border-radius: 12px; padding: 13px 15px; font-size: 16px; font-weight: 500; color: var(--pt-ink); transition: border-color .2s; }
.pt-field input:hover { border-color: #cfd5df; }
.pt-tabs { display: inline-flex; gap: 4px; margin: 20px 0 14px; padding: 4px; border-radius: 12px; background: #f1f3f7; }
.pt-tabs label { position: relative; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 9px; cursor: pointer; color: var(--pt-muted); transition: all .25s; }
.pt-tabs label:has(input:checked) { background: #fff; color: var(--pt-ink); box-shadow: 0 1px 3px rgba(11,18,32,.1); }
.pt-msg { white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.65; color: #273246; margin: 0 0 20px; padding: 20px 22px; border-radius: 16px; background: var(--pt-paper); border: 1px solid var(--pt-hair); min-height: 140px; }
.pt-btn-ink { background: var(--pt-ink); color: #fff; box-shadow: 0 10px 24px rgba(11,18,32,.2); }
.pt-btn-ink:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(11,18,32,.25); }
.pt-rules { border-radius: 24px; padding: 28px; background: var(--pt-ink); color: #fff; position: relative; overflow: hidden; }
.pt-rules::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,130,246,.45), transparent); }
.pt-rules h3 { position: relative; margin: 0 0 20px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.pt-rules ul { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pt-rules li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); color: #a9b6cc; font-size: 15px; }
.pt-rules li b { color: #fff; font-weight: 600; }
.pt-ok, .pt-no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.pt-ok { background: rgba(45,212,191,.15); color: var(--pt-teal); }
.pt-no { background: rgba(248,113,113,.15); color: #fca5a5; }

.pt-alt { background: #fff; border-top: 1px solid var(--pt-hair); border-bottom: 1px solid var(--pt-hair); }
.pt-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.pt-steps li { padding: 8px 36px 8px 0; }
.pt-steps li + li { padding-left: 36px; border-left: 1px solid var(--pt-hair); }
.pt-n { display: block; font-size: 56px; font-weight: 200; letter-spacing: -.04em; line-height: 1; color: #b8c3d6; }
.pt-steps h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.pt-steps p { margin: 0; color: var(--pt-muted); font-size: 15px; }
.pt a.pt-more { display: inline-flex; margin-top: 48px; color: var(--pt-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--pt-ink); padding-bottom: 2px; }
.pt a.pt-more:hover { color: var(--pt-blue); border-color: var(--pt-blue); }

/* ---------- appel final avec la vraie capture ---------- */
.pt-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--pt-night); }
.pt-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 40%, rgba(59,130,246,.35), transparent 70%), radial-gradient(30% 40% at 0% 100%, rgba(45,212,191,.15), transparent 70%); }
.pt-cta-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.pt-cta h2 { color: #fff; }
.pt-cta h2 .pt-hl { background: linear-gradient(100deg, #bcd4ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-cta .pt-sub { color: #a9b6cc; margin-bottom: 28px; }
.pt-cta ul { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; color: #dbe4f3; font-size: 15px; }
.pt-cta li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.pt-cta li::before { content: "✓"; color: var(--pt-teal); font-weight: 700; }
.pt-cta .pt-btn-white { flex: none; padding: 16px 26px; }
.pt-cta small { display: block; margin-top: 14px; color: #6f7f9c; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pt-window { margin: 0; border-radius: 16px; overflow: hidden; background: #0d1527; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 60px 120px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.03); transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform .8s var(--pt-ease); }
.pt-window:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.pt-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #111b30; border-bottom: 1px solid rgba(255,255,255,.06); }
.pt-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3650; }
.pt-bar span { margin-left: 10px; font-size: 12px; color: #7c8aa5; }
.pt-window img { display: block; width: 100%; height: auto; }
.pt-window figcaption { font-size: 12px; color: #7c8aa5; padding: 10px 14px; }

@media (max-width: 960px) {
    .pt-hero-grid, .pt-msg-grid, .pt-cta-grid { grid-template-columns: 1fr; }
    .pt-hero-grid { gap: 56px; padding: 48px 24px 72px; }
    .pt-steps { grid-template-columns: 1fr; gap: 36px; }
    .pt-steps li, .pt-steps li + li { padding: 0; border: 0; }
    .pt-window, .pt-window:hover { transform: none; }
    .pt-band { padding: 80px 0; }
}
@media (max-width: 520px) {
    .pt-wrap, .pt-hero-grid { padding-left: 16px; padding-right: 16px; }
    .pt-lead { font-size: 16px; }
    .pt-gen, .pt-composer, .pt-rules { padding: 20px; }
    .pt-actions { flex-direction: column; }
    .pt-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .pt-tile, .pt-bubble, .pt-phone-wrap { animation: none; }
    .pt-btn, .pt-window { transition: none; }
}
