/* =========================================================
   GY CODING — Design system
   ========================================================= */

:root {
  --bg: #0a0b0f;
  --bg-alt: #14161c;
  --bg-alt-2: #1b1e26;
  --bg-card: #15171f;
  --border: #262a34;
  --border-light: #323744;

  --text: #f4f5f7;
  --text-muted: #9aa0ac;
  --text-dim: #6b7180;

  --accent: #ff2d3c;
  --accent-dark: #c2101d;
  --accent-glow: rgba(255, 45, 60, 0.35);

  --accent-2: #00d4ff;
  --accent-2-glow: rgba(0, 212, 255, 0.35);

  --success: #2ecc71;
  --warning: #ffb020;

  --font-head: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1360px;

  --header-bg: rgba(10, 11, 15, 0.72);
  --header-bg-scrolled: rgba(10, 11, 15, 0.92);
  --shadow-soft: rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

/* =========================================================
   Light theme override — activated via [data-theme="light"] on <html>
   ========================================================= */
:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-alt: #ffffff;
  --bg-alt-2: #eef0f3;
  --bg-card: #ffffff;
  --border: #e3e5ea;
  --border-light: #cfd3da;

  --text: #14151a;
  --text-muted: #52565f;
  --text-dim: #767b85;

  --accent: #e2102a;
  --accent-dark: #ad0c20;
  --accent-glow: rgba(226, 16, 42, 0.25);

  --accent-2: #007b95;
  --accent-2-glow: rgba(0, 123, 149, 0.22);

  --header-bg: rgba(255, 255, 255, 0.78);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --shadow-soft: rgba(20, 21, 26, 0.12);

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  transition: background-color .25s ease, color .25s ease;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

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

.container-x {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-x { padding-inline: 2rem; }
}

/* Background textures */
.bg-noise {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 26px 26px;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.radial-fade {
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent) 0%, #ff6a4d 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-pad { padding-block: 5.5rem; }
@media (max-width: 767px) { .section-pad { padding-block: 3.25rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: .4rem .9rem;
  border: 1px solid rgba(255,45,60,0.35);
  background: rgba(255,45,60,0.08);
  border-radius: 999px;
}
.eyebrow.cyan {
  color: var(--accent-2);
  border-color: rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.08);
}
.dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}
.dot-live { animation: dot-breathe 2.6s ease-in-out infinite; }
@keyframes dot-breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px currentColor; }
  50% { opacity: .45; box-shadow: 0 0 12px currentColor; }
}

/* Progress bar fill, triggered on scroll via .fill-in */
.bar-fill { width: 0; transition: width 1.1s cubic-bezier(.25,.8,.35,1); }
.bar-fill.fill-in { width: var(--fill, 0%); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.btn-call { padding-top: .6rem; padding-bottom: .6rem; }
.btn-call .call-label { font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.btn-call .call-number { font-size: .95rem; font-weight: 700; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--accent-glow); }

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1.15rem; font-size: .82rem; }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px var(--shadow-soft);
}

.icon-tile {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,45,60,0.15), rgba(255,45,60,0.02));
  border: 1px solid rgba(255,45,60,0.25);
  color: var(--accent);
  flex-shrink: 0;
}
.icon-tile.cyan {
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.02));
  border-color: rgba(0,212,255,0.25);
  color: var(--accent-2);
}
.icon-tile svg { width: 26px; height: 26px; }

/* Header */
#site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
#site-header.scrolled {
  border-bottom-color: var(--border);
  background: var(--header-bg-scrolled);
}
.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .5rem 0;
  transition: color .18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* "New" notification dot (e.g. next to Nouveautés) */
.notif-dot {
  display: none;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: super;
}
.notif-dot.is-visible {
  display: inline-block;
  animation: gyc-notif-pulse 1.8s ease-out infinite;
}
@keyframes gyc-notif-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,16,42,.55); }
  70% { box-shadow: 0 0 0 6px rgba(226,16,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,16,42,0); }
}

.dropdown-panel {
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Mobile nav */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
#mobile-menu.open {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile nav accordions (Services / Découvrir groups) */
.mobile-accordion { border-bottom: 1px solid var(--border); }
.mobile-accordion:last-of-type { border-bottom: none; }
.mobile-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  cursor: pointer;
  user-select: none;
}
.mobile-accordion summary::-webkit-details-marker { display: none; }
.mobile-accordion-chevron { flex-shrink: 0; color: var(--text-dim); transition: transform .2s ease; }
.mobile-accordion[open] .mobile-accordion-chevron { transform: rotate(180deg); }
.mobile-accordion-body {
  display: flex;
  flex-direction: column;
  margin: 0 0 .5rem .25rem;
  padding-left: .75rem;
  border-left: 2px solid var(--border);
}
.mobile-accordion-body .nav-link { font-size: .85rem; padding: .45rem 0; }
.mobile-accordion-body .nav-link-all { color: var(--accent); font-weight: 600; }

/* Top bar */
.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: .78rem; }

/* Hero */
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 10%, rgba(255,45,60,0.18), transparent 60%),
    radial-gradient(45% 40% at 10% 90%, rgba(0,212,255,0.12), transparent 60%),
    var(--bg);
}
@media (min-width: 768px) { .hero { padding-top: 6.25rem; } }
.hero-stripe {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 90px);
}

/* Stat counter */
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
}

/* Accordion (FAQ) */
.acc-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.35rem; text-align: left; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; background: none; border: none; color: var(--text);
}
.acc-icon { flex-shrink: 0; transition: transform .25s ease; color: var(--accent); }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel-inner { padding: 0 1.35rem 1.25rem; color: var(--text-muted); font-size: .93rem; }

/* Timeline / process steps */
.step-line {
  position: absolute; top: 26px; left: 26px; right: 26px; height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
  display: none;
}
@media (min-width: 1024px) { .step-line { display: block; } }

/* Marquee (zone / brands) */
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Brand logos strip (marques prises en charge) */
.marquee-track.brands-track { gap: 2.75rem; animation-duration: 46s; }
.brand-logo-tile {
  display: flex; align-items: center; justify-content: center;
  height: 40px; opacity: .55; filter: grayscale(1);
  transition: opacity .2s ease;
  flex-shrink: 0;
}
.brand-logo-tile:hover { opacity: 1; }
.brand-logo-tile img { height: 24px; width: auto; display: block; }
.brand-logo-tile.is-text { color: var(--text-muted); font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .04em; white-space: nowrap; }
:root:not([data-theme="light"]) .brand-logo-tile img { filter: invert(1); }

/* Testimonials */
.testimonial-track { display: flex; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.testimonial-slide { flex: 0 0 100%; }

/* Floating WhatsApp button */
#float-whatsapp {
  position: fixed; right: 1.25rem; bottom: 5.85rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 26px -8px rgba(37,211,102,0.55);
  transition: transform .25s ease;
}
#float-whatsapp:hover { transform: translateY(-3px); }
@media (max-width: 480px) {
  #float-whatsapp { width: 48px; height: 48px; bottom: 5.5rem; }
}

/* Floating chat widget */
.gyc-chat-toggle {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 95;
  width: 58px; height: 58px; border-radius: 999px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 30px -8px var(--accent-glow);
  color: #fff; transition: transform .25s ease;
}
.gyc-chat-toggle:hover { transform: translateY(-3px); }
.gyc-chat-toggle .chat-icon-close { display: none; }
.gyc-chat-toggle.open .chat-icon-open { display: none; }
.gyc-chat-toggle.open .chat-icon-close { display: block; }

.gyc-chat-panel {
  position: fixed; right: 1.25rem; bottom: 5.75rem; z-index: 94;
  width: min(370px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 8rem));
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  overflow: hidden;
}
.gyc-chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.gyc-chat-header {
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.gyc-chat-header-info { display: flex; align-items: center; gap: .6rem; }
.gyc-chat-avatar-icon {
  width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gyc-chat-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.gyc-chat-status { display: flex; align-items: center; gap: .35rem; font-size: .72rem; opacity: .9; margin-top: .1rem; }
.gyc-chat-close {
  background: rgba(255,255,255,.15); border: none; color: #fff; width: 28px; height: 28px;
  border-radius: 999px; font-size: 1.1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.gyc-chat-body {
  flex: 1; overflow-y: auto; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .7rem; background: var(--bg-alt);
}
.gyc-chat-bubble { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; font-size: .84rem; line-height: 1.45; }
.gyc-chat-bubble.bot { align-self: flex-start; background: var(--bg-alt-2); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.gyc-chat-bubble.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.gyc-chat-bubble a { text-decoration: underline; }

.gyc-chat-questions { display: flex; flex-direction: column; gap: .45rem; margin-top: .2rem; }
.gyc-chat-chip {
  text-align: left; background: var(--bg); border: 1px solid var(--border-light); color: var(--text);
  padding: .55rem .8rem; border-radius: 10px; font-size: .8rem; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.gyc-chat-chip:hover { border-color: var(--accent); color: var(--accent); }

.gyc-chat-footer {
  padding: .85rem 1.1rem 1.1rem; border-top: 1px solid var(--border); background: var(--bg);
  display: flex; flex-direction: column; gap: .55rem; flex-shrink: 0;
}
.gyc-chat-emergency { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.gyc-chat-whatsapp-link { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--text-muted); transition: color .15s ease; }
.gyc-chat-whatsapp-link:hover { color: #25D366; }

@media (max-width: 480px) {
  .gyc-chat-toggle { right: .9rem; bottom: .9rem; width: 52px; height: 52px; }
  .gyc-chat-panel { right: .75rem; bottom: 5.5rem; width: calc(100vw - 1.5rem); }
}

/* Toast notification */
.gyc-toast {
  position: fixed; top: 1.25rem; left: 50%; z-index: 300;
  display: flex; align-items: center; gap: .6rem;
  max-width: calc(100vw - 2rem);
  padding: .85rem 1.1rem;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.35);
  font-size: .85rem; font-weight: 600; color: var(--text);
  transform: translate(-50%, -150%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}
.gyc-toast.show { transform: translate(-50%, 0); opacity: 1; }
.gyc-toast-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--success); color: #fff;
}
@media (max-width: 480px) {
  .gyc-toast { top: .9rem; font-size: .8rem; padding: .75rem .9rem; }
}

/* Cookie consent banner — small floating card, bottom-left */
.gyc-cookie-banner {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 200;
  max-width: 320px;
  transform: translateY(calc(100% + 1.5rem)); transition: transform .3s ease;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.35);
}
.gyc-cookie-banner.open { transform: translateY(0); }
body.gyc-cookie-active #float-whatsapp,
body.gyc-cookie-active .gyc-chat-toggle,
body.gyc-cookie-active .gyc-chat-panel { display: none; }
.gyc-cookie-content {
  padding: .9rem 1rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.gyc-cookie-content p { font-size: .74rem; line-height: 1.45; color: var(--text-muted); margin: 0; }
.gyc-cookie-content a { color: var(--accent); text-decoration: underline; }
.gyc-cookie-actions { display: flex; gap: .5rem; }
.gyc-cookie-actions .btn { flex: 1; padding: .45rem .8rem; font-size: .78rem; }
@media (max-width: 480px) {
  .gyc-cookie-banner { left: .6rem; right: .6rem; max-width: none; }
}

.gyc-elfsight-placeholder {
  border: 1px dashed var(--border-light); border-radius: var(--radius); padding: 2.5rem 1.5rem;
  text-align: center; color: var(--text-muted); background: var(--bg-alt-2);
}
.gyc-elfsight-placeholder p { margin-bottom: 1.1rem; font-size: .9rem; }

.gyc-cookie-manage-link {
  background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease;
}
.gyc-cookie-manage-link:hover { color: var(--accent); }

.form-price-note {
  display: flex; align-items: flex-start; gap: .55rem; font-size: .78rem; line-height: 1.5; color: var(--text-muted);
  background: var(--bg-alt-2); border: 1px solid var(--border-light); border-radius: 10px; padding: .7rem .85rem;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-alt-2); border: 1px solid var(--border); padding: .35rem .75rem; border-radius: 999px;
}
.badge-accent { color: var(--accent); border-color: rgba(226,16,42,.35); background: rgba(226,16,42,.08); }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Page hero (inner pages) */
.page-hero {
  padding-top: 2.25rem; padding-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
  position: relative;
}
@media (min-width: 768px) { .page-hero { padding-top: 2.75rem; } }

/* Form elements */
.field-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: .4rem; display: block; }
.field-input, .field-select, .field-textarea {
  width: 100%; background: var(--bg-alt-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem .95rem; color: var(--text); font-size: .92rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,45,60,0.15);
}
.field-textarea { resize: vertical; min-height: 130px; }

/* Table (pricing factors) */
table.simple-table { width: 100%; border-collapse: collapse; }
table.simple-table th, table.simple-table td {
  border: 1px solid var(--border); padding: .85rem 1rem; font-size: .9rem; text-align: left;
}
table.simple-table th { background: var(--bg-alt-2); font-family: var(--font-head); color: var(--text); }
table.simple-table td { color: var(--text-muted); }

/* Utility */
.divider-fade { height: 1px; background: linear-gradient(90deg, transparent, var(--border-light), transparent); }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* =========================================================
   Logo + theme toggle
   ========================================================= */
.site-logo { display: block; height: 64px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 480px) { .site-logo { height: 52px; } }
.site-logo.logo-light { display: none; }
:root[data-theme="light"] .site-logo.logo-dark { display: none; }
:root[data-theme="light"] .site-logo.logo-light { display: block; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--bg-alt-2);
  color: var(--text-muted); cursor: pointer; flex-shrink: 0;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: .5rem;
  height: 40px; padding: 0 .55rem 0 .9rem;
  border-radius: 999px; border: 1px solid var(--border); background: var(--bg-alt-2);
  color: var(--text); cursor: pointer; white-space: nowrap;
  transition: border-color .18s ease;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .lang-label {
  font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--text-dim);
}
.lang-toggle .lang-current {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
}
.lang-toggle .lang-chevron { color: var(--text-dim); transition: transform .2s ease; flex-shrink: 0; }
.lang-toggle.open .lang-chevron { transform: rotate(180deg); }

.lang-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 110;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  min-width: 170px; padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.lang-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: block; width: 100%; text-align: left; padding: .55rem .75rem; border-radius: 7px;
  font-size: .85rem; font-family: var(--font-body); color: var(--text-muted);
  background: none; border: none; cursor: pointer;
}
.lang-option:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.lang-option.active { color: var(--accent); font-weight: 600; }

/* Compact variant used inside the topbar */
.topbar-lang .lang-toggle {
  height: auto; padding: 0; border: none; background: none; gap: .3rem; color: inherit;
}
.topbar-lang .lang-toggle .lang-label { font-size: inherit; color: inherit; }
.topbar-lang .lang-toggle .lang-current { font-size: inherit; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.topbar-lang .lang-toggle:hover .lang-current { color: var(--accent); }
.topbar-lang .lang-toggle .lang-chevron { width: 12px; height: 12px; }
.topbar-lang .lang-panel { top: calc(100% + 10px); left: 0; right: auto; }

.lang-mobile-row { display: flex; gap: .5rem; padding-top: .25rem; }
.lang-mobile-row .lang-option {
  display: inline-flex; width: auto; align-items: center; justify-content: center;
  padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--text-muted);
}
.lang-mobile-row .lang-option.active { border-color: var(--accent); color: var(--accent); }

/* Photo gallery */
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt-2);
}
.gallery-photo { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem .8rem; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); color: #fff;
}

/* Small inline feature photo, next to intro text (service pages, blog articles, about) */
.feature-photo-sm {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt-2);
  flex-shrink: 0;
}
.feature-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .feature-photo-sm { max-width: 100%; } }

/* Portrait variant, for vertical (phone-shot) video/photo */
.feature-photo-sm.is-portrait { max-width: 160px; aspect-ratio: 9/16; }
@media (max-width: 640px) { .feature-photo-sm.is-portrait { max-width: 220px; } }

/* Medium side photo (news / nouveautés cards) — image smaller than the text zone beside it */
.news-photo-side {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt-2);
  flex-shrink: 0;
}
@media (max-width: 640px) { .news-photo-side { max-width: 100%; } }

/* 404 page */
.error-404-code {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(5rem, 18vw, 10rem); line-height: 1;
}
