* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== CARROUSEL AVIS CLIENTS ===== */
.feedback-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}
@media (max-width: 1200px) {
  .feedback-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .feedback-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .feedback-carousel {
    grid-template-columns: 1fr;
  }
}


h2 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media screen {
  h2 {
    font-size: 1.8rem !important;
  }
  
}

:root {
  --primary: #00a8ff;
  --primary-dark: #0085cc;
  --accent: #9b6bff;
  --bg: #0f1116;
  --bg-dark: #0b0f14;
  --bg-card: #0b1220;
  --bg-input: #0f1116;
  --text-primary: #e6eef8;
  --text-secondary: #a9c7ff;
  --text-muted: #98a0b3;
  --text-muted-2: #9aa4b2;
  --border: rgba(255, 255, 255, 0.02);
  --glass: rgba(255, 255, 255, 0.03);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --transition: all 0.25s ease;
  --font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-title: 'Orbitron', sans-serif;
  --max-width: 1200px;
}

/* ===== RESETS ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, var(--bg-dark), var(--bg));
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-family: var(--font-title);
  font-size: 3rem;
}

h2, .bd-exception-title .shop-title, .stb-presentation-title, .chapter-list-title {
  font-family: 'Tintin', Arial, sans-serif !important;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== FORMULAIRES ===== */
input, textarea, select, button {
  font-family: var(--font-family);
}

input,
textarea,
select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 168, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.2);
}

input::placeholder {
  color: var(--text-muted);
}

button {
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[loading="lazy"] {
  background: linear-gradient(90deg, var(--bg-card), var(--bg-card) 50%, var(--border), var(--border));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}



/* ===== LAYOUTS ET CONTAINERS ===== */



/* ===== GRILLES ===== */
.grid {
  display: grid;
  gap: 2.2rem;
  width: 100%;
  margin: 2.5rem 0 2.5rem 0;
}

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-products {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.2rem;
  margin: 2.5rem 0 2.5rem 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* ===== FLEX UTILITIES ===== */
.flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



*/



/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.05), rgba(155, 107, 255, 0.05));
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ===== CARDS UNIFORMES ===== */
.card, .bd-card, .shop-card{

  box-shadow: 0 2px 12px #0002;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1rem 1.5rem 1rem;
  transition: box-shadow 0.18s cubic-bezier(.4,1.3,.5,1.1), transform 0.18s cubic-bezier(.4,1.3,.5,1.1), border-color 0.18s;
  cursor: pointer;
  justify-content: flex-start;
}
.card:hover, .bd-card:hover {
  border-color: #7fd6ff;
  box-shadow: 0 8px 32px #7fd6ff33, 0 2px 12px #0002;
  transform: scale(1.04);
}

.card img, .bd-card img, .shop-card img {
  width: 100%;
  max-width: 220px;
  min-width: 180px;
  height: 320px;
  min-height: 320px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #0003;
  align-self: center;
}
.card-title, .bd-title, .shop-title-img {
  font-size: 1.2rem;
  font-family: 'Tintin', Arial, sans-serif;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-weight: 700;
  margin-top: auto;
}
.card-subtitle, .bd-genre, .shop-price {
  color: #7fd6ff;
  font-size: 0.95em;
  margin-bottom: 0.2em;
}
.bd-author, .bd-chapters, .shop-card .shop-price {
  color: var(--text-muted);
  font-size: 0.95em;
  margin-bottom: 0.2em;
}
.card-footer {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

/* ===== GRILLES UNIFORMES ===== */

.shop-grid, .card-grid, .bd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}

@media (max-width: 1200px) {
  .shop-grid, .card-grid, .bd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .shop-grid, .card-grid, .bd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .shop-grid, .card-grid, .bd-grid {
    grid-template-columns: 1fr 1fr;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    gap: 1.2rem 0.7rem;
  }
  .bd-card, .shop-card, .card {
    min-width: 0;
    font-size: 0.93rem;
    padding: 0.7rem 0.3rem 1rem 0.3rem;
    background: #10131b;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    margin-bottom: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bd-card img, .shop-card img, .card img {
    width: 100%;
    max-width: 170px;
    min-width: 120px;
    height: 220px;
    min-height: 180px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 8px #0003;
    align-self: center;
    background: #181d25;
  }
  .card-title, .bd-title, .shop-title-img {
    font-size: 0.97rem;
    text-align: center;
  }
  .card-subtitle, .bd-genre, .shop-price, .bd-author, .bd-chapters, .shop-card .shop-price {
    font-size: 0.82em;
    text-align: center;
  }
}


/* ===== BOUTONS UNIFORMES ===== */
 .btn, .btn-primary, .btn-secondary, .header-login, button, input[type="submit"], .profile-btn, .login-btn, .profil-submit, .header-profil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #7fd6ff;
  border-radius: 18px;
  font-size: 0.98rem;
  font-family: 'Tintin', Arial, sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #2e3a4d 0%, #232b3a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,40,60,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin: 0.18rem 0.18rem;
  outline: none;
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover, .header-login:hover, button:hover, input[type="submit"]:hover, .profile-btn:hover, .login-btn:hover, .profil-submit:hover {
  background: #1a2333;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 24px #7fd6ff55, 0 2px 8px #0002;
  border-color: #b3cfff;
}

.btn:active, .btn-primary:active, .btn-secondary:active, .header-login:active, .shop-choose-btn:active, button:active, input[type="submit"]:active, .profile-btn:active, .login-btn:active, .profil-submit:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px #0002;
}

.btn:disabled, .btn-primary:disabled, .btn-secondary:disabled, .header-login:disabled, .shop-choose-btn:disabled, button:disabled, input[type="submit"]:disabled, .profile-btn:disabled, .login-btn:disabled, .profil-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}







/* ===== FOOTER ===== */
.site-footer {
  background: rgba(15, 17, 22, 0.95);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-inner .logo {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-inner .legal {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner .legal a {
  color: var(--primary);
  transition: var(--transition);
}

.footer-inner .legal a:hover {
  color: var(--primary-dark);
}

.visible {
  display: block !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-primary {
  color: var(--primary);
}

/* ===== SPACING ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-6 { padding: 3rem; }

.px-2 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 168, 255, 0.15);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

/* ===== BOUTONS ===== */
.btn,
.btn-primary,
.btn-secondary {
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 168, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  padding: 0.75rem 1.75rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 168, 255, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2, .bd-title, .shop-title, .stb-presentation-title, .chapter-list-title {
    text-align: center !important;
  }

  .container {
    padding: 0 0.5rem;
  }

  .col {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2,h3, .shop-title, .stb-presentation-title, .chapter-list-title {
    text-align: center !important;
  }

  body {
    font-size: 0.95rem;
  }
}

@font-face {
  font-family: 'Tintin';
  src: url('/assets/Tintin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Tintin', Arial, sans-serif;
}

.logo {
  font-family: 'Tintin', Arial, sans-serif !important;
}

.hero-title {
  font-family: 'Tintin', Arial, sans-serif !important;
}

button, .btn, .profil-submit, .login-btn, .profile-btn {
  font-family: 'Tintin', Arial, sans-serif;
}

.footer {
  font-family: 'Tintin', Arial, sans-serif !important;
}

