* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --header-height: 101px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #0A0A0A;
  color: #E6ECEF;
  width: 100%;
  min-height: 100vh;
}

/* HEADER */

.header {
  width: 100%;
  background-color: #0A0A0A;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #CCCCCC;
}

.header-topbar {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid #CCCCCC;
}

.topbar-right a {
  margin-left: 15px;
  color: #FFFFFF;
  text-decoration: none;
  transition: 0.3s ease;
}

.topbar-right a:hover,
.topbar-right a:focus-visible {
  background-color: #FFFFFF;
  color: #000000;
  padding: 2px 6px;
  border-radius: 4px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 12px 40px;
  width: 100%;
}

.logo img {
  width: 50px;
  height: 50px;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background-color: #E6ECEF;
  color: #000000;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.dropdown {
  position: relative;
  list-style: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background-color: #0A0A0A;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
  z-index: 1002;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: #E6ECEF;
  color: #000000;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 4px;
  transition: 0.3s ease;
}

/* CONTENU GLOBAL */

.container {
  max-width: 1140px;
  margin: auto;
  padding: 24px 20px 60px;
  width: 100%;
}

.page-title {
  text-align: center;
  font-size: clamp(38px, 8vw, 80px);
  line-height: 1.05;
  margin: 12px auto 35px;
  font-weight: 800;
  color: #E6ECEF;
  text-transform: uppercase;
}

.page-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 14px auto 0;
  background-color: #BFDFFF;
}

/* PAGE POLITIQUE DE CONFIDENTIALITÉ */

.privacy-hero {
  max-width: 100%;
  padding: 28px;
  background-color: #0A0A0A;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 18px rgba(255,255,255,0.05);
}

.privacy-hero p {
  font-size: 19px;
  line-height: 1.8;
  padding: 5px;
  color: #E6ECEF;
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 40px auto 50px;
}

.privacy-summary-card,
.privacy-section,
.privacy-contact-box {
  background-color: #0A0A0A;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 0 18px rgba(255,255,255,0.05);
}

.privacy-summary-card {
  padding: 24px;
  transition: 0.3s ease;
}

.privacy-summary-card h2,
.privacy-section h2,
.privacy-contact-box h2 {
  color: #E6ECEF;
  font-size: clamp(20px, 3vw, 30px);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid #BFDFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.privacy-summary-card p,
.privacy-section p,
.privacy-contact-box p {
  color: #E6ECEF;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
  text-align: justify;
}

.privacy-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin: 45px auto;
}

.privacy-section {
  padding: 26px;
  transition: 0.3s ease;
}

.privacy-summary-card:hover,
.privacy-section:hover,
.privacy-contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.28), 0 0 24px rgba(255,255,255,0.10);
}

.privacy-section ul {
  margin: 16px 0 18px 22px;
}

.privacy-section li {
  color: #E6ECEF;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
  margin-bottom: 8px;
}

.privacy-section strong {
  color: #FFFFFF;
}

.privacy-section a,
.privacy-contact-box a,
.privacy-info-box a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.privacy-section a:hover,
.privacy-section a:focus-visible,
.privacy-contact-box a:hover,
.privacy-contact-box a:focus-visible,
.privacy-info-box a:hover,
.privacy-info-box a:focus-visible {
  text-decoration: underline;
}

.privacy-info-box {
  margin-top: 18px;
  padding: 18px;
  background-color: #111111;
  border-left: 4px solid #ffffff;
  border-radius: 8px;
}

.privacy-info-box p {
  margin-bottom: 8px;
  text-align: left;
}

.privacy-info-box p:last-child {
  margin-bottom: 0;
}

.privacy-contact-box {
  max-width: 100%;
  margin: 50px auto 25px;
  padding: 28px;
}

/* FOOTER */

.footer {
  background-color: #0e0e0e;
  color: #E6ECEF;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #CCCCCC;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.footer-section {
  min-width: 0;
}

.footer-section:nth-child(1) {
  justify-self: start;
  text-align: left;
}

.footer-section:nth-child(2) {
  justify-self: center;
  text-align: left;
}

.footer-section:nth-child(3) {
  justify-self: end;
  text-align: left;
}

.footer-section h4 {
  color: #E6ECEF;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #E6ECEF;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-section a:hover,
.footer-section a:focus-visible {
  color: #CCCCCC;
}

.footer-divider {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid #CCCCCC;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E6ECEF;
}

/* BOUTON HAUT DE PAGE */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #CCCCCC;
  color: #000000;
  border: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 0.8;
  visibility: visible;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  opacity: 1;
  transform: scale(1.1);
}

/* TABLETTE */

@media (max-width: 1024px) {
  .header-main {
    padding: 12px 24px;
  }

  .nav-list {
    gap: 12px;
  }

  .nav-link {
    font-size: 12px;
    padding: 9px 8px;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .privacy-content {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .header-topbar {
    text-align: center;
    justify-content: center;
  }

  .topbar-right a {
    margin: 0 8px;
  }

  .header-main {
    padding: 12px 18px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: var(--header-height, 101px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: calc(100dvh - var(--header-height, 101px));
    background-color: #0A0A0A;
    padding: 20px;
    border-top: 1px solid #CCCCCC;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 14px 12px;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    border-width: 1px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    text-align: center;
    white-space: normal;
  }

  .container {
    padding: 20px 14px 40px;
  }

  .privacy-hero {
    margin: 32px auto 30px;
    padding: 20px;
  }

  .privacy-hero p,
  .privacy-summary-card p,
  .privacy-section p,
  .privacy-contact-box p {
    text-align: left;
  }

  .privacy-summary-card,
  .privacy-section,
  .privacy-contact-box {
    padding: 20px;
  }

  .privacy-summary-card h2,
  .privacy-section h2,
  .privacy-contact-box h2 {
    font-size: 20px;
    padding-left: 10px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-section:nth-child(1),
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) {
    justify-self: center;
    text-align: center;
  }

  .scroll-top {
    bottom: 18px;
    right: 18px;
    font-size: 18px;
  }
}