/* AMAT Mécanique — feuille de style du site */
:root {
  --bleu: #00679d; --bleu-fonce: #004e78; --bleu-clair: #e6f2f8;
  --acier: #0f1c24; --acier-2: #1a2b36; --texte: #1d262c; --texte-doux: #56646d;
  --gris: #f3f5f6; --bord: #dde3e7; --blanc: #fff;
  --accent: #f08a1c; --accent-fonce: #d06f06;
  --ok: #0f7b4f; --alerte: #b3261e;
  --rayon: 10px; --ombre: 0 10px 30px rgba(15, 28, 36, .10);
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --corps: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 17px/1.6 var(--corps); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.1; letter-spacing: .005em; margin: 0 0 .5em; color: var(--acier); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .conteneur { padding: 0 28px; } }
.etroit { max-width: 860px; }
.centre { text-align: center; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.evitement { position: absolute; left: -999px; top: 0; background: var(--acier); color: #fff; padding: 10px 14px; z-index: 100; }
.evitement:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.2 var(--corps); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-fonce); }
.btn-plein { background: var(--bleu); color: #fff; }
.btn-plein:hover { background: var(--bleu-fonce); }
.btn-clair { background: #fff; color: var(--acier); }
.btn-contour { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-contour:hover { background: rgba(255,255,255,.12); }
.btn-contour-sombre { border-color: var(--acier); color: var(--acier); }
.btn-large { padding: 15px 28px; font-size: 1.05rem; }

/* Annonce et en-tête */
.annonce { background: var(--accent); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .95rem; }
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--bord); }
.entete-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo img { width: 160px; height: auto; }
.logo strong { font-family: var(--titre); font-size: 1.6rem; color: var(--bleu); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 8px; color: var(--acier); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { background: var(--bleu-clair); color: var(--bleu-fonce); }
.nav .nav-tel { display: none; }
.entete-actions { display: flex; align-items: center; gap: 12px; }
.btn-tel { display: inline-flex; align-items: center; gap: 6px; color: var(--acier); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-tel svg { width: 18px; height: 18px; fill: var(--bleu); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--acier); border-radius: 10px; padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1280px) { .btn-tel span { display: none; } }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .entete-actions .btn-accent { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--bord); box-shadow: var(--ombre); padding: 12px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 72px); overflow: auto; }
  .menu-ouvert .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--gris); border-radius: 0; }
  .nav .nav-tel { display: block; margin-top: 14px; text-align: center; background: var(--accent); color: #fff !important; border-radius: 999px !important; font-size: 1.1rem; }
  .logo img { width: 130px; }
}

/* Messages */
.messages { margin-top: 16px; }
.message { padding: 14px 18px; border-radius: var(--rayon); background: #e8f6ef; color: var(--ok); font-weight: 600; border: 1px solid #bfe6d3; }
.message-error { background: #fdeceb; color: var(--alerte); border-color: #f5c6c2; }

/* Bandeau */
.hero { position: relative; background: var(--acier); color: #fff; overflow: hidden; isolation: isolate; }
.hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,20,27,.92) 0%, rgba(10,20,27,.75) 45%, rgba(10,20,27,.25) 100%); }
.hero-in { padding: 88px 16px 80px; max-width: var(--largeur); }
@media (min-width: 700px) { .hero-in { padding: 110px 28px 100px; } }
.hero-grand .hero-in { padding-top: 130px; padding-bottom: 130px; }
.hero-court .hero-in { padding-top: 56px; padding-bottom: 48px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero-court h1 { max-width: none; }
.hero .chapeau { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 60ch; color: #dfe8ed; }
.hero .surtitre { color: #8fd0f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.surtitre { font: 700 .85rem/1 var(--corps); text-transform: uppercase; letter-spacing: .14em; color: var(--bleu); margin-bottom: 14px; }

/* Blocs */
.bloc { padding: 72px 0; }
@media (max-width: 700px) { .bloc { padding: 52px 0; } }
.fond-gris { background: var(--gris); }
.fond-sombre { background: var(--acier); color: #d7e1e7; }
.fond-marque { background: var(--bleu); color: #e6f2f8; }
.fond-sombre h2, .fond-sombre h3, .fond-marque h2, .fond-marque h3 { color: #fff; }
.fond-sombre .surtitre, .fond-marque .surtitre { color: #9fd8f3; }
.fond-sombre a:not(.btn), .fond-marque a:not(.btn) { color: #fff; }
.bloc-tete { max-width: 760px; margin-bottom: 36px; }
.deux-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .deux-col { grid-template-columns: 1fr 1fr; gap: 64px; } .deux-col.image-gauche > :first-child { order: 2; } }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: var(--ombre); }
.texte-riche > :last-child { margin-bottom: 0; }
.texte-riche ul { padding-left: 1.2em; }
.texte-riche li { margin-bottom: .35em; }
.texte-riche h3 { margin-top: 1.2em; }
.texte-riche blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); font-size: 1.15rem; font-style: italic; }
.texte-riche table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; background: #fff; border-radius: 8px; overflow: hidden; }
.texte-riche th, .texte-riche td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.texte-riche th { background: var(--acier); color: #fff; }
.texte-riche td p, .texte-riche th p, .texte-riche li p { margin: 0; }
.texte-riche hr { border: 0; border-top: 1px solid var(--bord); margin: 2em 0; }
.description-produit { overflow-x: auto; }

/* Points numérotés */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 20px 22px; }
.fond-gris .points li { border-color: transparent; }
.points .num { font: 700 1.6rem/1 var(--titre); color: var(--accent); min-width: 2ch; }
.points h3 { font-size: 1.25rem; margin-bottom: .3em; }
.points p { margin: 0; color: var(--texte-doux); }
.fond-sombre .points li { background: var(--acier-2); border-color: transparent; }
.fond-sombre .points p { color: #b8c6ce; }

/* Atouts */
.atouts { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; }
.atouts li { position: relative; padding-left: 38px; font-weight: 600; font-size: 1.08rem; }
.atouts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat; }
.fond-marque .atouts li::before, .fond-sombre .atouts li::before { background-color: var(--accent); }

/* Appel à l'action */
.appel { position: relative; isolation: isolate; }
.appel[style] { background: var(--acier) var(--fond-image) center/cover; }
.appel[style]::before { content: ""; position: absolute; inset: 0; background: rgba(10,20,27,.78); z-index: -1; }
.appel[style], .appel[style] h2 { color: #fff; }
.appel .texte-riche { font-size: 1.2rem; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.galerie a { display: block; overflow: hidden; border-radius: var(--rayon); aspect-ratio: 1; background: var(--bord); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.galerie a:hover img { transform: scale(1.05); }
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,14,.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.visionneuse img { max-height: 100%; width: auto; border-radius: 6px; }
.visionneuse button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.visionneuse .fermer { top: 12px; right: 12px; }
.visionneuse .prec { left: 12px; top: 50%; } .visionneuse .suiv { right: 12px; top: 50%; }
.visionneuse figcaption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfd8dd; }

/* Vidéos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.video { position: relative; border: 0; padding: 0; border-radius: var(--rayon); overflow: hidden; cursor: pointer; aspect-ratio: 9 / 16; max-height: 560px; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .lecture { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); }
.video .lecture::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-titre { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-weight: 600; text-align: left; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.logos > * { background: #fff; border-radius: var(--rayon); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 110px; border: 1px solid var(--bord); }
.logos img { max-height: 70px; width: auto; object-fit: contain; }

/* Cartes métiers */
.cartes-metiers { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cartes-metiers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cartes-metiers { grid-template-columns: repeat(4, 1fr); } }
.carte-metier { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--texte); box-shadow: 0 1px 0 var(--bord), var(--ombre); transition: transform .2s; }
.carte-metier:hover { transform: translateY(-4px); }
.carte-metier img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.carte-metier > div { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.carte-metier p { color: var(--texte-doux); font-size: .98rem; flex: 1; }
.fleche { font-weight: 700; color: var(--bleu); }
.fleche::after { content: " →"; }

/* Boutique */
.filtres { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--bord); color: var(--acier); text-decoration: none; font-weight: 600; font-size: .95rem; }
.puce.active, .puce:hover { background: var(--acier); color: #fff; border-color: var(--acier); }
.recherche input { width: min(340px, 100%); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--bord); font: inherit; }
.recherche { flex: 1 1 260px; display: flex; justify-content: flex-end; }
.compte { color: var(--texte-doux); font-size: .95rem; }
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .grille-produits { grid-template-columns: 1fr 1fr; gap: 10px; } }
.carte-produit { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--texte); border: 1px solid var(--bord); transition: box-shadow .2s, transform .2s; }
.carte-produit:hover { box-shadow: var(--ombre); transform: translateY(-3px); }
.carte-produit-img { position: relative; aspect-ratio: 1; background: #fff; padding: 12px; }
.carte-produit-img img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-gris { background: var(--texte-doux); left: auto; right: 10px; }
.carte-produit-corps { padding: 14px 16px 18px; border-top: 1px solid var(--gris); flex: 1; display: flex; flex-direction: column; }
.carte-produit h3 { font: 600 1rem/1.35 var(--corps); color: var(--acier); flex: 1; }
.marque { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bleu); margin-bottom: 4px; }
.prix { font: 700 1.3rem/1 var(--titre); color: var(--acier); margin: 8px 0 0; }
.prix s { color: var(--texte-doux); font-size: .8em; font-weight: 600; }
.prix small { font: 500 .75rem var(--corps); color: var(--texte-doux); }
.prix-devis { font-size: 1rem; color: var(--bleu); }
.vide { grid-column: 1 / -1; background: #fff; padding: 24px; border-radius: var(--rayon); }

/* Fiche produit */
.fil { padding-top: 18px; font-size: .9rem; color: var(--texte-doux); }
.fil a { color: var(--texte-doux); }
.produit-fiche { padding-top: 24px; }
.produit-grille { display: grid; gap: 36px; }
@media (min-width: 900px) { .produit-grille { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.produit-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.produit-photos .principale { grid-column: 1 / -1; aspect-ratio: 1; border: 1px solid var(--bord); border-radius: 14px; padding: 24px; background: #fff; display: flex; align-items: center; justify-content: center; }
.produit-photos .principale img { max-height: 100%; object-fit: contain; }
.produit-photos .mini { aspect-ratio: 1; border: 1px solid var(--bord); border-radius: 8px; padding: 6px; background: #fff; }
.produit-photos .mini img { width: 100%; height: 100%; object-fit: contain; }
.sans-photo { color: var(--texte-doux); }
.produit-infos h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sous-titre { font-size: 1.15rem; color: var(--texte-doux); }
.prix-grand { font-size: 2.4rem; margin-top: 18px; }
.prix-ht { color: var(--texte-doux); font-size: .95rem; margin-top: 6px; }
.dispo { font-weight: 600; }
.dispo::before { content: "●"; margin-right: 8px; }
.dispo.oui { color: var(--ok); } .dispo.non { color: var(--accent-fonce); }
.produit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.garanties { list-style: none; padding: 18px 20px; margin: 0; background: var(--bleu-clair); border-radius: var(--rayon); display: grid; gap: 8px; font-size: .97rem; }
.garanties li::before { content: "✓"; color: var(--bleu); font-weight: 700; margin-right: 10px; }

/* Contact et formulaire */
.contact-grille { display: grid; gap: 40px; }
@media (min-width: 940px) { .contact-grille { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } }
.coordonnees { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 24px 0; }
.coordonnees dt { font-weight: 700; color: var(--acier); }
.fond-sombre .coordonnees dt { color: #fff; }
.coordonnees dd { margin: 0; }
.carte { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--acier-2); display: flex; align-items: center; justify-content: center; }
.carte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.carte button { position: relative; }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.formulaire { background: #fff; color: var(--texte); border-radius: 16px; padding: 28px; box-shadow: var(--ombre); border: 1px solid var(--bord); scroll-margin-top: 90px; }
@media (max-width: 520px) { .formulaire { padding: 20px 16px; } }
.formulaire h2 { color: var(--acier); font-size: 1.9rem; }
.formulaire .aide { color: var(--texte-doux); font-size: .95rem; }
.champs { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .champs { grid-template-columns: 1fr 1fr; } .champ-message, .champ-photo, .champ-entreprise { grid-column: 1 / -1; } }
.champ { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 600; font-size: .92rem; }
.champ label span { color: var(--accent-fonce); }
.champ input, .champ select, .champ textarea { font: inherit; padding: 12px 14px; border: 1px solid #c8d1d6; border-radius: 8px; background: #fbfcfc; width: 100%; color: var(--texte); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--bleu); outline: 2px solid rgba(0,103,157,.2); background: #fff; }
.champ input[type=file] { padding: 10px; background: var(--gris); }
.en-erreur input, .en-erreur select, .en-erreur textarea { border-color: var(--alerte); }
.erreur { color: var(--alerte); font-size: .88rem; font-weight: 600; }
.champ-accord { font-size: .9rem; margin: 18px 0; color: var(--texte-doux); }
.champ-accord label { display: flex; gap: 10px; align-items: flex-start; }
.champ-accord input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.en-erreur.champ-accord { color: var(--alerte); }
.piege { position: absolute; left: -9999px; }
.contact-produit { align-items: center; }
.maj { color: var(--texte-doux); font-size: .9rem; padding-bottom: 40px; }

/* Pied de page */
.pied { background: var(--acier); color: #b8c6ce; padding: 64px 0 24px; font-size: .97rem; }
.pied a { color: #e1eaef; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied h2 { font-size: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.pied-grille { display: grid; gap: 36px; }
@media (min-width: 800px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied address { font-style: normal; margin-bottom: 12px; line-height: 1.8; }
.pied-logo { width: 170px; margin-bottom: 16px; background: #fff; padding: 10px 14px; border-radius: 10px; }
.horaire { margin: 0; }
.reseaux { display: flex; gap: 14px; flex-wrap: wrap; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--acier-2); margin-top: 44px; padding-top: 20px; font-size: .88rem; }

/* WhatsApp et barre d'administration */
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 32px; height: 32px; fill: #fff; }
.barre-admin { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 70; background: var(--acier); color: #9fb1bb; border-radius: 999px; padding: 8px 10px 8px 18px; display: flex; gap: 6px; align-items: center; font-size: .88rem; box-shadow: 0 8px 26px rgba(0,0,0,.3); white-space: nowrap; max-width: calc(100vw - 100px); overflow-x: auto; }
.barre-admin a { color: #fff; text-decoration: none; background: var(--acier-2); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.barre-admin a:first-of-type { background: var(--accent); }
.barre-admin b { background: #d63163; border-radius: 999px; padding: 0 7px; }
@media (max-width: 600px) { .barre-admin > span { display: none; } .barre-admin { left: 12px; transform: none; padding-left: 8px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Panier */
.btn-panier { position: relative; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; background: var(--bleu-clair); }
.btn-panier svg { width: 22px; height: 22px; fill: var(--bleu-fonce); }
.btn-panier b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.ajout-panier { display: flex; gap: 10px; }
.ajout-panier input, .panier-qte input { width: 76px; padding: 12px; border: 1px solid #c8d1d6; border-radius: 8px; font: inherit; text-align: center; }
.panier { display: grid; gap: 28px; }
@media (min-width: 940px) { .panier { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.panier-lignes { display: grid; gap: 12px; align-content: start; }
.panier-ligne { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px 14px; align-items: center; background: #fff; border-radius: var(--rayon); padding: 12px; border: 1px solid var(--bord); }
.panier-img img { width: 72px; height: 72px; object-fit: contain; }
.panier-nom a { font-weight: 600; color: var(--acier); text-decoration: none; display: block; }
.panier-nom span { font-size: .88rem; color: var(--texte-doux); }
.panier-total { grid-column: 3; font-family: var(--titre); font-size: 1.2rem; }
.panier-qte { grid-column: 3; grid-row: 1; }
@media (min-width: 600px) { .panier-ligne { grid-template-columns: 72px 1fr auto auto; } .panier-total { grid-column: 4; grid-row: 1; min-width: 90px; text-align: right; } }
.ligne-recap { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--gris); padding-bottom: 8px; }
.ligne-recap.total { font-size: 1.2rem; border-bottom: 0; }
.modes { border: 0; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.modes legend { font-weight: 700; margin-bottom: 8px; }
.modes label { display: flex; gap: 10px; align-items: center; background: var(--gris); padding: 12px; border-radius: 8px; cursor: pointer; }

/* Page d'aide (tutoriels) */
.aide-cat { font-size: 1.5rem; margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--bleu-clair); }
.aide-cat:first-of-type { margin-top: 0; }
.aide-grille { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.aide-tuto { background: #fff; border: 1px solid var(--bord); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.aide-tuto video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0f1c24; display: block; }
.aide-tuto-vide { aspect-ratio: 16 / 10; background: var(--gris); display: flex; align-items: center; justify-content: center; color: var(--texte-doux); }
.aide-tuto-txt { padding: 14px 16px 18px; }
.aide-tuto-txt h3 { font: 600 1.1rem/1.3 var(--corps); color: var(--acier); margin: 0 0 6px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.aide-duree { font: 500 .8rem var(--corps); color: var(--texte-doux); background: var(--gris); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.aide-tuto-txt p { margin: 0; color: var(--texte-doux); font-size: .95rem; }
.aide-pied { margin-top: 40px; color: var(--texte-doux); }

/* Bouton Admin dans le pied de page */
.pied-admin { display: inline-block; border: 1px solid #3a4a55; border-radius: 999px; padding: 3px 14px; margin-left: 6px; color: #e1eaef; font-weight: 600; }
.pied-admin:hover { background: var(--bleu); border-color: var(--bleu); color: #fff; text-decoration: none; }

/* Prix TTC affiché en petit sous le prix HT (cartes du magasin) */
.prix-ttc { margin: 2px 0 0; font-size: .82rem; color: var(--texte-doux); font-weight: 600; }
