/* ================================================================
   RAFA — Pages Produit Box Premium
   Partagé entre les 4 box — v1.0
   ================================================================ */

/* ── HERO PRODUIT ── */
.rb-hero {
    background: linear-gradient(135deg, #FAF8F4 0%, #EADFCF 100%);
    padding: 64px 0 0;
    overflow: hidden;
}
.rb-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}
.rb-hero-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(74,74,74,.14);
    aspect-ratio: 4/5;
    background: #EADFCF;
}
.rb-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.9);
    transition: transform .6s ease;
    display: block;
}
.rb-hero-img-wrap:hover img { transform: scale(1.03); }

/* Badges sur l'image */
.rb-img-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.rb-badge-bestseller { background: rgba(201,96,122,.9); color: #fff; }
.rb-badge-new        { background: rgba(141,186,138,.9); color: #fff; }
.rb-badge-gift       { background: rgba(234,223,207,.95); color: #4A4A4A; }
.rb-badge-promo      { background: rgba(245,158,11,.9); color: #fff; }

/* Infos produit */
.rb-hero-info { padding: 8px 0 64px; }
.rb-hero-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8DBA8A;
    display: block;
    margin-bottom: 14px;
}
.rb-hero-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 300;
    color: #4A4A4A;
    line-height: 1.2;
    letter-spacing: -.3px;
    margin-bottom: 14px;
}
.rb-hero-title strong { font-weight: 600; color: #6F9D73; }
.rb-hero-accroche {
    font-size: 16px;
    font-weight: 300;
    color: #888;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 440px;
}

/* Note étoiles */
.rb-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.rb-stars-icons { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.rb-stars-count { font-size: 13px; color: #888; }
.rb-stars-count strong { color: #4A4A4A; font-weight: 500; }

/* Prix */
.rb-price-block { margin-bottom: 24px; }
.rb-price {
    font-size: 36px;
    font-weight: 700;
    color: #6F9D73;
    line-height: 1;
}
.rb-price-old {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 10px;
}
.rb-price-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
    display: block;
}

/* Badges réassurance inline */
.rb-trust-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.rb-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #6F9D73;
    background: rgba(141,186,138,.1);
    border: 1px solid rgba(141,186,138,.25);
    border-radius: 20px;
    padding: 5px 12px;
}

/* Boutons CTA hero */
.rb-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.rb-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #8DBA8A;
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(141,186,138,.35);
}
.rb-btn-primary:hover {
    background: #6F9D73;
    box-shadow: 0 8px 24px rgba(141,186,138,.45);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.rb-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: #4A4A4A;
    border: 1.5px solid #EADFCF;
    border-radius: 32px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}
.rb-btn-secondary:hover {
    border-color: #8DBA8A;
    color: #6F9D73;
    text-decoration: none;
}

/* Garanties hero */
.rb-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #EADFCF;
}
.rb-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
}
.rb-guarantee-item span:first-child { font-size: 20px; }
.rb-guarantee-item strong { color: #4A4A4A; font-weight: 500; font-size: 12px; display: block; }

/* ── SECTIONS COMMUNES ── */
.rb-section { padding: 72px 0; }
.rb-section-alt { background: #fff; }
.rb-section-beige { background: #EADFCF; }
.rb-section-cream { background: #FAF8F4; }
.rb-section-sage { background: #8DBA8A; }

.rb-section-header { text-align: center; margin-bottom: 48px; }
.rb-section-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8DBA8A;
    display: block;
    margin-bottom: 12px;
}
.rb-section-tag-white { color: rgba(255,255,255,.7); }
.rb-section-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 300;
    color: #4A4A4A;
    letter-spacing: -.2px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.rb-section-title strong { font-weight: 600; }
.rb-section-title-white { color: #fff; }
.rb-section-sub {
    font-size: 15px;
    font-weight: 300;
    color: #888;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
}
.rb-section-sub-white { color: rgba(255,255,255,.8); }

/* ── POURQUOI CETTE BOX ── */
.rb-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.rb-why-item {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #EADFCF;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rb-why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74,74,74,.08);
    border-color: #A8CFA5;
}
.rb-why-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.rb-why-item h3 {
    font-size: 13px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 6px;
}
.rb-why-item p { font-size: 12px; color: #888; line-height: 1.6; }

/* ── CONTENU DE LA BOX ── */
.rb-contents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rb-content-card {
    background: #fff;
    border: 1px solid #EADFCF;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.rb-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74,74,74,.10);
}
.rb-content-card-img {
    height: 160px;
    overflow: hidden;
    background: #FAF8F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.rb-content-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rb-content-card-body { padding: 18px; }
.rb-content-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 5px;
}
.rb-content-card p {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 8px;
}
.rb-content-card-benefit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #6F9D73;
    background: rgba(141,186,138,.1);
    border-radius: 20px;
    padding: 3px 10px;
}

/* ── POUR QUI ── */
.rb-forqui-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rb-forqui-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(168,207,165,.2);
    text-align: center;
}
.rb-forqui-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}
.rb-forqui-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 8px;
}
.rb-forqui-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ── BÉNÉFICES ── */
.rb-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rb-benefit-card {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: background .2s;
}
.rb-benefit-card:hover { background: rgba(255,255,255,.25); }
.rb-benefit-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.rb-benefit-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.rb-benefit-card p {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}

/* ── TÉMOIGNAGES ── */
.rb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rb-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    border: 1px solid #EADFCF;
    box-shadow: 0 2px 12px rgba(74,74,74,.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rb-review-stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; }
.rb-review-text {
    font-size: 13px;
    font-weight: 300;
    color: #4A4A4A;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}
.rb-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #EADFCF;
}
.rb-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}
.rb-review-name {
    font-size: 13px;
    font-weight: 500;
    color: #4A4A4A;
}
.rb-review-city { font-size: 11px; color: #aaa; }

/* ── FAQ ACCORDÉON ── */
.rb-faq-wrap { max-width: 720px; margin: 0 auto; }
.rb-faq-item {
    background: #fff;
    border: 1px solid #EADFCF;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.rb-faq-item:hover { border-color: #A8CFA5; }
.rb-faq-item.open { border-color: #8DBA8A; }
.rb-faq-btn {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
    text-align: left;
}
.rb-faq-q {
    font-size: 14px;
    font-weight: 500;
    color: #4A4A4A;
    line-height: 1.4;
    flex: 1;
}
.rb-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EAF3E9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #8DBA8A;
    flex-shrink: 0;
    transition: transform .3s, background .2s;
}
.rb-faq-item.open .rb-faq-icon {
    background: #8DBA8A;
    color: #fff;
    transform: rotate(45deg);
}
.rb-faq-body {
    display: none;
    padding: 0 22px 18px;
}
.rb-faq-item.open .rb-faq-body { display: block; }
.rb-faq-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
}

/* ── RECOMMANDATIONS ── */
.rb-reco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rb-reco-card {
    background: #fff;
    border: 1px solid #EADFCF;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    display: block;
}
.rb-reco-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74,74,74,.10);
    text-decoration: none;
}
.rb-reco-img {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}
.rb-reco-body { padding: 18px; }
.rb-reco-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8DBA8A;
    display: block;
    margin-bottom: 5px;
}
.rb-reco-title {
    font-size: 14px;
    font-weight: 500;
    color: #4A4A4A;
    margin-bottom: 8px;
}
.rb-reco-price {
    font-size: 16px;
    font-weight: 700;
    color: #6F9D73;
}

/* ── CTA FINAL ── */
.rb-cta-final {
    text-align: center;
    padding: 80px 0;
}
.rb-cta-final h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    color: #fff;
    margin-bottom: 14px;
}
.rb-cta-final h2 strong { font-weight: 600; }
.rb-cta-final p {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.rb-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #6F9D73;
    border-radius: 32px;
    padding: 15px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.rb-cta-white:hover {
    background: #EADFCF;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
    text-decoration: none;
    color: #6F9D73;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .rb-why-grid { grid-template-columns: repeat(3, 1fr); }
    .rb-contents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .rb-hero-inner { grid-template-columns: 1fr; }
    .rb-hero-img-wrap { aspect-ratio: 16/9; max-height: 380px; }
    .rb-hero-info { padding-bottom: 32px; }
    .rb-reviews-grid { grid-template-columns: 1fr; }
    .rb-forqui-grid { grid-template-columns: 1fr 1fr; }
    .rb-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-reco-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rb-why-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-contents-grid { grid-template-columns: 1fr; }
    .rb-forqui-grid { grid-template-columns: 1fr; }
    .rb-benefits-grid { grid-template-columns: 1fr; }
    .rb-reco-grid { grid-template-columns: 1fr; }
    .rb-guarantees { grid-template-columns: repeat(3, 1fr); }
    .rb-cta-group { gap: 10px; }
}
