/* Charte Europass Academy (identique à europassacademy.de) – base commune portail / vivier / CRM */
@font-face { font-family: "Archivo"; src: url("archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0B1A33; --navy-2: #12264A; --blue: #003094; --blue-deep: #00226B; --blue-tint: #E7EDF9;
  --red: #CE0011; --red-deep: #A6000E; --red-tint: #FDECEE; --white: #fff; --grey: #F4F6FA; --line: #DCE2EC;
  --ink: #0B1A33; --muted: #47536B; --green: #0F7B4E; --green-tint: #E3F4EC; --amber: #A15C00; --amber-tint: #FFF3E0;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 8px 24px rgba(11, 26, 51, .06);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html.rtl { --font-display: "Cairo", "Archivo", Arial, sans-serif; --font-body: "Cairo", "Inter", Arial, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--ink); background: var(--grey); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
a { color: var(--blue); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(0, 48, 148, .35); outline-offset: 2px; }

/* En-tête */
.ea-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.ea-header__in { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.ea-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.ea-logo img { height: 34px; width: auto; display: block; }
.ea-logo span { font-size: 13px; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline-start: 12px; line-height: 1.2; }
.ea-header__fin { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

/* Sélecteur de langue */
.langues { display: inline-flex; background: var(--grey); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langue { border: 0; background: transparent; font: 600 13px/1 var(--font-body); color: var(--muted); padding: 7px 10px; border-radius: 999px; cursor: pointer; min-width: 36px; }
.langue.active { background: var(--white); color: var(--blue); box-shadow: 0 1px 3px rgba(11, 26, 51, .15); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-body); padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease), transform .1s; }
.btn:hover { border-color: var(--blue); }
.btn:active { transform: translateY(1px); }
.btn--primaire { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--primaire:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--rouge { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--rouge:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--vert { background: var(--green); border-color: var(--green); color: var(--white); }
.btn--petit { padding: 9px 14px; font-size: 14px; }
.btn--lien { border: 0; background: none; padding: 6px 4px; color: var(--blue); text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: default; }

/* Champs */
.champ { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.champ small, .aide { font-weight: 400; color: var(--muted); font-size: 13px; }
.champ input, .champ select, .champ textarea { font: 400 16px/1.4 var(--font-body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); width: 100%; transition: border-color .2s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px var(--blue-tint); }
.champ textarea { min-height: 110px; resize: vertical; }

.carte { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.etiquette { font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--grey); color: var(--muted); white-space: nowrap; }
.pastille--vert { background: var(--green-tint); color: var(--green); }
.pastille--bleu { background: var(--blue-tint); color: var(--blue); }
.pastille--orange { background: var(--amber-tint); color: var(--amber); }
.pastille--rouge { background: var(--red-tint); color: var(--red); }
.alerte { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }
.alerte--info { background: var(--blue-tint); color: var(--blue-deep); }
.alerte--ok { background: var(--green-tint); color: var(--green); }
.alerte--attention { background: var(--amber-tint); color: var(--amber); }
.alerte--erreur { background: var(--red-tint); color: var(--red-deep); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14.5px; z-index: 50; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.discret { color: var(--muted); font-size: 14px; }
.ea-pied { text-align: center; font-size: 13px; color: var(--muted); padding: 28px 16px 44px; }
.ea-pied a { color: var(--muted); }
