/* ==========================================================================
   STYLÉTOILE — Surcharge "maison de couture"
   À charger APRÈS style.css sur toutes les pages :
   <link rel="stylesheet" href="style.css" />
   <link rel="stylesheet" href="maquette.css" />

   Palette : crème/ivoire chaud · bordeaux · or champagne · gris-brun doux
   ========================================================================== */

:root {
  /* --- Redéfinition des variables du thème de base (cascade partout) --- */
  --ecru: #f8f0e7;            /* fond principal crème/ivoire chaud */
  --ecru-fonce: #f2e7d9;
  --creme: #fbf5ef;           /* fond des cartes, légèrement plus clair */
  --rose: #7a2534;            /* bordeaux principal */
  --rose-fonce: #6b1f2e;      /* bordeaux profond */
  --rose-pale: #f0e0d8;
  --anthracite: #4a3630;      /* texte courant : brun chaud (plus de bleu) */
  --gris-doux: #8a7a70;       /* texte secondaire gris-brun */
  --or-doux: #c9a876;         /* or/champagne : liserés, icônes métalliques */

  --ombre-carte: 0 8px 26px rgba(107, 31, 46, 0.07);
  --ombre-carte-hover: 0 14px 36px rgba(107, 31, 46, 0.14);
  --rayon: 18px;

  /* --- Alias historiques de la maquette, alignés sur la nouvelle palette --- */
  --encre: #6b1f2e;           /* les anciens titres "marine" deviennent bordeaux */
  --encre-doux: #8a7a70;
  --or: #c9a876;
  --or-clair: #e7d6b6;
  --tan: #b18a55;
  --beige: #f5ead8;
  --beige-fonce: #eddfc8;
}

body {
  background-color: var(--ecru);
  background-image:
    repeating-linear-gradient(0deg, rgba(74, 54, 48, 0.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(74, 54, 48, 0.012) 0 1px, transparent 1px 3px);
}

/* ==========================================================================
   1. Titres : serif bordeaux semi-bold, façon maison de couture
   ========================================================================== */

.grand-titre {
  color: var(--rose-fonce);
  text-transform: none;
  font-variant-caps: small-caps;
  font-weight: 600;
  letter-spacing: 0.005em;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
}

.entete-section h2,
.bloc-newsletter h2,
.carte-etape h3,
.carte-produit h3,
.infos-vitrine .txt strong,
.details-produit h1 {
  color: var(--rose-fonce);
  font-weight: 600;
}

.infos-vitrine .txt strong { font-family: var(--serif); }

/* Le CTA bordeaux garde son titre clair */
.bloc-cta h2 { color: inherit; }

.entete-section .etiquette { color: var(--tan); }

.banniere-texte .accroche {
  color: var(--gris-doux);
  font-size: 1.12rem;
  max-width: 26ch;
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   2. Séparateurs signature : trait + pointillés + motif doré au centre
   ========================================================================== */

.separateur-coeur { width: min(100%, 380px); }

.separateur-coeur::before,
.separateur-coeur::after {
  border-top: none;
  height: 1.5px;
}
.separateur-coeur::before { background: linear-gradient(90deg, transparent, var(--or)); }
.separateur-coeur::after  { background: linear-gradient(90deg, var(--or), transparent); }
.separateur-coeur .ic {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--rose);
}

/* Fil des entêtes de section : ligne pleine or → pointillés, ciseaux dorés */
.entete-section .fil { color: var(--or-doux); width: 210px; }
.entete-section .fil::before,
.entete-section .fil::after {
  border-top: 1px dashed var(--or-doux);
  opacity: 0.9;
}
.entete-section .fil .ic { width: 1.25rem; height: 1.25rem; }

/* ==========================================================================
   3. Cartes produits / prestations : ivoire, liseré or fin, coins très ronds
   ========================================================================== */

.carte-produit,
.carte-vitrine {
  background: var(--creme);
  border: 1px solid rgba(201, 168, 118, 0.4);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
}

.carte-produit .infos { padding: 1.5rem 1.6rem 1.7rem; }
.infos-vitrine { padding: 1.4rem 1.5rem; }

/* Séparateur pointillé façon couture entre description et prix */
.carte-produit .bas {
  border-top: 1px dashed rgba(201, 168, 118, 0.75);
  padding-top: 0.9rem;
  margin-top: 0.8rem;
}

/* Prix en serif bordeaux bold — le côté "maison de couture" */
.carte-produit .prix,
.details-produit .prix,
.carte-promo .valeur {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-fonce);
}
.section-promos .carte-promo .valeur { color: var(--or-clair); }

.chevron-vitrine { color: var(--rose-fonce); }

/* ==========================================================================
   4. Tuiles catégories / filtres : ivoire + liseré doré
   ========================================================================== */

.filtre {
  background: var(--creme);
  border: 1px solid rgba(201, 168, 118, 0.55);
  color: var(--anthracite);
}
.filtre:hover { border-color: var(--rose-fonce); color: var(--rose-fonce); background: var(--creme); }
.filtre.actif {
  background: var(--rose-fonce);
  border-color: var(--rose-fonce);
  color: #fdf7f1;
}

.frise-etapes .tuile {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--creme);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 118, 0.55);
  color: var(--tan);
}

.frise-etapes li:first-child .tuile {
  background: #fffdfa;
  color: var(--rose);
  box-shadow:
    0 6px 16px rgba(107, 31, 46, 0.14),
    inset 0 0 0 1px rgba(107, 31, 46, 0.14);
}
/* Le cœur de la 1re étape est plein */
.frise-etapes li:first-child .tuile .ic path:first-child {
  fill: currentColor;
  stroke: currentColor;
}

.frise-etapes li:hover .tuile { transform: translateY(-3px); background: var(--beige); }
.frise-etapes li:first-child:hover .tuile { background: #fffdfa; }

.frise-etapes li:not(:last-child)::after {
  top: 33px;
  left: calc(50% + 41px);
  right: calc(-50% + 41px);
  border-top: 1px dashed rgba(177, 138, 85, 0.55);
}

.frise-etapes strong { color: var(--rose-fonce); font-weight: 600; font-size: 0.78rem; }
.frise-etapes small { color: var(--gris-doux); }

/* Étapes "Comment ça marche" : pictos or, liseré discret */
.carte-etape {
  background: var(--ecru);
  border: 1px solid rgba(201, 168, 118, 0.3);
  border-radius: var(--rayon);
  padding: 2.4rem 1.8rem 2rem;
}
.carte-etape:hover { border-color: var(--or-doux); }
.carte-etape .picto { color: var(--tan); }

/* ==========================================================================
   5. Section réassurance : fins traits verticaux entre les 4 colonnes
   ========================================================================== */

.barre-avantages { padding-block: 2rem; border-block: 1px solid rgba(201, 168, 118, 0.35); }
@media (min-width: 1001px) {
  .barre-avantages .conteneur { gap: 0; }
  .avantage { padding-inline: 1.5rem; justify-content: center; }
  .avantage + .avantage { border-left: 1px solid rgba(201, 168, 118, 0.45); }
}
.avantage .picto {
  background: transparent;
  border: 1px solid rgba(201, 168, 118, 0.6);
  color: var(--tan);
}
.avantage strong {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--rose-fonce);
  font-size: 1rem;
}
.avantage small { color: var(--gris-doux); }

/* ==========================================================================
   6. Bannière héros : ivoire chaud, courbe cousue
   ========================================================================== */

.banniere-atelier {
  grid-template-columns: 1.04fr 0.96fr;
  border-radius: 26px;
  border-color: rgba(201, 168, 118, 0.4);
  background: linear-gradient(160deg, #fdf8f2, #f7ecdf);
}

.banniere-visuel .bord-courbe {
  width: 190px;
  left: -2px;
  z-index: 2;
}
.bord-courbe .fond { fill: #fdf8f2; }
.bord-courbe .stitch {
  stroke: rgba(122, 37, 52, 0.5);
  stroke-width: 1.4;
}

.banniere-texte .pastille {
  background: var(--beige);
  color: var(--tan);
  letter-spacing: 0.14em;
}
.banniere-texte .pastille .ic { color: var(--tan); }

/* ==========================================================================
   7. Cartes vitrines : titres bordeaux, accents or
   ========================================================================== */

.infos-vitrine .txt small { color: var(--gris-doux); }
.infos-vitrine em { color: var(--rose-fonce); }
.infos-vitrine em.or { color: var(--tan); }
.rond-picto { background: var(--rose-fonce); color: var(--creme); }
.rond-picto.or { background: linear-gradient(150deg, #cfa768, #a57e42); }

.badge-vitrine.or { background: linear-gradient(150deg, #cfa768, #a57e42); }

/* ==========================================================================
   8. Boutons & navigation : bordeaux plutôt qu'anthracite
   ========================================================================== */

.btn-plein { background: var(--rose-fonce); box-shadow: 0 8px 20px rgba(107, 31, 46, 0.3); }
.btn-plein:hover {
  background: var(--rose);
  box-shadow: 0 12px 26px rgba(107, 31, 46, 0.32);
}
.btn-contour { border-color: var(--rose-fonce); color: var(--rose-fonce); }
.btn-contour:hover { background: var(--rose-fonce); color: var(--creme); }
.btn-ajout { background: var(--rose-fonce); }
.btn-ajout:hover { background: var(--rose); }

.nav-principale {
  background: rgba(248, 240, 231, 0.92);
  border-bottom: 1px solid rgba(201, 168, 118, 0.35);
}
.btn-panier { border-color: rgba(201, 168, 118, 0.5); }

.bandeau-annonce { background: var(--rose-fonce); color: #f4e6da; }
.bandeau-annonce strong { color: var(--or-clair); }

/* ==========================================================================
   9. Sections sombres (promos, footer) : brun-bordeaux profond, jamais bleu
   ========================================================================== */

.section-promos { background: #3c2723; }
.section-promos .entete-section .etiquette { color: var(--or-doux); }
.section-promos .entete-section .fil { color: var(--or-doux); }
.carte-promo { border-color: rgba(201, 168, 118, 0.4); }
.carte-promo .indice { color: var(--or-doux); }
.barre-progression .remplissage { background: linear-gradient(90deg, var(--or-doux), #a57e42); }

.pied-page { background: #3c2723; }
.pied-page ul a:hover,
.pied-page .bas .coeur,
.liens-legaux a:hover { color: var(--or-doux); }
.reseaux a:hover { border-color: var(--or-doux); color: var(--or-doux); }

/* ==========================================================================
   Responsive : on garde le comportement d'origine sous 900px
   ========================================================================== */

@media (max-width: 900px) {
  .banniere-atelier { grid-template-columns: 1fr; }
  .banniere-visuel .bord-courbe { display: none; }
  .banniere-texte .accroche { max-width: none; }
}

@media (max-width: 560px) {
  .grand-titre { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .separateur-coeur { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .frise-etapes li:hover .tuile { transform: none; }
}

/* ==========================================================================
   PHOTOS MAQUETTE — hero, cards vitrine, barre avantages
   ========================================================================== */

/* --- Hero : photo machine à coudre --- */
.photo-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Cards vitrine : photo en haut --- */
.visuel-vitrine.photo {
  overflow: hidden;
  display: block;
}
.visuel-vitrine.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.carte-vitrine:hover .visuel-vitrine.photo img {
  transform: scale(1.04);
}

/* --- Barre avantages : style maquette (objets photo + serif bordeaux) --- */
.barre-avantages {
  background: var(--ecru);
  padding: 3.2rem 0 3.6rem;
}
.barre-avantages .conteneur {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.barre-avantages .avantage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: 0 1.6rem;
  border-right: 1px solid rgba(107, 31, 46, 0.14);
}
.barre-avantages .avantage:last-child { border-right: none; }

.picto-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 140px;
}
.picto-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* fond crème de la photo fusionne avec le fond du site */
}
.barre-avantages .avantage strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: var(--rose-fonce);
  letter-spacing: .01em;
}
.barre-avantages .avantage small {
  color: var(--gris-doux);
  font-size: .95rem;
}

@media (max-width: 1000px) {
  .barre-avantages .conteneur { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .barre-avantages .avantage:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .barre-avantages .conteneur { grid-template-columns: 1fr; }
  .barre-avantages .avantage { border-right: none; }
  .picto-photo { width: 130px; height: 120px; }
}

/* --- Étapes "Comment ça marche" : objets photo --- */
.carte-etape .picto-etape {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 auto .9rem;
}
.carte-etape .picto-etape img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (max-width: 560px) {
  .carte-etape .picto-etape { width: 92px; height: 92px; }
}

/* --- Fiche produit : photo principale --- */
#picto-principal .photo-produit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.vignettes button .photo-produit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ==========================================================================
   CATALOGUE — nouvelles cartes "grande photo + texte" (façon fiche produit)
   ========================================================================== */
.grille-catalogue {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.carte-cat {
  display: flex;
  flex-direction: column;
  background: var(--carte, #FBF5EF);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 118, 0.35);
  box-shadow: 0 8px 24px rgba(107, 31, 46, 0.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.carte-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(107, 31, 46, 0.12);
}
.carte-cat-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0e7dd;
}
.carte-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.carte-cat:hover .carte-cat-media img { transform: scale(1.05); }

.carte-cat-corps {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
}
.carte-cat-cat {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--or, #C9A876);
  font-weight: 600;
}
.carte-cat-corps h3 {
  font-family: var(--serif, "Playfair Display", serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--rose-fonce, #6B1F2E);
  line-height: 1.25;
  margin: 0;
}
.carte-cat-tag {
  font-size: .85rem;
  color: var(--gris-doux, #8A7A70);
  flex: 1;
  margin: 0;
}
.carte-cat-bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .8rem;
  margin-top: .4rem;
  border-top: 1px dashed rgba(201, 168, 118, 0.5);
}
.carte-cat-bas .prix {
  font-family: var(--serif, "Playfair Display", serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rose-fonce, #6B1F2E);
}
.carte-cat-bas .lien {
  font-size: .9rem;
  font-weight: 600;
  color: var(--rose-fonce, #6B1F2E);
  text-decoration: none;
  transition: gap .2s;
}
.carte-cat-bas .lien:hover { text-decoration: underline; }

@media (max-width: 1100px) { .grille-catalogue { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grille-catalogue { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; } }
@media (max-width: 520px)  { .grille-catalogue { grid-template-columns: 1fr; } }
