:root{
  --cuivre:#b46d3c;
  --prune:#53416a;
  --gris:#f3f3f3;
  --txt:#333;
}

/* GLOBAL RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background:#fff;
  overflow-x: hidden;
}

/* ===================
   HEADER MENTIONS
=================== */
.transparent-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:10;
}

.transparent-header .logo img {
  height:48px;
}

.transparent-header nav {
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}

.transparent-header nav a {
  text-decoration:none;
  color:#222;
  font-size:14px;
  font-weight:400;
  transition:color .2s ease;
}

.transparent-header nav a:hover {
  color: var(--cuivre);
}

.header-icons {
  display:flex;
  align-items:center;
  gap:10px;
}

.header-icons img {
  width:24px;
  height:24px;
}

@media (max-width: 768px) {
  .transparent-header {
    flex-direction: column;
    align-items:flex-start;
    gap:10px;
    padding: 12px 6%;
  }

  .transparent-header nav {
    gap:12px;
    flex-wrap:wrap;
  }
}

/* ===================
   PAGE MENTIONS
=================== */
main {
  max-width: 1000px;
  margin: 80px auto 100px;  /* 80px pour laisser la place au header sticky */
  padding: 0 8%;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}
main h1 {
  font-size: 28px;
  font-weight: 600;
  color: #b46d3c;
  text-align: center;
  margin-bottom: 20px;
}
main h2 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-top: 40px;
}
main p {
  margin-top: 10px;
  color: #555;
}
main strong {
  color: #222;
}
main a {
  color: #b46d3c;
  text-decoration: none;
}
main a:hover {
  text-decoration: underline;
}

/* ===== TABLE DES MATIÈRES ===== */
.mentions-toc {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px 25px;
  margin: 30px 0 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mentions-toc h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #b46d3c;
  font-weight: 600;
}
.mentions-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
.mentions-toc li {
  margin-bottom: 4px;
}
.mentions-toc a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.mentions-toc a:hover {
  color: #b46d3c;
}

@media (max-width: 768px) {
  main {
    margin-top: 100px;
    padding: 0 6%;
    font-size: 14px;
  }
  main h1 {
    font-size: 24px;
  }
  main h2 {
    font-size: 18px;
  }
}

/* ===================
   FOOTER
=================== */
footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  color: #333;
  padding: 30px 8%;
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  align-items:flex-start;
  gap:32px;
}

.footer-logo {
  flex:1 1 240px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-logo img {
  width:80px;
  margin-bottom:8px;
}

.footer-logo p {
  font-size:14px;
  color:#555;
  margin:0;
}

.footer-links {
  flex:2 1 400px;
  display:flex;
  flex-wrap:wrap;
  gap:40px;
}

.footer-col {
  min-width:150px;
  display:flex;
  flex-direction:column;
}

.footer-col h4 {
  font-size:15px;
  font-weight:600;
  color:var(--cuivre);
  margin-bottom:8px;
}

.footer-col a {
  text-decoration:none;
  color:#333;
  margin:4px 0;
  font-size:14px;
}
.footer-col a:hover {
  color:var(--cuivre);
}

.footer-bottom {
  width:100%;
  text-align:center;
  font-size:13px;
  color:#777;
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid #e2e2e2;
}

/* Footer mobile */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 6%;
    gap: 8px;
  }
  .footer-logo { margin-bottom: 0; padding-bottom: 0; }
  .footer-logo p { margin: 4px 0 0; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
  }
  .footer-col { align-items: center; }
}