/* MAXDEV - main.css - Web Designer Freelance Nice */

/* ── VARIABLES ── */
:root {
  --bg:       #06080f;
  --bg2:      #0b0e1a;
  --card:     #0f1220;
  --card2:    #131624;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);
  --accent:   #1D4ED8;
  --accent2:  #1E40AF;
  --accent3:  #60A5FA;
  --glow:     rgba(29,78,216,.3);
  --text:     #eef2f8;
  --muted:    #7a8499;
  --muted2:   #4e566a;
  --white:    #fff;
  --radius:   16px;
  --radius-sm:10px;
  --transition: .25s cubic-bezier(.19,1,.22,1);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025; pointer-events: none; z-index: 10;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--white);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.015em; line-height: 1.25; margin-bottom: 8px; }
h3 { font-size: 1.05rem; letter-spacing: -.005em; line-height: 1.5; font-weight: 600; }
h4 { font-size: .95rem; line-height: 1.5; font-weight: 600; }
p  { color: var(--muted); font-weight: 400; line-height: 1.75; font-size: .925rem; }

.grad-text {
  background: linear-gradient(135deg, #60A5FA, #1D4ED8, #1E40AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CUSTOM CURSOR (désactivé) ── */
#cur, #cur-ring { display: none !important; }

/* ── NAV ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1003;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}
/* Fond flouté via pseudo-élément — n'affecte pas le stacking context des enfants */
header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(6,8,15,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  transition: background var(--transition);
}
header.stuck {
  border-bottom-color: var(--border2);
}
header.stuck::before {
  background: rgba(6,8,15,.97);
}

/* Overlay sombre derrière le menu mobile */
#nav-overlay { display: none !important; }
nav#navbar {
  padding: 0 24px;
  width: 100%;
  display: flex; align-items: stretch;
  height: 56px;
  transition: padding var(--transition);
}
nav#navbar.stuck {
  padding: 0 24px;
}
.logo {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -.03em; color: var(--white);
  display: flex; align-items: center;
}
.logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  margin-left: 2px; margin-bottom: 6px;
  box-shadow: 0 0 10px var(--accent);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 8px var(--accent); }
  50%      { box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(29,78,216,.3); }
}
.nav-links {
  display: flex; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
/* Mobile drawer is hidden on desktop */
.nav-mobile-drawer {
  display: none;
}
.nav-links a:not(.nav-fb-link) {
  color: var(--muted); font-size: .875rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a:not(.nav-fb-link)::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:not(.nav-fb-link):hover,
.nav-links a:not(.nav-fb-link).active { color: var(--white); }
.nav-links a:not(.nav-fb-link):hover::after,
.nav-links a:not(.nav-fb-link).active::after { width: 100%; }
.nav-cta {
  font-size: .82rem; font-weight: 600; color: var(--white);
  padding: 10px 22px; border-radius: 100px;
  border: 1px solid rgba(29,78,216,.4);
  background: rgba(29,78,216,.1);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--glow);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: all .3s ease;
}

/* ── SECTIONS ── */
section, .section { padding: 100px 48px; position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; }

/* ── CONTENEUR GLOBAL ── */
#main > section,
#main > div.marquee-section { }
#main > section > .services-head,
#main > section > .svc-grid,
#main > section > .bento-grid,
#main > section > .services-cta,
#main > section > .port-head,
#main > section > .port-grid,
#main > section > .port-cta,
#main > section > .process-head,
#main > section > .steps,
#main > section > .testi-head,
#main > section > .testi-grid { max-width: 1100px; margin-left: auto; margin-right: auto; }

.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.sec-label::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.sec-sub {
  color: var(--muted); font-size: .95rem;
  line-height: 1.75; font-weight: 300; max-width: 480px;
}

/* ── BUTTONS ── */
.btn-prim {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: .9rem;
  transition: all var(--transition);
  box-shadow: 0 0 30px rgba(29,78,216,.35), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative; overflow: hidden;
}
.btn-prim::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.btn-prim:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(29,78,216,.5); }
.btn-prim:hover::before { opacity: 1; }
.btn-prim .arr { transition: transform var(--transition); }
.btn-prim:hover .arr { transform: translate(4px,-4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); padding: 14px 26px;
  border-radius: 100px; font-weight: 500; font-size: .9rem;
  border: 1px solid var(--border2);
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }

/* ── MARQUEE ── */
.marquee-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 18px 0; overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 25s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px; white-space: nowrap;
  font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted2);
}
.marquee-item::before { content: '✦'; color: var(--accent); font-size: .55rem; }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: visible;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: rgba(29,78,216,.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* ── REVEAL ANIMATIONS ── */
.js-loaded .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.19,1,.22,1), transform .7s cubic-bezier(.19,1,.22,1);
}
.js-loaded .reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .7s cubic-bezier(.19,1,.22,1), transform .7s cubic-bezier(.19,1,.22,1); }
.js-loaded .reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .7s cubic-bezier(.19,1,.22,1), transform .7s cubic-bezier(.19,1,.22,1); }
.reveal.on, .reveal-left.on, .reveal-right.on { opacity: 1 !important; transform: none !important; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ── CHIP / BADGE ── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,78,216,.08);
  border: 1px solid rgba(29,78,216,.2);
  padding: 6px 16px 6px 10px; border-radius: 100px;
  font-size: .78rem; font-weight: 500; color: var(--accent3);
  letter-spacing: .04em;
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}

/* ── FORM ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 500;
  color: var(--muted); margin-bottom: 7px; letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text);
  font-family: var(--font-sans); font-size: .875rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(29,78,216,.45);
  box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { cursor: pointer; color: var(--muted); }
.form-group select option { background: var(--card); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; background: var(--accent); color: var(--white);
  border: none; padding: 14px; border-radius: 100px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
  box-shadow: 0 0 24px var(--glow); margin-top: 4px;
}
.btn-submit:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 0 40px rgba(30,64,175,.4); }

/* ── FOOTER ── */
#footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 72px 48px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 60px; flex-wrap: wrap;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand { flex: 0 0 220px; }
.footer-tagline { font-size: .83rem; color: var(--muted2); margin-top: 10px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .2s;
}
.footer-social a:hover { background: #6366f1; border-color: #6366f1; color: var(--white); }
.footer-nav { flex: 1; display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 120px; }
.footer-col-title {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul span { font-size: .83rem; color: var(--muted2); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 28px;
}
.footer-bottom p { font-size: .8rem; color: var(--muted2); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: var(--muted2); transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* Light mode footer */
[data-theme="light"] #footer { background: #f5f5f7; border-top-color: rgba(0,0,0,.08); }
[data-theme="light"] .footer-inner { border-bottom-color: rgba(0,0,0,.08); }
[data-theme="light"] .footer-col-title { color: #1d1d1f; }
[data-theme="light"] .footer-col ul a,
[data-theme="light"] .footer-col ul span { color: #6e6e73; }
[data-theme="light"] .footer-col ul a:hover { color: #1d1d1f; }
[data-theme="light"] .footer-tagline { color: #6e6e73; }
[data-theme="light"] .footer-bottom p { color: #6e6e73; }
[data-theme="light"] .footer-legal a { color: #6e6e73; }
[data-theme="light"] .footer-legal a:hover { color: #1d1d1f; }
[data-theme="light"] .footer-social a { background: rgba(79,70,229,.07); border-color: rgba(79,70,229,.15); color: #4f46e5; }
[data-theme="light"] .footer-social a:hover { background: #4f46e5; color: #fff; }

/* ── NAV MOBILE BAS — style Facebook ── */
.mobile-bottom-nav { display: none; }

/* ── PAGE HERO (pages internes) ── */
.page-hero {
  min-height: 40vh; display: flex; align-items: center; justify-content: center;
  padding: 140px 48px 72px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto; width: 100%;
}
.page-hero-inner .sec-sub { margin: 0 auto; }
.page-hero-orb {
  position: absolute; width: 500px; height: 400px;
  border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(29,78,216,.15), transparent 70%);
  top: -50px; left: 50%; transform: translateX(-50%); pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(29,78,216,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(29,78,216,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.page-hero .chip { margin-bottom: 24px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .sec-sub { max-width: 540px; font-size: 1rem; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(29,78,216,.3); border-radius: 4px; }

/* ── SKIP LINK (accessibilité) ── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: var(--white);
  padding: 8px 16px; border-radius: 8px; font-size: .875rem;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ── HERO DISPO ── */
.hero-dispo {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25);
  border-radius: 100px; padding: 8px 18px; margin-bottom: 24px;
  font-size: .8rem; color: var(--muted);
}
.hero-dispo strong { color: var(--text); font-weight: 600; }
.hero-dispo a { color: #10b981; text-decoration: none; font-weight: 500; }
.hero-dispo a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   POUR QUI
   ══════════════════════════════════════════════ */
#pour-qui { padding: 100px 48px; }
.pour-qui-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.pq-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.pq-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.pq-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.pq-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(29,78,216,.08); border: 1px solid rgba(29,78,216,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent3); margin-bottom: 16px;
}
.pq-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.pq-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   STACK
   ══════════════════════════════════════════════ */
#stack { padding: 100px 48px; background: var(--bg2); }
.stack-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.stack-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  max-width: 900px; margin: 0 auto; justify-content: center;
}
.stack-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.stack-badge:hover {
  border-color: var(--badge-color, var(--accent));
  transform: translateY(-2px);
}
.stack-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.stack-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.stack-role { font-size: .75rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   MANIFESTE
   ══════════════════════════════════════════════ */
#manifeste { padding: 100px 48px; }
.manifeste-inner { max-width: 900px; margin: 0 auto; }
.manifeste-inner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; margin-bottom: 56px; margin-top: 16px;
  line-height: 1.2;
}
.manifeste-items { display: flex; flex-direction: column; gap: 0; }
.mani-item {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.mani-item:first-child { border-top: 1px solid var(--border); }
.mani-n {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  color: var(--accent); letter-spacing: .1em; flex-shrink: 0; padding-top: 4px;
}
.mani-item p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }
.mani-item p strong { color: var(--text); }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
#faq { padding: 100px 48px; background: var(--bg2); }
.faq-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border2); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 28px; background: none; border: none;
  color: var(--text); font-size: .975rem; font-weight: 500; cursor: pointer;
  text-align: left; transition: color var(--transition);
}
.faq-q:hover { color: var(--accent3); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300; flex-shrink: 0; color: var(--accent);
  transition: transform var(--transition);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: rgba(29,78,216,.1); border-radius: 50%;
}
.faq-q[aria-expanded="true"] { color: var(--accent3); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: rgba(29,78,216,.2); }
.faq-a { padding: 0 28px 22px; border-top: 1px solid var(--border); }
.faq-a p { font-size: .925rem; color: var(--muted); line-height: 1.7; padding-top: 16px; }

/* ══════════════════════════════════════════════
   DISPO BAND
   ══════════════════════════════════════════════ */
#dispo-band { padding: 0 48px 0; }
.dispo-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 28px;
}
.dispo-dot-wrap { display: flex; align-items: center; }
.dispo-dot-live {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16,185,129,.4);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.dispo-text { display: flex; flex-direction: column; gap: 2px; }
.dispo-text strong { font-size: .9rem; color: var(--text); }
.dispo-text span { font-size: .8rem; color: var(--muted); }
.dispo-text a { color: var(--accent3); text-decoration: none; }
.dispo-text a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   FOOTER SIGNATURE
   ══════════════════════════════════════════════ */
.footer-sig {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 15vw, 14rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  text-align: center; line-height: 1;
  padding: 20px 0 0;
  letter-spacing: -.02em;
  user-select: none; pointer-events: none;
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  section, .section { padding: 90px 32px; }
  .page-hero { padding: 130px 32px 64px; }
  nav#navbar, nav#navbar.stuck { padding: 16px 32px; }
}

@media (max-width: 768px) {
  .pq-grid { grid-template-columns: 1fr 1fr; }
  #pour-qui, #stack, #manifeste, #faq, #dispo-band { padding-left: 20px; padding-right: 20px; }
  .manifeste-inner h2 { font-size: 1.6rem; }
  .mani-item { gap: 16px; }
  body { cursor: auto; }
  #cur, #cur-ring { display: none; }
  section, .section { padding: 70px 20px; }
  .page-hero { padding: 110px 20px 52px; min-height: 36vh; }
  nav#navbar, nav#navbar.stuck { padding: 14px 20px; }

  /* Cacher la nav desktop et les éléments inutiles sur mobile */
  .nav-desktop { display: none !important; }
  .nav-mobile-drawer { display: none !important; }
  .nav-toggle { display: none !important; }
  .nav-cta { display: none; }
  .theme-switcher { display: none; }
  /* Header plus compact — logo gauche, switcher droite */
  nav#navbar { height: 48px; padding: 0 16px; justify-content: space-between; align-items: center; }
  .theme-switcher { display: flex; } /* réafficher sur mobile */
  .theme-switcher { transform: scale(0.85); transform-origin: right center; }

  /* ── BOTTOM NAV FACEBOOK ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 56px;
    background: rgba(6,8,15,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 1100;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .15s;
    border-top: 2px solid transparent;
    padding-top: 2px;
  }
  .mbn-item svg { width: 22px; height: 22px; }
  .mbn-item span { font-size: .58rem; }
  .mbn-item:hover { color: rgba(255,255,255,.75); }
  .mbn-item.mbn-active {
    color: #6366f1;
    border-top-color: #6366f1;
  }

  /* Light mode bottom nav */
  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(255,255,255,.97);
    border-top-color: rgba(0,0,0,.1);
  }
  [data-theme="light"] .mbn-item { color: rgba(0,0,0,.35); }
  [data-theme="light"] .mbn-item:hover { color: rgba(0,0,0,.7); }
  [data-theme="light"] .mbn-item.mbn-active { color: #4f46e5; border-top-color: #4f46e5; }

  /* Ajouter padding en bas du body pour pas que le contenu soit caché sous la nav */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-brand { flex: none; }
  #footer { padding: 52px 20px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .footer-nav { flex-direction: column; gap: 28px; }
}
