/* Personnalisation de la barre d'infos au-dessus de la navbar */
.topbar-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  padding: 0.6em 1em;
  background: #fff;
  color: #1a2347;
  font-size: 1.08em;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 12px #0001;
  /* border-radius retiré */
  width: 100%;
  margin: 0 auto 0 auto;
  z-index: 100;
}
.topbar-item {
  margin: 0 0.5em;
  white-space: nowrap;
  font-weight: 500;
}
.hero-carte-img img.fullscreen-hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  display: block;
  object-fit: cover;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: none;
  z-index: 2;
}
/* Séparateur graphique moderne */
.section-separator {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: none;
  position: relative;
  z-index: 2;
}

/* Effet carte/fond doux pour la réassurance */
.stats-carte {
  background: linear-gradient(135deg, #fffaf0 80%, #f2e3c3 100%);
  border-radius: 24px;
  box-shadow: 0 4px 32px #0001;
  padding: 2.5em 2em 2.5em 2em;
  margin: 2.5em auto 2em auto;
  max-width: 1200px;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Pacifico&display=swap');
.hero-carte-inner {
  position: relative;
  z-index: 1;
}
.hero-carte-texte {
  /* ...existing code... */
  position: relative;
  box-shadow: 0 4px 32px #0002, 0 0 80px 0 #ffd27d33;
  background: linear-gradient(135deg, #fff 80%, #f2e3c3 100%);
}
.hero-carte-texte h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1em;
  font-weight: 700;
  margin-bottom: 0.7em;
  color: #222;
  line-height: 1.2;
}
.hero-gradient {
  background: linear-gradient(90deg, #ffd27d 10%, #1a2347 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Pacifico', cursive;
  font-size: 1.2em;
  letter-spacing: 1px;
}
.hero-carte-img {
  background: linear-gradient(135deg, #fff 80%, #f2e3c3 100%);
  border-radius: 24px;
  box-shadow: 0 4px 32px #0002, 0 0 80px 0 #ffd27d33;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 0;
  height: auto;
  overflow: hidden;
}
.hero-carte-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8em;
  background: none;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}
.hero-carte-texte {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px #0002;
  padding: 2.5em 2em 2.5em 2em;
  max-width: 520px;
  min-width: 320px;
  flex: 1 1 0;
  color: #222;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: clamp(1em, 2.2vw, 1.13em);
  line-height: 1.5;
  overflow-y: auto;
}
.hero-carte-texte h1 {
  font-size: 2.1em;
  font-weight: 700;
  margin-bottom: 1.1em;
  color: #222;
}
.hero-carte-texte strong {
  color: #1a2347;
  font-weight: 700;
}
.hero-carte-img {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px #0002;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 420px;
  min-width: 0;
  flex: 0.8 1 0;
  height: auto;
}
.hero-carte-img {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  max-width: none;
  min-width: 0;
  flex: 1.5 1 0;
  height: auto;
  overflow: visible;
}
.hero-carte-img img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: none;
  background: none;
  position: static;
}
/* (Bloc orphelin supprimé) */
/* HERO FLEX IMAGE */
.hero-clean-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  flex-wrap: wrap;
}
.hero-clean-content {
  flex: 1 1 320px;
  min-width: 280px;
}
.hero-clean-img {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-clean-img img {
  max-width: 340px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0002;
  background: #fffaf0;
}
/* Slider Portfolio Structuré */
.slider-portfolio {
  margin: 3em auto 2em auto;
  max-width: 1400px;
  padding: 0 1em;
}
.slider-portfolio-large {
  max-width: 1400px;
}
.slider-portfolio-title {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1em;
  color: #1a2347;
}
.slider-portfolio-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.slider-portfolio-arrow {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7em;
  color: #1a2347;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.2s, box-shadow 0.2s;
}
.slider-portfolio-arrow:hover {
  background: #f2e3c3;
  box-shadow: 0 4px 16px #0002;
}
.slider-portfolio-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2em;
  padding: 1.5em 0 2em 0;
  scrollbar-width: thin;
  scrollbar-color: #c8902e #f2e3c3;
  min-height: 320px;
}
.slider-portfolio-track::-webkit-scrollbar {
  display: none;
}
.slider-portfolio-track {
  scrollbar-width: none;
}
.slider-portfolio-item {
  min-width: 380px;
  max-width: 420px;
  flex: 0 0 auto;
  background: #fffaf0;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  transition: box-shadow 0.2s;
}
.slider-portfolio-item:hover {
  box-shadow: 0 8px 32px #c8902e33;
}
.slider-portfolio-item img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 900px) {
  .hero-clean-flex {
    flex-direction: column;
    gap: 1.5em;
  }
  .hero-clean-img {
    max-width: 90vw;
  }
  .slider-portfolio-item {
    min-width: 180px;
    max-width: 220px;
    padding: 0.5em;
  }
  .slider-portfolio-track {
    gap: 0.5em;
    min-height: 120px;
  }
}
/* HERO ÉPURÉ DÉVELOPPEUR WEB */
.hero-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  margin: 2.5em 0 2em 0;
}
.hero-clean-inner {
  text-align: center;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
  padding: 2.2em 2em 2em 2em;
  max-width: 540px;
}
.hero-clean-title {
  font-size: 2.3em;
  color: #1a2347;
  font-weight: 900;
  margin-bottom: 0.2em;
}
.hero-clean-keyword {
  color: #ffd700;
  font-size: 0.7em;
  font-weight: 700;
  display: block;
  margin-top: 0.2em;
}
.hero-clean-desc {
  font-size: 1.13em;
  color: #444;
  margin-bottom: 1.2em;
}
.hero-clean-btn {
  display: inline-block;
  background: #ffd700;
  color: #1a2347;
  font-weight: 700;
  padding: 0.7em 2.2em;
  border-radius: 24px;
  font-size: 1.08em;
  text-decoration: none;
  box-shadow: 0 2px 12px #ffd70033;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.hero-clean-btn:hover {
  background: #1a2347;
  color: #ffd700;
  box-shadow: 0 4px 24px #ffd70055;
}

/* SLIDER ÉPURÉ */
.slider-clean {
  margin: 2.5em auto 2em auto;
  max-width: 900px;
  text-align: center;
}
.slider-clean-title {
  font-size: 1.5em;
  color: #1a2347;
  margin-bottom: 1em;
}
.slider-clean-track {
  display: flex;
  overflow-x: auto;
  gap: 1.2em;
  padding: 1em 0.5em;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  box-shadow: 0 2px 12px #0001;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 #f5f5f5;
}
.slider-clean-img {
  height: 140px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0001;
  background: #f5f5f5;
  object-fit: cover;
  transition: transform 0.18s;
}
.slider-clean-img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px #ffd70033;
}
.slider-clean-controls {
  margin-top: 0.7em;
}
.slider-clean-arrow {
  background: #ffd700;
  color: #1a2347;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3em;
  font-weight: 900;
  cursor: pointer;
  margin: 0 0.3em;
  box-shadow: 0 2px 8px #ffd70033;
  transition: background 0.18s, color 0.18s;
}
.slider-clean-arrow:hover {
  background: #1a2347;
  color: #ffd700;
}
/* HERO Développeur Web */
.hero-devweb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  margin: 2.5em 0 2em 0;
}
.hero-devweb-content {
  max-width: 600px;
  text-align: left;
  flex: 1;
}
.hero-devweb-content h1 {
  font-size: 2.5em;
  color: #1a2347;
  font-weight: 900;
  margin-bottom: 0.3em;
}
.hero-devweb-slogan {
  font-size: 1.25em;
  margin-bottom: 1em;
  color: #444;
}
.hero-devweb-list {
  margin: 0 0 1.2em 1.2em;
  color: #1a2347;
  font-size: 1.08em;
  line-height: 1.5;
}
.hero-devweb-btn {
  display: inline-block;
  background: linear-gradient(90deg,#ffd700,#ffe9c6);
  color: #1a2347;
  font-weight: 700;
  padding: 0.7em 2.2em;
  border-radius: 24px;
  font-size: 1.15em;
  text-decoration: none;
  box-shadow: 0 2px 12px #ffd70033;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.hero-devweb-btn:hover {
  background: #1a2347;
  color: #ffd700;
  box-shadow: 0 4px 24px #ffd70055;
}
.hero-devweb-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero-devweb {
    flex-direction: column;
    gap: 1.2em;
  }
  .hero-devweb-img img {
    max-width: 98vw;
  }
}

/* SLIDER réalisations */
.slider-realisations {
  margin: 2.5em auto 2em auto;
  max-width: 900px;
  text-align: center;
}
.slider-realisations h2 {
  font-size: 2em;
  color: #1a2347;
  margin-bottom: 1em;
}
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.slider-arrow {
  background: #ffd700;
  color: #1a2347;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7em;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 8px #ffd70033;
  transition: background 0.18s, color 0.18s;
}
.slider-arrow:hover {
  background: #1a2347;
  color: #ffd700;
}
.slider-track {
  display: flex;
  overflow: hidden;
  width: 520px;
  min-height: 220px;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0001;
  background: #fff;
}
@media (max-width: 700px) {
  .slider-track {
    width: 98vw;
    min-height: 120px;
  }
}
/* Barre supérieure infos société */
/* .topbar-contact { display: none !important; }  // Désactivé pour réafficher la barre d'infos */
.topbar-item {
  margin: 0 0.3em;
  white-space: nowrap;
  font-weight: 500;
}
@media (max-width: 900px) {
  .topbar-contact {
    flex-wrap: wrap;
    gap: 0.7em;
    font-size: 0.98em;
    padding: 0.35em 0.2em;
  }
}
/* Section Chiffres clés */
.stats-section.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin: 2.5em auto 2em auto;
  max-width: 900px;
}
.stats-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5em;
}
@media (max-width: 900px) {
  .stats-section.stats-grid {
    gap: 1em;
    max-width: 98vw;
    padding: 0 0.5em;
  }
  .stats-row {
    gap: 1em;
    flex-wrap: wrap;
  }
  .stat-block {
    max-width: 100%;
    min-width: 0;
  }
}
.stat-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
  padding: 1.5em 1.2em 1.2em 1.2em;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0.5em 0.2em;
  transition: box-shadow 0.2s;
}
.stat-block:hover {
  box-shadow: 0 4px 24px #1a234733;
}
.stat-icon {
  margin-bottom: 0.7em;
}
.stat-value {
  font-size: 2.1em;
  font-weight: 800;
  color: #1a2347;
  margin-bottom: 0.2em;
}
.stat-label {
  font-size: 1.08em;
  color: #444;
}
@media (max-width: 900px) {
  .stats-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2em;
  }
  .stat-block {
    max-width: 100%;
    min-width: 0;
  }
}
/* Modal login global */
.modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.modal-login.open {
  display: flex;
}
.modal-login-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #0008;
  z-index: 1;
}
.modal-login-content {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 2em 2.5em;
  border-radius: 18px;
  box-shadow: 0 4px 32px #d2691e44;
  max-width: 95vw;
  max-height: 95vh;
  width: 350px;
  margin: auto;
  text-align: center;
  overflow-y: auto;
  box-sizing: border-box;
  color: #d2691e;
}
.modal-login-content h2 {
  color: #d2691e;
  margin-bottom: 1em;
  font-size: 1.4em;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.modal-login-close {
  background: none;
  border: none;
  color: #d2691e;
  font-size: 1.3em;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 3;
}
#modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0008;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  display: flex;
  overflow-y: auto;
}

#modal-login .modal-content {
  background: #fff;
  padding: 2em 2.5em;
  border-radius: 18px;
  box-shadow: 0 4px 32px #d2691e44;
  max-width: 95vw;
  max-height: 95vh;
  width: 350px;
  margin: auto;
  text-align: center;
  position: relative;
  overflow-y: auto;
  box-sizing: border-box;
}
/* Modal login centré et au-dessus de tout */
#modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0008;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  /* Pour centrer le contenu */
  display: flex;
}

#modal-login .modal-content {
  background: #fff;
  padding: 2em 2.5em;
  border-radius: 18px;
  box-shadow: 0 4px 32px #d2691e44;
  max-width: 350px;
  margin: auto;
  text-align: center;
  position: relative;
}
/* Modal login centré et au-dessus de tout */
#modal-login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0008;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

#modal-login .modal-content {
  background: #fff;
  padding: 2em 2.5em;
  border-radius: 18px;
  box-shadow: 0 4px 32px #d2691e44;
  max-width: 350px;
  margin: auto;
  text-align: center;
  position: relative;
}
/* --- Responsive Design Magnifique --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
  min-height: 60vh;
  margin: 2em 0;
}
.hero-texte {
  max-width: 500px;
  text-align: left;
  flex: 1 1 320px;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
  padding: 2em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
}
.hero-flex img {
  max-width: 520px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0002;
  flex: 1 1 320px;
  min-height: 340px;
  object-fit: contain;
  background: #fff;
}
.boutique-presentation, .fiche-header, .fiche-garanties, .product-grid {
  flex-wrap: wrap;
  gap: 2em;
}

main, section, .fiche-produit-ultra {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .navbar-logo {
    margin-left: 0;
    text-align: center;
  }
  .navbar ul {
    flex-direction: column;
    gap: 0.5em;
  }
  .hero-flex {
    flex-direction: column;
    align-items: stretch;
    min-height: unset;
  }
  .hero-texte {
    max-width: 100%;
    text-align: center;
    padding: 1.2em 1em;
    min-height: unset;
  }
  .hero-flex img {
    max-width: 100%;
    min-height: unset;
    margin: 0 auto;
  }
  .boutique-presentation {
    flex-direction: column;
    align-items: stretch;
  }
  .boutique-texte {
    max-width: 100%;
    text-align: center;
    padding: 0 1em;
  }
  .fiche-header-info {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  h1, h2, h3 {
    font-size: 1.2em !important;
  }
  .navbar {
    flex-direction: column;
    padding: 0.5em 0.2em;
    border-radius: 0 0 20px 20px;
    align-items: stretch;
  }
  .navbar-logo img {
    height: 60px;
    margin: 0 auto;
  }
  .footer {
    border-radius: 20px 20px 0 0;
    font-size: 0.95em;
  }
  .fiche-produit-ultra {
    padding: 0.5em 0.1em;
    border-radius: 1em;
  }
  .fiche-header {
    gap: 1em;
  }
  .fiche-img {
    width: 100%;
    border-radius: 1em;
  }
  .fiche-header-info {
    gap: 0.7em;
  }
  .fiche-btn-panier {
    width: 100%;
    padding: 0.7em 0;
    font-size: 1em;
  }
  .product-card {
    width: 100%;
    min-width: 0;
    padding: 0.5em 0.2em;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 13px;
  }
  .navbar-logo img {
    height: 40px;
  }
  .footer {
    font-size: 0.9em;
  }
}


/* Table Responsive */
table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
th, td {
  padding: 0.7em 0.5em;
  text-align: left;
}

/* Formulaires et boutons */
input, select, textarea, button {
  font-size: 1em;
  max-width: 100%;
  box-sizing: border-box;
}
button, .cta, .fiche-btn-panier, .product-btn {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

/* Scrollbar discrète */
::-webkit-scrollbar {
  width: 8px;
  background: #f2e3c3;
}
::-webkit-scrollbar-thumb {
  background: #ffd70099;
  border-radius: 8px;
}
.boutique-presentation {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 2em;
  margin: 2em 0;
}
.boutique-presentation img {
  max-width: 350px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0002;
  align-self: stretch;
}
.boutique-texte {
  max-width: 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}
/* Navbar styles */
/* Harmonisation premium navbar/footer */
.navbar {
  background: linear-gradient(90deg, #fffaf0 60%, #f2e3c3 100%);
  box-shadow: 0 2px 16px #ffd27d44;
  padding: 0.5em 0;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 1000;
}
.navbar-logo {
  margin-left: 25em;
}
.navbar-logo img {
  vertical-align: middle;
  height: 100px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}
.navbar li {
  margin: 0 1.5em;
}
.navbar a {
  color: #c8902e;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.2s;
}
.navbar a:hover {
  color: #ffd27d;
}
main {
  padding: 2em;
  text-align: center;
  padding-bottom: 2em;
  flex: 1;
}
h1 {
  color: #333;
}
.cta {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 2em;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.2em;
  transition: background 0.2s;
}
.cta:hover {
  background: #0056b3;
}
.footer {
  background: linear-gradient(90deg, #fffaf0 60%, #f2e3c3 100%);
  color: #c8902e;
  text-align: center;
  padding: 1em 0;
  width: 100%;
  font-size: 1em;
  margin-top: 50px;
  box-shadow: 0 -2px 16px #ffd27d44;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.fiche-produit-ultra {
  max-width: 1100px;
  margin: 3em auto;
  background: linear-gradient(135deg, #f8fafc 60%, #e0e7ff 100%);
  border-radius: 2em;
  box-shadow:
    0 8px 40px #0002,
    0 1.5px 0 #fff8;
  padding: 2.5em 2em 2em 2em;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fiche-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.fiche-badge {
  position: absolute;
  top: -1.2em;
  left: 0;
  background: linear-gradient(90deg, #ffd700, #fffbe6 80%, #ffe9c6);
  color: #b8860b;
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.4em 1.2em;
  border-radius: 2em;
  box-shadow: 0 2px 8px #ffd70044;
  letter-spacing: 1px;
  z-index: 2;
}
.fiche-img {
  width: 340px;
  max-width: 100%;
  border-radius: 1.5em;
  box-shadow:
    0 8px 32px #0002,
    0 1.5px 0 #fff8;
  background: #fff;
}
.fiche-header-info {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  min-width: 320px;
}
.fiche-header-info h1 {
  font-size: 2.2em;
  font-weight: 800;
  margin: 0 0 0.2em 0;
  color: #1a237e;
  letter-spacing: 0.5px;
}
.fiche-highlight {
  color: #ffd700;
  font-weight: 900;
  letter-spacing: 1px;
}
.fiche-prix {
  display: flex;
  align-items: baseline;
  gap: 1.2em;
}
.prix-barre {
  font-size: 1.1em;
  color: #888;
  text-decoration: line-through;
}
.prix-promo {
  font-size: 2em;
  font-weight: 900;
  color: #d2691e;
  background: linear-gradient(90deg, #ffe9c6, #fffbe6 80%, #ffd700);
  padding: 0.2em 0.8em;
  border-radius: 1em;
  box-shadow: 0 1px 8px #ffd70033;
}
.fiche-economie {
  color: #388e3c;
  font-weight: 600;
  font-size: 1em;
  margin-left: 0.5em;
}
.fiche-stock {
  font-size: 1.1em;
  color: #388e3c;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.fiche-dot {
  width: 0.9em;
  height: 0.9em;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #4caf50aa;
}
.fiche-actions {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin: 1em 0 0.5em 0;
}
.fiche-qty {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.fiche-qty button {
  background: #e0e7ff;
  border: none;
  font-size: 1.2em;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  cursor: pointer;
  color: #1a237e;
  font-weight: bold;
  transition: background 0.2s;
}
.fiche-qty button:hover {
  background: #ffd700;
  color: #fff;
}
.fiche-qty input {
  width: 2.5em;
  text-align: center;
  font-size: 1.1em;
  border: 1px solid #eee;
  border-radius: 0.5em;
  padding: 0.2em;
}
.fiche-btn-panier {
  background: linear-gradient(90deg, #ffd700, #fffbe6 80%, #ffe9c6);
  color: #1a237e;
  font-weight: 700;
  font-size: 1.2em;
  padding: 0.7em 2.5em;
  border: none;
  border-radius: 2em;
  box-shadow: 0 2px 16px #ffd70044;
  cursor: pointer;
  letter-spacing: 1px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.fiche-btn-panier:hover {
  background: linear-gradient(90deg, #ffe9c6, #ffd700 80%, #fffbe6);
  color: #d2691e;
  transform: scale(1.04);
  box-shadow: 0 4px 32px #ffd70066;
}
.fiche-paiement {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.7em;
  font-size: 1em;
  color: #555;
}
.fiche-paiement img {
  height: 1.5em;
  background: #fff;
  border-radius: 0.3em;
  box-shadow: 0 1px 4px #0001;
  padding: 0.1em 0.3em;
}
.fiche-inclus,
.fiche-non-inclus,
.fiche-why,
.fiche-desc {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 1px 8px #ffd70022;
  padding: 1.5em 2em;
  margin-bottom: 1.5em;
}
.fiche-inclus h2,
.fiche-why h2,
.fiche-desc h2 {
  color: #b8860b;
  font-size: 1.3em;
  margin-bottom: 0.7em;
}
.fiche-inclus ul,
.fiche-non-inclus ul,
.fiche-why ul {
  margin: 0;
  padding-left: 1.2em;
  color: #333;
  font-size: 1.1em;
  line-height: 1.7;
}
.fiche-non-inclus {
  background: #fffbe6;
  border: 1.5px dashed #ffd700;
}
.fiche-non-inclus h3 {
  color: #d2691e;
  margin-bottom: 0.5em;
}
.fiche-garanties {
  margin-top: 2em;
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.1em;
  color: #388e3c;
  font-weight: 600;
}
.fiche-inclus ul,
.fiche-non-inclus ul,
.fiche-why ul {
  list-style: none;
  padding-left: 0;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2em 0;
}

.product-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 20px;
  box-shadow: 0 2px 8px #0001;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6em 0.5em;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  user-select: none;
}

.product-card:hover {
  box-shadow: 0 8px 24px #ffd70055, 0 2px 8px #0002;
  border-color: #ffd70099;
  transform: translateY(-4px) scale(1.04);
}

.product-card img {
  max-width: 70px;
  max-height: 40px;
  margin-bottom: 0.3em;
  object-fit: contain;
}

.product-card .product-title {
  font-size: 0.95em;
  font-weight: 500;
  margin-bottom: 0.3em;
  text-align: center;
}

.product-card .product-btn {
  background: linear-gradient(90deg, #ffe9c6, #fffbe6 80%, #ffd700);
  color: #333;
  border: none;
  border-radius: 18px;
  padding: 0.3em 1em;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.3em;
  box-shadow: 0 1px 4px #ffd70044;
  transition: background 0.2s;
  outline: none;
}

.product-card .product-btn:hover {
  background: linear-gradient(90deg, #ffd700, #fffbe6 80%, #ffe9c6);
}


@media (max-width: 1100px) {
  .fiche-produit-ultra {
    padding: 1em 0.2em;
  }
  .fiche-header {
    flex-direction: column;
    align-items: stretch;
  }
  .fiche-img {
    width: 100%;
  }
}
/* =========================
   Responsive (Tablette + Mobile)
   À coller tout en bas du CSS
========================= */

/* 1) Fix navbar logo (le margin-left: 25em casse tout sur petit écran) */
.navbar-logo { margin-left: 0 !important; }

/* 2) TABLETTE (<= 1024px) */
@media (max-width: 1024px) {

  main { padding: 1.2em; }

  /* Navbar */
  .navbar {
    flex-direction: column;
    gap: 0.8em;
    padding: 0.8em 1em;
    align-items: center;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6em 1.2em;
  }
  .navbar li { margin: 0; }

  /* HERO */
  .hero-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2em;
    margin: 1.2em 0;
  }
  .hero-texte {
    max-width: 100%;
    min-height: unset;
    text-align: center;
    padding: 1.4em 1.2em;
  }
  .hero-flex img {
    max-width: 100%;
    min-height: unset;
    object-fit: cover;
  }

  /* Boutique */
  .boutique-presentation {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2em;
  }
  .boutique-presentation img {
    max-width: 100%;
    height: auto;
  }
  .boutique-texte {
    max-width: 100%;
    text-align: center;
  }

  /* Fiche produit */
  .fiche-produit-ultra {
    margin: 1.5em auto;
    padding: 1.2em 1em;
    border-radius: 1.5em;
  }
  .fiche-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2em;
  }
  .fiche-img {
    width: 100%;
    border-radius: 1.2em;
  }
  .fiche-header-info {
    min-width: 0; /* IMPORTANT anti débordement */
  }
  .fiche-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8em;
  }

  /* Grid produits : plus “responsive” */
  .product-grid { gap: 1em; }
  .product-card { width: 170px; }
}

/* 3) TELEPHONE (<= 600px) */
@media (max-width: 600px) {

  html { font-size: 15px; }
  main { padding: 0.9em; }

  /* Navbar */
  .navbar {
    padding: 0.7em 0.6em;
    border-radius: 0 0 20px 20px;
  }
  .navbar-logo img {
    height: 60px;
    margin: 0 auto;
  }
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
  }
  .navbar a { font-size: 1.05em; }

  /* Headings */
  h1, h2, h3 { font-size: 1.2em !important; }

  /* Sections fiche */
  .fiche-inclus,
  .fiche-non-inclus,
  .fiche-why,
  .fiche-desc {
    padding: 1em 1em;
    border-radius: 1em;
  }

  /* Prix + badge plus compacts */
  .fiche-header-info h1 { font-size: 1.6em; }
  .prix-promo { font-size: 1.6em; }

  /* Bouton panier full width */
  .fiche-btn-panier {
    width: 100%;
    padding: 0.8em 0;
    font-size: 1.05em;
  }

  /* Grid produits : 2 colonnes fluides */
  .product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8em;
  }
  .product-card {
    width: 100%;
    min-width: 0;
    padding: 0.8em 0.6em;
  }
  .product-card img {
    max-width: 80px;
    max-height: 50px;
  }

  /* Tables */
  table { display: block; overflow-x: auto; }
}

/* 4) Très petits téléphones (<= 400px) */
@media (max-width: 400px) {
  html { font-size: 13px; }
  .navbar-logo img { height: 45px; }
  .product-grid { grid-template-columns: 1fr; } /* 1 colonne si écran minuscule */
  .footer { font-size: 0.9em; }
}

