/* ══════════════════════════════════════════════════════
   PANIER FÊTE DES MÈRES — CSS thématique
   Palette : Rose #c9566a · Rose clair #f2c4ce · Vert sauge #8aab8a ·
             Crème #fdf8f0
   Chargé APRÈS panier_perso.css → n'écrase que ce qui est nécessaire
   pour le thème (le reste — fabric-card, cart-section, size-option,
   why-grid, cards-grid — vient déjà de panier_perso.css).
   Porté depuis l'ancienne page panier_fete_meres.php.
══════════════════════════════════════════════════════ */

:root {
    --fm-rose:       #b23f56;
    --fm-rose-h:     #a83050;
    --fm-rose-clair: #f2c4ce;
    --fm-vert:       #8aab8a;
    --fm-vert-clair: #c5dcc5;
    --fm-creme:      #fdf8f0;
    --fm-text:       #3a2f2f;
    --fm-text-muted: #6b5b5b;
}

body::before { display: none !important; } /* motif de fond générique du site, désactivé sur cette page */

.fete-meres-page {
    font-family: 'Nunito', sans-serif;
    color: var(--fm-text);
    background: var(--fm-creme);
    -webkit-font-smoothing: antialiased;
}

/* La nav du site est en position: sticky (donc déjà dans le flux) —
   le padding-top de body.has-header (pensé pour un header fixed)
   créerait un bandeau vide au-dessus de la nav. Neutralisé ici. */
body.has-header.fete-meres-page { padding-top: 0; }

/* ── Hero ── */
.hero-meres {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9e4eb 0%, #fdf0e8 50%, #e8f2e8 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
}
.hero-meres__bg::before, .hero-meres__bg::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(60px);
}
.hero-meres__bg::before { width: 400px; height: 400px; background: rgba(242,196,206,.5); top: -80px; right: -80px; animation: fmFloatBg 8s ease-in-out infinite; }
.hero-meres__bg::after  { width: 300px; height: 300px; background: rgba(197,220,197,.4); bottom: -60px; left: -40px; animation: fmFloatBg 10s ease-in-out infinite reverse; }
@keyframes fmFloatBg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.coeur-chute { position: absolute; opacity: .7; animation: fmFallCoeur linear infinite; pointer-events: none; }
@keyframes fmFallCoeur { 0% { transform: translateY(-60px) rotate(0deg); opacity: 0; } 8% { opacity: .8; } 92% { opacity: .8; } 100% { transform: translateY(110vh) rotate(25deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .coeur-chute { animation: none; opacity: 0; } }

.hero-meres__inner {
    position: relative; z-index: 2; display: flex; align-items: center; gap: 60px;
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.hero-meres__content { flex: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--fm-rose); color: white;
    font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 8px 18px; border-radius: 30px; margin-bottom: 16px;
}
.hero-meres h1 {
    font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
    line-height: 1.2; color: #1a1a1a;
}
.hero-meres h1 em { font-style: italic; color: var(--fm-rose); }
.hero-meres__sub { font-size: 1rem; color: #4a5568; margin: 16px 0 28px; line-height: 1.7; max-width: 420px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-main {
    background: linear-gradient(135deg, var(--fm-rose), var(--fm-rose-h)); color: white; text-decoration: none;
    padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    box-shadow: 0 8px 24px rgba(201,86,106,.35); transition: all .3s; display: inline-block;
}
.btn-hero-main:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(201,86,106,.45); }
.btn-hero-ghost {
    background: transparent; color: var(--fm-rose); border: 2px solid var(--fm-rose); text-decoration: none;
    padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: all .3s; display: inline-block;
}
.btn-hero-ghost:hover { background: #fff0f5; }
.hero-meres__visual { flex: 0 0 360px; }
.hero-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.15); position: relative; background: #cbc3ba; }
.hero-img-wrap img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero-img-badge {
    position: absolute; bottom: 16px; right: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    border-radius: 12px; padding: 8px 14px; font-size: .8rem; font-weight: 600; color: var(--fm-rose);
}

/* ── Ruban défilant (même mécanique que les autres gabarits) ── */
.ruban-meres { background: linear-gradient(90deg, var(--fm-vert-clair), var(--fm-vert), var(--fm-vert-clair)); overflow: hidden; padding: 13px 0; }
.ruban-meres__track { display: flex; width: max-content; animation: fm-ruban-defile 30s linear infinite; }
.ruban-meres__set { display: flex; align-items: center; flex-shrink: 0; }
.ruban-meres__set span {
    display: inline-flex; align-items: center; gap: 12px; margin-right: 36px;
    font-size: .88rem; font-weight: 600; letter-spacing: .03em; color: #ffffff; white-space: nowrap;
}
.ruban-meres__set span::after { content: "🌷"; font-size: .8em; opacity: .85; margin-left: 12px; }
@keyframes fm-ruban-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban-meres__track { animation: none; } }

/* ── Sections communes (cards-grid / why-grid) : couleurs thème ── */
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--fm-rose); background: rgba(201,86,106,.08); padding: 5px 14px; border-radius: 20px; margin-bottom: 10px;
}
.fete-meres-page .card:hover,
.fete-meres-page .why-item:hover { background: var(--fm-rose-clair); }
.fete-meres-page .why-item:nth-child(even):hover { background: var(--fm-vert-clair); }
.fete-meres-page .section-title { color: var(--fm-text); }

/* ── "Comment ça marche" — cartes numérotées, portées de l'ancien site ── */
.section-how {
    padding: 80px 20px; background: #ffffff; text-align: center; position: relative;
}
.section-how::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--fm-rose-clair), var(--fm-vert-clair), var(--fm-rose-clair));
}
.how-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.how-card {
    background: #fdf0f3; border-radius: 16px; padding: 32px 24px; width: 200px;
    transition: all .35s cubic-bezier(.4,0,.2,1); position: relative;
}
.how-card:hover { transform: translateY(-6px); box-shadow: 0 6px 24px rgba(180,100,120,.15); }
.how-card__num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; background: var(--fm-rose); color: #ffffff; border-radius: 50%;
    font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.how-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.how-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--fm-text); }
.how-card p { font-size: .82rem; color: var(--fm-text-muted); line-height: 1.5; }

/* ── Emplacement personnalisation (rempli par le futur module) ── */
.perso-placeholder {
    border: 1.5px dashed var(--fm-rose-clair); border-radius: 12px; padding: 18px 20px;
    background: #fffafb; font-size: .85rem; color: var(--fm-text-muted);
}

/* ── Thème appliqué aux composants partagés (fabric-card, size-option) ── */
.fete-meres-page .fabric-card.selected,
.fete-meres-page .size-option.selected {
    border-color: var(--fm-rose) !important;
    box-shadow: 0 0 0 3px rgba(201,86,106,.15) !important;
    background: rgba(242,196,206,.12) !important;
}
.fete-meres-page .required { color: var(--fm-rose); }
.fete-meres-page .cotons-pill:hover { border-color: var(--fm-rose); }
.fete-meres-page .cotons-pill.selected {
    border-color: var(--fm-rose); background: rgba(242,196,206,.25); color: var(--fm-rose-h);
}

/* ── Bloc panier : volontairement sobre, comme sur le vrai site
   (carte blanche, bouton dans l'accent par défaut — pas de gros bloc
   coloré). Seule légère touche : le prix en rose plutôt qu'orange. ── */
.fete-meres-page .price-value { color: var(--fm-rose) !important; }

/* ── Back button ── */
.back-section { text-align: center; padding: 40px; }
.btn-back {
    color: var(--fm-text-muted); text-decoration: none; font-size: .9rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; transition: all .35s;
}
.btn-back:hover { color: var(--fm-rose); }

@media (max-width: 900px) {
    .hero-meres__visual { display: none; }
    .hero-meres__inner { padding: 0 20px; flex-direction: column; text-align: center; }
    .hero-meres h1 { font-size: 2.2rem; }
}
