/*
Theme Name: Shopkeeper - The Child Theme
Theme URI: https://shopkeeper.getbowtied.com
Description: This is the Child Theme for Shopkeeper - a Hassle-free Worpress Theme with great design and extensive functionality.
Author: Get Bowtied
Author URI: https://getbowtied.com
Template: shopkeeper
Version: 2.0
*/


/****************************************************************/
/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
/****************************************************************/


/* ============================================================
   TÂCHE 7 : Barre de réassurance au-dessus du header
   Mobile-first : grille 2×2 sur mobile, ligne sur desktop
   ============================================================ */

.pcs-reassurance-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

.pcs-reassurance-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    line-height: 1.3;
    box-sizing: border-box;
}

/* Pas de bordure droite sur les items en colonne 2 */
.pcs-reassurance-bar__item:nth-child(2n) {
    border-right: none;
}

/* Pas de bordure basse sur les 2 derniers items */
.pcs-reassurance-bar__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.pcs-reassurance-bar__icon {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* Desktop : ligne horizontale 4 colonnes */
@media (min-width: 768px) {
    .pcs-reassurance-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 0;
    }

    .pcs-reassurance-bar__item {
        font-size: 12px;
        padding: 9px 16px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Réinitialiser les règles mobile */
    .pcs-reassurance-bar__item:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Pas de bordure sur le dernier item */
    .pcs-reassurance-bar__item:last-child {
        border-right: none;
    }

    .pcs-reassurance-bar__item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}


/* ============================================================
   PHASE 2 — TÂCHE 9 : Hero Slider [pcs_hero_slider]
   Mobile-first : 320px de hauteur sur mobile, 520px desktop
   Remplacer les dégradés par des images :
     .pcs-hero-slider__slide--1 { background-image: url(...); }
   ============================================================ */

.pcs-hero-slider {
    /* Full-bleed : sort du container WooCommerce pour être pleine largeur */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    overflow: hidden;
    background: #0f0f1a;
    user-select: none;
}

.pcs-hero-slider__track {
    position: relative;
    width: 100%;
    height: 320px;
}

/* Chaque slide : absolue, plein format, invisible par défaut */
.pcs-hero-slider__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.pcs-hero-slider__slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* Dégradés placeholder — à remplacer par background-image 
.pcs-hero-slider__slide--1 {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a3e 50%, #0f2460 100%);
}
.pcs-hero-slider__slide--2 {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0f0f 50%, #5c1a1a 100%);
}
.pcs-hero-slider__slide--3 {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #0a3d55 100%);
}*/

.pcs-hero-slider__slide--1 {
    background-image: url('images/slider-01.jpg');
    background-size: cover;
    background-position: center;
}
.pcs-hero-slider__slide--2 {
    background-image: url('images/slider-02.jpg');
    background-size: cover;
    background-position: center;
}
.pcs-hero-slider__slide--3 {
    background-image: url('images/slider-03.jpg');
    background-size: cover;
    background-position: center;
}

/* Overlay sombre pour lisibilité du texte sur les images */
.pcs-hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Bouton centré dans le slide */
.pcs-hero-slider__content {
    position: absolute;
    z-index: 2;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.pcs-hero-slider__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.pcs-hero-slider__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.pcs-hero-slider__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.5;
}

.pcs-hero-slider__btn {
    display: inline-block;
    background: #528cbf;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.05em;
}

.pcs-hero-slider__btn:hover,
.pcs-hero-slider__btn:focus {
    background: #3d74a8;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Flèches de navigation */
.pcs-hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.pcs-hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.pcs-hero-slider__arrow--prev { left: 12px; }
.pcs-hero-slider__arrow--next { right: 12px; }

/* Points de navigation */
.pcs-hero-slider__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.pcs-hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.pcs-hero-slider__dot--active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Desktop */
@media (min-width: 768px) {
    .pcs-hero-slider__track {
        height: 520px;
    }

    .pcs-hero-slider__title {
        font-size: 38px;
    }

    .pcs-hero-slider__tag {
        font-size: 12px;
    }

    .pcs-hero-slider__text {
        font-size: 16px;
    }

    .pcs-hero-slider__btn {
        font-size: 15px;
        padding: 13px 32px;
    }

    .pcs-hero-slider__arrow {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .pcs-hero-slider__arrow--prev { left: 24px; }
    .pcs-hero-slider__arrow--next { right: 24px; }

    .pcs-hero-slider__dot {
        width: 10px;
        height: 10px;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .pcs-hero-slider__slide {
        transition: none;
    }
}


/* ============================================================
   PHASE 2 — TÂCHE 10 : Sections Nouveautés + Meilleures ventes
   ============================================================ */

.pcs-home-sections {
    width: 100%;
    margin-bottom: 20px;
}

.pcs-home-section {
    margin-bottom: 40px;
}

.pcs-home-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.pcs-home-section__title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pcs-home-section__link {
    font-size: 13px;
    font-weight: 600;
    color: #528cbf;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pcs-home-section__link:hover {
    color: #3d74a8;
    text-decoration: underline;
}

/* Séparateur "Tout le catalogue" */
.pcs-home-section__separator {
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Masquer le titre de section généré par WooCommerce dans nos sections */
.pcs-home-section .woocommerce-loop-product__title + *,
.pcs-home-section > .woocommerce > h2 {
    display: none;
}

@media (min-width: 768px) {
    .pcs-home-section__title {
        font-size: 24px;
    }
}


/* ============================================================
   LANDING PAGE : Wrapper global
   ============================================================ */

.pcs-landing .site-content {
    padding-top: 0;
}

/* Le slider n'a plus besoin du hack full-bleed dans la landing page */
.pcs-landing .pcs-hero-slider {
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}


/* ============================================================
   LANDING PAGE : Cartes CTA (3 propositions de valeur)
   ============================================================ */

.pcs-cta-cards {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-cta-cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pcs-cta-cards__item {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-cta-cards__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.pcs-cta-cards__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 14px;
    background-color: rgba(82, 140, 191, 0.1);
    color: #528cbf;
}

.pcs-cta-cards__icon svg {
    width: 30px;
    height: 30px;
}

.pcs-cta-cards__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.pcs-cta-cards__text {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .pcs-cta-cards__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}


/* ============================================================
   LANDING PAGE : Catégories produits (grille visuelle)
   ============================================================ */

.pcs-categories__container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pcs-categories__item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
    text-decoration: none;
    display: block;
}

.pcs-categories__item:hover {
    text-decoration: none;
}

.pcs-categories__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pcs-categories__item:hover .pcs-categories__img {
    transform: scale(1.05);
}

.pcs-categories__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
}

.pcs-categories__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pcs-categories__count {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .pcs-categories__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .pcs-categories__label {
        font-size: 14px;
        padding: 14px;
    }
}

@media (min-width: 1024px) {
    .pcs-categories__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}


/* ============================================================
   LANDING PAGE : Sections produits (wrapper)
   ============================================================ */

.pcs-products-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-products-wrap .pcs-home-section {
    margin-bottom: 40px;
}


/* ============================================================
   LANDING PAGE : Marques premium (logo bar)
   ============================================================ */

.pcs-brands__container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-brands__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 28px;
    padding: 24px 0;
}

.pcs-brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-brands__item img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.4);
    transition: filter 0.3s ease;
}

.pcs-brands__item:hover img {
    filter: grayscale(0) opacity(1);
}

@media (min-width: 768px) {
    .pcs-brands__grid {
        gap: 20px 48px;
    }

    .pcs-brands__item img {
        height: 50px;
        max-width: 150px;
    }
}


/* ============================================================
   LIENS LÉGAUX DANS LE FOOTER
   ============================================================ */

.pcs-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.pcs-legal-links a {
    font-size: 12px;
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.pcs-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* ============================================================
   TÂCHE 6 : Bandeau moyens de paiement dans le footer
   Mobile-first : flex-wrap centré, ligne sur desktop
   ============================================================ */

.pcs-payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.pcs-payment-methods__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.55;
}

.pcs-payment-methods__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcs-payment-methods__item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.pcs-payment-methods__item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pcs-payment-methods__icon {
    font-size: 13px;
    line-height: 1;
}

.pcs-payment-methods__logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.pcs-payment-methods__name {
    color: #333333;
}

/* Couleurs d'accentuation par moyen de paiement */
.pcs-payment-methods__item--wave    { border-color: #0099cc; }
.pcs-payment-methods__item--om      { border-color: #ff6600; }
.pcs-payment-methods__item--virement { border-color: #336699; }
.pcs-payment-methods__item--especes  { border-color: #339966; }

/* Desktop : tout sur une seule ligne */
@media (min-width: 768px) {
    .pcs-payment-methods {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        padding: 12px 24px;
    }

    .pcs-payment-methods__item {
        font-size: 12px;
        padding: 5px 12px;
    }
}


/* ============================================================
   TÂCHE 5 : Bouton WhatsApp flottant (coin inférieur droit)
   Mobile-first : cercle vert 52px, pilule au survol
   ============================================================ */

.pcs-whatsapp-btn {
    position: fixed;
    bottom: 150px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    width: 52px;
    height: 52px;
    padding: 0;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    overflow: hidden;
    transition: width 0.3s ease, gap 0.3s ease, padding 0.3s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.pcs-whatsapp-btn:hover,
.pcs-whatsapp-btn:focus {
    background-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
    text-decoration: none;
    color: #ffffff;
    width: auto;
    padding: 0 18px 0 14px;
    gap: 8px;
    border-radius: 50px;
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.pcs-whatsapp-btn__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Label masqué sur mobile (bouton reste circulaire) */
.pcs-whatsapp-btn__label {
    font-size: 14px;
    font-weight: 700;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.3s ease;
}

.pcs-whatsapp-btn:hover .pcs-whatsapp-btn__label,
.pcs-whatsapp-btn:focus .pcs-whatsapp-btn__label {
    max-width: 100px;
    opacity: 1;
}

/* Desktop : légèrement plus grand */
@media (min-width: 768px) {
    .pcs-whatsapp-btn {
        bottom: 115px;
        right: 30px;
        width: 56px;
        height: 56px;
    }

    .pcs-whatsapp-btn__icon {
        width: 28px;
        height: 28px;
    }
}

/* Accessibilité : respecter le paramètre "préférer moins d'animations" */
@media (prefers-reduced-motion: reduce) {
    .pcs-whatsapp-btn,
    .pcs-whatsapp-btn__label {
        transition: none;
    }
}



/* ============================================================
   PAGE NOS RÉALISATIONS
   ============================================================ */

/* En-tête */
.pcs-realisations__header {
    max-width: 700px;
    margin: 48px auto 40px;
    padding: 0 16px;
    text-align: center;
}

.pcs-realisations__title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.pcs-realisations__subtitle {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .pcs-realisations__title {
        font-size: 36px;
    }
}

/* Galerie — surcharge du bloc WordPress natif
   Multi-column : vraie disposition masonry sans JS,
   gère naturellement le mix portrait / paysage. */
.pcs-realisations__gallery {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-realisations__gallery .wp-block-gallery,
.pcs-realisations__gallery .blocks-gallery-grid {
    display: block !important;        /* override flex/grid hérité du bloc */
    column-count: 1;
    column-gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.pcs-realisations__gallery .wp-block-gallery .blocks-gallery-item,
.pcs-realisations__gallery .wp-block-gallery figure {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    margin: 0 0 12px !important;
    width: 100% !important;
}

.pcs-realisations__gallery .wp-block-gallery img {
    width: 100%;
    height: auto;                     /* respect du ratio natif (portrait/paysage) */
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pcs-realisations__gallery .wp-block-gallery a:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Légendes optionnelles */
.pcs-realisations__gallery figcaption {
    font-size: 12px;
    color: #888888;
    text-align: center;
    padding: 6px 4px 0;
}

@media (min-width: 600px) {
    .pcs-realisations__gallery .wp-block-gallery,
    .pcs-realisations__gallery .blocks-gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }

    .pcs-realisations__gallery .wp-block-gallery .blocks-gallery-item,
    .pcs-realisations__gallery .wp-block-gallery figure {
        margin-bottom: 16px !important;
    }
}

@media (min-width: 1024px) {
    .pcs-realisations__gallery .wp-block-gallery,
    .pcs-realisations__gallery .blocks-gallery-grid {
        column-count: 3;
    }
}

/* Témoignages écrits — section masquée tant que le tableau PHP est vide */
.pcs-realisations__testimonials {
    background: #f8f9fb;
    padding: 48px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pcs-realisations__testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pcs-realisations__testimonials-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 32px;
}

@media (min-width: 768px) {
    .pcs-realisations__testimonials-title {
        font-size: 30px;
    }
}

.pcs-realisations__testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .pcs-realisations__testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.pcs-realisations__testimonial-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pcs-realisations__testimonial-text {
    font-size: 15px;
    font-style: italic;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 16px;
    quotes: "« " " »";
}

.pcs-realisations__testimonial-text::before {
    content: open-quote;
}

.pcs-realisations__testimonial-text::after {
    content: close-quote;
}

.pcs-realisations__testimonial-author {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.pcs-realisations__testimonial-name {
    font-weight: 700;
    color: #1a1a2e;
}

.pcs-realisations__testimonial-config {
    font-size: 12px;
    color: #888888;
    margin: 4px 0 0;
}

/* CTA bas de page — WhatsApp */
.pcs-realisations__cta {
    text-align: center;
    padding: 48px 16px 64px;
    max-width: 700px;
    margin: 0 auto;
}

.pcs-realisations__cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.pcs-realisations__cta-text {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 24px;
}

.pcs-realisations__cta-btn {
    display: inline-block;
    background: #25D366;            /* vert WhatsApp, cohérent avec le bouton flottant */
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pcs-realisations__cta-btn:hover,
.pcs-realisations__cta-btn:focus {
    background: #1ea952;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ============================================================
   PHASE 2 — Témoignages clients (section accueil)
   Grille responsive : 1 col mobile → 2 tablette → 3 desktop
   Fond gris clair pour contraster avec sections voisines blanches.
   ============================================================ */

.pcs-testimonials {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.pcs-testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.pcs-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.pcs-testimonials__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-testimonials__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pcs-testimonials__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pcs-testimonials__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #528cbf;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.pcs-testimonials__identity {
    min-width: 0;
}

.pcs-testimonials__name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.pcs-testimonials__zone {
    font-size: 13px;
    color: #6b7280;
    margin: 2px 0 0;
    line-height: 1.3;
}

.pcs-testimonials__rating {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pcs-testimonials__text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 16px;
    flex-grow: 1;
    font-style: italic;
    quotes: "«\00a0" "\00a0»";
}

.pcs-testimonials__text::before {
    content: open-quote;
}

.pcs-testimonials__text::after {
    content: close-quote;
}

.pcs-testimonials__date {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 600px) {
    .pcs-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .pcs-testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================================
   PAGE BIO & CONTACT — template page-bio-contact.php
   5 sections : Hero, About, Services, Galerie teaser, Contact
   Mobile-first, classes BEM strictes .pcs-bio-contact__*
   ============================================================ */

/* Wrapper page : conserver l'isolation du thème parent */
.pcs-bio-contact {
    color: #1a1a2e;
}

.pcs-bio-contact img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Masquer les <img> dont le src n'est pas encore renseigné (placeholders TODO) */
.pcs-bio-contact img:not([src]),
.pcs-bio-contact img[src=""] {
    display: none;
}

/* Headers de section — calqués sur le pattern landing
   (.pcs-home-section__header) : titre gauche, UPPERCASE,
   border-bottom 2px #1a1a2e. Sous-titre placé en lead sous la barre. */
.pcs-bio-contact__section-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 16px;
    text-align: left;
}

.pcs-bio-contact__section-title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1a2e;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pcs-bio-contact__section-subtitle {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

/* Variante claire pour les sections à fond sombre (Contact) */
.pcs-bio-contact__section-header--light .pcs-bio-contact__section-title {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.pcs-bio-contact__section-header--light .pcs-bio-contact__section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 768px) {
    .pcs-bio-contact__section-title {
        font-size: 24px;
    }
    .pcs-bio-contact__section-subtitle {
        font-size: 16px;
    }
}

/* ----------------------------------------
   Section 1 — Hero
   Image de fond + overlay sombre pour la lisibilité du texte.
   Pour changer la photo : remplacer l'URL ci-dessous.
   ---------------------------------------- */
.pcs-bio-contact__hero {
    padding: 80px 20px;
    background-image:
        linear-gradient(135deg, rgba(26, 26, 46, 0.86) 0%, rgba(22, 33, 62, 0.78) 100%),
        url('/wp-content/uploads/2026/05/setup-gaming-pcstore225-paysage-01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
}

.pcs-bio-contact__hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.pcs-bio-contact__hero-title {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.pcs-bio-contact__hero-subtitle {
    margin: 0 auto 32px;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.pcs-bio-contact__hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .pcs-bio-contact__hero {
        padding: 120px 20px;
    }
    .pcs-bio-contact__hero-title {
        font-size: 48px;
    }
    .pcs-bio-contact__hero-subtitle {
        font-size: 18px;
    }
    .pcs-bio-contact__hero-cta {
        gap: 16px;
    }
}

/* Boutons CTA hero */
.pcs-bio-contact__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 50px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}

.pcs-bio-contact__btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pcs-bio-contact__btn--primary {
    background-color: #25D366;
    color: #ffffff;
    border: 2px solid #25D366;
}

.pcs-bio-contact__btn--primary:hover,
.pcs-bio-contact__btn--primary:focus {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: #ffffff;
    transform: translateY(-1px);
}

.pcs-bio-contact__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.pcs-bio-contact__btn--secondary:hover,
.pcs-bio-contact__btn--secondary:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ----------------------------------------
   Section 2 — Qui sommes-nous
   ---------------------------------------- */
.pcs-bio-contact__about {
    padding: 40px 0;
    background-color: #ffffff;
}

.pcs-bio-contact__about-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    box-sizing: border-box;
}

.pcs-bio-contact__about-text p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
}

.pcs-bio-contact__about-text p:last-child {
    margin-bottom: 0;
}

.pcs-bio-contact__about-text strong {
    color: #1a1a2e;
}

.pcs-bio-contact__about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pcs-bio-contact__about-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pcs-bio-contact__about-img--landscape {
    aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
    .pcs-bio-contact__about {
        padding: 60px 0;
    }
    .pcs-bio-contact__about-text p {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .pcs-bio-contact__about-grid {
        grid-template-columns: 3fr 2fr;
        gap: 48px;
    }
}

/* ----------------------------------------
   Section 3 — Nos services
   Cartes alignées sur le pattern .pcs-cta-cards__item de la landing.
   ---------------------------------------- */
.pcs-bio-contact__services {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.pcs-bio-contact__services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    box-sizing: border-box;
}

.pcs-bio-contact__service-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-bio-contact__service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pcs-bio-contact__service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background-color: rgba(82, 140, 191, 0.1);
    color: #528cbf;
}

.pcs-bio-contact__service-icon svg {
    width: 26px;
    height: 26px;
}

.pcs-bio-contact__service-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.pcs-bio-contact__service-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

@media (min-width: 600px) {
    .pcs-bio-contact__services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .pcs-bio-contact__services {
        padding: 60px 0;
    }
    .pcs-bio-contact__services-grid {
        gap: 24px;
    }
}

@media (min-width: 992px) {
    .pcs-bio-contact__services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ----------------------------------------
   Section 4 — Nos réalisations (teaser)
   ---------------------------------------- */
.pcs-bio-contact__gallery {
    padding: 40px 0;
    background-color: #ffffff;
}

.pcs-bio-contact__gallery-grid {
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    box-sizing: border-box;
}

.pcs-bio-contact__gallery-card {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-bio-contact__gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pcs-bio-contact__gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pcs-bio-contact__gallery-card:hover img {
    transform: scale(1.05);
}

.pcs-bio-contact__gallery-cta-wrap {
    text-align: center;
    padding: 0 16px;
}

.pcs-bio-contact__gallery-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #528cbf;
    background-color: transparent;
    border: 2px solid #528cbf;
    border-radius: 50px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pcs-bio-contact__gallery-cta:hover,
.pcs-bio-contact__gallery-cta:focus {
    background-color: #528cbf;
    color: #ffffff;
    text-decoration: none;
}

@media (min-width: 768px) {
    .pcs-bio-contact__gallery {
        padding: 60px 0;
    }
    .pcs-bio-contact__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ----------------------------------------
   Section 5 — Contact
   Fond sombre conservé (closure de page).
   ---------------------------------------- */
.pcs-bio-contact__contact {
    padding: 40px 0;
    background-color: #1a1a2e;
    color: #ffffff;
}

.pcs-bio-contact__contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    box-sizing: border-box;
}

.pcs-bio-contact__contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pcs-bio-contact__contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-bio-contact__contact-card:hover,
.pcs-bio-contact__contact-card:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(82, 140, 191, 0.6);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.pcs-bio-contact__contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(82, 140, 191, 0.18);
    color: #6fb0e0;
}

.pcs-bio-contact__contact-icon svg {
    width: 22px;
    height: 22px;
}

.pcs-bio-contact__contact-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pcs-bio-contact__contact-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

.pcs-bio-contact__contact-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    word-break: break-word;
}

.pcs-bio-contact__contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
}

.pcs-bio-contact__contact-info-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6fb0e0;
}

.pcs-bio-contact__contact-info-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.pcs-bio-contact__socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.pcs-bio-contact__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pcs-bio-contact__social-link:hover,
.pcs-bio-contact__social-link:focus {
    background-color: #528cbf;
    color: #ffffff;
    transform: translateY(-1px);
}

.pcs-bio-contact__social-link svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .pcs-bio-contact__contact {
        padding: 60px 0;
    }
    .pcs-bio-contact__contact-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 40px;
        align-items: start;
    }
}


/****************************************************************/
/****************************************************************/
/****************************************************************/
