/* =====================================================
   BIBLE À OFFRIR — landing page grand public
   Réutilise au maximum bible-carte.css (classes bdp-*).
   N'ajoute ici que les blocs spécifiques à cette page :
   - grille produits avec images (bao-products)
   - carrousel témoignages (bao-carousel)
   Préfixe : bao- (Bible À Offrir)
   ===================================================== */

/* ==============================================
   04 — PRODUITS : grille éditoriale avec photos
   ============================================== */
.bao-products {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--paper) 0%, #f3ead7 100%);
}

.bao-products-header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.bao-products-header .bdp-uses-label {
    display: inline-flex;
    justify-content: center;
}

.bao-products-lead {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a4a3a;
    margin-top: 1.2rem;
}

.bao-products-lead strong { color: var(--ink); font-weight: 600; }

/* Grille produits */
.bao-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .bao-products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}

@media (min-width: 1024px) {
    .bao-products-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* Carte produit */
.bao-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--bdp-shadow-soft);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bao-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bdp-shadow-deep);
}

.bao-product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image carrée */
.bao-product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #faf6ec 0%, #f3ead7 100%);
}

.bao-product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bao-product-card:hover .bao-product-image img {
    transform: scale(1.06);
}

/* Contenu */
.bao-product-content {
    padding: 1.4rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bao-product-content h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.bao-product-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.55;
    color: #5a4a3a;
    margin: 0 0 1.2rem;
    flex: 1;
}

.bao-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.bao-product-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bao-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    transition: all 0.3s;
}

.bao-product-cta i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.bao-product-card:hover .bao-product-cta { color: var(--gold-dark); }
.bao-product-card:hover .bao-product-cta i { transform: translateX(4px); }

/* Footer de la section produits */
.bao-products-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gold-subtle);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bao-products-footer p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #5a4a3a;
    margin-bottom: 1.2rem;
    font-style: italic;
}

/* ==============================================
   05 — TÉMOIGNAGES : carrousel scroll-snap
   ============================================== */
.bao-testimonials {
    padding: 6rem 0;
    background: var(--paper);
    position: relative;
}

.bao-testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-subtle), transparent);
}

.bao-testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.bao-testimonials-header .bdp-uses-label {
    display: inline-flex;
    justify-content: center;
}

.bao-testimonials-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
    margin: 1rem 0 0;
    letter-spacing: -0.01em;
}

.bao-testimonials-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Carrousel --- */
.bao-carousel {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.bao-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bao-carousel-track::-webkit-scrollbar { display: none; }

.bao-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-width: 0;
}

/* Carte témoignage */
.bao-testimonial-card {
    position: relative;
    padding: 3rem 2.5rem 2.2rem;
    background: linear-gradient(135deg, #fff 0%, #fdf9ef 100%);
    border-radius: 20px;
    /*box-shadow: var(--bdp-shadow-soft);*/
    text-align: center;
    border-top: 3px solid var(--gold);
    height: 100%;
    box-sizing: border-box;
}

.bao-testimonial-mark {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 5rem;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 0.8rem;
}

.bao-testimonial-quote {
    margin: 0 0 2rem;
    padding: 0;
}

.bao-testimonial-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

.bao-testimonial-quote em {
    color: var(--wood-mid);
    font-weight: 600;
    font-style: italic;
}

.bao-testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bao-testimonial-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 170, 0, 0.3);
}

.bao-testimonial-author > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.bao-testimonial-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.bao-testimonial-meta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 0.15rem;
}

/* --- Contrôles du carrousel --- */
.bao-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bao-carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-subtle);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bao-carousel-arrow:hover {
    background: var(--gold);
    color: var(--paper);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 170, 0, 0.3);
}

.bao-carousel-arrow:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.bao-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #fff;
    color: var(--ink);
    border-color: var(--gold-subtle);
}

.bao-carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bao-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--gold-subtle);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bao-carousel-dot:hover { background: var(--gold); }

.bao-carousel-dot[aria-current="true"] {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.bao-carousel-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 767px) {
    .bao-products,
    .bao-testimonials { padding: 4rem 0; }

    .bao-product-content { padding: 1.2rem 1.2rem 1.4rem; }
    .bao-product-price { font-size: 1.35rem; }

    .bao-testimonial-card {
        padding: 2.2rem 1.4rem 1.8rem;
        border-radius: 16px;
    }
    .bao-testimonial-mark { font-size: 3.5rem; }
    .bao-testimonial-author {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    .bao-testimonial-author > div { align-items: center; }

    /* Sur mobile : flèches masquées, swipe natif + dots */
    .bao-carousel-arrow { display: none; }
    .bao-carousel-controls { gap: 0; }
}