:root {
  --bleu-profond: #1e2b40;
  --champagne: #f7efe5;
  --doré: #c5aa6a;
  --blanc: #ffffff;
  --gris-texte: #444;
  --bleu-doux: #3b506e;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--champagne);
  color: var(--gris-texte);
}

header {
  background-color: var(--bleu-profond);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--champagne);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  margin-left: 20px;
  color: var(--champagne);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--doré);
}

.ticker {
  background-color: var(--bleu-doux);
  color: var(--champagne);
  padding: 10px;
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

main {
  max-width: 950px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--blanc);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

h1, h2, h5 {
  color: var(--bleu-profond);
  margin-bottom: 20px;
  text-align: center;
}

.form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 25px;
  flex-shrink: 1;
}

.form input#amount {
  width: 100px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.form select {
  width: 200px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.form span {
  font-size: 1.2rem;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

#result {
  color: var(--bleu-profond);
  min-width: 100px;
  text-align: right;
  padding-right: 5px;
}

@media (max-width: 768px) {
  .form {
    flex-direction: column;
    align-items: stretch;
  }

  .form input, .form select {
    width: 100%;
  }

  #result {
    text-align: center;
  }
}



input#amount {
  width: 100%;
  max-width: 120px;
}


input, select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

#result {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--bleu-profond);
  text-align: center;
}

.kucoin-form {
  margin-top: 30px;
  text-align: center;
}

.kucoin-form select {
  width: 50%;
  margin-top: 10px;
}

.kucoin-link {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background-color: var(--doré);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.kucoin-link:hover {
  background-color: #a88d4b;
}

footer {
  text-align: center;
  padding: 24px;
  background-color: var(--bleu-profond);
  color: var(--champagne);
  margin-top: 40px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .bbrn-section p {
    padding: 0 15px;
    font-size: 0.95rem;
  }
}


  input#amount {
    max-width: 100%;
  }

  #result {
    text-align: center;
    padding: 10px 0;
  }
}


.bbrn-section {
  background-color: #fefcf9;
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 14px;
  border: 1px solid #e2d6c0;
  display: flex;
  justify-content: center;
}

.bbrn-wrapper {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.bbrn-wrapper h2 {
  color: var(--bleu-profond);
  margin-bottom: 10px;
}

.bbrn-wrapper p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--gris-texte);
}

.bbrn-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-bbrn {
  background-color: var(--doré);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-bbrn:hover {
  background-color: #a88d4b;
}

.bbrn-section button {
  background-color: #ddd;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}


.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--bleu-profond);
  padding: 10px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--doré);
}

.faq-answer {
  display: none;
  padding-bottom: 10px;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background-color: var(--champagne);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  color: var(--gris-texte);
}

.faq-section h2 {
  text-align: center;
  color: var(--bleu-profond);
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #dcd2bd;
  padding-bottom: 10px;
}

.faq-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--bleu-profond);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.faq-toggle:hover {
  color: var(--doré);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--doré);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-content.open {
  max-height: 300px;
  margin-top: 10px;
}

.faq-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
/* Style général pour tous les liens textuels */
a {
  color: #4ab7f5; /* bleu ciel doux */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
 color: #5ab7f5; /* bleu ciel plus profond au survol */
  text-decoration: underline;
}
