/* ============================================
   CopperSentry — Thème « Or & Vert » (marque)
   Or #e6a417 · Vert #8aa02f · Charbon verdâtre · Crème (jour)
   Polices souveraines auto-hébergées : Space Grotesk (titres) + Inter (corps)
   ============================================ */

/* ---------- Polices souveraines (aucun CDN, aucun appel externe) ---------- */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-400-normal.woff2") format("woff2"),
       url("/assets/fonts/space-grotesk-latin-ext-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"),
       url("/assets/fonts/space-grotesk-latin-ext-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"),
       url("/assets/fonts/space-grotesk-latin-ext-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"),
       url("/assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"),
       url("/assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"),
       url("/assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"),
       url("/assets/fonts/inter-latin-ext-700-normal.woff2") format("woff2"); }

/* ---------- Variables ---------- */
:root {
  --charbon: #15160e;
  --charbon-light: #1e2013;
  --charbon-lighter: #262919;
  --cuivre: #e6a417;         /* OR — accent principal (la coche-flèche) */
  --cuivre-dark: #b7810d;
  --cuivre-light: #f5c04a;
  --vert: #8aa02f;           /* VERT — accent secondaire / halo / sonar */
  --vert-clair: #b6cc5a;
  --text: #f4f2e8;
  --text-muted: #a7a894;
  --text-dim: #6f7060;
  --border: #2b2c1f;
  --border-light: #3a3c2a;
  --success: #7db63a;
  --warning: #e6a417;
  --error: #e5533d;
  --info: #8aa02f;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --transition: 0.2s ease;
  --max-width: 1200px;
  --header-height: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-titre: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Mode jour — blanc cassé crème (bascule via .light sur <html>) */
:root.light {
  --charbon: #f7f4ec;        /* crème — fond jour */
  --charbon-light: #ffffff;
  --charbon-lighter: #efeadd;
  --cuivre: #b7810d;         /* OR assombri pour contraste sur crème */
  --cuivre-dark: #946608;
  --cuivre-light: #d69e1f;
  --vert: #6f8526;           /* VERT assombri pour contraste sur crème */
  --vert-clair: #8aa02f;
  --text: #1c1d12;
  --text-muted: #6b6a55;
  --text-dim: #9a9884;
  --border: #e2ddcd;
  --border-light: #d3cdb8;
  --shadow: 0 4px 20px rgba(60,50,10,0.10);
  --shadow-sm: 0 2px 8px rgba(60,50,10,0.08);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--charbon);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, .brand, .pricing-price, .stat-num {
  font-family: var(--font-titre);
  letter-spacing: -0.02em;
}

a { color: var(--cuivre); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cuivre-light); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- RTL ---------- */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .flex-row { flex-direction: row-reverse; }
[dir="rtl"] .text-left { text-align: right; }
[dir="rtl"] .text-right { text-align: left; }
[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }
[dir="rtl"] .mr-auto { margin-right: 0; margin-left: auto; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; padding: 32px 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--charbon-light);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.brand img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--cuivre);
  background: rgba(230,164,23,0.10);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charbon-light);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: auto;
  transition: background var(--transition), border-color var(--transition);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 {
  color: var(--cuivre);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--cuivre);
  color: var(--charbon);
}
.btn-primary:hover:not(:disabled) {
  background: var(--cuivre-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--charbon-lighter);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--border-light);
  border-color: var(--cuivre);
}

.btn-danger {
  background: rgba(244,67,54,0.15);
  color: var(--error);
  border: 1px solid rgba(244,67,54,0.3);
}
.btn-danger:hover:not(:disabled) {
  background: rgba(244,67,54,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover:not(:disabled) { color: var(--text); }

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form-group label .req { color: var(--cuivre); margin-left: 2px; }
[dir="rtl"] .form-group label .req { margin-left: 0; margin-right: 2px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--charbon-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cuivre);
  box-shadow: 0 0 0 3px rgba(196,122,61,0.15);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9895' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
[dir="rtl"] select {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 40px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-light); }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td { padding: 14px 16px; text-align: left; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
th {
  background: var(--charbon-lighter);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
td { border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(196,122,61,0.03); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-pending { background: rgba(255,152,0,0.12); color: var(--warning); }
.badge-verified { background: rgba(76,175,80,0.12); color: var(--success); }
.badge-revoked { background: rgba(244,67,54,0.12); color: var(--error); }
.badge-live { background: rgba(33,150,243,0.12); color: var(--info); }
.badge-test { background: rgba(158,158,158,0.12); color: var(--text-muted); }

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.alert-error { background: rgba(244,67,54,0.08); color: var(--error); border-color: rgba(244,67,54,0.2); }
.alert-success { background: rgba(76,175,80,0.08); color: var(--success); border-color: rgba(76,175,80,0.2); }
.alert-warning { background: rgba(255,152,0,0.08); color: var(--warning); border-color: rgba(255,152,0,0.2); }
.alert-info { background: rgba(33,150,243,0.08); color: var(--info); border-color: rgba(33,150,243,0.2); }
.alert:empty { display: none; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  transform: scale(0.96);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-title { font-size: 1.2rem; font-weight: 600; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ---------- Utilities ---------- */
.flex { display: flex; }
.flex-row { display: flex; flex-direction: row; align-items: center; gap: 16px; }
.flex-col { display: flex; flex-direction: column; gap: 16px; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.5rem; }
.text-2xl { font-size: 2rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-cuivre { color: var(--cuivre); }
.w-full { width: 100%; }
.max-w-md { max-width: 480px; }
.max-w-lg { max-width: 640px; }
.max-w-xl { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--charbon-light);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1,
.hero .hero-titre-suite {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 span,
.hero .hero-titre-suite span { color: var(--cuivre); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--cuivre); }
.pricing-card.featured {
  border-color: var(--cuivre);
  box-shadow: 0 0 0 1px var(--cuivre), var(--shadow);
}
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--cuivre); margin: 16px 0; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-features { list-style: none; margin: 24px 0; }
.pricing-features li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ---------- Scanner ---------- */
.scanner-box {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.scan-input-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.scan-input-wrap input { flex: 1; }

.scan-results {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---------- Auth pages ---------- */
.auth-box {
  max-width: 420px;
  margin: 60px auto;
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.auth-box .brand { justify-content: center; margin-bottom: 24px; }
.auth-box h2 { text-align: center; margin-bottom: 8px; }
.auth-box p { text-align: center; color: var(--text-muted); margin-bottom: 28px; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Dashboard ---------- */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard-header h1 { font-size: 1.75rem; font-weight: 700; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  opacity: 0.4;
  stroke: var(--text-muted);
}

/* ---------- Domain verification ---------- */
.verif-box {
  background: var(--charbon-lighter);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}
.verif-box code {
  display: block;
  background: var(--charbon);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  color: var(--cuivre-light);
  margin-top: 8px;
  word-break: break-all;
}

/* ---------- Key reveal ---------- */
.key-reveal {
  background: var(--charbon-lighter);
  border: 1px solid var(--cuivre);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
  position: relative;
}
.key-reveal code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  color: var(--cuivre-light);
  word-break: break-all;
}
.key-reveal .copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}
[dir="rtl"] .key-reveal .copy-btn { right: auto; left: 12px; }

/* ---------- Lang switcher ---------- */
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--charbon-lighter);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--cuivre);
  color: var(--charbon);
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.theme-toggle:hover { color: var(--text); background: var(--charbon-lighter); }

/* ---------- Spinner ---------- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(196,122,61,0.2);
  border-top-color: var(--cuivre);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--charbon-light);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a { width: 100%; text-align: center; }
  .scan-input-wrap { flex-direction: column; }
  .dashboard-header { flex-direction: column; align-items: flex-start; }
  .auth-box { margin: 24px auto; padding: 24px; }
  .hero { padding: 48px 0 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .btn, .theme-toggle, .lang-switch, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ccc; }
}


/* ---------- Auth pages (connexion / inscription) ---------- */
.auth-layout {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  align-items: stretch;
}
.auth-form-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-visual-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charbon-light);
  overflow: hidden;
  position: relative;
}
.auth-visual-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,21,26,0.6) 0%, rgba(20,21,26,0.2) 100%);
  pointer-events: none;
}
.auth-visual-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-form {
  width: 100%;
  max-width: 420px;
}
.auth-form .brand {
  justify-content: center;
  margin-bottom: 24px;
}
.auth-form h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 700;
}
.auth-form .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 56px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.password-toggle:hover {
  color: var(--text);
}
[dir="rtl"] .password-wrap input {
  padding-right: 14px;
  padding-left: 56px;
}
[dir="rtl"] .password-toggle {
  right: auto;
  left: 10px;
}
.password-hint {
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 1.4em;
}
.password-hint.ok { color: var(--success); }
.password-hint.ko { color: var(--error); }
.password-hint.info { color: var(--text-dim); }

@media (max-width: 900px) {
  .auth-visual-col { display: none; }
  .auth-layout { flex-direction: column; }
  .auth-form-col { padding: 24px 16px; }
}

/* ---------- Tableau de bord ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.dashboard-card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.dashboard-card:hover {
  border-color: var(--cuivre);
  transform: translateY(-2px);
}
.dashboard-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--cuivre);
}
.dashboard-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.dashboard-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}


/* ---------- Tableau de bord ---------- */
.stats-bar {
  display: flex;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.stat-item {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  min-width: 180px;
  flex: 1;
}
.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cuivre);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.onboarding-box {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  max-width: 560px;
  margin: 32px auto;
}
.onboarding-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.onboarding-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .stats-bar { flex-direction: column; }
  .stat-item { min-width: auto; }
}


/* ---------- Domaines & Clés — cartes mobiles ---------- */
.mobile-cards {
  display: none;
}
.mobile-card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.mobile-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-card-row:last-child {
  border-bottom: none;
}
.mobile-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}
.mobile-card-value {
  color: var(--text);
  font-size: 0.95rem;
}

/* ---------- Jeton copiable ---------- */
.token-box {
  background: var(--charbon-lighter);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  margin: 16px 0;
  position: relative;
}
.token-box code {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
  color: var(--cuivre-light);
  word-break: break-all;
  padding-right: 80px;
}
[dir="rtl"] .token-box code {
  padding-right: 0;
  padding-left: 80px;
}
.token-box .copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}
[dir="rtl"] .token-box .copy-btn {
  right: auto;
  left: 12px;
}

/* ---------- Modale bloquante (clés) ---------- */
.modal-locked .modal-close {
  display: none;
}
.modal-locked .modal-overlay {
  cursor: default;
}

/* ---------- Explications méthodes ---------- */
.method-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 10px 14px;
  background: var(--charbon-lighter);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cuivre);
}
[dir="rtl"] .method-help {
  border-left: none;
  border-right: 3px solid var(--cuivre);
}

/* ---------- Exemple curl ---------- */
.curl-box {
  background: var(--charbon-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  position: relative;
}
.curl-box pre {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  padding-right: 80px;
}
[dir="rtl"] .curl-box pre {
  padding-right: 0;
  padding-left: 80px;
}
.curl-box .copy-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}
[dir="rtl"] .curl-box .copy-btn {
  right: auto;
  left: 16px;
}

/* ---------- Rate limit info ---------- */
.rate-limit-info {
  text-align: center;
  padding: 12px;
  background: var(--charbon-lighter);
  border-radius: var(--radius);
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.rate-limit-info strong {
  color: var(--cuivre);
}

/* ---------- Sandbox notice ---------- */
.sandbox-notice {
  background: rgba(255,152,0,0.08);
  border: 1px solid rgba(255,152,0,0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--warning);
}

/* ---------- Mobile responsive ---------- */
@media (max-width: 768px) {
  .table-wrap table { display: none; }
  .mobile-cards { display: block; }
}

/* ---------- Modale de confirmation ---------- */
.confirm-modal .modal {
  max-width: 420px;
}
.confirm-modal .modal-body {
  padding: 8px 0 20px;
}
.confirm-modal .modal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.confirm-modal .modal-body .domain-name {
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-top: 8px;
  padding: 12px;
  background: var(--charbon-lighter);
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ================================================================== */
/* Resultats de scan — ajoute le 25-08-2026.                          */
/* Le nouveau scanner.js affiche les findings du moteur (schema        */
/* guard.findings/1) ; ces classes n'existaient pas encore. Elles      */
/* reutilisent les variables du theme, jamais de couleur en dur, pour  */
/* suivre la bascule jour/nuit comme le reste.                         */
/* ================================================================== */

.font-mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Liens de navigation reserves aux comptes connectes : masques par
   defaut. layout.js les revele apres /api/comptes/moi. Sans cette regle,
   un visiteur deconnecte les voit clignoter avant la reponse. */
.nav-auth { display: none; }

/* Severites. Memes teintes que les badges deja definis (pending /
   verified / revoked), pour une seule grammaire visuelle. */
.badge-danger  { background: rgba(244, 67, 54, 0.12);  color: var(--error); }
.badge-warning { background: rgba(255, 152, 0, 0.12);  color: var(--warning); }
.badge-info    { background: rgba(33, 150, 243, 0.12); color: var(--info); }
.badge-muted   { background: var(--charbon-lighter);   color: var(--text-muted); }

.scan-engines { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.scan-findings { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

.finding-card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 18px;
}
/* Le liseré gauche reprend la sévérité : repérable d'un coup d'œil en
   parcourant une longue liste, sans dépendre de la seule couleur du
   badge (qui porte aussi son libellé en toutes lettres). */
.finding-card:has(.badge-danger)  { border-left-color: var(--error); }
.finding-card:has(.badge-warning) { border-left-color: var(--warning); }
.finding-card:has(.badge-info)    { border-left-color: var(--info); }

.finding-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.finding-title { font-size: 1rem; color: var(--text); }
.finding-loc { margin-bottom: 8px; word-break: break-all; }
.finding-desc { color: var(--text-muted); margin: 8px 0; line-height: 1.55; }

.finding-evidence {
  background: var(--charbon-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 10px 0;
  overflow-x: auto;      /* un extrait long defile dans SON cadre, */
  white-space: pre;      /* jamais la page entiere */
}
.finding-fix {
  color: var(--text);
  background: rgba(76, 175, 80, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 10px 0 0;
}
.finding-fix strong { color: var(--success); }
.finding-meta { margin-top: 10px; }

@media (max-width: 600px) {
  .finding-card { padding: 14px; }
  .finding-head { gap: 8px; }
}

/* ============================================
   ANIMATIONS (souveraines, CSS + JS externe, CSP stricte)
   ============================================ */

/* --- Halo sonar sur le hero : le métal qui "sonde" --- */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 2; }
.hero-sonar {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-sonar::before,
.hero-sonar::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--cuivre);
  opacity: 0;
  animation: sonar 4s ease-out infinite;
}
.hero-sonar::after { border-color: var(--vert); animation-delay: 2s; }
@keyframes sonar {
  0%   { width: 10px; height: 10px; opacity: 0.55; }
  70%  { opacity: 0.12; }
  100% { width: 1200px; height: 1200px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sonar::before, .hero-sonar::after { animation: none; display: none; }
}

/* --- Scroll reveal (piloté par IntersectionObserver dans /js/anim.js) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Bandeau de statistiques + compteurs animés --- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 8px auto 0;
  max-width: 960px;
}
.stat-card {
  background: var(--charbon-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--cuivre);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix { color: var(--vert); }
.stat-label { color: var(--text-muted); margin-top: 8px; font-size: 0.95rem; }

/* --- Carte "détecte ET répare" : liseré or→vert --- */
.split-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.badge-duo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--charbon-light);
  font-weight: 600; font-size: 0.95rem;
}
.badge-duo .dot { width: 8px; height: 8px; border-radius: 50%; }
.badge-duo.detecte .dot { background: var(--cuivre); }
.badge-duo.repare  .dot { background: var(--vert); }

/* ============================================
   TARIFS & COCKPIT — classes additionnelles
   ============================================ */
.section-titre { font-size: 1.6rem; margin-bottom: 4px; }
.section-sous { margin-bottom: 24px; }

.pricing-grid-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pricing-badge {
  display: inline-block;
  background: var(--cuivre); color: #15160e;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.pricing-card { position: relative; }

/* Tables (attestations, cockpit) */
.grid-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.grid-table th, .grid-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.grid-table thead th {
  color: var(--text-muted); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.grid-table tbody tr:hover { background: var(--charbon-lighter); }
.grid-table .att-vedette td { color: var(--cuivre); font-weight: 700; }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ---------- Cockpit ---------- */
.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.kpi-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; margin-bottom: 8px;
}
.kpi {
  background: var(--charbon-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.kpi-num { font-family: var(--font-titre); font-size: 2rem; font-weight: 700; color: var(--cuivre); line-height: 1; }
.kpi-num.alerte { color: var(--error); }
.kpi-label { color: var(--text-muted); font-size: .85rem; margin-top: 6px; }
.cockpit-panel {
  background: var(--charbon-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.cockpit-panel h3 {
  font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.pastille { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.pastille.on { background: var(--success); }
.pastille.off { background: var(--text-dim); }
.pastille.warn { background: var(--warning); }
.depot-item {
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.depot-item:last-child { border-bottom: none; }
.depot-type {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px; margin-right: 8px;
}
.depot-type.alerte { background: rgba(229,83,61,.15); color: var(--error); }
.depot-type.rapport { background: rgba(138,160,47,.15); color: var(--vert-clair); }
.depot-type.proposition { background: rgba(230,164,23,.15); color: var(--cuivre-light); }
.jauge {
  height: 10px; border-radius: 999px; background: var(--charbon-lighter);
  overflow: hidden; margin: 10px 0;
}
.jauge > span { display: block; height: 100%; background: linear-gradient(90deg, var(--vert), var(--cuivre)); border-radius: 999px; }
.jauge.sature > span { background: var(--error); }

/* ============================================
   HERO DE MARQUE — bannière + texte (accueil)
   ============================================ */
.hero-marque { text-align: left; padding: 64px 0 56px; overflow: hidden; }
.hero-grille {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  color: var(--vert);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 16px;
}
.hero-marque .split-badges { justify-content: flex-start; }
.hero-cta { margin-top: 28px; flex-wrap: wrap; }

.hero-visuel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(230,164,23,.15);
  animation: flotter 6s ease-in-out infinite;
}
.hero-visuel::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(138,160,47,.15);
  pointer-events: none;
}
.hero-visuel img { display: block; width: 100%; height: auto; }
@keyframes flotter {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visuel { animation: none; }
}
:root.light .hero-visuel { box-shadow: 0 16px 44px rgba(60,50,10,.18), 0 0 0 1px rgba(183,129,13,.2); }

/* Empilé sur mobile/tablette */
@media (max-width: 860px) {
  .hero-marque { text-align: center; }
  .hero-grille { grid-template-columns: 1fr; gap: 32px; }
  .hero-marque .split-badges, .hero-cta { justify-content: center; }
  .hero-visuel { max-width: 560px; margin: 0 auto; }
}

/* ============================================
   SCANNER — onglets d'import (git / archive / coller)
   ============================================ */
.scan-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.scan-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
}
.scan-tab:hover { color: var(--text); }
.scan-tab.active { color: var(--cuivre); border-bottom-color: var(--cuivre); }

.scan-panel { animation: apparaitre 0.25s ease; }
@keyframes apparaitre { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
input[type="file"].input {
  width: 100%;
  padding: 10px 12px;
  background: var(--charbon-lighter);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
}
input[type="file"].input::file-selector-button {
  background: var(--charbon-lighter);
  color: var(--cuivre);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-right: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.text-error { color: var(--error); }

/* ---------- Connexion Google ---------- */
.google-zone { margin-top: 18px; }
.auth-sep {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dim); font-size: .85rem; margin: 4px 0 14px;
}
.auth-sep::before, .auth-sep::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.btn-google {
  background: var(--charbon-light);
  color: var(--text);
  border: 1px solid var(--border-light);
  gap: 10px;
}
.btn-google:hover { border-color: var(--cuivre); background: var(--charbon-lighter); }
.btn-google .g-logo {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: #4285f4; font-weight: 700; font-family: var(--font-titre);
  font-size: .9rem; line-height: 1;
}

/* ============================================
   Correctif en-tête + menu de langue déroulant
   ============================================ */
/* Logo : ne jamais laisser « CopperSentry » passer à la ligne (chevauchait
   « Accueil »). Le bloc marque garde sa largeur, la nav se replie autour. */
.brand { flex-shrink: 0; }
.brand span { white-space: nowrap; }
.site-header .container { gap: 16px; }
.main-nav { flex-wrap: wrap; }

/* Drapeau (SVG inline) */
.flag {
  display: inline-block; width: 20px; height: 14px; flex: none;
  border-radius: 2px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  background: var(--charbon-lighter);
}
.flag svg { display: block; width: 100%; height: 100%; }

/* Menu déroulant des langues */
.lang-dd { position: relative; display: inline-block; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--charbon-lighter); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 5px 9px; cursor: pointer;
  font-family: inherit; font-size: .85rem; font-weight: 600;
  transition: border-color var(--transition);
}
.lang-dd-btn:hover { border-color: var(--cuivre); }
.lang-dd-btn .caret { color: var(--text-muted); font-size: .7rem; }

/* Le menu porte aussi .lang-switch (pour le handler i18n) : on ANNULE son
   ancien style « rangée » et on impose une colonne. */
.lang-dd-menu.lang-switch, .lang-dd-menu {
  display: block; gap: 0;
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 172px; margin: 0; padding: 6px; list-style: none;
  background: var(--charbon-light); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); z-index: 200;
}
/* L'attribut `hidden` doit gagner sur le display:block ci-dessus (sinon le
   menu reste figé ouvert et ne se déroule jamais à la demande). Sélecteur plus
   spécifique + placé APRÈS = il l'emporte quand le JS pose hidden. */
.lang-dd-menu[hidden] { display: none; }
.lang-dd-menu li { list-style: none; display: block; }
.lang-dd-menu .lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; color: var(--text);
  font-family: inherit; font-size: .92rem; font-weight: 500; text-align: left;
  padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.lang-dd-menu .lang-item:hover { background: var(--charbon-lighter); color: var(--cuivre); }

/* Dans le pied de page, le menu s'ouvre vers le HAUT (sinon il sort de l'écran). */
.site-footer .lang-dd-menu { top: auto; bottom: calc(100% + 6px); right: auto; left: 0; }
[dir="rtl"] .lang-dd-menu { right: auto; left: 0; }
