/**
 * Pages produits dédiées (plaques homologuées / personnalisées / américaines /
 * décoratives) et page Livraison. Thème sombre aligné sur css/landing-v2.css.
 */

.pl-page {
    --pl-accent: #d7b45a;
    --pl-accent-hover: #efd98b;
    --pl-bg: #09090b;
    --pl-surface: #18181b;
    --pl-surface-alt: #141416;
    --pl-border: #27272a;
    --pl-muted: #a1a1aa;
    background: var(--pl-bg);
    color: #fafafa;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* Le header injecte par js/site-nav.js est fixed par defaut (styles.css) :
   on le rend sticky pour que le fil d'Ariane ne passe pas dessous. */
.pl-page .header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 200;
}

.pl-main {
    padding-bottom: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pl-container {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Fil d'Ariane ---------- */
.pl-breadcrumb {
    padding: 1.25rem 0 0;
    font-size: 0.82rem;
    color: #71717a;
}

.pl-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-breadcrumb a {
    color: #a1a1aa;
    text-decoration: none;
}

.pl-breadcrumb a:hover {
    color: var(--pl-accent);
}

.pl-breadcrumb li + li::before {
    content: '/';
    margin-right: 0.4rem;
    color: #3f3f46;
}

/* ---------- Hero ---------- */
.pl-hero {
    padding: 2.5rem 0 3rem;
    border-bottom: 1px solid var(--pl-border);
}

.pl-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    grid-template-columns: 1fr;
}

.pl-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--pl-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pl-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
}

.pl-hero-lead {
    margin: 0 0 1.5rem;
    max-width: 38rem;
    color: var(--pl-muted);
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.7;
}

.pl-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(215, 180, 90, 0.3);
    border-radius: 999px;
    background: rgba(215, 180, 90, 0.08);
}

.pl-price-tag small {
    color: var(--pl-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.pl-price-tag strong {
    color: var(--pl-accent);
    font-size: 1.25rem;
    font-weight: 900;
}

/* ---------- Boutons ---------- */
.pl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0 1.6rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pl-btn--primary {
    color: #09090b;
    background: linear-gradient(180deg, var(--pl-accent-hover), var(--pl-accent));
    box-shadow: 0 12px 30px rgba(215, 180, 90, 0.22);
}

.pl-btn--primary:hover {
    transform: translateY(-2px);
    color: #09090b;
}

.pl-btn--ghost {
    color: #fff;
    background: #27272a;
    border-color: #3f3f46;
}

.pl-btn--ghost:hover {
    background: #3f3f46;
    color: #fff;
}

.pl-btn--dark {
    color: #fff;
    background: #09090b;
    border-color: #27272a;
}

.pl-btn--dark:hover {
    background: #1c1c1f;
    color: #fff;
}

/* ---------- Avantages ---------- */
.pl-usp {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-usp li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--pl-border);
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.7);
    color: #e4e4e7;
    font-size: 0.82rem;
    font-weight: 600;
}

.pl-usp svg {
    flex-shrink: 0;
    color: var(--pl-accent);
}

/* ---------- Visuel plaque ---------- */
.pl-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.pl-hero-photo {
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    background: #111113;
    border: 1px solid #27272a;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.pl-hero-photo img,
.pl-hero-photo svg,
.pl-svg-plate svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
}

.pl-hero-photo--moto {
    max-width: 280px;
    padding: 1.15rem 1.2rem;
}

.pl-hero-photo--moto svg {
    max-height: none;
}

.pl-hero-photo--collection {
    max-width: 36rem;
}

.pl-svg-plate {
    width: 100%;
}

.pl-hero-photo--cover {
    padding: 0;
    overflow: hidden;
}

.pl-hero-photo--cover img {
    max-height: 360px;
    object-fit: cover;
}

.pl-examples-photo {
    width: 100%;
    margin: 0 0 1.75rem;
    border-radius: 14px;
    border: 1px solid #27272a;
    background: #0a0a0a;
}

.pl-examples-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.pl-plate {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 26rem;
    padding: 1.3rem 1.5rem;
    border: 3px solid #d4d4d8;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #e7e7ea);
    color: #09090b;
    font-family: 'Oswald', 'Inter', sans-serif;
    font-size: clamp(1.6rem, 6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.pl-plate--pink {
    background: linear-gradient(180deg, #ffd9e4, #f7b7cb);
}

.pl-plate--black {
    background: linear-gradient(180deg, #1c1c1f, #09090b);
    border-color: #52525b;
    color: #fafafa;
}

.pl-plate--us {
    max-width: 20rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f7ff, #d8e3fb);
    font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.pl-plate-caption {
    color: #71717a;
    font-size: 0.8rem;
    text-align: center;
}

.pl-hero-img {
    width: 100%;
    max-width: 30rem;
    border: 1px solid var(--pl-border);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* ---------- Sections ---------- */
.pl-section {
    padding: 3.5rem 0;
}

.pl-section--alt {
    background: var(--pl-surface-alt);
    border-top: 1px solid var(--pl-border);
    border-bottom: 1px solid var(--pl-border);
}

.pl-section-head {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.pl-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.pl-section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
}

.pl-section h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.pl-lead {
    margin: 0;
    color: var(--pl-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.pl-section p {
    color: var(--pl-muted);
    line-height: 1.7;
}

/* ---------- Grille de formats / tarifs ---------- */
.pl-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.pl-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    background: var(--pl-surface);
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.pl-card:hover {
    border-color: rgba(215, 180, 90, 0.45);
    transform: translateY(-3px);
}

.pl-card-dims {
    color: #71717a;
    font-size: 0.82rem;
}

.pl-card-price {
    margin-top: auto;
    padding-top: 0.6rem;
    color: var(--pl-accent);
    font-size: 1.05rem;
    font-weight: 800;
}

.pl-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fafafa;
    font-size: 0.85rem;
    font-weight: 700;
}

.pl-card-cta svg {
    color: var(--pl-accent);
}

/* ---------- Tableau ---------- */
.pl-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    background: var(--pl-surface);
}

.pl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.pl-table th,
.pl-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--pl-border);
}

.pl-table th {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.pl-table td {
    color: #d4d4d8;
}

.pl-table tbody tr:last-child th,
.pl-table tbody tr:last-child td {
    border-bottom: 0;
}

.pl-table strong {
    color: var(--pl-accent);
}

/* ---------- Listes ---------- */
.pl-check {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #d4d4d8;
    line-height: 1.6;
}

.pl-check svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--pl-accent);
}

/* ---------- Encadrés ---------- */
.pl-note {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--pl-border);
    border-left: 3px solid var(--pl-accent);
    border-radius: 12px;
    background: rgba(24, 24, 27, 0.8);
}

.pl-note p {
    margin: 0;
}

.pl-note strong {
    color: #fff;
}

.pl-note--warn {
    border-left-color: #f97316;
    background: rgba(249, 115, 22, 0.07);
}

.pl-note--ok {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.07);
}

/* ---------- FAQ ---------- */
.pl-faq {
    display: grid;
    gap: 0.75rem;
}

.pl-faq details {
    padding: 1rem 1.25rem;
    border: 1px solid var(--pl-border);
    border-radius: 12px;
    background: var(--pl-surface);
}

.pl-faq summary {
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.pl-faq summary::-webkit-details-marker {
    display: none;
}

.pl-faq summary::after {
    content: '+';
    float: right;
    color: var(--pl-accent);
    font-size: 1.2rem;
    line-height: 1;
}

.pl-faq details[open] summary::after {
    content: '\2212';
}

.pl-faq p {
    margin: 0.75rem 0 0;
}

/* ---------- Bandeau CTA ---------- */
.pl-cta-band {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--pl-accent-hover), var(--pl-accent));
}

.pl-cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.pl-cta-band h2 {
    margin: 0 0 0.3rem;
    color: #09090b;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
}

.pl-cta-band p {
    margin: 0;
    color: #27272a;
}

.pl-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* ---------- Liens croisés entre familles ---------- */
.pl-related {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

.pl-related a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--pl-border);
    border-radius: 12px;
    background: var(--pl-surface);
    color: #fafafa;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.18s ease;
}

.pl-related a:hover {
    border-color: rgba(215, 180, 90, 0.45);
    color: #fff;
}

.pl-related span {
    color: var(--pl-accent);
}

/* ---------- Étapes ---------- */
.pl-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    counter-reset: pl-step;
}

.pl-steps li {
    padding: 1.25rem;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    background: var(--pl-surface);
    list-style: none;
}

.pl-steps li::before {
    counter-increment: pl-step;
    content: '0' counter(pl-step);
    display: block;
    margin-bottom: 0.5rem;
    color: var(--pl-accent);
    font-size: 1.4rem;
    font-weight: 900;
}

/* ---------- Deux colonnes ---------- */
.pl-split {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
    .pl-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pl-related {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pl-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pl-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .pl-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pl-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .pl-actions .pl-btn,
    .pl-cta-band-actions .pl-btn {
        width: 100%;
    }
}

.pl-sticker-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 280px;
    padding: 1.75rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(215, 180, 90, 0.12), transparent 42%),
        linear-gradient(135deg, #1a1a1e, #0c0c0e);
    border: 1px solid rgba(215, 180, 90, 0.22);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.pl-sticker-mock {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: min(100%, 280px);
    padding: 1.15rem 1.4rem;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pl-sticker-mock strong {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.pl-sticker-mock span {
    color: #52525b;
    font-size: 0.82rem;
    font-weight: 600;
}

.pl-sticker-caption {
    margin: 0;
    color: #a1a1aa;
    font-size: 0.82rem;
    text-align: center;
}
