/* mentions-legales.css */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b2a2a;
  background: #ebe4dd;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── HEADER ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 228, 221, 0.25);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(95, 92, 91, 0.15);
  box-shadow: 0 4px 24px rgba(43, 42, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #2b2a2a;
}

.logo-star {
  display: inline-block;
  color: #5f5c5b;
  animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
  from { rotate: 0deg; scale: 1; }
  50%  { scale: 1.4; }
  to   { rotate: 360deg; scale: 1; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  color: #2b2a2a;
  font-weight: 500;
  overflow: hidden;
  transition: color 0.25s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(95, 92, 91, 0.1);
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::before { transform: scaleX(1); }
.nav-link span { position: relative; z-index: 1; }

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ebe4dd;
  background: #2b2a2a;
  border-radius: 6px;
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #5f5c5b;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.nav-cta:hover::before { transform: translateY(0); }
.nav-cta span { position: relative; z-index: 1; }

/* ─── PAGE HERO ─── */

.page-hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  border-bottom: 1px solid rgba(95, 92, 91, 0.15);
  overflow: hidden;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.18;
}

.page-hero-orb-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #e81cff, transparent 70%);
  top: -100px;
  right: -60px;
  animation: orbFloat1 8s ease-in-out infinite;
}

.page-hero-orb-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #7b2fff, transparent 70%);
  bottom: -60px;
  left: 10%;
  animation: orbFloat2 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-20px, 30px) scale(1.06); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(15px, -20px) scale(1.04); }
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.agence-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f5c5b;
  background: rgba(95, 92, 91, 0.1);
  border: 1px solid rgba(95, 92, 91, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  animation: fadeSlideDown 0.6s ease both;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  line-height: 1.1;
  animation: fadeSlideDown 0.6s 0.1s ease both;
}

.page-subtitle {
  color: #5f5c5b;
  line-height: 1.7;
  margin: 0;
  font-size: 0.97rem;
  animation: fadeSlideDown 0.6s 0.2s ease both;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── CONTENU MENTIONS ─── */

.mentions-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* Chaque bloc de section */
.mentions-section {
  margin-bottom: 3rem;
  animation: fadeSlideDown 0.5s ease both;
}

.mentions-section:nth-child(1) { animation-delay: 0.05s; }
.mentions-section:nth-child(2) { animation-delay: 0.10s; }
.mentions-section:nth-child(3) { animation-delay: 0.15s; }
.mentions-section:nth-child(4) { animation-delay: 0.20s; }
.mentions-section:nth-child(5) { animation-delay: 0.25s; }

/* En-tête de section : numéro + titre */
.mentions-section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.section-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5f5c5b;
}

.mentions-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #2b2a2a;
}

/* Séparateur sous le titre */
.mentions-divider {
  height: 1px;
  background: rgba(95, 92, 91, 0.18);
  margin-bottom: 1.25rem;
}

/* Texte courant */
.mentions-text {
  font-size: 0.9rem;
  color: #5f5c5b;
  line-height: 1.8;
  margin: 0 0 0.6rem;
}

.mentions-text:last-child { margin-bottom: 0; }

/* Lignes label / valeur */
.mentions-row {
  display: flex;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(95, 92, 91, 0.1);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mentions-row:last-of-type { border-bottom: none; }

.mentions-row-label {
  font-weight: 600;
  color: #2b2a2a;
  min-width: 200px;
  flex-shrink: 0;
}

.mentions-row-value {
  color: #5f5c5b;
}

.mentions-row-value a {
  color: #7b2fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.mentions-row-value a:hover { color: #e81cff; }

/* Note encadrée (ex. TVA) */
.mentions-note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  background: rgba(95, 92, 91, 0.06);
  border-left: 3px solid #5f5c5b;
  font-size: 0.82rem;
  color: #5f5c5b;
  line-height: 1.65;
}

/* ─── FOOTER ─── */

.site-footer {
  border-top: 1px solid rgba(95, 92, 91, 0.15);
  padding: 1.5rem 0;
  background: #ebe4dd;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { color: #5f5c5b; }

.footer-links a {
  margin-left: 1rem;
  color: #5f5c5b;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #2b2a2a; }

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .main-nav { display: none; }

  .mentions-row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .mentions-row-label { min-width: unset; }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-links a:first-child { margin-left: 0; }
}