.ptest-wrapper { --ptest-accent: #0073e6; width: 100%; }
.ptest-container { max-width: 1240px; margin: 0 auto; }
.ptest-header { text-align: center; margin-bottom: 40px; }
.ptest-header-supra { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ptest-accent); margin-bottom: 12px; padding-left: 36px; position: relative; line-height: 1; }
.ptest-header-supra::before { content: ''; position: absolute; left: 0; top: 50%; width: 28px; height: 2px; background: currentColor; transform: translateY(-50%); }
.ptest-header-title { font-size: 36px; font-weight: 700; color: #0f172a; margin: 0; letter-spacing: -0.015em; }

/* ===== CARD COMMUNE ===== */
.ptest-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ptest-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,0.1); }
.ptest-quote { width: 36px; height: 36px; color: var(--ptest-accent); opacity: 0.2; margin-bottom: 14px; }
.ptest-quote svg { width: 100%; height: 100%; }
.ptest-rating { color: #f59e0b; font-size: 16px; line-height: 1; margin-bottom: 14px; }
.ptest-star-empty { color: #e5e7eb; }
.ptest-star-half { background: linear-gradient(90deg, currentColor 50%, #e5e7eb 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ptest-text { font-size: 15px; line-height: 1.65; color: #1f2937; margin: 0 0 20px; flex: 1; font-style: normal; }
.ptest-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid #f1f5f9; }
.ptest-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.ptest-photo img { width: 100%; height: 100%; object-fit: cover; }
.ptest-name { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.ptest-role { font-size: 13px; color: #5a6068; margin-top: 2px; }
.ptest-source { font-size: 11px; color: var(--ptest-accent); margin-top: 4px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ===== VARIANTE 1 : GRID ===== */
.ptest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== VARIANTE 2 : CAROUSEL ===== */
.ptest-carousel { position: relative; max-width: 800px; margin: 0 auto; padding: 0 60px; }
.ptest-track { position: relative; overflow: hidden; min-height: 280px; }
.ptest-variant-carousel .ptest-card { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; transform: translateX(30px); padding: 40px 36px; }
.ptest-variant-carousel .ptest-card.is-active { opacity: 1; transform: translateX(0); position: relative; }
.ptest-variant-carousel .ptest-text { font-size: 18px; line-height: 1.6; }
.ptest-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #ffffff; border: 1.5px solid #e5e7eb; color: #0f172a; font-size: 26px; cursor: pointer; line-height: 1; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.ptest-nav:hover { background: var(--ptest-accent); color: #fff; border-color: var(--ptest-accent); }
.ptest-prev { left: 0; }
.ptest-next { right: 0; }
.ptest-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.ptest-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; border: 0; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.ptest-dot.is-active { background: var(--ptest-accent); width: 28px; border-radius: 100px; }

/* ===== VARIANTE 3 : STACK ===== */
.ptest-stack { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.ptest-stack-featured .ptest-card { height: 100%; padding: 36px 32px; }
.ptest-stack-featured .ptest-text { font-size: 17px; }
.ptest-stack-small { display: flex; flex-direction: column; gap: 16px; }
.ptest-stack-small .ptest-card { padding: 20px; }
.ptest-stack-small .ptest-text { font-size: 13px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.ptest-stack-small .ptest-quote { display: none; }

/* Responsive */
@media (max-width: 1024px) { .ptest-grid { grid-template-columns: repeat(2, 1fr) !important; } .ptest-stack { grid-template-columns: 1fr; } .ptest-header-title { font-size: 28px; } }
@media (max-width: 700px) { .ptest-grid { grid-template-columns: 1fr !important; } .ptest-carousel { padding: 0; } .ptest-nav { top: auto; bottom: -60px; transform: none; } .ptest-prev { left: 30%; } .ptest-next { right: 30%; } .ptest-dots { margin-top: 70px; } }
