@charset "UTF-8";

/* Echo'Students design system. ASCII-only header so a Latin-1
   server charset cannot scramble the first rules. Fonts load from
   HTML <link>, not @import (an @import blocks the whole sheet). */
:root {
  /* Umbrella brand (Echo'Students) */
  --uk-blue: #4e73df;
  --uk-green: #1cc88a;
  --brand-gradient: linear-gradient(135deg, #4e73df 0%, #1cc88a 100%);
  --brand-gradient-soft: linear-gradient(135deg, #5a7ee6 0%, #24d196 100%);

  /* FollUP'UK — bleu / cyan (écoute, doléances, ressources) */
  --follup: #2f6fed;
  --follup-2: #1cc88a;
  --follup-gradient: linear-gradient(135deg, #2f6fed 0%, #1cc88a 100%);

  /* Solid'Elles — violet / or (UK Halla, collectif des femmes) */
  --solid: #5a2a82;
  --solid-2: #e0a419;
  --solid-gradient: linear-gradient(135deg, #5a2a82 0%, #e0a419 100%);

  /* Surfaces & texte */
  --surface: #ffffff;
  --ink: #1f2733;
  --ink-soft: #5b6472;
  --line: #e6e9ef;

  /* Rayons, ombres, transitions */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow-1: 0 8px 24px rgba(16, 29, 61, .14);
  --shadow-2: 0 20px 48px rgba(16, 29, 61, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .28s var(--ease);

  --header-h: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--brand-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  color: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-word, .footer-logo {
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

/* Marque : notation typographique des noms de programme */
.brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; }
.brand-echo   { color: #fff; }
.brand-follup { color: #eaf1ff; }
.brand-solid  { color: #f5e9c9; }

/* =========================  HEADER  ========================= */
header {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 60px);
  min-height: var(--header-h);
  overflow: visible;
  background: rgba(11, 22, 45, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  z-index: 1000;
  transition: background var(--t);
}

/* Lockup : les deux logos restent entiers (jamais recadrés). */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  padding: 4px 2px;
  overflow: visible;
  transition: transform var(--t);
}

.logo-lockup:hover { transform: translateY(-1px); }

.logo-lockup img {
  display: block;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 1;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, .95))
    drop-shadow(0 0 6px rgba(255, 255, 255, .55))
    drop-shadow(0 3px 6px rgba(9, 16, 33, .30));
}

.logo-uk {
  height: 46px;
  width: auto;
  max-height: 46px;
  flex: 0 0 auto;
}

.logo-halla {
  height: 46px;
  width: auto;
  max-height: 46px;
  max-width: min(240px, 42vw);
  min-width: 0;
  flex: 1 1 auto;
}

.logo-divider {
  width: 1px;
  height: 34px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .5);
  border-radius: 1px;
}

/* Compat : ancien conteneur .logo */
.logo img { height: 46px; width: auto; }

/* =========================  NAV  ========================= */
nav {
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 1100;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  transition: opacity var(--t);
}

nav a:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width var(--t);
}

nav a:not(.dropdown-toggle):hover::after { width: 100%; }
nav a:hover { opacity: .9; }

nav a:focus-visible,
.card:focus-visible,
button:focus-visible,
.logo-lockup:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .85);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Dropdown */
.nav-dropdown { position: relative; display: inline-block; margin-left: 22px; }

.dropdown-toggle {
  margin-left: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow { display: inline-flex; align-items: center; font-size: 12px; transition: transform var(--t); }
.nav-dropdown:hover .arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 32px;
  left: auto;
  right: 0;
  transform: none;
  min-width: 260px;
  z-index: 1100;
}

.dropdown-menu > div,
.dropdown-menu {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .3));
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  margin: 0 !important;
  padding: 12px 18px;
  font-size: .88rem;
  color: #fff;
  text-decoration: none;
  background: rgba(17, 24, 46, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--t), padding-left var(--t);
}

.dropdown-menu a:first-child { border-radius: 12px 12px 0 0; }
.dropdown-menu a:last-child { border-radius: 0 0 12px 12px; border-bottom: none; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(255, 255, 255, .14); padding-left: 24px; }

/* =========================  HERO  ========================= */
.hero {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) clamp(18px, 5vw, 24px) 24px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero h2 {
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: normal;
  opacity: .92;
  margin-bottom: 14px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 46px;
  opacity: .9;
  font-size: 1.02rem;
}

/* =========================  CARDS (programmes)  ========================= */
.cards {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.card {
  --accent: var(--brand-gradient);
  position: relative;
  background: var(--surface);
  color: var(--ink);
  width: 340px;
  max-width: 100%;
  padding: 32px 28px 30px;
  border-radius: var(--r-lg);
  text-decoration: none;
  text-align: left;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.card.follup { --accent: var(--follup-gradient); }
.card.solid  { --accent: var(--solid-gradient); }

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0; /* neutralise l'ancien emoji si présent */
}

.card .icon svg { width: 30px; height: 30px; stroke: #fff; }

.card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--accent);
}

.card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #141b26;
}

.card .prog-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

.card p {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 700;
  font-size: .9rem;
  color: #16233a;
}

.card .go svg { width: 18px; height: 18px; transition: transform var(--t); }
.card:hover .go svg { transform: translateX(5px); }

/* =========================  HAMBURGER  ========================= */
.hamburger {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span { height: 3px; width: 22px; background: #fff; margin: 3px 0; border-radius: 3px; transition: var(--t); }
.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* =========================  FOOTER  ========================= */
.footer {
  margin-top: 90px;
  padding: 46px clamp(20px, 5vw, 60px) 26px;
  background: rgba(11, 22, 45, .3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; }
.footer-logo .apos { color: var(--solid-2); }
.footer-tagline { font-size: .86rem; opacity: .78; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: .88rem;
  opacity: .85;
  transition: opacity var(--t);
}
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.footer-divider { width: 64px; height: 2px; background: rgba(255, 255, 255, .4); border: none; border-radius: 2px; }
.footer-copy { font-size: .78rem; opacity: .6; }

/* =========================  MODALS  ========================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 16, 33, .6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-2);
  animation: popIn .3s var(--ease);
}

@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-box h2 { margin-bottom: 10px; font-size: 1.3rem; color: #141b26; }
.modal-box p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }

.modal-box input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t);
}
.modal-box input:focus { border-color: var(--uk-blue); }

.modal-error { color: #d64541; font-size: .82rem; min-height: 20px; margin-top: 6px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }

.btn-cancel {
  padding: 11px 20px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--t);
}
.btn-cancel:hover { background: #f4f5f8; }

.btn-confirm {
  padding: 11px 22px;
  border: none;
  border-radius: var(--r-sm);
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--t), opacity var(--t);
}
.btn-confirm:hover { opacity: .92; transform: translateY(-1px); }

.conditions-text ul { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.conditions-text ul li {
  font-size: .88rem;
  background: #f5f7fb;
  padding: 11px 14px 11px 38px;
  border-radius: var(--r-sm);
  position: relative;
  color: var(--ink);
}
.conditions-text ul li::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 12px;
  width: 15px;
  height: 15px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231cc88a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* =========================  ACCÈS CODE CONVERSATION  ========================= */
.access-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + 20px) 18px 40px;
}
.access-box {
  background: #fff;
  color: var(--ink);
  padding: 32px 24px;
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-2);
}
.access-icon { font-size: 46px; margin-bottom: 14px; }
.access-box h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: #141b26; }
.access-box p { font-size: .86rem; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.access-box input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  margin-bottom: 14px;
  transition: border-color var(--t);
}
.access-box input:focus { border-color: var(--uk-blue); }
.access-box button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--r-sm);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--t), opacity var(--t);
}
.access-box button:hover { opacity: .9; transform: translateY(-2px); }
.access-error { margin-top: 16px; color: #c0392b; font-size: .85rem; background: #fdecea; padding: 10px 14px; border-radius: var(--r-sm); }

/* =========================  RESPONSIVE  ========================= */
@media (max-width: 860px) {
  .logo-lockup { gap: 10px; padding: 0; }
  .logo-uk { height: 40px; max-height: 40px; }
  .logo-halla { height: 40px; max-height: 40px; max-width: min(220px, 40vw); }
  .logo-divider { height: 28px; }
}

@media (max-width: 768px) {
  header {
    gap: 8px;
    padding: 10px 12px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .logo-lockup { gap: 8px; }
  .logo-uk { height: 36px; max-height: 36px; }
  .logo-halla {
    height: 36px;
    max-height: 36px;
    max-width: calc(100vw - 12px - 12px - 36px - 8px - 8px - 44px);
  }
  .logo-divider { height: 26px; }
  nav {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 240px;
    height: 100vh;
    background: rgba(11, 22, 45, .96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    transition: right var(--t);
  }
  nav.active { right: 0; }
  nav a { display: block; margin: 14px 0; font-size: 1rem; }
  nav a:not(.dropdown-toggle)::after { display: none; }
  .nav-dropdown { margin-left: 0; width: 100%; }
  .dropdown-menu {
    position: static;
    transform: none;
    padding-top: 8px;
    min-width: auto;
    right: auto;
    filter: none;
  }
  .dropdown-menu a { background: rgba(255, 255, 255, .06); border-radius: 8px; margin-bottom: 4px !important; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .card { width: 100%; }
}

@media (max-width: 420px) {
  header { padding: 8px 10px; }
  .logo-lockup { gap: 6px; }
  .logo-uk { height: 32px; max-height: 32px; }
  .logo-halla {
    height: 32px;
    max-height: 32px;
    max-width: calc(100vw - 10px - 10px - 32px - 6px - 6px - 44px);
  }
  .logo-divider { height: 22px; }
  .pform-wrap { padding: 0 8px 28px; }
  .pform { padding: 18px 14px; border-radius: 14px; }
}

/* =========================  RESSOURCES ÉDUCATIVES  ========================= */
.res-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 24px);
}

.res-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.theme-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background var(--t), transform var(--t);
}
.theme-chip:hover { background: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.theme-chip.active { background: #fff; color: #1c2b4a; border-color: #fff; }

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 20px;
}

.res-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 24px 22px;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  border-top: 5px solid transparent;
  border-image: var(--follup-gradient) 1;
  transition: transform var(--t), box-shadow var(--t);
}
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

.res-theme {
  display: inline-block;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2f6fed;
  background: #eaf1ff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.res-card h3 { font-size: 1.16rem; font-weight: 700; color: #141b26; margin-bottom: 8px; }
.res-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; flex-grow: 1; }

.res-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.res-media {
  font-size: .72rem;
  font-weight: 700;
  color: #1c8f6a;
  background: #e5f7ef;
  padding: 3px 9px;
  border-radius: 999px;
}
.res-read { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: #16233a; margin-left: auto; }
.res-read svg { width: 17px; height: 17px; transition: transform var(--t); }
.res-card:hover .res-read svg { transform: translateX(4px); }

.res-empty { grid-column: 1 / -1; text-align: center; opacity: .85; padding: 40px 0; }

/* Article détail */
.res-article {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) clamp(18px, 5vw, 24px) 20px;
  color: #fff;
}
.res-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  opacity: .9;
  margin-bottom: 22px;
}
.res-back-link:hover { opacity: 1; }
.res-back-link svg { width: 18px; height: 18px; }

.res-article h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin: 10px 0 12px; }
.res-lead { font-size: 1.05rem; opacity: .92; margin-bottom: 24px; }

.res-media-box { margin: 8px 0 26px; }
.res-media-box img { width: 100%; border-radius: var(--r-md); display: block; box-shadow: var(--shadow-1); }
.res-embed { position: relative; padding-top: 56.25%; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.res-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.res-media-box video { width: 100%; border-radius: var(--r-md); display: block; background: #000; }
.res-file {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  background: var(--follup-gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--t), opacity var(--t);
}
.res-file:hover { opacity: .92; transform: translateY(-1px); }

.res-content {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 30px 28px;
  line-height: 1.75;
  font-size: 1.02rem;
  box-shadow: var(--shadow-1);
}
.res-content { border-top: 4px solid transparent; border-image: var(--follup-gradient) 1; }

/* Photo d'illustration (bandeau) */
.res-cover { margin-bottom: 22px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.res-cover img { display: block; width: 100%; max-height: 340px; object-fit: cover; }

/* En-tête d'article */
.res-head { margin-bottom: 26px; }
.res-meta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; font-size: .82rem; font-weight: 600;
  color: #fff; opacity: .92;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  padding: 7px 14px; border-radius: 999px;
}
.res-meta svg { width: 16px; height: 16px; }
.res-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }

/* PDF embarqué */
.res-pdf { padding-top: 0; height: 520px; }
.res-pdf iframe { position: static; height: 100%; }
.res-media-box .res-file { margin-top: 14px; }

/* CTA bas d'article */
.res-cta { margin-top: 30px; text-align: center; }
.res-cta-link {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background var(--t);
}
.res-cta-link:hover { background: rgba(255, 255, 255, .28); }

/* =========================  CONTACTS PSY  ========================= */
.psy-section { max-width: 1080px; margin: 34px auto 0; padding: 0 clamp(16px, 5vw, 24px); }
.psy-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #fff; }
.psy-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); display: flex; align-items: center; justify-content: center; }
.psy-ic svg { width: 24px; height: 24px; }
.psy-head h2 { font-size: 1.2rem; font-weight: 700; }
.psy-head p { font-size: .88rem; opacity: .9; }
.psy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.psy-card { background: #fff; color: #1f2733; border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-1); }
.psy-name { font-weight: 700; font-size: 1.02rem; color: #141b26; }
.psy-title { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.psy-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; font-size: .95rem; color: #1c8f6a; text-decoration: none; background: #e5f7ef; padding: 8px 14px; border-radius: 999px; }
.psy-phone svg { width: 16px; height: 16px; }
.psy-phone:hover { background: #d5f2e5; }
.psy-note { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }

/* =========================  CARTE FORMULAIRE PARTAGÉE  ========================= */
.pform-wrap { display: flex; justify-content: center; padding: 0 clamp(12px, 4vw, 24px) 40px; }
.pform {
  background: #fff; color: #1f2733; width: 100%; max-width: 640px;
  border-radius: 20px; padding: 28px 26px; box-shadow: 0 18px 48px rgba(9, 16, 33, .28);
}
.pfield { margin-bottom: 16px; }
.pfield label { display: block; font-size: .85rem; font-weight: 600; color: #3b4559; margin-bottom: 7px; }
.pform select, .pform input, .pform textarea {
  width: 100%; padding: 13px 14px; border: 1.6px solid #e3e7f0; border-radius: 12px;
  font-size: .96rem; color: #1f2733; background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.pform select:focus, .pform input:focus, .pform textarea:focus { border-color: #4e73df; box-shadow: 0 0 0 3px rgba(78, 115, 223, .14); }
.pform select:disabled { background: #f4f6fb; color: #9aa3b5; }
.pform-btn {
  width: 100%; margin-top: 8px; padding: 14px; border: none; border-radius: 12px;
  background: var(--follup-gradient); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.pform-btn:hover { transform: translateY(-2px); opacity: .95; }
.pform-error { background: #fdecea; color: #c0392b; padding: 11px 14px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px; }

@media (max-width: 768px) {
  .pform-wrap { padding: 0 12px 32px; }
  .pform { max-width: 100%; padding: 22px 16px; border-radius: 16px; }
  .access-wrapper { padding-left: 12px; padding-right: 12px; }
  .access-box { max-width: 100%; padding: 26px 16px; }
}

/* =========================  A11Y  ========================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
