@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.brand-name {
  font-family: 'Montserrat', Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 35px;
  text-transform: uppercase;
}

:root {
  --bleu: #091525;
  --bleu-clair: #1a3a5c;
  --orange: #e87722;
  --blanc: #ffffff;
  --gris-clair: #f4f6f9;
  --gris: #6c757d;
  --ombre: 0 4px 15px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background-image: url('images/ski-866826.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ── Navigation ── */
nav {
  background: var(--bleu);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 0;
}

.nav-logo img {
  height: 44px;
  background: white;
  border-radius: 6px;
  padding: 3px;
}

.nav-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo span em {
  color: var(--orange);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 1.2rem 1.4rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blanc);
  border-bottom-color: var(--orange);
  background: rgba(255,255,255,0.05);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 88vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.75) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 0.5rem 1rem 3rem;
  text-align: center;
  color: var(--blanc);
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-logo-img {
  width: clamp(280px, 50vw, 600px);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}

.hero-mid { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.5rem; }
.hero-mid .btn-red { padding: 42px 96px; font-size: 3rem; }
.hero-bottom { padding-bottom: 1rem; }

.hero-content .badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-content h1 span { color: var(--orange); }

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-orange {
  background: linear-gradient(135deg, #ff9a2e 0%, #e87722 50%, #d06010 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(232,119,34,0.55), 0 0 0 0 rgba(232,119,34,0.4);
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.4s infinite;
}

.btn-orange::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btn-shine 2.4s infinite;
}

.btn-orange:hover {
  background: linear-gradient(135deg, #ffaa44 0%, #f08830 50%, #d06010 100%);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 28px rgba(232,119,34,0.65);
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(232,119,34,0.55), 0 0 0 0 rgba(232,119,34,0.4); }
  50%       { box-shadow: 0 6px 20px rgba(232,119,34,0.55), 0 0 0 10px rgba(232,119,34,0); }
}

@keyframes btn-shine {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-red {
  background: #cc0000;
  color: white;
  font-size: 1.15rem;
  padding: 16px 40px;
  box-shadow: 0 6px 20px rgba(204,0,0,0.45);
  position: relative;
  overflow: hidden;
  animation: btn-pulse-red 2.4s infinite;
}

.btn-red::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.4s infinite;
}

.btn-red:hover { background: #aa0000; transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 28px rgba(204,0,0,0.6); }

@keyframes btn-pulse-red {
  0%, 100% { box-shadow: 0 6px 20px rgba(204,0,0,0.45), 0 0 0 0 rgba(204,0,0,0.35); }
  50%       { box-shadow: 0 6px 20px rgba(204,0,0,0.45), 0 0 0 12px rgba(204,0,0,0); }
}

.btn-black {
  background: #111;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  font-size: 0.95rem;
}

.btn-black:hover { background: #333; transform: translateY(-2px); }

/* ── Sections communes ── */
section { padding: 5rem 2rem; background: rgba(255,255,255,0.88); backdrop-filter: blur(2px); }

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title .tag {
  display: inline-block;
  background: rgba(232,119,34,0.12);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bleu);
  margin-bottom: 0.8rem;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--gris);
  max-width: 550px;
  margin: 0 auto;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--gris-clair);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre);
  border-top-color: var(--orange);
}

.service-card .icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bleu);
  margin-bottom: 0.6rem;
}

.service-card p { color: var(--gris); font-size: 0.95rem; line-height: 1.6; }

/* ── Galerie Magasin ── */
.magasin-section { background: rgba(244,246,249,0.88); backdrop-filter: blur(2px); }

.magasin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.magasin-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--ombre);
}

.magasin-grid .magasin-info {
  padding: 1rem 2rem;
}

.magasin-grid-reverse {
  direction: rtl;
}
.magasin-grid-reverse > * {
  direction: ltr;
}

.magasin-num {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}

.magasin-info h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--bleu);
  margin-bottom: 1rem;
}

.magasin-info p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #444;
}

.info-list li::before {
  content: "✓";
  background: var(--orange);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Grille Marques ── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.brand-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.brand-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bleu);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Bannière CTA ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(9,21,37,0.92) 0%, rgba(26,58,92,0.92) 100%);
  backdrop-filter: blur(2px);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.8rem;
}

/* ── Page Occasions ── */
.page-header {
  background: linear-gradient(135deg, rgba(9,21,37,0.92) 0%, rgba(26,58,92,0.92) 100%);
  backdrop-filter: blur(2px);
  color: white;
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p { opacity: 0.85; font-size: 1.05rem; }

.filtres {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(2px);
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #e8eaed;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filtre-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid #dde1e7;
  background: white;
  color: #555;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filtre-btn:hover, .filtre-btn.actif {
  background: var(--bleu);
  border-color: var(--bleu);
  color: white;
}

.filtres-avances {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(2px);
  padding: 0 2rem 1.4rem;
  border-bottom: 1px solid #e8eaed;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filtre-group { display: flex; flex-direction: column; gap: 0.35rem; }
.filtre-group label { font-size: 0.8rem; font-weight: 700; color: #555; }

.filtre-group select,
.filtre-group input[type="number"] {
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid #dde1e7;
  background: white;
  color: #333;
  font-size: 0.88rem;
  font-family: inherit;
}

.filtre-group select:focus,
.filtre-group input[type="number"]:focus {
  outline: none;
  border-color: var(--bleu);
}

.filtre-prix input[type="number"] { width: 90px; }

.filtre-reset-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid #dde1e7;
  background: white;
  color: #555;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  height: 38px;
}
.filtre-reset-btn:hover { background: #e74c3c; border-color: #e74c3c; color: white; }

.occasions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
  color: inherit;
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.13);
}

.article-card .card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #eee;
}

.article-card .card-img-placeholder {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #eef2f7, #dde4ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #aab;
}

.card-body { padding: 1.2rem; }

.card-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.badge-categorie {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(26,58,92,0.1);
  color: var(--bleu);
}

.badge-etat {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.etat-excellent { background: #d4edda; color: #155724; }
.etat-bon { background: #cce5ff; color: #004085; }
.etat-correct { background: #fff3cd; color: #856404; }

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.4rem;
}

.card-body .marque {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--gris);
  margin-bottom: 0.2rem;
}

.card-body .taille {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bleu);
  margin-bottom: 0.4rem;
}

.card-body .description {
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: var(--gris-clair);
  border-top: 1px solid #eee;
}

.prix {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
}

.dispo-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #28a745;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dispo-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 1rem;
  color: var(--gris);
}

.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.4rem; font-weight: 700; color: var(--bleu); margin-bottom: 0.5rem; }

/* ── Page Produit ── */
.produit-topbar { max-width: 1100px; margin: 1.5rem auto 0; padding: 0 2rem; }

.produit-back {
  display: inline-block;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 8px 20px;
  background: #f5c518;
  border: 3px solid #f5c518;
  border-radius: 999px;
}
.produit-back:hover { text-decoration: underline; }

.produit-detail {
  max-width: 1100px;
  margin: 1.5rem auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.produit-img {
  border-radius: 14px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.produit-img img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }

.produit-img-placeholder {
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: #aab;
  background: linear-gradient(135deg, #eef2f7, #dde4ee);
}

.produit-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a3a5c;
  margin: 0.6rem 0 0.3rem;
}

.produit-info .marque {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #111;
}

.produit-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: #e74c3c;
  margin: 1rem 0;
}

.produit-specs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.2rem 0;
  padding: 1.2rem;
  background: var(--gris-clair);
  border-radius: 12px;
}

.produit-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e3e7ee;
}
.produit-spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.produit-spec-row span:first-child { color: var(--gris); font-weight: 600; }
.produit-spec-row span:last-child { color: #222; font-weight: 700; }

.produit-spec-desc {
  padding-top: 0.3rem;
  color: #444;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .produit-detail { grid-template-columns: 1fr; }
}

/* ── Admin ── */
.admin-container {
  min-height: 100vh;
  background: rgba(244,246,249,0.92);
}

.admin-header {
  background: var(--bleu);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header h1 { font-size: 1.3rem; font-weight: 700; }

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #dde1e7;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bleu-clair);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.error-msg {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

#admin-panel { padding: 2rem; max-width: 1200px; margin: 0 auto; }

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2rem;
  align-items: start;
}

.admin-card {
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.admin-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bleu);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--gris-clair);
}

.btn-full { width: 100%; text-align: center; padding: 12px; }

.btn-bleu { background: var(--bleu); color: white; }
.btn-bleu:hover { background: var(--bleu-clair); }

.btn-danger { background: #e74c3c; color: white; }
.btn-danger:hover { background: #c0392b; }

.success-msg {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

.articles-list { display: flex; flex-direction: column; gap: 1rem; }

.admin-article-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background: var(--gris-clair);
}

.admin-article-row img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #dde;
}

.admin-article-info { flex: 1; min-width: 0; }
.admin-article-info h4 { font-size: 0.95rem; font-weight: 700; color: #222; }
.admin-article-info span { font-size: 0.82rem; color: var(--gris); }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.img-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.5rem;
  display: none;
}

.img-compressing {
  font-size: 0.82rem;
  color: var(--gris);
  margin-top: 0.4rem;
  display: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Footer ── */
footer {
  background: rgba(9,21,37,0.95);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.8);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-col h3 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p, .footer-col li {
  font-size: 0.9rem;
  line-height: 1.9;
  list-style: none;
}

.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Navigation droite ── */
.nav-right {
  display: flex;
  align-items: center;
}

/* ── Sélecteur de langue (dropdown) ── */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-drop-btn:hover {
  border-color: var(--orange);
  color: white;
}

.lang-drop-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-drop-arrow {
  transform: rotate(180deg);
}

.lang-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  list-style: none;
  padding: 6px;
  min-width: 155px;
  display: none;
  z-index: 200;
}

.lang-dropdown.open .lang-drop-menu {
  display: block;
}

.lang-drop-menu li button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-drop-menu li button:hover {
  background: var(--gris-clair);
  color: var(--bleu);
}

.lang-drop-menu li button.active {
  background: rgba(232,119,34,0.1);
  color: var(--orange);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-logo span { font-size: 1.1rem; }
  .nav-links a { padding: 1.2rem 0.8rem; font-size: 0.85rem; }
  .magasin-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
  .btn-outline { margin-left: 0; margin-top: 0.5rem; display: block; }
  .hero-mid .btn-red { padding: 18px 32px; font-size: 1.4rem; }
  /* La photo mobile intègre déjà le titre "HURYCANA" : on retire le logo
     superposé et le voile bleu prévus pour la photo desktop. */
  .hero-logo-img { display: none; }
  .hero-overlay { display: none; }
}

@media (max-width: 480px) {
  nav { padding: 0 0.85rem; }
  .nav-logo { gap: 8px; }
  .nav-logo img { height: 32px; }
  .nav-logo span { font-size: 0.85rem; letter-spacing: 0.3px; }
  .nav-right { gap: 0.3rem; }
  .nav-links a { padding: 1rem 0.4rem; font-size: 0.72rem; }
  .lang-drop-btn { padding: 5px 8px; font-size: 0.72rem; gap: 3px; }
  .lang-drop-arrow { font-size: 0.6rem; }
  .hero-mid .btn-red { padding: 14px 20px; font-size: 1.05rem; }

  #admin-panel { padding: 1rem; }
  .admin-card { padding: 1.2rem; }
  .admin-article-row { flex-wrap: wrap; }
  .admin-article-info { flex-basis: 100%; order: 3; }
  .admin-article-row .btn-sm { flex: 1; order: 4; }
}
