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

/* Couleurs principales */
:root {
  --navy: #0b1b3b;
  --navy-soft: #13254d;
  --gold: #f2c14f;
  --gold-dark: #caa13d;
  --bg: #050915;
  --text-main: #f7f7fb;
  --text-muted: #c3c6d8;
  --card-bg: #111b33;
  --card-border: rgba(242, 193, 79, 0.25);
  --error: #ff6b6b;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Layout général */
body.page-landing {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #182b69 0, #050915 55%, #02030a 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7vw;
  background: linear-gradient(to right, rgba(5, 9, 21, 0.9), rgba(11, 27, 59, 0.95));
  border-bottom: 1px solid rgba(242, 193, 79, 0.25);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #ffe9a8, #f2c14f, #caa13d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #231b00;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.main-nav a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ffe9a8, #f2c14f, #caa13d);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Sections */
main {
  flex: 1;
}

.section {
  padding: 60px 7vw;
}

.section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 60px 7vw 40px 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f2c14f, #caa13d);
  color: #231b00;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(242, 193, 79, 0.5);
  color: var(--gold);
}

.btn-secondary:hover {
  background: rgba(17, 27, 51, 0.9);
}

/* Cartes de catégories */
.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 10px;
}

.card {
  background: #ffffff;
	    color: #001f3f;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px 18px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Section alternée */
.section-alt {
  background: radial-gradient(circle at top, rgba(24, 43, 105, 0.5), rgba(5, 9, 21, 0.95));
}

.steps {
  list-style: decimal;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.steps li + li {
  margin-top: 6px;
}

.note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 16px 7vw 20px 7vw;
  border-top: 1px solid rgba(242, 193, 79, 0.18);
  background: linear-gradient(to right, #050915, #0b1b3b);
}

/* Responsive */
@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .main-nav a {
    margin: 4px 16px 0 0;
  }

  .hero h1 {
    font-size: 26px;
  }
}

/* Override pour les boîtes de catégories blanches */
.card h3 {
    color: #001f3f !important;
}

.card p {
    color: #001f3f !important;
}

.card ul {
    color: #001f3f !important;
}

/* Lien invisible dans le footer */
.site-footer a {
  color: inherit;
  text-decoration: none;
  }


/* ========================================
   HAMBURGER MENU STYLES
   ======================================== */

/* Hamburger Icon */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 35px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu span {
    display: block;
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: radial-gradient(circle at top, #182b69 0, #050915 55%, #02030a 100%);
    box-shadow: 2px 0 15px rgba(0,0,0,0.5);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding: 130px 20px 20px 20px;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-menu h3 {
    color: #4fc430;
    font-size: 1.2em;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #4fc430;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-menu h3:first-child {
    margin-top: 0;
}

.sidebar-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.sidebar-menu a:hover {
    background: rgba(79, 196, 48, 0.2);
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(79, 196, 48, 0.3);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger-menu {
        top: 15px;
        left: 15px;
    }
    
    .sidebar-menu {
        width: 85%;
        max-width: 300px;
    }
}


/* Language Switcher Button */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    background: radial-gradient(circle at top, #182b69 0, #050915 55%, #02030a 100%);
    color: white;
    border: 2px solid #4fc430;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1001;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lang-switcher:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(79, 196, 48, 0.4);
}

.lang-btn-en, .lang-btn-fr {
    display: none;
}

[lang="en"] .lang-btn-fr {
    display: inline;
}

[lang="fr"] .lang-btn-en {
    display: inline;
}
