/* ===== Einstein Services — style.css ===== */
:root {
  --navy: #14568a;
  --blue: #2070b4;
  --gold: #f59000;
  --orange: #f59000;
  --cream: #f6efe6;
  --cream-2: #fdfaf5;
  --ink: #232323;
  --muted: #6b6b6b;
  --radius: 31px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.6;
}
img {
  max-width: 100%;
}
.container {
  width: min(1150px, 92%);
  margin-inline: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Buttons & pills ---- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
a.btn[href$="contact.html"],
a.btn[href$="contact-en.html"] {
  background: #333;
  color: #fff;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.28);
}
a.btn[href$="contact.html"]:hover,
a.btn[href$="contact-en.html"]:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35);
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}
.pill-blue {
  background: var(--navy);
  color: #fff;
}
.pill-orange {
  background: var(--gold);
  color: var(--navy);
}
.grad-blue {
  background: linear-gradient(120deg, var(--blue), #3f8fd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-orange {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(20, 112, 180, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-4px);
}
.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 0.6rem;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.logo-text em {
  font-style: normal;
  color: var(--orange);
}
.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--blue);
}
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
}
.lead {
  margin: 1.2rem 0 1.8rem;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-destinations-mobile {
  display: none;
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(20, 112, 180, 0.18);
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  border-left: 1px solid rgba(20, 112, 180, 0.14);
}
.hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}
.hero-stats strong {
  font-size: 1.6rem;
  color: var(--navy);
}
.hero-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.blob-blue {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 60% 40%,
    var(--blue) 0%,
    var(--navy) 70%
  );
  border-radius: 58% 42% 45% 55%/55% 48% 52% 45%;
}
.blob-blue.big {
  width: 380px;
  height: 380px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hero-route-panel {
  width: min(100%, 430px);
  padding: 1.5rem 1.8rem;
  border-radius: 20px 20px 6px 20px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(20, 112, 180, 0.18);
}
.hero-route-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-route-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-route-code {
  color: #d6dbea;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero-route-panel h2 {
  max-width: 19ch;
  margin: 0.9rem 0;
  font-size: 1.45rem;
  line-height: 1.2;
}
.hero-route-origin {
  margin-bottom: 0.65rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--gold);
}
.hero-route-origin span {
  display: block;
  color: #c0c8dd;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-route-origin strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}
.hero-route-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  list-style: none;
}
.hero-route-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-route-list a {
  display: grid;
  grid-template-columns: 2rem 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0;
  color: #fff;
  font-weight: 500;
}
.hero-route-list .route-country-arrow {
  color: #c0c8dd;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.hero-route-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.hero-route-list a:hover .route-country-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}
.hero-route-list .route-country-name {
  min-width: 0;
  color: #fff;
  font-size: inherit;
  font-weight: 500;
  white-space: nowrap;
}
.hero-route-list span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}
.hero-route-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
}
.wave-divider {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--cream-2);
  border-radius: 100% 100% 0 0/100% 100% 0 0;
  pointer-events: none;
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
}
.section-cream {
  background: var(--cream);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  margin-top: 0.6rem;
}
.admissions-resources {
  margin-top: 4rem;
}
.admissions-resources .section-head {
  margin-bottom: 2rem;
}
.admissions-resource {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admissions-resource > a:first-child {
  display: block;
}
.admissions-resource img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) * 0.6);
}
.admissions-resource h3 {
  margin: 0;
}
.admissions-resource .btn {
  align-self: flex-start;
  margin-top: auto;
}
.admissions-note {
  margin-top: 1.5rem;
  border-left: 4px solid var(--gold);
}
.admissions-note h3 {
  margin-top: 0;
}
.admissions-note p {
  color: var(--muted);
}
.admissions-note .btn {
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .admissions-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .admissions-resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Cards ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 112, 180, 0.13);
}
.card h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1.05rem;
}
.card p {
  color: var(--muted);
  font-size: 0.9rem;
}
.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}
.card-link:hover {
  color: var(--orange);
}
.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

/* ---- Destinations ---- */
.dest {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  font-size: 2rem;
  transition: 0.3s;
}
.dest:hover {
  transform: translateY(-6px);
}
.dest h3 {
  font-size: 1.05rem;
  margin: 0.4rem 0;
}
.dest p {
  font-size: 0.8rem;
  color: var(--muted);
}
.dest-more {
  background: var(--navy);
  color: #fff;
}
.dest-more p {
  color: #cfd6ea;
}

/* ---- Contact / carte / RDV ---- */
.u-contact + .u-container .map-wrap,
.map-wrap {
  margin-top: 1.4rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.1);
  border-radius: 18px;
}
.u-contact + .u-container .map-wrap {
  margin-top: 0;
}
.rdv-card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: 2.5rem;
}
.rdv-card .card-icon {
  margin-inline: auto;
}
.rdv-card .btn {
  margin-top: 1.2rem;
}

/* ---- Témoignages ---- */
.temoin {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.temoin p {
  font-style: italic;
  color: #444;
}
.temoin footer {
  font-size: 0.85rem;
  color: var(--muted);
}
.temoin footer strong {
  color: var(--navy);
}
.temoin footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.temoin-photo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 55%;
}
.temoin-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(20, 112, 180, 0.25);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.temoin:hover .temoin-flag {
  transform: scale(1.15);
}

/* ---- FAQ ---- */
.faq-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.faq-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.faq-left > p {
  color: var(--muted);
  margin-bottom: 1.8rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-radius: 5px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  text-align: left;
}
.faq-q:hover {
  filter: brightness(1.06);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.2rem 1.4rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.faq-q.open span {
  transform: rotate(180deg);
}
.faq-q span {
  transition: 0.3s;
}
.faq-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.faq-photo {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold), var(--orange));
  display: grid;
  place-items: center;
  font-size: 6rem;
  box-shadow: 0 20px 50px rgba(20, 112, 180, 0.25);
}

/* ---- Contact ---- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
}
.contact-text > p {
  color: var(--muted);
  margin: 0.6rem 0 1.4rem;
}
.contact-info p {
  margin: 0.5rem 0;
  font-weight: 500;
}
.contact-info a:hover {
  color: var(--orange);
}
.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid rgba(19, 63, 104, 0.1);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 22px 55px rgba(20, 66, 104, 0.12);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid #e5e0d8;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream-2);
}
.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;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form button {
  align-self: flex-start;
}

.form-intro {
  margin: -0.35rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-services {
  width: 100%;
  min-width: 0;
  margin: 0.25rem 0 0.4rem;
  padding: 0;
  border: 0;
}

.form-services-legend {
  padding: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.form-services-help {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.form-services-dropdown {
  margin-bottom: 0.85rem;
  border: 1px solid #d5dfeb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.form-services-summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.form-services-summary::-webkit-details-marker {
  display: none;
}

.form-services-summary::after {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.form-services-dropdown[open] .form-services-summary::after {
  transform: rotate(225deg);
}

.form-services-summary:focus-visible {
  outline: 3px solid rgba(20, 112, 180, 0.28);
  outline-offset: -3px;
}

.form-services-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.form-services-dropdown .form-service-grid {
  max-height: 32rem;
  overflow-y: auto;
  padding: 0 0.75rem 0.75rem;
  overscroll-behavior: contain;
}

.form-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.form-service-option {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.form-service-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-service-card {
  display: flex;
  min-height: 78px;
  align-items: flex-start;
  gap: 0.65rem;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fbfcfe;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.form-service-option:hover .form-service-card {
  border-color: #b7c8dc;
  transform: translateY(-1px);
}

.form-service-option input:checked + .form-service-card {
  border-color: var(--orange);
  background: #fff8ec;
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.12);
}

.form-service-option input:focus-visible + .form-service-card {
  outline: 3px solid rgba(20, 112, 180, 0.28);
  outline-offset: 2px;
}

.form-service-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #eef4fa;
  font-size: 1.08rem;
}

.form-service-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.form-service-copy strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
  line-height: 1.35;
}

.form-service-copy small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.form-service-check {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-top: 0.05rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.form-service-option input:checked + .form-service-card .form-service-check {
  border-color: var(--orange);
  background: var(--orange);
}

.form-service-option input:checked + .form-service-card .form-service-check::before {
  content: "✓";
}

.form-service-other {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.form-service-other label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-service-other input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
}

.form-consents {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  box-sizing: border-box;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e3eaf1;
  border-radius: 12px;
  background: #f8fafc;
  color: #45566b;
  font-size: 0.82rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0.12rem 0 0;
  border-radius: 5px;
  accent-color: var(--orange);
}

.form-consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.form-consent-optional {
  background: #fffaf1;
  border-color: #f2dfbd;
}
.form-ok {
  color: #2e8b57;
  font-weight: 600;
}

@media (max-width: 600px) {
  .form-service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Animations au scroll ---- */
.card,
.dest,
.temoin,
.step,
.steps,
.trust {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.visible,
.visible .card,
.visible .dest,
.visible .temoin,
.visible .step,
.visible .steps,
.visible .trust {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .dest,
  .temoin,
  .step,
  .steps,
  .trust {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Témoignages étudiants ---- */
.testimonials-section .section-head {
  margin-bottom: 2.5rem;
}
.video-testimonials {
  margin-bottom: 3rem;
  padding: 2rem;
  border: 1px solid rgba(20, 86, 138, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 86, 138, 0.07);
}
.video-testimonials-head {
  margin-bottom: 1.75rem;
}
.video-testimonials-head h2 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.video-testimonials-head p {
  color: var(--muted);
  line-height: 1.6;
}
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.video-testimonial {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 86, 138, 0.12);
  border-radius: 16px;
  background: #101923;
  box-shadow: 0 8px 20px rgba(20, 86, 138, 0.1);
}
.video-testimonial video {
  display: block;
  width: 100%;
  height: auto;
  background: #101923;
}
.video-testimonial figcaption {
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}
.testimonial-photos {
  margin-bottom: 3rem;
}
.testimonial-photos-head {
  margin-bottom: 1.25rem;
}
.testimonial-photos-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.testimonial-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.testimonial-photos-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 86, 138, 0.07);
}
.testimonial-photos-grid img {
  display: block;
  width: 100%;
  height: auto;
}
.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.testimonials-grid .temoin {
  min-width: 0;
  padding: 1.55rem;
  gap: 1.25rem;
  border: 1px solid rgba(20, 86, 138, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20, 86, 138, 0.07);
}
.testimonials-grid .temoin p {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.8;
}
.temoin-profile {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(20, 86, 138, 0.1);
}
.temoin-avatar {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #14568a, #3f8fd9 58%, #f59000);
  box-shadow: 0 4px 12px rgba(20, 86, 138, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.temoin-profile .temoin-photo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(20, 86, 138, 0.18);
}
.temoin-profile .temoin-photo-boury {
  object-position: center 25%;
}
.temoin-details {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}
.temoin-details strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.35;
}
.temoin-details span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.testimonials-grid .temoin:hover {
  border-color: rgba(245, 144, 0, 0.4);
  box-shadow: 0 18px 38px rgba(20, 86, 138, 0.12);
}
@media (max-width: 900px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonial-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .video-testimonials {
    padding: 1rem;
  }
  .video-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-photos-grid {
    grid-template-columns: 1fr;
  }
  .video-testimonial {
    max-width: 360px;
    margin-inline: auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .temoin {
    padding: 1.35rem;
  }
}

/* ---- Footer ---- */
.footer {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 3rem 0 1.5rem;
  text-align: center;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(8rem, 32%);
  height: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer .footer-logo {
  height: 58px;
  margin: 0;
}
.footer-inner > p:not(.muted) {
  max-width: 68ch;
  margin: 0;
  line-height: 1.75;
}
.footer strong {
  color: var(--gold);
}
.footer .muted {
  color: #aab3d0;
  margin: 0;
  font-size: 0.82rem;
}
.footer-links {
  width: min(100%, 720px);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.7;
}
.footer-links a {
  padding-inline: 0.2rem;
  color: #d6dbea;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-credit {
  margin: 0.65rem 0 0;
  color: #aab3d0;
  font-size: 0.78rem;
  line-height: 1.6;
}
.site-credit strong {
  color: var(--gold);
}

/* ---- Pourquoi nous / étapes ---- */
.steps {
  margin-top: 4rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
}
.steps-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--navy);
}
.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 1rem;
  border-radius: 18px;
  background: var(--cream-2);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.step:nth-child(even) .step-num {
  background: var(--navy);
  color: #fff;
}
.step h4 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
.step p {
  font-size: 0.83rem;
  color: var(--muted);
}

/* ---- Confiance / partenaires ---- */
.trust {
  margin-top: 3rem;
  text-align: center;
}
.trust-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.trust-logos span {
  background: #fff;
  border: 1.5px solid #eee5d9;
  border-radius: 5px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---- Pages légales ---- */
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.legal h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.8rem 0 0.5rem;
}
.legal .legal-draft-note {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #f1d49d;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: #fff8ec;
  color: #684715;
  line-height: 1.6;
}
.legal p,
.legal li {
  color: #444;
  font-size: 0.95rem;
}
.legal ul {
  padding-left: 1.4rem;
  margin: 0.5rem 0;
}
.legal a {
  color: var(--blue);
  font-weight: 500;
}
.legal a:hover {
  color: var(--orange);
}
.placeholder {
  background: #fdf3e3;
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  color: var(--orange);
  font-weight: 600;
}
.footer-links a {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner,
  .faq-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    min-height: 0;
  }
  .faq-visual {
    display: none;
  }
  .nav-inner {
    gap: 0.75rem;
    padding: 0.55rem 0;
  }
  .logo {
    min-width: 0;
  }
  .logo-img {
    height: 44px;
    max-width: min(52vw, 210px);
    object-fit: contain;
  }
  .lang-switch {
    margin-left: auto;
    margin-right: 0;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 75%;
    height: 100vh;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    align-items: flex-start;
  }
  .nav-links.open {
    right: 0;
  }
  .burger {
    display: block;
    flex-shrink: 0;
    margin-left: 0.25rem;
  }
}
@media (max-width: 560px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 1.75rem 0 2.5rem;
  }
  .hero .badge {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.12;
  }
  .hero .lead {
    margin: 0.85rem 0 1.2rem;
    font-size: 0.95rem;
  }
  .hero-visual {
    display: none;
  }
  .hero-actions .btn-lg {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    text-align: center;
  }
  .hero-destinations-mobile {
    display: block;
    margin: 0.2rem 0 1.1rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .hero-destinations-mobile a {
    color: var(--navy);
    font-weight: 600;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
  }
  .hero-stats div {
    padding: 0;
    border-left: 0;
  }
  .hero-stats strong {
    font-size: 1.35rem;
  }
  .hero-stats span {
    max-width: 18ch;
  }
  .hero-route-panel {
    min-height: 0;
    padding: 1.25rem;
  }
  .hero-route-panel h2 {
    margin: 0.7rem 0;
    font-size: 1.25rem;
  }
  .hero-route-list {
    gap: 0 0.75rem;
  }
  .hero-route-list a {
    padding: 0.6rem 0;
  }
}

/* ===== Pages Services dtailles ===== */
.service-detail {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  margin-bottom: 1.8rem;
}
.service-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.service-head h3 {
  color: var(--navy);
  font-size: 1.25rem;
}
.service-detail > p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.service-cols h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.service-cols ul {
  padding-left: 1.2rem;
  color: #444;
  font-size: 0.9rem;
}
.service-cols li {
  margin: 0.25rem 0;
}
.service-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

/* ===== Pages Tests ===== */
.test-container {
  max-width: 780px;
}
.test-form h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 1.4rem 0 0.7rem;
}
.test-form h3:first-of-type {
  margin-top: 0;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.field-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream-2);
  border: 1.5px solid #eee5d9;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}
.field-group label:hover {
  border-color: var(--blue);
}
.field-group input[type="radio"] {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.field-group input:not([type="radio"]),
.field-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #eee5d9;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--ink);
  font: inherit;
}
.field-group input:not([type="radio"]):focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.test-form .btn {
  margin-top: 1.6rem;
  align-self: flex-start;
}
.result-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.result-card p {
  color: #444;
  font-size: 0.95rem;
}
.disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  font-style: italic;
}

@media (max-width: 700px) {
  .hero-route-panel {
    width: 100%;
    padding: 1rem;
  }
  .hero-route-list a {
    grid-template-columns: 1.8rem 18px minmax(0, 1fr) 1rem;
    gap: 0.45rem;
  }
  .route-country-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .service-cols {
    grid-template-columns: 1fr;
  }
  .test-form .btn {
    align-self: stretch;
    text-align: center;
  }
}

/* ===== Partenaires ===== */
.partner-cat {
  margin-bottom: 2.5rem;
}
.partner-cat h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--gold);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  transition: 0.3s;
  display: block;
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20, 112, 180, 0.13);
}
.partner-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.partner-card p {
  color: var(--muted);
  font-size: 0.85rem;
}
.partner-logo {
  width: 100%;
  height: 80px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.partner-logo img {
  width: 100%;
  max-width: 210px;
  max-height: 68px;
  object-fit: contain;
}
.placeholder-logo {
  background: var(--cream-2);
  border: 1.5px dashed #ddd3c4;
}
.placeholder-logo span {
  font-size: 0.7rem;
  color: var(--muted);
}
.partner-empty {
  border: 1.5px dashed #ddd3c4;
  background: var(--cream-2);
}
.partner-empty h4 {
  color: var(--muted);
}

/* ===== Équipe ===== */
.member {
  text-align: center;
}
.member-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.placeholder-photo {
  background: var(--cream);
  border: 2px dashed #ddd3c4;
  font-size: 2rem;
}
.member h3 {
  font-size: 1rem;
}
.member-role {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ===== Bandeau partenaires dfilant ===== */
.partner-marquee {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(20, 112, 180, 0.07);
  padding: 1.2rem 0;
  margin-top: 2.5rem;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  align-items: center;
}
.marquee-track span {
  white-space: nowrap;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.marquee-track a {
  white-space: nowrap;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.marquee-track a:hover {
  color: var(--blue);
}
.partner-track-logo {
  display: block;
  width: 150px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
}
/* Logos d'écoles style Nexuroom */
.school-logo {
  font-weight: 700;
  font-size: 1.15rem !important;
  letter-spacing: 0.03em;
  color: #6b74a0 !important;
  text-transform: uppercase;
}

/* ===== PARTENAIRES : double carrousel 3D spectaculaire ===== */
.partner-showcase {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(1200px 420px at 15% 10%, rgba(32, 112, 180, 0.10), transparent 60%),
    radial-gradient(1000px 420px at 85% 90%, rgba(245, 144, 0, 0.12), transparent 60%),
    linear-gradient(180deg, #fdfaf5 0%, #fff 100%);
  margin-top: 1.5rem;
}
.partner-showcase::before,
.partner-showcase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 130px;
  pointer-events: none;
  z-index: 2;
}
.partner-showcase::before {
  top: 0;
  background: linear-gradient(180deg, var(--paper, #fdfaf5), transparent);
}
.partner-showcase::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--paper, #fdfaf5), transparent);
}
.partner-showcase-head {
  margin-bottom: 0.5rem;
}
.showcase-pulse {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 144, 0, 0.14) 0%, rgba(32, 112, 180, 0.08) 45%, transparent 70%);
  filter: blur(6px);
  animation: showcasePulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes showcasePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.22); opacity: 1; }
}
.marquee-3d {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin: 1.1rem 0;
  padding: 0.8rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  perspective: 1000px;
}
.marquee-3d-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  align-items: stretch;
  transform-style: preserve-3d;
}
.marquee-left .marquee-3d-track {
  animation: marqueeLeft var(--m-dur, 34s) linear infinite;
}
.marquee-right .marquee-3d-track {
  animation: marqueeRight var(--m-dur, 26s) linear infinite;
}
.marquee-3d[data-speed="fast"] { --m-dur: 24s; }
.marquee-3d[data-speed="slow"] { --m-dur: 38s; }
@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.partner-orb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-width: 240px;
  padding: 1.15rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(20, 86, 138, 0.10);
  box-shadow:
    0 14px 34px rgba(20, 86, 138, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  animation: orbFloat 6s ease-in-out infinite;
}
.marquee-3d-track .partner-orb:nth-child(2n) { animation-delay: -1.6s; }
.marquee-3d-track .partner-orb:nth-child(3n) { animation-delay: -3.1s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateX(4deg) rotateY(-4deg); }
}
.partner-orb:hover {
  transform: translateY(-10px) rotateX(6deg) rotateY(-6deg) scale(1.06) !important;
  border-color: rgba(245, 144, 0, 0.55);
  box-shadow:
    0 26px 52px rgba(20, 86, 138, 0.20),
    0 0 0 1px rgba(245, 144, 0, 0.25),
    0 0 42px rgba(245, 144, 0, 0.30);
  z-index: 5;
  animation-play-state: paused;
}
.orb-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from var(--g-a, 0deg), rgba(245,144,0,0), rgba(245,144,0,0.5), rgba(32,112,180,0.4), rgba(245,144,0,0));
  opacity: 0;
  transition: opacity 0.45s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1.5px;
  pointer-events: none;
}
.partner-orb:hover .orb-glow {
  opacity: 1;
  animation: orbGlowSpin 2.4s linear infinite;
}
@property --g-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes orbGlowSpin {
  to { --g-a: 360deg; }
}
.partner-orb.is-ghost {
  background: linear-gradient(145deg, rgba(20, 86, 138, 0.06), rgba(245, 144, 0, 0.06));
  border-style: dashed;
  box-shadow: none;
}
.orb-icon {
  font-size: 1.6rem;
  line-height: 1;
  transform: translateZ(24px);
}
.orb-logo {
  width: 100%;
  max-width: 150px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 0.35rem;
  transform: translateZ(24px);
  background: #fff;
  border-radius: 8px;
  padding: 0.25rem;
}
.orb-name {
  font-weight: 800;
  color: var(--navy, #14568a);
  font-size: 1.02rem;
  line-height: 1.25;
  transform: translateZ(18px);
}
.orb-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange, #f59000);
  transform: translateZ(12px);
}
.partner-orb.is-ghost .orb-tag { color: #8fa3bd; }
@media (hover: none) {
  .orb-glow { animation: orbGlowSpin 2.4s linear infinite; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-3d-track, .partner-orb, .showcase-pulse { animation: none !important; }
  .marquee-3d { overflow-x: auto; }
  .orb-glow { display: none; }
}
@media (max-width: 720px) {
  .partner-orb { min-width: 190px; padding: 0.95rem 1.2rem; }
  .orb-icon { font-size: 1.35rem; }
  .orb-name { font-size: 0.92rem; }
  .showcase-pulse { width: 340px; height: 340px; }
}
/* Logos d'écoles style Nexuroom */
.school-logo {
  font-weight: 700;
  font-size: 1.15rem !important;
  letter-spacing: 0.03em;
  color: #6b74a0 !important;
  text-transform: uppercase;
}

/* ===== Bande CTA finale (style Nexuroom) ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy), #2a3a75);
  color: #fff;
  padding: 3rem 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}
.cta-band p {
  color: #aab3d0;
  font-size: 0.95rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-3d-track { animation: none; }
}
@media (max-width: 700px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.site-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.site-whatsapp:hover {
  color: #fff;
  transform: scale(1.08);
}
.site-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.site-whatsapp span {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.u-whatsapp,
.site-whatsapp {
  right: 22px;
  bottom: 22px;
}

/* ===== Catalogue formations ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.filters select {
  flex: 1 1 160px;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e5e0d8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--cream-2);
}
.filters .btn {
  padding: 0.55rem 1.3rem;
}
#fCount {
  margin-bottom: 1rem;
}
.formation-card {
  display: flex;
  flex-direction: column;
}
.formation-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: 5px;
  padding: 0.25rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.tag-country {
  background: var(--gold);
  color: var(--navy);
}
.formation-etab {
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--blue) !important;
  margin-bottom: 0.6rem;
}
.formation-facts {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.8rem;
  font-size: 0.83rem;
  color: #444;
}
.formation-facts li {
  margin: 0.2rem 0;
}
.formation-details {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.formation-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.formation-details p {
  color: var(--muted);
  font-size: 0.83rem;
}
.formation-card .btn {
  margin-top: auto;
  text-align: center;
}

/* ===== Formulaire d'évaluation de profil ===== */
.profil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.profil-grid select,
.profil-grid input {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e5e0d8;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--cream-2);
  width: 100%;
}
.profil-grid select:focus,
.profil-grid input:focus {
  outline: none;
  border-color: var(--blue);
}
@media (max-width: 700px) {
  .profil-grid {
    grid-template-columns: 1fr;
  }
  .filters select {
    flex-basis: 100%;
  }
}

/* ===== Blog ===== */
.post .tag {
  margin-bottom: 0.6rem;
}
.post-date {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.post p {
  font-size: 0.88rem;
}

/* ===== Réseaux sociaux footer ===== */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin: 0.8rem 0;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-socials img {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-socials a:hover {
  background: rgba(245, 166, 35, 0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ===== Drapeaux ===== */
.flag-img {
  width: 64px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(20, 112, 180, 0.18);
  margin-bottom: 0.4rem;
}
.flag-head {
  width: 56px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(20, 112, 180, 0.18);
  flex-shrink: 0;
}

/* ===== POLISH & OPTIMISATIONS VISUELLES (v2) ===== */

/* Accessibilité : focus visible partout */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 131, 60, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Cartes-liens de la page destinations */
.dest-card {
  color: inherit;
  display: block;
  border-radius: calc(var(--radius) + 5px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.dest-card h2 {
  margin: 0.9rem 0 0.2rem;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 112, 180, 0.13);
}
.dest-flag {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(20, 112, 180, 0.15);
  display: block;
}
.dest-flag-lg {
  width: 64px;
  height: 48px;
}
.dest-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.dest-continent {
  display: inline-block;
  background: rgba(31, 107, 181, 0.1);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 5px;
}
.destinations-page {
  background: linear-gradient(120deg, var(--navy), var(--blue) 55%, #14568a);
  color: #fff;
}
.destinations-page .section-head h1,
.destinations-page .section-head p {
  color: #fff;
}
.destinations-page .dest-card {
  color: var(--ink);
}
.destinations-page .dest-card h2 {
  color: var(--navy);
}
.destinations-page .dest-card .dest-meta {
  color: var(--muted);
}

/* Fiche pays */
.pays-hero {
  margin: 1.5rem 0 2.5rem;
  padding: 2.5rem 2rem;
  border-radius: calc(var(--radius) + 5px);
}
.pays-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 0.8rem 0 0.3rem;
}
.pays-fact {
  border-radius: calc(var(--radius) + 5px);
}
.pays-fact strong {
  color: var(--navy);
}
.pays-fact p {
  margin-top: 0.4rem;
}
.pays-step {
  border-radius: calc(var(--radius) + 5px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pays-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: #fff;
  font-weight: 700;
}
.pays-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Cartes : élévation douce au survol */
.card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(20, 112, 180, 0.28);
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}
.card-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Destinations : zoom léger du drapeau */
.dest {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.dest:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(20, 112, 180, 0.3);
}
.dest:hover .flag-img {
  transform: scale(1.1);
}
.flag-img {
  transition: transform 0.3s ease;
}

/* Témoignages : liseré ambre au survol */
.temoin {
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.temoin:hover {
  border-left-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -16px rgba(20, 112, 180, 0.22);
}

/* Étapes du parcours : mise en valeur au survol */
.step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(20, 112, 180, 0.25);
}
.step:hover .step-num {
  transform: scale(1.12);
}
.step-num {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero : halo lumineux animé très léger sur le blob */
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.05); }
}
.blob-blue {
  animation: blobDrift 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .blob-blue,
  .marquee-track,
  .marquee-3d-track {
    animation: none !important;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* Boutons : ombre colorée au survol */
.btn-orange {
  box-shadow: 0 4px 14px -6px rgba(242, 131, 60, 0.55);
}
.btn-orange:hover {
  box-shadow: 0 10px 24px -8px rgba(242, 131, 60, 0.65);
}

.btn-orange[href*="contact"] {
  background: #333;
  color: #fff;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35);
}
.btn-orange[href*="contact"]:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

/* Images : légère amélioration du rendu */
img {
  image-rendering: auto;
}

/* Sélection de texte aux couleurs de la marque */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* Scrollbar discrète (WebKit) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--navy));
  border-radius: 5px;
}

/* Navbar : ombre au scroll (classe ajoutée en JS) */
.navbar.scrolled {
  box-shadow: 0 8px 24px -12px rgba(20, 112, 180, 0.35);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}
.navbar {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Apparition en douceur des sections (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Marquee partenaires : pause au survol */
.marquee-3d:hover .marquee-3d-track {
  animation-play-state: paused;
}
}

/* ===== CHATBOT NAFI ===== */
#nafiWidget {
  position: fixed;
  bottom: 92px;
  right: 22px;
  z-index: 70;
  font-family: "Poppins", sans-serif;
}

/* Bouton d'ouverture */
.nafi-toggle {
  position: relative;
  isolation: isolate;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #15803d;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.35);
  animation: nafiPulse 2.6s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}
.nafi-toggle::before {
  position: absolute;
  z-index: -1;
  inset: -4px;
  border: 2px solid rgba(21, 128, 61, 0.55);
  border-radius: 50%;
  content: "";
  animation: nafiPulseRing 2.6s ease-out infinite;
  pointer-events: none;
}
.nafi-toggle:hover {
  background: #166534;
  animation-play-state: paused;
}
@media (hover: hover) {
  .nafi-toggle:hover {
    transform: scale(1.1);
  }
}
.nafi-toggle.hidden {
  display: none;
}
.nafi-toggle-portrait {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
}
.nafi-toggle-portrait img,
.nafi-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes nafiPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.35);
  }
  50% {
    box-shadow: 0 12px 30px rgba(21, 128, 61, 0.55);
  }
}
@keyframes nafiPulseRing {
  0% {
    opacity: 0.7;
    transform: scale(0.85);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Panneau — masqué par défaut via [hidden] (ne jamais forcer display:flex sans condition) */
.nafi-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 8rem));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px -12px rgba(20, 112, 180, 0.4);
}
.nafi-panel[hidden] {
  display: none;
}
.nafi-panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: nafiPop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom right;
}
#nafiWidget.nafi-panel-align-left .nafi-panel {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}
#nafiWidget.nafi-panel-below .nafi-panel {
  top: 72px;
  bottom: auto;
  transform-origin: top right;
}
#nafiWidget.nafi-panel-align-left.nafi-panel-below .nafi-panel {
  transform-origin: top left;
}
@keyframes nafiPop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* En-tête */
.nafi-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(120deg, var(--navy), #2a3a75);
  color: #fff;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.nafi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gold);
  flex-shrink: 0;
}
.nafi-head strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}
.nafi-head small {
  display: block;
  font-size: 0.72rem;
  color: #c3cce8;
}
.nafi-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nafi-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Corps des messages */
.nafi-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--cream-2);
  min-height: 220px;
}
.nafi-msg {
  max-width: 85%;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
  word-break: break-word;
}
.nafi-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 3px 10px rgba(20, 112, 180, 0.08);
}
.nafi-msg.user {
  align-self: flex-end;
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.nafi-msg a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}
.nafi-msg.user a {
  color: #ffd98a;
}
.nafi-msg strong {
  color: inherit;
}

/* Boutons de raccourcis */
.nafi-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-self: flex-start;
  max-width: 90%;
}
.nafi-quick button {
  background: #fff;
  border: 1.5px solid #e5e0d8;
  border-radius: 5px;
  padding: 0.4rem 0.85rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.nafi-quick button:hover {
  border-color: var(--orange);
  background: #fff4ea;
  transform: translateY(-1px);
}

/* Zone de saisie */
.nafi-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  background: #fff;
  border-top: 1.5px solid #f0ebe1;
}
.nafi-input input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid #e5e0d8;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--cream-2);
}
.nafi-input input:focus {
  outline: none;
  border-color: var(--blue);
}
.nafi-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.nafi-input button:hover {
  background: var(--gold);
  transform: scale(1.08);
}

/* Barre de défilement du chat */
.nafi-body::-webkit-scrollbar {
  width: 6px;
}
.nafi-body::-webkit-scrollbar-thumb {
  background: #d5cfdd;
  border-radius: 5px;
}

.nafi-toggle {
  touch-action: none;
  user-select: none;
  cursor: grab;
}
#nafiWidget.is-dragging .nafi-toggle {
  cursor: grabbing;
  animation-play-state: paused;
  transition: none;
  transform: none;
}
#nafiWidget.is-dragging .nafi-head {
  cursor: grabbing;
}
#nafiWidget.is-dragging .nafi-panel {
  animation: none;
}

/* Mobile */
@media (max-width: 560px) {
  .u-whatsapp,
  .site-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }
  .nafi-widget {
    display: none !important;
  }
  #nafiWidget {
    right: 16px;
    bottom: 86px;
  }
  .nafi-toggle:hover {
    transform: none;
  }
  .nafi-panel {
    bottom: 70px;
    right: 0;
    max-height: calc(100vh - 12rem);
    max-height: calc(100dvh - 12rem);
  }
  #nafiWidget.nafi-panel-below .nafi-panel {
    top: 70px;
    bottom: auto;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nafi-panel {
    animation: none;
  }
  .nafi-toggle,
  .nafi-toggle::before {
    animation: none;
  }
  .nafi-toggle:hover {
    transform: none;
  }
}

/* ===== Sélecteur de langue (drapeaux, version épurée) ===== */
.navbar,
.u-navbar,
header.site {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transform: none !important;
}
.navbar.scroll-hidden,
.u-navbar.scroll-hidden,
header.site.scroll-hidden {
  transform: none !important;
}
.navbar,
.u-navbar,
header.site {
  min-height: 66px;
}
.nav-inner,
.u-nav-inner {
  min-height: 66px;
}

/* Floating actions stay separated and predictable on every screen */
.site-whatsapp,
.u-whatsapp {
  right: 22px !important;
  bottom: 22px !important;
  z-index: 1200;
}
#nafiWidget {
  position: fixed !important;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  right: 22px;
  bottom: 92px;
  z-index: 1190;
}
@media (max-width: 560px) {
  .site-whatsapp,
  .u-whatsapp {
    right: 16px !important;
    bottom: 16px !important;
  }
  #nafiWidget {
    right: 16px;
    bottom: 86px;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem;
  background: transparent;
  border: 1.5px solid #eae3d6;
  border-radius: 5px;
  flex-shrink: 0;
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 5px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lang-opt img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(20, 112, 180, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.lang-opt:hover {
  background: rgba(20, 112, 180, 0.06);
  transform: none;
}
.lang-opt.active {
  background: var(--navy);
}
.lang-opt.active img {
  transform: none;
  box-shadow: 0 2px 6px rgba(20, 112, 180, 0.4);
}

.route-country-flag {
  width: 18px;
  height: 13px;
  display: inline-block;
  flex: 0 0 18px;
  margin: 0;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: -1px;
  box-shadow: 0 1px 2px rgba(20, 86, 138, 0.18);
}

/* Navlinks un peu plus aérés */
.nav-links a {
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Sur mobile, le sélecteur reste visible à côté du burger */
@media (max-width: 900px) {
  .lang-switch {
    margin-right: 0;
  }
  .nav-links .lang-switch {
    margin: 0.5rem 0 0;
  }
}

/* ===== Barre de navigation ===== */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(20, 112, 180, 0.1);
  box-shadow: 0 8px 24px -20px rgba(20, 112, 180, 0.5);
}
.nav-inner {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) auto;
  gap: 1.1rem;
  padding: 0.55rem 0;
}
.logo-img {
  height: 50px;
  max-width: 220px;
  object-fit: contain;
}
.navbar .logo,
.navbar .logo-img {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.nav-links {
  min-width: 0;
  justify-content: flex-end;
  gap: clamp(0.45rem, 0.8vw, 0.9rem);
  font-size: 0.86rem;
}
.nav-links a:not(.btn) {
  padding: 0.4rem 0;
  white-space: nowrap;
}
.nav-links a:not(.btn)::after {
  bottom: -0.15rem;
  height: 1px;
  background: var(--navy);
}
.nav-links .btn {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-inner > .lang-switch {
  justify-self: end;
  margin: 0;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  font-size: 0;
}
.burger::before {
  content: "☰";
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}
@media (max-width: 1120px) {
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 0.7rem;
    min-height: 66px;
    padding: 0.4rem 0;
  }
  .logo-img {
    height: 44px;
    max-width: min(52vw, 210px);
  }
  .nav-links {
    position: fixed;
    z-index: 51;
    top: 66px;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    width: min(88vw, 390px);
    height: calc(100dvh - 66px);
    padding: 1rem;
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid rgba(20, 112, 180, 0.1);
    box-shadow: -16px 16px 36px rgba(20, 112, 180, 0.12);
    transform: translateX(101%);
    transition: transform 0.25s ease;
  }
  .nav-links.open {
    right: 0;
    transform: translateX(0);
  }
  .nav-links > a:not(.btn) {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid #eceef2;
  }
  .nav-links a:not(.btn)::after {
    display: none;
  }
  .nav-links .btn {
    width: 100%;
    margin-top: 0.8rem;
    text-align: center;
  }
  .nav-inner > .lang-switch {
    margin: 0;
  }
  .burger {
    display: grid;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links {
    transition: none;
  }
}
