/* ═══════════════════════════════════════════════════════════════════════════
   WORDMARK ElectroCAD v10.3 — "Electro [⚡] CAD"
   Texte Electro et CAD identiques (force tous les attributs typographiques).
   ═══════════════════════════════════════════════════════════════════════════ */

.ec-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: \"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text, #F1F5F9);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
}

/* Words : style explicite IDENTIQUE pour Electro et CAD, neutralise toute règle parasite */
.ec-wordmark__electro,
.ec-wordmark__cad {
  display: inline-block !important;
  font-family: \"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif !important;
  font-weight: 700 !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-stretch: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  color: var(--text, #F1F5F9) !important;
  -webkit-text-fill-color: var(--text, #F1F5F9) !important;
  -webkit-text-stroke: 0 !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  vertical-align: baseline !important;
  text-shadow: none;
}

[data-theme=\"light\"] .ec-wordmark__electro,
[data-theme=\"light\"] .ec-wordmark__cad {
  color: #1A1A1F !important;
  -webkit-text-fill-color: #1A1A1F !important;
}

/* Bolt wrap : ratio 1:2, marge négative pour compenser le padding 18% du viewBox SVG */
.ec-wordmark__bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.7em;
  height: 1.4em;
  margin-inline: -0.28em;
  position: relative;
  background: transparent;
  padding: 0;
  border: 0;
}
.ec-wordmark__bolt svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Tailles */
.ec-wordmark--sm  { font-size: 1.1rem;  }
.ec-wordmark--md  { font-size: 1.5rem;  }
.ec-wordmark--lg  { font-size: 2.4rem;  }
.ec-wordmark--xl  { font-size: clamp(2.5rem, 8vw, 5rem); }

/* Hover */
a.ec-wordmark { transition: opacity 200ms ease-out; }
a.ec-wordmark:hover { opacity: 0.88; }

a.ec-wordmark:focus-visible {
  outline: 2px solid #DC2626;
  outline-offset: 4px;
  border-radius: 4px;
}
