/*
Theme Name: Deyxia
Theme URI: https://deyxia.com
Author: Deyxia
Description: Thème une page, sombre, pour une plateforme d'applications IA et d'intelligence d'affaires : hero avec tableau de bord, avantages, catalogue d'applications filtrable, tarifs mensuels/annuels, aperçu de l'espace client, témoignages, à propos, blog, contact et fenêtres de connexion et de démo.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deyxia
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, blog
*/

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

:root {
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --navy-card: #151C2C;
  --navy-border: #1E2A3D;
  --accent: #00D4FF;
  --accent2: #4F46E5;
  --accent3: #06B6D4;
  --green: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;
  --text-primary: #F0F4FF;
  --text-secondary: #8B9DB5;
  --text-muted: #4A5568;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 99px; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .4;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 2rem;

}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 14px;
  color: #fff; letter-spacing: -0.5px;
}

.logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.logo-text span { color: var(--accent); }

.primary-menu {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}

.primary-menu a {
  color: var(--text-secondary); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  transition: all .2s;
}

.primary-menu a:hover { color: var(--text-primary); background: var(--glass); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: .5rem;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: .825rem;
  width: 100%;
}

.nav-dropdown-menu a:hover { background: var(--glass); color: var(--text-primary); }

.nav-actions { display: flex; gap: .75rem; align-items: center; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .625rem 1.25rem; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: .875rem;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--navy-border);
}
.btn-ghost:hover { background: var(--glass); color: var(--text-primary); border-color: var(--glass-border); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent2), #6366F1);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(79,70,229,0.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: var(--navy);
  font-weight: 600;
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,212,255,0.35); }

.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-outline:hover { background: var(--glass); border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }

/* ─── HERO ─── */
#accueil {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 2rem 80px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(79,70,229,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(16,185,129,0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:

    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 99px; padding: .4rem 1rem;
  font-size: .78rem; font-weight: 500; color: var(--accent);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(0.8); }

}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title .line-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2), #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex; gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}

.hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem; font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-val span { color: var(--accent); }
.hero-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }

/* ─── HERO VISUAL ─── */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.mock-titlebar {
  background: var(--navy-mid);
  padding: .75rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--navy-border);
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; }

.mock-body { padding: 1.25rem; }

.mock-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}

.mock-title-sm { font-family: 'Syne', sans-serif; font-size: .875rem; font-weight: 700; }
.mock-badge-live {
  display: flex; align-items: center; gap: 4px;
  font-size: .7rem; color: var(--green);
  background: rgba(16,185,129,0.1);
  padding: .25rem .6rem; border-radius: 99px;
  border: 1px solid rgba(16,185,129,0.2);
}

.mock-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }

.mock-kpi {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; padding: .75rem;
}

.mock-kpi-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  margin-bottom: 2px;
}

.mock-kpi-label { font-size: .65rem; color: var(--text-muted); }
.mock-kpi-delta { font-size: .65rem; color: var(--green); margin-top: 4px; }

.mock-chart {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; padding: .75rem;
  margin-bottom: 1rem;
  height: 80px;
  display: flex; align-items: flex-end; gap: 4px; overflow: hidden;
}

.chart-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--accent2), var(--accent));
  opacity: 0.7;
}

.mock-apps { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

.mock-app-row {
  display: flex; align-items: center; gap: .5rem;
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 8px; padding: .5rem .75rem;
}

.mock-app-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; flex-shrink: 0;
}

.mock-app-name { font-size: .7rem; font-weight: 500; }
.mock-app-status { font-size: .6rem; color: var(--green); margin-left: auto; }

.hero-float-card {
  position: absolute;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 12px; padding: .75rem 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.float-card-1 { top: -20px; right: -20px; }
.float-card-2 { bottom: 40px; left: -30px; }

.float-label { font-size: .65rem; color: var(--text-muted); margin-bottom: 4px; }
.float-val { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.float-sub { font-size: .65rem; color: var(--green); }

/* ─── SECTIONS ─── */
section { padding: 80px 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600;
  color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.7;
}

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ─── AVANTAGES ─── */
#avantages { background: var(--navy-mid); }

.avantages-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.avantage-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 2rem;
  transition: all .3s;
  position: relative; overflow: hidden;
}

.avantage-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  opacity: 0; transition: opacity .3s;
}

.avantage-card:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-4px); }
.avantage-card:hover::before { opacity: 1; }

.avantage-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}

.avantage-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.avantage-desc { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; }

.avantage-metric {
  margin-top: 1rem; font-size: .8rem; color: var(--green);
  font-weight: 600;
}

/* ─── APPLICATIONS ─── */
#applications { }

.categories-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cat-tab {
  padding: .45rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--navy-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: .825rem; font-weight: 500;
  cursor: pointer; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}

.cat-tab:hover, .cat-tab.active {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden; transition: all .3s;
  display: flex; flex-direction: column;
}

.app-card:hover {
  border-color: rgba(79,70,229,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.app-card-banner {
  height: 120px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.app-card-icon-lg {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  position: relative; z-index: 1;
}

.app-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.app-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .75rem;
}

.app-cat-badge {
  font-size: .7rem; font-weight: 600;
  padding: .25rem .6rem; border-radius: 99px;
  letter-spacing: .5px;
}

.app-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.app-card-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }

.app-card-target {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--text-muted);
  margin-bottom: 1rem;
}

.app-card-benefit {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--green);
  background: rgba(16,185,129,0.08);
  padding: .4rem .75rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(16,185,129,0.15);
  margin-bottom: 1.25rem;
}

.app-card-actions { display: flex; gap: .75rem; }

/* ─── TARIFS ─── */
#tarifs { background: var(--navy-mid); }

.pricing-toggle {
  display: flex; align-items: center; gap: .75rem;
  justify-content: center; margin-bottom: 3rem;
}

.toggle-label { font-size: .875rem; color: var(--text-secondary); }
.toggle-label.active { color: var(--text-primary); }

.toggle-switch {
  width: 48px; height: 26px;
  background: var(--accent2);
  border-radius: 99px; cursor: pointer;
  position: relative; transition: background .2s;
}

.toggle-switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff; border-radius: 50%;
  transition: transform .2s;
}

.toggle-discount {
  font-size: .75rem; color: var(--green);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  padding: .2rem .5rem; border-radius: 99px;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; align-items: start;
}

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; transition: all .3s;
}

.pricing-card.featured {
  border-color: var(--accent2);
  background: linear-gradient(160deg, rgba(79,70,229,0.12), var(--navy-card));
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-badge-featured {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent2), #6366F1);
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 99px;
  white-space: nowrap; letter-spacing: .5px;
}

.pricing-plan { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.pricing-price { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: .25rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: .825rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

.pricing-divider { height: 1px; background: var(--navy-border); margin: 1.25rem 0; }

.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .825rem; color: var(--text-secondary);
  margin-bottom: .6rem;
}
.pricing-features li .chk { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled .chk { color: var(--text-muted); }

/* ─── TÉMOIGNAGES ─── */
.temoignages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;

}

.temoignage-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .3s;
}

.temoignage-card:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-3px); }

.temoignage-stars { color: var(--amber); font-size: .875rem; margin-bottom: 1rem; }
.temoignage-text { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }

.temoignage-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .875rem;
}
.author-name { font-size: .875rem; font-weight: 600; }
.author-role { font-size: .75rem; color: var(--text-muted); }

/* ─── DASHBOARD PREVIEW ─── */
#espace-client { background: var(--navy-mid); }

.client-dashboard {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);

}

.dash-topbar {
  background: var(--navy-mid);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--navy-border);
}

.dash-topbar-left { display: flex; align-items: center; gap: 1rem; }
.dash-topbar-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; }

.dash-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }

.dash-sidebar {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--navy-border);
  padding: 1.25rem;
}

.dash-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: .6rem .75rem; border-radius: var(--radius-sm);
  font-size: .825rem; color: var(--text-secondary);
  cursor: pointer; transition: all .2s;
  margin-bottom: 2px;
}

.dash-nav-item:hover, .dash-nav-item.active {
  background: var(--glass);
  color: var(--text-primary);
}

.dash-nav-item.active { color: var(--accent); background: rgba(0,212,255,0.06); }

.dash-main { padding: 1.5rem; overflow: hidden; }

.dash-welcome { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.dash-welcome span { color: var(--accent); }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.25rem; }

.dash-kpi {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; padding: .875rem;
}

.dash-kpi-val { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 800; }
.dash-kpi-label { font-size: .7rem; color: var(--text-muted); }

.dash-apps-section { }
.dash-section-title { font-size: .8rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: .75rem; }

.dash-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

.dash-app-tile {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; padding: .875rem;
  display: flex; align-items: center; gap: .75rem;
  cursor: pointer; transition: all .2s;
}

.dash-app-tile:hover { border-color: rgba(79,70,229,0.3); background: rgba(79,70,229,0.05); }

.dash-app-tile-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.dash-app-tile-name { font-size: .78rem; font-weight: 600; margin-bottom: 1px; }
.dash-app-tile-type { font-size: .65rem; color: var(--text-muted); }

/* ─── ADMIN DASHBOARD ─── */
.admin-dashboard {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px; overflow: hidden;
  margin-top: 2rem;
}

.admin-topbar {
  background: rgba(0,0,0,0.3);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid var(--navy-border);
}

.admin-badge {
  background: rgba(244,63,94,0.15);
  border: 1px solid rgba(244,63,94,0.3);
  color: var(--rose); font-size: .7rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 99px;
}

.admin-layout { display: grid; grid-template-columns: 200px 1fr; }

.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.25rem; }

.admin-stat {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; padding: .875rem;
}

.admin-stat-val { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; }
.admin-stat-label { font-size: .7rem; color: var(--text-muted); margin-bottom: 4px; }
.admin-stat-trend { font-size: .65rem; color: var(--green); }

.admin-table {
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 10px; overflow: hidden;
}

.admin-table-header {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: .6rem 1rem; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--navy-border);
}

.admin-table-th { font-size: .7rem; font-weight: 700; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; }

.admin-table-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--navy-border);
  align-items: center; font-size: .8rem;
}

.admin-table-row:last-child { border-bottom: none; }
.status-pill {
  display: inline-block;
  padding: .2rem .6rem; border-radius: 99px;
  font-size: .65rem; font-weight: 700;
}
.status-active { background: rgba(16,185,129,0.1); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
.status-trial { background: rgba(245,158,11,0.1); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }
.status-inactive { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--navy-border); }

/* ─── À PROPOS ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-sectors { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }

.sector-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: .6rem 1rem;
  font-size: .8rem; color: var(--text-secondary);
}

.about-visual {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px; padding: 2rem;
}

.about-mission {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  line-height: 1.4;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(0,212,255,0.05));
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: var(--radius); margin-bottom: 1.5rem;
}

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.value-item {
  padding: 1rem;
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
}

.value-icon { font-size: 1.25rem; margin-bottom: .5rem; }
.value-title { font-size: .825rem; font-weight: 700; margin-bottom: .25rem; }
.value-desc { font-size: .75rem; color: var(--text-muted); }

/* ─── CONTACT ─── */
#contact { background: var(--navy-mid); }

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

.contact-info { }
.contact-method {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); margin-bottom: .75rem;
}
.contact-method-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(79,70,229,0.15); border: 1px solid rgba(79,70,229,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-method-label { font-size: .75rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-method-val { font-size: .875rem; font-weight: 500; }

.contact-form {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 2rem;
}

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

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .4rem; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: .7rem 1rem;
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif; font-size: .875rem;
  transition: border-color .2s;
  outline: none;
}

.form-input:focus, .form-textarea:focus { border-color: var(--accent2); }
.form-textarea { resize: vertical; min-height: 120px; }

/* ─── BLOG ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); overflow: hidden;
  transition: all .3s;
}

.blog-card:hover { transform: translateY(-4px); border-color: rgba(79,70,229,0.3); }

.blog-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body { padding: 1.25rem; }

.blog-cat { font-size: .7rem; font-weight: 700; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: .5rem; }
.blog-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .5rem; }
.blog-excerpt { font-size: .825rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--text-muted); }

/* ─── CTA SECTION ─── */

.cta-section {
  padding: 80px 2rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(0,212,255,0.06));
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 1rem;
}

.cta-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}

.footer-brand-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.7; margin-top: 1rem; margin-bottom: 1.25rem; }

.footer-col-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: .875rem; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .825rem; transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: space-between;
}

.footer-copy { font-size: .78rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .78rem; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--text-primary); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px; padding: 2.5rem;
  max-width: 480px; width: 90%;
  transform: translateY(20px); transition: transform .25s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.modal-subtitle { font-size: .875rem; color: var(--text-secondary); margin-bottom: 2rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text-secondary); border-radius: 8px;
  width: 32px; height: 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.modal { position: relative; }

/* ─── SCROLL ANIMATIONS ─── */
.js .fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── UTILITY ─── */
.text-accent { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.fw-700 { font-weight: 700; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: .5rem; }

.gap-3 { gap: .75rem; }
.mt-1 { margin-top: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.w-full { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .temoignages-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .primary-menu { display: none; }
  .avantages-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .admin-table-header, .admin-table-row { grid-template-columns: 2fr 1fr 1fr; }

  .dash-apps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═════════════════════════════════════════════
   AJOUTS WORDPRESS
   ═════════════════════════════════════════════ */

/* ─── ACCESSIBILITÉ & CLASSES WP ─── */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed !important; top: .5rem; left: .5rem; z-index: 1000;
  clip: auto; clip-path: none; width: auto; height: auto;
  padding: .75rem 1rem; background: var(--accent); color: var(--navy);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption, .entry-content figcaption { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .5rem; }
.sticky, .bypostauthor { }

/* Barre d'administration WordPress */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

/* Ancres sous la barre de navigation fixe */
section[id] { scroll-margin-top: 68px; }

/* Menu « Liens légaux » assigné dans Apparence → Menus */
ul.footer-legal { list-style: none; flex-wrap: wrap; }

/* ─── LOGO ─── */
.nav-logo .custom-logo { height: 36px; width: auto; display: block; }

/* ─── MENUS WORDPRESS (sous-menus) ─── */
.primary-menu li { position: relative; }
.primary-menu .sub-menu {
  list-style: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: .5rem;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 200;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.primary-menu .sub-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: .5rem .75rem; font-size: .825rem; width: 100%;
}
.primary-menu .menu-item-has-children > a::after { content: ' ▾'; }
.primary-menu .current-menu-item > a { color: var(--text-primary); }
.nav-mobile-actions { display: none; }

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--navy-border);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text-primary); position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-nav.is-open .nav-toggle span { background: transparent; }
.site-nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ─── BOUTONS (liens et formulaires) ─── */
a.btn { justify-content: center; }
button.btn { font-family: 'DM Sans', sans-serif; }

/* ─── TARIFS : bascule mensuel / annuel ─── */
.toggle-switch { border: none; padding: 0; }
.toggle-switch.annual::after { transform: translateX(22px); }
.toggle-label { background: none; border: none; cursor: pointer; font-family: inherit; }
.pricing-price .price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.pricing-note { font-size: .72rem; color: var(--text-muted); margin-bottom: .75rem; min-height: 1.1em; }

/* ─── APPLICATIONS ─── */
.cat-tab { font-family: 'DM Sans', sans-serif; }
.app-card-actions .btn { justify-content: center; }

/* ─── FORMULAIRES ─── */
.tbi-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-check { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.form-check input { accent-color: var(--accent2); }
.demo-interest {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--accent);
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 99px; padding: .25rem .75rem; margin: -1.25rem 0 1.5rem;
}
.demo-interest[hidden] { display: none; }
.modal { max-height: calc(100vh - 2rem); overflow-y: auto; }

/* Notification après envoi d'un formulaire */
.tbi-toast {
  position: fixed; bottom: 1.5rem; left: 50%; z-index: 600;
  transform: translate(-50%, 20px); opacity: 0;
  max-width: calc(100% - 2rem); width: max-content;
  background: var(--navy-card); color: var(--text-primary);
  border: 1px solid rgba(16,185,129,0.35); border-radius: var(--radius-sm);
  padding: .875rem 1.25rem; font-size: .875rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.tbi-toast.show { opacity: 1; transform: translate(-50%, 0); }
.tbi-toast.is-error { border-color: rgba(244,63,94,0.4); }

/* ─── PAGES INTÉRIEURES ─── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 140px 2rem 56px;
  border-bottom: 1px solid var(--navy-border);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.page-hero.wide .page-hero-inner { max-width: 1280px; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; }
.page-lead { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-top: 1rem; max-width: 640px; }
.page-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .85rem; color: var(--text-muted); }
.page-meta a { color: var(--accent); text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-size: .85rem; color: var(--text-secondary); text-decoration: none; }
.back-link:hover { color: var(--accent); }

.page-body { position: relative; padding: 56px 2rem 80px; }
.page-body-inner { max-width: 760px; margin: 0 auto; }
.page-body-inner.wide { max-width: 1280px; }

.post-thumb { max-width: 1000px; margin: 0 auto 3rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--navy-border); }
.post-thumb img { display: block; width: 100%; height: auto; }

/* Contenu éditorial */
.entry-content { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }
.entry-content::after { content: ''; display: table; clear: both; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text-primary); margin-top: 2.5rem; letter-spacing: -.5px; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content a { color: var(--accent); }
.entry-content strong { color: var(--text-primary); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content li + li { margin-top: .4rem; }
.entry-content blockquote {
  border-left: 3px solid var(--accent2); background: var(--glass);
  padding: .75rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary); font-style: italic;
}
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.entry-content hr { border: 0; height: 1px; background: var(--navy-border); margin: 2.5rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.entry-content th, .entry-content td { border: 1px solid var(--navy-border); padding: .6rem .8rem; text-align: left; }
.entry-content th { color: var(--text-primary); background: var(--navy-card); }
.entry-content code, .entry-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em;
  background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: 6px;
}
.entry-content code { padding: .1em .4em; }
.entry-content pre { padding: 1rem 1.25rem; overflow-x: auto; }
.entry-content pre code { border: 0; padding: 0; background: none; }
.wp-block-button__link { background: linear-gradient(135deg, var(--accent2), #6366F1); color: #fff !important; border-radius: var(--radius-sm); text-decoration: none; }
.page-links { margin-top: 2rem; font-size: .875rem; color: var(--text-muted); }

.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.post-tags a {
  font-size: .78rem; color: var(--text-secondary); text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 99px; padding: .3rem .8rem;
}
.post-tags a:hover { color: var(--accent); border-color: var(--accent); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.post-nav a {
  display: block; padding: 1rem 1.25rem; text-decoration: none;
  background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: var(--radius);
  transition: border-color .2s;
}
.post-nav a:hover { border-color: rgba(79,70,229,0.4); }
.post-nav .post-nav-next { text-align: right; grid-column: 2; }
.post-nav-label { display: block; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .25rem; }
.post-nav-title { color: var(--text-primary); font-weight: 600; font-size: .9rem; }

/* Cartes d'articles */
.blog-card { display: flex; flex-direction: column; }
.blog-card-body { flex: 1; display: flex; flex-direction: column; }
.blog-excerpt { flex: 1; }
.blog-card-img { text-decoration: none; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--accent); }
.blog-more { color: var(--accent); text-decoration: none; font-size: .75rem; }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.page-numbers {
  min-width: 40px; height: 40px; padding: 0 .75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-border); border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none; font-size: .875rem;
}
.page-numbers.current { background: linear-gradient(135deg, var(--accent2), #6366F1); border-color: transparent; color: #fff; }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.dots { border: none; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); }
.empty-state .btn { margin-top: 1.5rem; }

/* Recherche */
.search-form { display: flex; gap: .5rem; max-width: 480px; margin: 1.5rem auto 0; }
.search-form label { flex: 1; }
.search-field {
  width: 100%; padding: .7rem 1rem; outline: none;
  background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: .875rem;
}
.search-field:focus { border-color: var(--accent2); }
.search-submit {
  padding: .625rem 1.25rem; border: none; border-radius: var(--radius-sm); cursor: pointer;
  background: linear-gradient(135deg, var(--accent2), #6366F1); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: .875rem;
}

/* 404 */
.error-code {
  font-family: 'Syne', sans-serif; font-weight: 800; line-height: 1;
  font-size: clamp(5rem, 14vw, 9rem); letter-spacing: -4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), #818CF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* Page d'une application */
.app-hero-head { display: flex; align-items: center; gap: 1.25rem; }
.app-hero-head .app-cat-badge { display: inline-block; margin-bottom: .5rem; }
.app-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.app-aside-card {
  position: sticky; top: 96px;
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.app-aside-label { font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.app-aside-card p { font-size: .875rem; color: var(--text-secondary); margin-bottom: .5rem; }

/* Commentaires */
.comments-area { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--navy-border); }
.comments-title, .comment-reply-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 1.5rem; border-left: 1px solid var(--navy-border); margin-top: 1rem; }
.comment-body { background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.comment-author { display: flex; align-items: center; gap: .6rem; color: var(--text-primary); font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-author a, .comment-metadata a { color: inherit; text-decoration: none; }
.comment-content { color: var(--text-secondary); font-size: .925rem; }
.comment-content p + p { margin-top: .75rem; }
.reply { margin-top: .75rem; }
.reply a, .comment-reply-title small a { font-size: .8rem; color: var(--accent); text-decoration: none; }
.comment-respond { margin-top: 2rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .4rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: .7rem 1rem; outline: none;
  background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: .875rem;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent2); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .submit {
  padding: .625rem 1.25rem; border: none; border-radius: var(--radius-sm); cursor: pointer;
  background: linear-gradient(135deg, var(--accent2), #6366F1); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: .875rem;
}
.comment-notes, .logged-in-as { font-size: .8rem; color: var(--text-muted); }
.logged-in-as a { color: var(--accent); }

/* ─── RESPONSIVE (compléments) ─── */
@media (max-width: 1024px) {
  .app-layout { grid-template-columns: 1fr; }
  .app-aside-card { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }

  .site-nav.is-open .primary-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    max-height: calc(100vh - 68px); overflow-y: auto;
    background: var(--navy-mid); border-bottom: 1px solid var(--navy-border);
    padding: .75rem 1.5rem 1.5rem;
  }
  .site-nav.is-open .primary-menu a { display: block; padding: .75rem .9rem; }
  .site-nav.is-open .nav-dropdown-menu,
  .site-nav.is-open .primary-menu .sub-menu {
    position: static; opacity: 1; pointer-events: all; transform: none;
    background: transparent; border: 0; padding: 0 0 0 1rem; min-width: 0;
  }
  .site-nav.is-open .nav-mobile-actions { display: flex; gap: .75rem; padding-top: 1rem; margin-top: .5rem; border-top: 1px solid var(--navy-border); }
  .site-nav.is-open .nav-mobile-actions .btn { flex: 1; justify-content: center; }

  .admin-table-header > :nth-child(4), .admin-table-row > :nth-child(4) { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-legal { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .post-nav-next { grid-column: auto; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .site-nav { padding: 0 1rem; }
  .nav-actions .btn-primary { display: none; }
  section, .cta-section, .site-footer, .page-hero, .page-body { padding-left: 1rem; padding-right: 1rem; }
  #accueil { padding-top: 104px; }
  .page-hero { padding-top: 112px; }
  .modal { padding: 2rem 1.25rem; }
  .contact-form { padding: 1.5rem 1.25rem; }
  .pricing-card { padding: 1.5rem; }
  .search-form { flex-direction: column; }
}
