/* =====================================================
   TUKIO PRO v2 — Privacy Policy Page Styles
   Basé sur le système de design moderne/premium
   ===================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #fffdf5;
  color: #1a1a0f;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Typography Headings */
h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@font-face {
  font-family: "Posterama";
  src: local("Posterama 1913 SemiBold"), local("Posterama1913-SemiBold");
  font-weight: 600;
  font-display: swap;
}

.legal-title {
  font-family: "Posterama", sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: #1a1a0f;
  margin-bottom: 0.75rem;
}

.accent {
  color: #bca402;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(188, 164, 2, 0.14);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-image {
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-text-alt {
  font-family: "Posterama", "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a0f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 768px) {
  .nav-logo .logo-text-alt {
    display: inline;
  }
}
.footer-logo .logo-text-alt {
  display: inline;
}
.logo-text-alt em {
  font-style: normal;
  color: #bca402;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: #bca402;
  color: #fff;
  font-family: "Posterama", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-text {
  font-family: "Posterama", "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a0f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-text em {
  font-style: normal;
  color: #bca402;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1a1a0f;
  background: rgba(188, 164, 2, 0.08);
}
.nav-link.active {
  color: #bca402;
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-nav-pro {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #bca402;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.btn-nav-pro:hover {
  background: #a89200;
  transform: translateY(-1px);
}
.btn-nav-login {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: #1a1a0f;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  border: 1.5px solid #1a1a0f;
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn-nav-login:hover {
  border-color: #bca402;
  color: #bca402;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
}
.hamburger-line {
  width: 22px;
  height: 1.5px;
  background: #1a1a0f;
  transition:
    transform 0.25s,
    opacity 0.2s;
  transform-origin: center;
}
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fffdf5;
  border-bottom: 1px solid rgba(188, 164, 2, 0.15);
  padding: 1rem 1.5rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s,
    opacity 0.25s;
  z-index: 99;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(188, 164, 2, 0.1);
  transition: color 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #bca402;
}
.mobile-nav-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ── LEGAL HERO ── */
.legal-hero {
  position: relative;
  padding: 140px 1.5rem 60px;
  text-align: center;
  background: linear-gradient(135deg, #fffdf5 0%, #f9f5da 100%);
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(188, 164, 2, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 164, 2, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.legal-last-update {
  font-size: 0.875rem;
  color: #888;
  font-weight: 500;
}

/* ── LEGAL CONTENT ── */
.legal-content-section {
  padding: 60px 1.5rem 100px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Sidebar */
.legal-sidebar {
  display: none;
}

.sticky-nav h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bca402;
  margin-bottom: 1.25rem;
}

.summary-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.9375rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.summary-links a:hover {
  color: #bca402;
  transform: translateX(4px);
}

/* Legal Body */
.legal-body {
  max-width: 800px;
}

.legal-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: #1a1a0f;
  margin-bottom: 1.25rem;
}

.legal-section h3 {
  font-size: 1.125rem;
  color: #2a2a1a;
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  color: #444;
  margin-bottom: 1rem;
}

.legal-list {
  list-style: none;
  margin-bottom: 1rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #bca402;
  border-radius: 50%;
}

.legal-footer-note {
  margin-top: 4rem;
  padding: 2rem;
  background: #fdfaf0;
  border: 1px solid rgba(188, 164, 2, 0.12);
  border-radius: 12px;
  font-weight: 600;
  color: #2a2a1a;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: #111008;
  border-top: 1px solid rgba(188, 164, 2, 0.1);
  padding: 4.5rem 1.5rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 0.875rem;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.footer-socials {
  display: flex;
  gap: 0.625rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.social-link:hover {
  background: rgba(188, 164, 2, 0.15);
  border-color: rgba(188, 164, 2, 0.3);
}
.social-link svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.4);
  transition: fill 0.2s;
}
.social-link:hover svg {
  fill: #bca402;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.footer-col-title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #bca402;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ── RESPONSIVE 768px+ ── */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .legal-grid {
    grid-template-columns: 280px 1fr;
    gap: 4rem;
  }
  .legal-sidebar {
    display: block;
  }
  .sticky-nav {
    position: sticky;
    top: 100px;
  }
  .footer-container {
    grid-template-columns: 1.2fr 2fr;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
