:root {
  --nd-brown: #8C6239;
  --nd-blue: #2A7F98;
  --nd-ivory: #F4E9DA;
  --bg-soft: #FAF7F3;
  --text-dark: #111111;
  --text-soft: #444444;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

/* WRAPPER */
.wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

.header .inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 26px;
  height: auto;
}

.brand span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.25px;
  color: var(--text-dark);
}

nav a {
  margin-left: 26px;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14.5px;
  position: relative;
  padding-bottom: 2px;
}

nav a.active,
nav a:hover {
  color: var(--nd-brown);
}

nav a.active::after,
nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--nd-blue);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft) 60%, #ffffff 100%);
  border-bottom: 1px solid #f0e8dd;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 24px 70px;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.hero-text p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.hero-note {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

.hero-panel {
  flex: 1 1 280px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #f0e8dd;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.hero-panel h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-panel p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.hero-panel ul {
  list-style: none;
}

.hero-panel li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

/* MAIN CONTAINER */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid #f0e8dd;
  border-bottom: 1px solid #f0e8dd;
}

.section h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 26px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid #e5e0d7;
  padding: 20px 20px 22px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.card p {
  font-size: 14px;
  color: var(--text-soft);
}

.card:hover {
  border-color: var(--nd-blue);
  background: var(--nd-ivory);
  box-shadow: 0 10px 26px rgba(0,0,0,0.04);
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.step {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e0d7;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--nd-brown);
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-soft);
}

/* TITLES & TEXT */
h1, h2, h3 {
  letter-spacing: 0.2px;
}

p {
  font-size: 15px;
}

/* TEXTAREA */
textarea {
  color: #222;
  /* font-style: italic; */
  width: 100%;
  min-height: 180px;
  padding: 14px;
  border: 1px solid #ddd3c4;
  border-radius: 8px;
  font-size: 15px;
  resize: vertical;
  font-family: inherit;
  margin: 18px 0 18px;
}

textarea::placeholder {
  color: #a8a8a8; 
  opacity: 1;  /* plus lisible que le gris standard */
  font-size: 14px;
  line-height: 1.55;
}


textarea:focus {
  outline: none;
  border-color: var(--nd-brown);
  box-shadow: 0 0 0 1px rgba(42,127,152,0.15);
}

/* QUESTION PAGE */
.theme-label {
  font-size: 14px;
  color: var(--nd-brown); /* même marron que les boutons */ 
  margin-bottom: 8px;
}

.question-intro {
  font-size: 14.5px;
  color: var(--text-soft);
  max-width: 640px;
}

.question-help {
  font-size: 13.5px;
  color: #777;
  margin-bottom: 18px;
}

.question-help ul {
  margin-top: 6px;
  padding-left: 18px;
}

/* NDUM — Options désactivées dans les <select> */
select option:disabled {
  color: rgba(17, 17, 17, 0.35); /* dérivé de --text-dark */
  background: #f2f0ec; /* léger ivoire/gris NDUM */
  cursor: not-allowed;
}


/* BUTTON */
button {
  background: var(--nd-brown);
  color: #fff;
  border: none;
  padding: 13px 26px;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, transform 0.1s ease;
  border-radius: 999px;
}

button:hover {
  background: var(--nd-brown);
}

button:active {
  transform: scale(0.98);
}

/* FOOTER */
.footer {
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
  margin-top: 40px;
}

.footer .inner {
  text-align: center;
  padding: 30px 24px 40px;
  font-size: 13.5px;
  color: #777;
}

.footer .links {
  margin-bottom: 8px;
}

.footer .links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--nd-brown);
  font-size: 13.5px;
}

.footer .links a:hover {
  color: var(--nd-brown);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .header .inner {
    height: auto;
    padding: 12px 0 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  nav a {
    margin-left: 0;
    margin-right: 18px;
  }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .container {
    padding-top: 40px;
  }
}
