:root {
  /* Backgrounds */
  --bg-main: #0b0f14;
  --bg-card: #1a1f26;
  --bg-card-light: #232a33;
  --bg-card-hover: #29323b;
  --hero-color: #2f8eac;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a8b0bb;
  --text-muted: #6c7683;

  /* Accent */
  --accent: #3aa6c9;
  --accent-hover: #54c2e4;

  /* Borders */
  --border-subtle: #2a313c;

  /* Radius */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* Shadow */
  --shadow-elevation: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Logo */
  --logo-size: 100px;

  /* Corner radius*/
  --radius: 20px;
}


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

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
}

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

.section {
  margin-top: 80px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 3rem !important;
}

h1{
  font-size: 2.5rem !important;
  text-align: center;
}

h2{
  font-size: 2rem !important;
}

h3{
  font-size: 1.5rem !important;
}
/*
* {
  outline: 1px solid red;
}
  */

.section {
    margin-top: 80px !important;
    padding-top: 80px !important;
}

@media (max-width: 992px) {
  .container {
    padding: 0 1rem !important;
  }

  footer{
    margin-top: 0 !important;
  }
}

.legal-section {
  padding-top: 0 !important;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  line-height: 1.7;
  opacity: 0.9;
}

.page-title {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--accent);
}

.hero-section{
  padding-bottom: 0 !important;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
/********************
BASE
********************/

.site-header {
  background: #212a36;
  padding: 0 70px;

  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 

  z-index: 2000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

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

.header-left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 95px;
  padding-right: 40px;
}

/********************
DESKTOP NAV
********************/

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icons {
  display: flex;
  gap: 15px;
}

.icons a {
  color: white;
  transition: color 0.25s ease;
}

.icons a:hover {
  color: #00bfff;
}

/********************
DESKTOP DROPDOWN
********************/

.nav-item {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}

.dropdown-toggle i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item.open .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;

  background: #2f2f2f;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 200px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-item.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
}

.main-nav a,
.dropdown-toggle {
  position: relative;
  transition: color 0.25s ease, transform 0.2s ease;
}

.main-nav a::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #00bfff;

  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.dropdown-toggle:hover {
  color: #00bfff;
  transform: translateY(-2px);
}

.main-nav a:hover::after,
.dropdown-toggle:hover::after {
  transform: scaleY(1);
}

/* couleur active quand menu ouvert */
.nav-item.open .dropdown-toggle {
  color: #00bfff;
}

/* trait visible quand menu ouvert */
.nav-item.open .dropdown-toggle::after {
  transform: scaleY(1);
}

/********************
BURGER
********************/

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/********************
MOBILE DRAWER
********************/

.drawer-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #2f2f2f;
  padding: 140px 30px 40px;

  transform: translateX(-100%);
  transition: transform 0.3s ease;

  z-index: 1500;
}

.drawer-nav.open {
  transform: translateX(0);
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
}

.drawer-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.drawer-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

.drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px !important;
}

.drawer-bottom .icons {
  display: flex;
  gap: 18px;
}

.drawer-item {
  display: flex;
  flex-direction: column;
}

.drawer-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-submenu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  margin-top: 12px;
}

.drawer-item.open .drawer-submenu {
  display: flex;
}

.drawer-submenu a {
  font-size: 0.95rem;
  opacity: 0.85;
}

.arrow{
  font-size: 25px;
}

.drawer-item.open .arrow {
  transform: rotate(180deg);
}

.drawer-item.open .drawer-toggle {
  color: #00bfff;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/********************
RESPONSIVE
********************/
@media (min-width: 993px) {
  .drawer-nav {
    display: none;
  }
}

@media (max-width: 992px) {

  .main-nav,
  .header-right {
    display: none;
  }

  .header-inner {
    position: relative;
    justify-content: center;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .logo img{
    padding: 0;
    height: 4.5em;
  }

  .site-header {
    padding: 0;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }

  .header-inner {
    height: 6em !important;
  }
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  z-index: 1400; /* en dessous du drawer (1500) */
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

body.no-scroll,
html.no-scroll {
  overflow: hidden;
}
.footer {
  background: #0f1720;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Bloc marque */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}
.footer-col h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-author {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer {
  background: #0f1720;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.footer-socials a:hover {
  background: var(--accent);
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-affiliation {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link {
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--accent);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col--brand {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: 160px;
  }
}
.cookie-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.cookie-card {
  background: var(--bg-main);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  max-width: 500px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cookie-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

body.no-scroll,
html.no-scroll {
  overflow: hidden;
}

.cookie-popup {
  animation: fadeIn 0.3s ease;
}

.cookie-card {
  animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#refuseCookies {
  opacity: 0.6;
  color: white;
}

.cookie-popup{
  display: none;
}

.legal-card ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.2rem;
  list-style: none;
}

.legal-card li {
  position: relative;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  opacity: 0.9;
  padding-left: 1.4rem;
}

/* Puce custom accent */
.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
  width: fit-content;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 8px rgba(58, 166, 201, 0.18);
}

.btn-primary {
  display: inline-block;
  width: fit-content;

  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);

  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;

  text-decoration: none;
  transition: all 0.25s ease;

  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(  --accent-hover);
  box-shadow: 0 4px 8px rgba(58, 166, 201, 0.18);
}

.btn-disabled {
  background: #2a2f38 !important;
  color: #777 !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  opacity: 0.6;
}

.cta-button i {
  font-size: 16px;
}
