/* ============================================================
   IDENTITÉ MARINE / BLANC / ROUGE — surcouche pour les gabarits produit
   À charger APRÈS styles/panier_perso.css dans chaque gabarit
   (templates_produit/standard.php, japon.php, etc.)

   Principe : panier_perso.css utilise des variables CSS partout
   (--accent, --bg-beige...). En les redéfinissant ici, tous les
   boutons, prix, états "sélectionné" et fonds basculent dans la
   nouvelle identité sans toucher au HTML ni au JS (produit-template.js
   génère du contenu avec les mêmes classes, donc hérite pareil).
============================================================ */

:root {
    --accent: #c41e3a;              /* était #f27d2b (orange) */
    --accent-light: #fdecef;        /* teinte rouge très claire, était #fef3e8 */
    --accent-hover: #a6172f;        /* rouge foncé au survol, était #d96d1f */
    --text-dark: #0b1e3d;           /* marine au lieu du noir pur */
    --text-medium: #33455e;
    --bg-beige: #faf7f2;            /* ivoire, cohérent avec le reste du site */
    --border: #e2e0da;
    --mc-navy: #0b1e3d;
    --mc-navy-2: #142c56;
    --mc-red: #c41e3a;
}

/* ── Typo : cohérence avec le reste du site ── */
body { font-family: 'Inter', sans-serif; }
h2, .section-title, .hero h1 { font-family: 'Playfair Display', serif; }

/* ── Titres de section : ruban tricolore, comme sur l'accueil ── */
.section-title {
    position: relative;
    margin-bottom: 46px;
}
.section-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(to right, var(--mc-navy) 0 33.34%, #ffffff 33.34% 66.66%, var(--mc-red) 66.66% 100%);
    border-radius: 2px;
}
.feature-text h2.section-title::after { margin-left: 0; }

/* ── Boutons : moins "pilule", plus éditorial (cohérent avec .acc-btn) ── */
.btn-hero, .btn-cart {
    border-radius: 3px !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600 !important;
    box-shadow: 0 10px 26px rgba(196, 30, 58, 0.28) !important;
}
.btn-hero:hover, .btn-cart:hover { transform: translateY(-2px) !important; }

/* ── Cartes : coins moins arrondis (identité "maison" plutôt que "app") ── */
.card, .why-item, .fabric-card, .cart-section, .sticky-image-box {
    border-radius: 8px !important;
}
.fabric-img, .no-fabric { border-radius: 6px !important; }

/* ── Hero : voile marine + repère éditorial (eyebrow), comme sur l'accueil ── */
.hero-content::before {
    content: "ATELIER DE COUTURE ARTISANAL";
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #ffffff;
    background: var(--mc-red);
    display: inline-block;
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}
.hero-image::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,30,61,0.45), rgba(11,30,61,0.68));
}
.hero-image { position: relative; }

/* ── Hero : titre, filet et sous-titre dans le même esprit que les gabarits thématiques ── */
.hero .hero-content h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 600; line-height: 1.12; margin-bottom: 0;
    text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hero .hero-content h1::after {
    content: ""; display: block; width: 56px; height: 1px; margin: 22px auto; background: rgba(255,255,255,.6);
}
.hero .hero-subtitle {
    font-size: 1.02rem; font-weight: 400; line-height: 1.8; max-width: 44ch; margin: 0 auto 32px;
    opacity: 1; color: rgba(255,255,255,.9); text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
@media (max-width: 768px) {
    .hero .hero-subtitle { font-size: .95rem; margin-bottom: 24px; }
    .hero .hero-content h1::after { margin: 16px auto; }
}

/* ── Prix : marine pour le chiffre principal, rouge pour l'accent ── */
.price-value { color: var(--mc-red) !important; }

@media (prefers-reduced-motion: reduce) {
    .btn-hero, .btn-cart, .card, .why-item, .fabric-card { transition: none !important; }
}

/* ── Encart infos livraison/fabrication (repris de l'ancienne page produit) ── */
.shipping-info {
    background: var(--bg-beige, #faf7f2);
    border: 1px solid var(--border, #e2e0da);
    border-left: 3px solid var(--mc-red);
    border-radius: 6px;
    padding: 14px 18px;
    margin: 24px 0;
}
.shipping-info p {
    font-size: 0.85rem;
    color: var(--text-medium, #33455e);
    margin: 0;
    line-height: 1.6;
}
.shipping-info p + p { margin-top: 4px; }
.shipping-info strong { color: var(--mc-navy); }