@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --jaune: #ffea2c;
  --noir: #000000;
  --nav-height: 64px;
}
* {
  margin: 0;
  padding: 0;
  font-family: "Roboto";
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 150px 0px 150px;
}
.btn-cta {
  padding: 10px 20px;
  text-decoration: none;
  background-color: var(--jaune);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.btn-cta:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}
.logo {
  width: 200px;
}

/* Make logo link keyboard accessible and avoid image descenders */
.logo-link {
  display: inline-block;
  line-height: 0;
}
.logo-link:focus {
  outline: 3px solid var(--jaune);
  outline-offset: 4px;
  border-radius: 8px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu-item {
  text-decoration: none;
  color: var(--noir);
  transition: all 0.5s ease;
}

.menu-item:hover {
  color: var(--jaune);
}
.image {
  width: 150px;
  border-radius: 50px;
  object-fit: cover;
}
.image-1 {
  width: 250px;
  border-radius: 50px;
  object-fit: cover;
}
.form-ban {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("images/CATA-FORMATION.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero {
  object-fit: cover;
  background-image: url("images/blockinvest.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-item h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.hero-item p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555555;
}
.container {
  padding: 150px;
}
.hero img {
  width: 500px;
}
.btn {
  align-items: center;
  display: flex;
  gap: 30px;
}
.btn-primary {
  color: var(--noir);
  padding: 10px;
  text-decoration: none;
  background-color: var(--jaune);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}
.btn-secondary {
  text-decoration: none;
  color: var(--noir);
  transition: all 0.5s ease;
  border-bottom: 2px solid var(--jaune);
}
.btn-tertios {
  color: var(--noir);
  padding: 10px;
  text-decoration: none;
  background-color: var(--jaune);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}
.titre-para {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 70px;
}
.garantie {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.carte {
  padding: 20px;
  border: 3px solid var(--noir);
  border-radius: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.icone-1 {
  width: 60px;
}

.passons {
  font-size: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -60px;
}

.description {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background-color: var(--jaune);
}
.cryptos {
  padding: 0px 50px 0px 50px;
  font-size: 18px;
  text-align: center;
}
.cryptos h2 {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 20px;
}
.cryptos p {
  margin-bottom: 30px;
}
.ensemble-carte {
  padding: 50px;
  margin-bottom: 10px;
}
.carte-2 {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
}
.carte-2 img {
  width: 60px;
  margin-left: 60px;
  margin-top: -60px;
}

.ensemble-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}
.ensemble-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.section-4 h2 {
  text-align: center;
  margin-top: 30px;
  transition: all 0.5s ease;
  text-decoration: underline;
}
.auteur {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 300px 10px 300px;
  gap: 30px;
}
.photo-auteur img {
  width: 500px;
}
/* PAGE 2-FORMATION */
.img-baniere{
  height: 250px;
  background-image: url("images/banniere-cours.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
}
.baniere-section {
  padding: 10px 50px 10px 50px;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
}
.baniere {
  background-color: var(--jaune);
  border-radius: 20px;
  padding: 50px;
}
.ensemble-modules {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  padding: 10px 70px 10px 70px;
}
.module {
  cursor: pointer;
  text-align: center;
  font-size: 20px;
  transition: all 0.5s ease;
}
.module:hover {
  transform: translateY(-10px);
}
.module img {
  width: 350px;
}

/* Ensure module links cover entire card and remove default link styles */
.module-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.module-link h5 {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--noir);
}
.module-link img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.module-link:hover img {
  transform: translateY(-6px);
}
/* Hero Section */
.hero-about {
  background: linear-gradient(135deg, var(--jaune), var(--noir));
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-about h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-about p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Sections générales */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--noir);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--jaune);
}

/* Section Notre Histoire */
.history-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.history-text {
  flex: 1;
}

.founder-card {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
}

.founder-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--jaune);
}

.founder-card h3 {
  color: var(--noir);
  margin-bottom: 0.5rem;
}

.founder-card p {
  color: var(--jaune);
  font-style: italic;
}

/* Section Notre Vision */
.vision {
  background-color: #f1f5f9;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Section Objectifs */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.objective-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.objective-icon {
  font-size: 2.5rem;
  color: var(--jaune);
  margin-bottom: 1rem;
}

.objective-card h3 {
  color: var(--jaune);
  margin-bottom: 1rem;
}

/* Section Domaines de Compétence */
.domains {
  background-color: #f1f5f9;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.domain-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
}

/* ==== Animations utilitaires et reveal-on-scroll ==== */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .in-view,
  .gradient-text,
  .pulse,
  .tilt,
  .float {
    transition: none !important;
    animation: none !important;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition: opacity 520ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 520ms cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: opacity, transform;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Variantes */
.fade-up {
  transform: translateY(12px);
  transition: opacity 520ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 520ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.fade-up.in-view {
  transform: translateY(0);
}
.fade-left {
  transform: translateX(18px);
}
.fade-left.in-view {
  transform: translateX(0);
}
.float {
  transition: transform 900ms ease, opacity 650ms ease;
}
.float.in-view {
  transform: translateY(-6px) rotate(-1deg);
}
.tilt {
  transform: rotate(-3deg) translateY(6px);
  transition: transform 700ms cubic-bezier(0.2, 0.9, 0.3, 1), opacity 600ms ease;
}
.tilt.in-view {
  transform: rotate(0deg) translateY(0px);
}
.pulse {
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Gradient animated text (for hero title if needed) */
.gradient-text {
  background: linear-gradient(90deg, var(--jaune), var(--noir), var(--jaune));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* small decorative underline slide for links */
.underline-slide {
  position: relative;
}
.underline-slide::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--jaune);
  transition: width 320ms ease;
}
.underline-slide:hover::after,
.underline-slide.in-view::after {
  width: 100%;
}

/* stagger helper (applies incremental child delays when used on container) */
.stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* small utility for reduced bounce on hover for interactive elements */
.anim-hover {
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.anim-hover:hover {
  transform: translateY(-4px);
}

/* End of animations */

.domain-card:hover {
  transform: translateY(-5px);
}

.domain-card h3 {
  color: var(--jaune);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.domain-icon {
  margin-right: 10px;
  color: var(--jaune);
}

/* Section Services */
.services-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.services-table th,
.services-table td {
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.services-table th {
  background-color: var(--jaune);
  color: var(--noir);
  font-weight: 600;
}

.services-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* Section Confiance */
.trust {
  background: linear-gradient(135deg, var(--noir), var(--jaune));
  color: white;
  text-align: center;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Footer styles */
.site-footer {
  background-color: #0b1020;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-size: 14px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}
.footer-logo {
  width: 160px;
}
.footer-tag {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.footer-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}
.footer-nav a:hover {
  text-decoration: underline;
  opacity: 1;
}
.footer-contact {
  color: rgba(255, 255, 255, 0.9);
  max-width: 220px;
}
.footer-contact a {
  color: #ffea2c;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  .container {
    padding: 0 20px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-contact,
  .footer-brand {
    max-width: 100%;
  }
  /* Hide large hero image on smaller screens to improve layout and performance */
  .hero {
    background-image: none;
  }
  /* Hamburger menu styles */
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 12px;
  }
  .hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--noir);
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .hamburger .bar::before,
  .hamburger .bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--noir);
    transition: transform 0.25s ease;
  }
  .hamburger .bar::before {
    top: -7px;
  }
  .hamburger .bar::after {
    top: 7px;
  }

  /* Hide the regular menu, convert it to a vertical popover */
  .menu {
    display: none !important;
    position: absolute;
    top: 64px;
    right: 20px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    min-width: 200px;
  }
  .menu.open {
    display: flex !important;
  }
  .menu a {
    padding: 8px 6px;
  }
  /* When menu open, animate hamburger into X */
  .hamburger[aria-expanded="true"] .bar {
    background: transparent;
  }
  .hamburger[aria-expanded="true"] .bar::before {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] .bar::after {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* Hide primary CTA on smaller screens to simplify header */
  .btn-cta {
    display: none !important;
  }
  .img-baniere{
   height: 58px;
  }
}

/* Make navbar sticky on mobile and reserve space to prevent overlap */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1200;
    background: transparent;
    transition: background 200ms ease, box-shadow 200ms ease,
      backdrop-filter 200ms ease;
  }

  .hero{
    background-image: none;
  }

  body {
    padding-top: var(--nav-height);
  }

  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus,
.skip-link:active {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 10000;
}

:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Contact page styles (section spécifique) */
.contact-page {
  background-color: var(--jaune);
  min-height: 100vh;
  padding: 40px 0;
}
.contact-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.contact-left {
  flex: 1.1;
  color: #000;
  padding: 20px 20px;
}
.contact-right {
  flex: 0.9;
  padding: 20px;
  display: flex;
  justify-content: center;
}
.contact-left h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  margin-bottom: 18px;
}
.contact-left .lead {
  max-width: 520px;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  max-width: 420px;
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #000000;
  color: #fff;
}
.contact-card .icon svg {
  fill: #fff;
}
.contact-card .card-text .muted {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
}
.contact-card .card-text .strong {
  font-weight: 700;
  font-size: 1.05rem;
}
.follow {
  margin-top: 30px;
  margin-bottom: 14px;
}
.socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  color: #000;
  text-decoration: none;
}
.social svg {
  width: 18px;
  height: 18px;
}

.form-card {
  background: #fff9cc;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 420px;
}
.form-card h2 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form label {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 14px;
  resize: vertical;
}
.contact-form textarea {
  min-height: 110px;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.btn-submit {
  margin-top: 8px;
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.btn-submit:hover {
  transform: translateY(-2px);
}

/* Contact alerts and WhatsApp note */
.form-alert {
  min-height: 1.4em;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #0b1020;
}
.form-alert.error {
  color: #8b0000;
}
.form-alert.success {
  color: #006400;
}
.wa-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
}

/* Responsive adjustments for contact page */
@media (max-width: 980px) {
  .contact-section {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .contact-left,
  .contact-right {
    padding: 12px;
  }
  .contact-left h1 {
    text-align: left;
  }
  .contact-card {
    max-width: 100%;
  }
  .contact-right {
    justify-content: flex-start;
  }
  .form-card {
    max-width: 100%;
  }
  .baniere h1 {
    font-size: 1.5rem;
  }
  .baniere p {
    font-size: 1.5rem;
  }
  .baniere {
    padding: 30px;
  }
  .section-3 {
    padding: 0px;
  }
  .garantie {
    flex-wrap: wrap;
    gap: 50px;
  }
  .cryptos h2 {
    font-size: 1.8rem;
  }
  .form-ban {
    width: 100%;
    height: 10vh;
  }
  .passons {
    text-align: center;
  }

  .hero{
    background-image: none;
  }
  .checklist {
    grid-template-columns: 1fr;
  }
  .module-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .crypto-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .market-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-left h1 {
    font-size: 2rem;
  }
  .contact-left .lead {
    font-size: 0.98rem;
  }
  .contact-cards {
    gap: 12px;
  }
  .social {
    width: 36px;
    height: 36px;
  }
  .hero{
    background-image: none;
  }
}

/* Module - Mindset styles */
.module-detail {
  padding: 28px 0 40px;
}
.module-top {
  display: flex;
  gap: 24px;
  align-items: center;
}
.module-hero {
  max-width: 360px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.module-header h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.module-header h2 {
  font-size: 1.05rem;
  margin-top: 6px;
}
.objective {
  max-width: 720px;
  color: rgba(0, 0, 0, 0.8);
}
.module-checklist {
  margin-top: 18px;
}
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  padding: 0;
}
.checklist li {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e6f0ff;
  color: #0b61d6;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 2px;
}


/* Styles pour la page Achat et Vente (crypto grid) */
.crypto-market {
  padding: 24px 0 60px;
}
.market-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.crypto-status {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.crypto-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(11, 16, 32, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crypto-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.crypto-title strong {
  display: block;
}
.crypto-body {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}
.crypto-price {
  font-weight: 700;
  font-size: 1.05rem;
}
.crypto-change.price-up {
  color: #0b8a3e;
}
.crypto-change.price-down {
  color: #c62828;
}
.crypto-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.crypto-actions .btn {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.crypto-actions .btn-primary {
  background: var(--jaune);
  color: #000;
}
.crypto-actions .btn-secondary {
  background: #f5f5f5;
  color: #000;
  border: 1px solid #e6e6e6;
}

