/* Umalis Group — identité éditoriale et humaine */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
  --primary: #ad5211;
  --primary-dark: #7e3c0c;
  --secondary: #d36415;
  --cyan: #d36415;
  --cyan-soft: #fcede2;
  --accent: #E9363E;
  --accent-hover: #C9262E;
  --bg-light: #fef8f3;
  --bg-alt: #fbf3ed;
  --bg-yellow: #FFF5D9;
  --text: #3b2210;
  --text-muted: #554133;
  --white: #FFFFFF;
  --border: #f3dccc;
  --success: #1B915E;
  --radius: 50px;
  --radius-sm: 16px;
  --shadow: 0 18px 60px rgba(4, 45, 91, 0.12);
  --container: 1220px;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg-light);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: underline; font-weight: 500; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { color: var(--primary-dark); font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; color: var(--secondary); }

.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--alt { background: var(--bg-alt); }
.section--blue { background: var(--bg-light); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section__label::before {
  content: "★";
  font-size: 1.4rem;
}

.section__intro {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
.btn--secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
.btn--outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Top bar */
.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header */
.header {
  background: var(--bg-light);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__mark {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo__sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--secondary);
  display: block;
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav__list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav__list a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 15px;
}

.nav__list a:hover { color: var(--accent); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
  align-items: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
}

.badge__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.hero__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.hero__euronext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-yellow);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Stats */
.stats {
  background: var(--white);
  padding: 60px 0;
}

.stats__header { text-align: center; margin-bottom: 3rem; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.stat-card__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-card__label {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Promo offer */
.promo {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.promo h2, .promo h3 { color: var(--white); }

.promo__price {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.promo__price span { font-size: 2rem; }

.promo .btn--primary { background: var(--white); color: var(--primary-dark); }
.promo .btn--primary:hover { background: var(--bg-yellow); }

/* Features grid */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 2px dashed var(--secondary);
}

/* Simulator */
.simulator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.simulator__panel {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.simulator__result {
  background: var(--primary-dark);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 20px;
}

.simulator__result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.form-group input[type="range"] { width: 100%; accent-color: var(--secondary); }

.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
}

.range-value {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Transparency */
.transparency {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.transparency__item {
  background: var(--white);
  padding: 40px 24px;
  border-radius: var(--radius-sm);
}

.transparency__value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 24px;
}

.step-card__num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

/* Platform */
.platform__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform__item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}

.platform__item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Jobs */
.jobs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.job-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  text-decoration: none;
}

.job-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.job-card:hover img { transform: scale(1.05); }

.job-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(7, 44, 116, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.job-card__title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Map / agencies */
.agencies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.agencies__map {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 400px;
  position: relative;
}

.agencies__map svg { width: 100%; height: auto; }

.agency-dot {
  cursor: pointer;
  transition: r 0.2s;
}

.agency-dot:hover { r: 8; }

.agency-info {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

/* Testimonials */
.testimonials__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.testimonial__stars { color: #FBC831; font-size: 1.1rem; margin-bottom: 12px; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--secondary);
}

/* FAQ */
.faq__list { max-width: 800px; margin: 0 auto; }

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq__item.active .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 16px;
}

.faq__item.active .faq__answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* Definition cards */
.definition__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.definition-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.definition-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

/* Blog */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card img { aspect-ratio: 16/9; object-fit: cover; }

.blog-card__body { padding: 20px; }

.blog-card__tag {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-top: 8px;
  color: var(--primary-dark);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-banner h2 { color: var(--white); }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
  font-size: 15px;
}

.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer__list { list-style: none; }
.footer__list li { margin-bottom: 8px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Sticky bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--accent);
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar p { font-weight: 600; color: var(--primary-dark); margin: 0; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  place-items: center;
  padding: 24px;
}

.modal.active { display: grid; }

.modal__content {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal__success {
  text-align: center;
  padding: 24px;
  display: none;
}

.modal__success.active { display: block; }

.modal__form.hidden { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .simulator,
  .promo,
  .agencies { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid,
  .steps,
  .jobs__grid,
  .testimonials__slider,
  .definition__grid,
  .blog__grid { grid-template-columns: repeat(2, 1fr); }

  .transparency { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 48px 0; }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--shadow);
  }

  .nav__list.open { display: flex; }

  .nav__toggle { display: block; }

  .header .container { position: relative; flex-wrap: wrap; }

  .stats__grid,
  .features__grid,
  .steps,
  .jobs__grid,
  .testimonials__slider,
  .definition__grid,
  .blog__grid,
  .platform__grid { grid-template-columns: 1fr; }

  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }

  .sticky-bar { flex-direction: column; text-align: center; }
  body { padding-bottom: 80px; }
}

/* Homepage V2 — personnalité Umalis */
.home {
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

.home .container { position: relative; }

.home .topbar {
  background: var(--primary-dark);
  padding: 9px 0;
  letter-spacing: 0.01em;
}

.topbar__inner { display: flex; justify-content: flex-end; gap: 28px; }
.topbar__inner a:first-child { margin-right: auto; }

.home .header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(4, 45, 91, 0.1);
  backdrop-filter: blur(16px);
  padding: 14px 0;
}

.logo { gap: 11px; }

.logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 52% 48% 54% 46%;
  background: conic-gradient(from 205deg, var(--cyan), #ad5211 42%, var(--primary-dark) 66%, var(--cyan) 100%);
  box-shadow: 0 8px 24px rgba(0, 168, 232, 0.3);
  color: transparent;
  position: relative;
  overflow: hidden;
}

.logo__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.logo__mark::after {
  content: "G";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.logo__text {
  display: block;
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.logo__sub {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  margin-top: 4px;
}

.home .nav { gap: 22px; }
.home .nav__list { gap: 20px; }
.home .nav__list a { font-size: 14px; font-weight: 700; }
.home .nav__list a:hover { color: var(--secondary); }
.header__cta { white-space: nowrap; }

.home .btn {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
}

.home .btn--primary { box-shadow: 0 10px 28px rgba(233, 54, 62, 0.22); }

.btn--hero-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn--hero-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.home .hero {
  min-height: 700px;
  padding: 76px 0 72px;
  background:
    linear-gradient(135deg, rgba(0, 119, 190, 0.96), rgba(0, 168, 232, 0.88)),
    radial-gradient(circle at 72% 20%, rgba(0, 194, 232, 0.5), transparent 34%);
  position: relative;
  isolation: isolate;
}

.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero__glow {
  position: absolute;
  pointer-events: none;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(0, 194, 232, 0.25);
  border-radius: 50%;
  right: -180px;
  top: 35px;
  box-shadow: 0 0 0 80px rgba(0, 194, 232, 0.05), 0 0 0 160px rgba(0, 194, 232, 0.03);
}

.home .hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  gap: 80px;
}

.hero__content { max-width: 720px; }

.eyebrow,
.home .section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before,
.home .section__label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
}

.home .hero .eyebrow { color: var(--cyan); }

.home .hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 5.3vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.home .hero h1 span { color: var(--cyan); }

.hero__lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.7;
}

.home .hero .btn-group { margin-top: 32px; }

.hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__proofs span::before { content: "•"; color: var(--cyan); margin-right: 8px; }

.hero-person {
  height: 570px;
  min-height: 0;
  border-radius: 120px 24px 120px 24px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  transform: rotate(1.5deg);
}

.hero-person::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 90, 138, 0.5) 56%, rgba(0, 90, 138, 0.98) 70%);
}

.hero-person::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 108px 18px 108px 18px;
  pointer-events: none;
}

.hero-person img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.5s ease;
}

.hero-person:hover img { transform: scale(1.025); }

.hero-person__caption {
  position: absolute;
  z-index: 3;
  left: 38px;
  right: 38px;
  bottom: 34px;
  display: grid;
  gap: 3px;
}

.hero-person__caption strong { color: var(--white); font-family: var(--font-display); font-size: 1.45rem; }
.hero-person__caption > span:last-child { color: rgba(255,255,255,.75); font-size: 0.82rem; }
.hero-person__role { color: var(--cyan); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-person__stamp {
  position: absolute;
  z-index: 4;
  top: 36px;
  left: 30px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--cyan);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
  transform: rotate(-8deg);
}

.hero-person__stamp strong { font-family: var(--font-display); font-size: 2.1rem; line-height: 0.9; }

.proof-rail { background: var(--cyan); color: var(--primary-dark); }

.proof-rail__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-rail__grid > div {
  padding: 30px 24px;
  border-right: 1px solid rgba(4, 45, 91, 0.16);
  display: grid;
  gap: 4px;
}

.proof-rail__grid > div:last-child { border-right: 0; }
.proof-rail strong { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.05em; }
.proof-rail span { font-size: 0.78rem; font-weight: 700; }

.home .section { padding: 100px 0; }
.home .section h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); }

.section__label--light { color: var(--cyan) !important; }

.identity-section { background: var(--bg-light); }

.identity-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.identity-copy { position: sticky; top: 130px; }
.identity-manifesto { margin: 28px 0; color: var(--text-muted); font-size: 1.15rem; line-height: 1.8; max-width: 580px; }

.text-link {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 4px;
}

.text-link:hover { color: var(--secondary); }

.brand-timeline { list-style: none; position: relative; }

.brand-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 96px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--primary));
}

.brand-timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 8px 0 44px;
}

.brand-timeline__date { color: var(--secondary); font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
.brand-timeline li > div { background: var(--white); border: 1px solid var(--border); border-radius: 0 22px 22px 22px; padding: 26px; box-shadow: var(--shadow); position: relative; }
.brand-timeline li > div::before { content: ""; position: absolute; left: -39px; top: 4px; width: 13px; height: 13px; background: var(--cyan); border: 5px solid var(--bg-light); border-radius: 50%; box-sizing: content-box; }
.brand-timeline strong { display: block; color: var(--primary-dark); font-family: var(--font-display); margin-bottom: 8px; }
.brand-timeline p { color: var(--text-muted); font-size: 0.94rem; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading > p { color: var(--text-muted); line-height: 1.75; }
.section-heading--center { display: block; text-align: center; max-width: 850px; margin: 0 auto 48px; }

.brand-features { gap: 20px; }

.home .feature-card {
  border: 1px solid var(--border);
  border-radius: 2px 26px 26px 26px;
  padding: 38px;
  box-shadow: none;
}

.home .feature-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.home .feature-card h3 { color: var(--primary-dark); font-size: 1.35rem; margin-top: 26px; }
.home .feature-card p { color: var(--text-muted); margin-top: 12px; line-height: 1.7; font-size: 0.93rem; }
.feature-card--accent { background: var(--primary-dark); border-color: var(--primary-dark) !important; }
.feature-card--accent h3 { color: var(--white) !important; }
.feature-card--accent p { color: rgba(255,255,255,.7) !important; }

.brand-icon {
  display: inline-block;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-bottom: 3px solid var(--cyan);
  padding-bottom: 5px;
}

.simulator-section { background: var(--primary-dark); color: var(--white); position: relative; overflow: hidden; }
.simulator-section::after { content: ""; position: absolute; pointer-events: none; right: -180px; bottom: -240px; width: 620px; height: 620px; border: 90px solid rgba(0,194,232,.06); border-radius: 50%; }
.home .simulator { grid-template-columns: 0.85fr 1.15fr; gap: 90px; position: relative; z-index: 1; }
.simulator-story h2 { color: var(--white); }
.simulator-story > p:not(.section__label) { margin-top: 24px; color: rgba(255,255,255,.72); line-height: 1.8; }

.simulator-story__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.simulator-story__facts div { border-top: 2px solid var(--cyan); padding-top: 12px; }
.simulator-story__facts dt { color: rgba(255,255,255,.55); font-size: 0.7rem; }
.simulator-story__facts dd { margin-top: 4px; color: var(--white); font-weight: 800; font-size: 0.9rem; }

.home .simulator__panel { padding: 38px; border-radius: 2px 28px 28px 28px; box-shadow: 0 30px 90px rgba(0,0,0,.26); }
.home .simulator__panel h3 { color: var(--primary-dark); font-size: 1.55rem; margin-bottom: 28px; }
.home .form-group { margin-bottom: 20px; }
.home .form-group input[type="range"] { accent-color: var(--cyan); }
.home .simulator__result { background: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border); }
.home .simulator__result-value { color: var(--primary-dark); font-family: var(--font-display); }
.simulator__button { width: 100%; margin-top: 16px; }

.brand-steps { gap: 20px; }
.home .brand-steps .step-card { text-align: left; background: var(--bg-light); border-radius: 2px 24px 24px 24px; padding: 34px; }
.home .brand-steps .step-card__num { margin: 0 0 42px; background: transparent; color: var(--secondary); width: auto; height: auto; display: block; font-family: var(--font-display); font-size: 3rem; }
.step-card__verb { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }
.home .brand-steps h3 { color: var(--primary-dark); margin-top: 6px; }
.home .brand-steps .step-card > p:last-child { color: var(--text-muted); margin-top: 12px; font-size: 0.91rem; line-height: 1.7; }
.center-action { text-align: center; margin-top: 34px; }

.platform-section { background: linear-gradient(135deg, #6b330b, var(--primary-dark)); color: var(--white); }
.platform-personality { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 88px; align-items: center; }
.platform-personality h2 { color: var(--white); }
.platform-personality > div:first-child > p:not(.section__label) { color: rgba(255,255,255,.7); line-height: 1.8; margin: 24px 0 30px; }
.home .platform__grid { gap: 14px; }
.home .platform__item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--cyan); border-radius: 2px 16px 16px 16px; padding: 22px; }
.home .platform__item > span { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--primary-dark); font-size: 0.62rem; font-weight: 800; }
.home .platform__item h3 { color: var(--white); font-size: 1rem; letter-spacing: -0.02em; }
.home .platform__item p { color: rgba(255,255,255,.58); font-size: 0.78rem; margin-top: 5px; }

.professions-section { background: var(--bg-light); }
.profession-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.profession-grid a { min-height: 150px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: var(--primary-dark); text-decoration: none; background: var(--white); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .2s, color .2s; }
.profession-grid a:hover { background: var(--primary-dark); color: var(--white); }
.profession-grid span { color: var(--secondary); font-family: var(--font-display); font-size: 0.78rem; }
.profession-grid strong { font-family: var(--font-display); font-size: 1.2rem; }

.rating { display: grid; justify-items: end; }
.rating strong { color: var(--primary-dark); font-family: var(--font-display); font-size: 2.5rem; }
.rating span { color: var(--text-muted); font-size: 0.78rem; font-weight: 700; }
.home .testimonials__slider { gap: 20px; }
.home .testimonial { border: 1px solid var(--border); border-radius: 2px 24px 24px 24px; box-shadow: none; padding: 34px; }
.home .testimonial > p { color: var(--text); line-height: 1.75; font-size: 0.95rem; }
.testimonial--cyan { background: var(--cyan); border-color: var(--cyan) !important; }
.home .testimonial__author { margin-top: 26px; }
.home .testimonial__avatar { background: var(--primary-dark); color: var(--white); font-family: var(--font-display); }
.testimonial__author div { display: grid; }
.testimonial__author div span { color: var(--text-muted); font-size: 0.73rem; }

.faq-section { background: var(--bg-light); }
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 90px; align-items: start; }
.faq-layout > div:first-child > p:not(.section__label) { color: var(--text-muted); margin: 22px 0; line-height: 1.7; }
.home .faq__list { max-width: none; }
.home .faq__item { border-color: var(--border); }
.home .faq__question { font-family: var(--font-display); font-size: 1rem; padding: 24px 0; }
.home .faq__answer { line-height: 1.7; }

.final-cta-section { background: var(--white); }
.final-cta { background: var(--primary-dark); border-radius: 2px 38px 38px 38px; padding: 70px; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; pointer-events: none; width: 360px; height: 360px; border: 70px solid rgba(0,194,232,.1); border-radius: 50%; right: -90px; top: -120px; }
.final-cta h2 { color: var(--white); max-width: 780px; position: relative; z-index: 1; }
.final-cta .eyebrow { color: var(--cyan); }
.final-cta .btn-group { position: relative; z-index: 1; }

.home .footer { padding-top: 76px; }
.home .footer__logo .logo__text { color: var(--white); }
.home .footer__logo .logo__sub { color: var(--cyan); }
.home .footer__grid > div:first-child p { max-width: 350px; margin-top: 22px; line-height: 1.7; color: rgba(255,255,255,.6); }
.home .footer__title { color: var(--cyan); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }

.home .sticky-bar { border-top-color: var(--cyan); }
.home .sticky-bar .btn { min-height: 40px; padding: 8px 16px; font-size: 0.78rem; }

.home .modal__content { border-radius: 2px 24px 24px 24px; }
.home .modal__content h3 { margin-bottom: 14px; }
.modal__summary { color: var(--text-muted); font-size: 0.86rem; line-height: 1.7; margin-bottom: 22px; }
.home .modal__success strong { display: block; color: var(--primary-dark); font-family: var(--font-display); font-size: 1.4rem; }
.home .modal__success p { color: var(--text-muted); margin-top: 8px; }

@media (max-width: 1120px) {
  .home .nav__list { gap: 14px; }
  .home .nav__list a { font-size: 13px; }
  .header__cta { display: none; }
  .home .hero__grid { gap: 50px; }
  .identity-grid, .platform-personality { gap: 60px; }
}

@media (max-width: 960px) {
  .home .nav__toggle { display: block; font-family: var(--font); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
  .home .nav__list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; box-shadow: var(--shadow); }
  .home .nav__list.open { display: flex; }
  .home .hero__grid, .home .simulator, .identity-grid, .platform-personality, .faq-layout { grid-template-columns: 1fr; }
  .hero__content { max-width: 760px; }
  .hero-person { height: 500px; min-height: 0; max-width: 620px; width: 100%; margin: 0 auto; }
  .hero-person img { min-height: 0; }
  .identity-copy { position: static; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .rating { justify-items: start; }
}

@media (max-width: 767px) {
  .topbar__inner { justify-content: center; gap: 10px 18px; }
  .topbar__inner a:first-child { margin-right: 0; }
  .topbar__inner span { display: none; }
  .home .header { position: sticky; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__text { font-size: 1.18rem; }
  .home .hero { min-height: auto; padding: 58px 0 52px; }
  .home .hero__grid { gap: 42px; }
  .home .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero__lead { font-size: 1rem; }
  .home .hero .btn-group { display: grid; }
  .home .hero .btn { width: 100%; }
  .hero__proofs { display: grid; }
  .hero-person { height: 430px; min-height: 0; border-radius: 70px 18px 70px 18px; transform: none; }
  .hero-person img { min-height: 0; }
  .hero-person::after { border-radius: 62px 14px 62px 14px; }
  .hero-person__caption { left: 28px; right: 28px; bottom: 28px; }
  .hero-person__stamp { width: 90px; height: 90px; top: 26px; left: 24px; }
  .hero-person__stamp strong { font-size: 1.75rem; }
  .proof-rail__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-rail__grid > div:nth-child(2) { border-right: 0; }
  .proof-rail__grid > div { padding: 22px 14px; }
  .proof-rail strong { font-size: 1.55rem; }
  .home .section { padding: 68px 0; }
  .brand-timeline::before { left: 0; }
  .brand-timeline li { grid-template-columns: 1fr; gap: 12px; padding-left: 24px; }
  .brand-timeline li > div::before { left: -36px; }
  .home .features__grid, .home .steps, .home .testimonials__slider, .profession-grid { grid-template-columns: 1fr; }
  .simulator-story__facts { grid-template-columns: 1fr; }
  .home .simulator__panel { padding: 26px; }
  .home .platform__grid { grid-template-columns: 1fr; }
  .final-cta { padding: 42px 26px; }
  .final-cta .btn-group { display: grid; }
  .final-cta .btn { width: 100%; }
  .home .footer__grid { grid-template-columns: 1fr; }
  .home .sticky-bar { display: none; }
  .home { padding-bottom: 0; }
}

/* Logo officiel Umalis Group — affichage commun à toutes les pages */
.logo.logo--official {
  flex: 0 0 auto;
  gap: 0;
}

.logo--official .logo__image {
  display: block;
  width: auto;
  height: 105px;
  max-height: none;
  object-fit: contain;
}

.footer .logo--official {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer .logo--official .logo__image {
  width: auto;
  height: 132px;
  max-height: none;
}

@media (max-width: 767px) {
  .logo--official .logo__image {
    width: auto;
    height: 80px;
    max-height: none;
  }

  .footer .logo--official .logo__image {
    width: auto;
    height: 110px;
    max-height: none;
  }
}

/* Rubrique Cooptation */
.referral-page {
  --font: "Manrope", sans-serif;
  --font-display: "Sora", sans-serif;
  padding-bottom: 72px;
}

.referral-page h1,
.referral-page h2,
.referral-page h3 {
  font-family: var(--font-display);
}

.referral-page .header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(4, 45, 91, 0.1);
}

.referral-page .nav__list a[aria-current="page"] {
  color: var(--secondary);
}

.referral-hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--white);
  padding: 92px 0;
}

.referral-hero::before,
.referral-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.referral-hero::before {
  width: 460px;
  height: 460px;
  border: 90px solid rgba(0, 194, 232, 0.09);
  right: -120px;
  top: -170px;
}

.referral-hero::after {
  width: 220px;
  height: 220px;
  background: rgba(233, 47, 63, 0.12);
  left: -110px;
  bottom: -120px;
}

.referral-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr);
  gap: 90px;
  align-items: center;
}

.referral-kicker {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.referral-hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 900px;
}

.referral-hero h1 span {
  display: block;
  color: var(--cyan);
}

.referral-hero__lead {
  max-width: 760px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
  line-height: 1.75;
}

.referral-hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.referral-amount {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 2px 34px 34px 34px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  transform: rotate(1.5deg);
}

.referral-amount > span {
  display: block;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.referral-amount strong {
  display: inline-block;
  margin: 20px 6px 12px 0;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.referral-amount b {
  color: var(--secondary);
  font-family: var(--font-display);
}

.referral-amount p {
  color: var(--text-muted);
  line-height: 1.65;
}

.referral-payout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.referral-copy {
  position: sticky;
  top: 150px;
}

.referral-copy h2 {
  margin: 12px 0 22px;
}

.referral-copy > p:last-child {
  color: var(--text-muted);
  line-height: 1.75;
}

.referral-options {
  display: grid;
  gap: 20px;
}

.referral-option {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 2px 26px 26px 26px;
  padding: 38px;
}

.referral-option--external {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.referral-option__number {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
}

.referral-option h3 {
  margin: 28px 0 12px;
  font-size: 1.4rem;
}

.referral-option--external h3 {
  color: var(--white);
}

.referral-option p {
  color: var(--text-muted);
  line-height: 1.7;
}

.referral-option--external p {
  color: rgba(255, 255, 255, 0.7);
}

.referral-steps-section {
  background: var(--bg-light);
}

.referral-steps-section .section-heading > p {
  color: var(--text-muted);
  line-height: 1.7;
}

.referral-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin-top: 54px;
}

.referral-steps li {
  background: var(--white);
  border-radius: 2px 22px 22px 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.referral-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  background: var(--cyan);
  color: var(--primary-dark);
  border-radius: 50%;
  font-weight: 800;
}

.referral-steps strong {
  display: block;
  color: var(--primary-dark);
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.referral-steps p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.referral-contact-section {
  background: var(--white);
}

.referral-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  background: var(--primary-dark);
  border-radius: 2px 34px 34px 34px;
  padding: 62px;
  color: var(--white);
}

.referral-contact h2 {
  color: var(--white);
  margin: 10px 0 14px;
}

.referral-contact p:last-child {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.referral-contact__mail {
  display: grid;
  gap: 6px;
  min-width: 330px;
  padding: 22px 26px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
}

.referral-contact__mail span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.referral-contact__mail strong {
  font-size: 1.05rem;
}

.referral-page .footer__grid > div:first-child p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.referral-sticky {
  border-top-color: var(--cyan);
}

@media (max-width: 1180px) {
  body:not(.home) .nav__toggle {
    display: block;
  }

  body:not(.home) .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow);
  }

  body:not(.home) .nav__list.open {
    display: flex;
  }

  body:not(.home) .nav > .btn {
    display: none;
  }
}

@media (max-width: 960px) {
  .referral-hero__grid,
  .referral-payout,
  .referral-contact {
    grid-template-columns: 1fr;
  }

  .referral-hero__grid {
    gap: 54px;
  }

  .referral-amount {
    max-width: 560px;
    transform: none;
  }

  .referral-copy {
    position: static;
  }

  .referral-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .referral-contact__mail {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .referral-page {
    padding-bottom: 0;
  }

  .referral-hero {
    padding: 62px 0;
  }

  .referral-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .referral-hero .btn-group {
    display: grid;
  }

  .referral-amount,
  .referral-option,
  .referral-contact {
    padding: 30px 24px;
  }

  .referral-steps {
    grid-template-columns: 1fr;
  }

  .referral-contact {
    gap: 32px;
  }

  .referral-sticky {
    display: none;
  }
}

/* Page Notre logo */
.logo-story-page {
  --font: "Manrope", sans-serif;
  --font-display: "Sora", sans-serif;
}

.logo-story-page h1,
.logo-story-page h2,
.logo-story-page h3 {
  font-family: var(--font-display);
}

.logo-story-page .header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(4, 45, 91, 0.1);
}

.logo-story-hero {
  background: linear-gradient(135deg, #fbf8f5 0%, #fbefe7 100%);
  padding: 84px 0;
  overflow: hidden;
}

.logo-story-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 62px;
  align-items: center;
}

.logo-story-kicker {
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.logo-story-hero h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.logo-story-hero__copy > p:not(.logo-story-kicker) {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 28px 0;
}

.logo-story-hero .btn--outline {
  border-color: rgba(4, 45, 91, 0.35);
  color: var(--primary-dark);
}

.logo-story-visual {
  position: relative;
  margin-right: -13vw;
}

.logo-story-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px 0 0 38px;
  box-shadow: 0 28px 80px rgba(4, 45, 91, 0.15);
}

.logo-story-visual figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.logo-symbol-section {
  background: var(--primary-dark);
  color: var(--white);
}

.logo-symbol-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.logo-symbol-intro h2 {
  color: var(--white);
  margin: 10px 0 0;
}

.logo-symbol-intro > p:last-child {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.logo-symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.logo-symbol-grid article {
  min-height: 320px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px 24px 24px 24px;
}

.logo-symbol-grid article > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--cyan);
  color: var(--primary-dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.logo-symbol-grid h3 {
  color: var(--white);
  margin: 44px 0 14px;
  font-size: 1.12rem;
}

.logo-symbol-grid p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.68;
}

.logo-symbol-grid .logo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.logo-symbol-grid .logo-card-link:hover,
.logo-symbol-grid .logo-card-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.logo-expression-section {
  background: var(--white);
}

.logo-expression-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  align-items: center;
}

.logo-flat-card {
  display: grid;
  place-items: center;
  min-height: 450px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 2px 34px 34px 34px;
}

.logo-flat-card img {
  width: min(280px, 72%);
}

.logo-expression-grid > div:last-child > p:not(.section__label) {
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 18px;
}

.logo-colors-section {
  background: var(--bg-light);
}

.logo-colors-section .section-heading > p {
  color: var(--text-muted);
  line-height: 1.7;
}

.logo-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.logo-color {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 2px 24px 24px 24px;
}

.logo-color span {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  opacity: 0.72;
}

.logo-color strong {
  margin: 14px 0 8px;
  font-family: var(--font-display);
}

.logo-color p {
  font-size: 0.86rem;
  opacity: 0.72;
}

.logo-color--navy { background: #562909; color: var(--white); }
.logo-color--blue { background: #94460f; color: var(--white); }
.logo-color--cyan { background: #d36415; color: var(--primary-dark); }
.logo-color--white { background: var(--white); color: var(--primary-dark); border: 1px solid var(--border); }

.logo-usage-section {
  background: var(--primary-dark);
  color: var(--white);
}

.logo-usage-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.logo-usage-grid h2 {
  color: var(--white);
}

.logo-usage-grid ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.logo-usage-grid li {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.logo-usage-grid strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.logo-usage-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.65;
}

.logo-contact-section {
  background: var(--white);
}

.logo-contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 2px 34px 34px 34px;
  padding: 58px;
}

.logo-contact-card h2 {
  color: var(--white);
  margin: 8px 0 0;
}

.logo-story-page .footer__grid > div:first-child p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .logo-story-hero__grid,
  .logo-symbol-intro,
  .logo-expression-grid,
  .logo-usage-grid {
    grid-template-columns: 1fr;
  }

  .logo-story-visual {
    margin-right: -24px;
  }

  .logo-symbol-grid,
  .logo-color-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .logo-story-hero {
    padding: 58px 0;
  }

  .logo-story-hero__grid {
    gap: 44px;
  }

  .logo-story-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .logo-story-hero .btn-group {
    display: grid;
  }

  .logo-story-visual {
    margin-right: -24px;
  }

  .logo-story-visual img {
    min-height: 320px;
  }

  .logo-symbol-grid,
  .logo-color-grid {
    grid-template-columns: 1fr;
  }

  .logo-symbol-grid article {
    min-height: 0;
  }

  .logo-flat-card {
    min-height: 340px;
  }

  .logo-usage-grid li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .logo-contact-card {
    display: grid;
    padding: 38px 24px;
  }
}

/* ——— Beauty polish 2026-08-03 ——— */

/* Logo header : taille lisible sans écraser la nav */
.home .logo--official .logo__image {
  height: 72px;
  width: auto;
}

.home .footer .logo--official .logo__image {
  height: 72px;
  width: auto;
}

/* 4 portes : grille 2×2 */
.home .portes-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.home .porte-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home .porte-card:hover {
  transform: translateY(-4px);
}

.home .feature-card--accent .brand-icon {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Critères sur fond clair */
.home .criteres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home .criteres-item {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--secondary) !important;
  border-radius: 2px 16px 16px 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.home .criteres-item > span {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan-soft) !important;
  color: var(--primary-dark) !important;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.home .criteres-item h3 {
  color: var(--primary) !important;
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.home .criteres-item p {
  color: var(--text-muted) !important;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* Tables éditoriales brandées */
.table-wrap {
  overflow-x: auto;
  border-radius: 2px 20px 20px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
}

.data-table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: var(--bg-light); }
.data-table a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.data-table a:hover {
  border-bottom-color: var(--cyan);
  color: var(--primary-dark);
}

.section-note {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
}

.source-panel {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 2px 22px 22px 22px;
}

.source-panel h3 {
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.source-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  font-size: 0.92rem;
}
.source-panel .source-intro {
  margin-bottom: 16px;
}
.source-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.source-list li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px 12px 12px 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.source-list li a:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 168, 232, 0.1);
}
.source-list li a strong {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.source-list li a span {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.source-panel .source-method {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .source-list { grid-template-columns: 1fr; }
}

/* Boutons simulateur empilés */
.home .simulator__button { display: flex; width: 100%; justify-content: center; }
.home .btn--secondary.simulator__button {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--border);
}

/* Header sticky + nav relative pour menu mobile */
.home .header .container { position: relative; }

/* Contenu éditorial des pages intérieures (héritage beauté) */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

.content-section h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.content-section h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.content-section h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--secondary);
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.content-section blockquote {
  border-left: 4px solid var(--cyan);
  padding: 12px 0 12px 1.15rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
  background: linear-gradient(90deg, var(--cyan-soft), transparent);
  border-radius: 0 12px 12px 0;
}

.content-section ul,
.content-section ol {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-section li { margin-bottom: 0.45rem; }

.content-section hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.25rem 0;
}

/* Pages intérieures : un peu d'air et fond blanc propre */
body:not(.home) .section--white .content-section {
  padding-top: 1rem;
}

body:not(.home) .header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(4, 45, 91, 0.1);
  backdrop-filter: blur(12px);
}

body:not(.home) .logo--official .logo__image {
  height: 64px;
  width: auto;
}

@media (max-width: 960px) {
  .home .portes-grid,
  .home .criteres-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home .logo--official .logo__image { height: 56px; }
  body:not(.home) .logo--official .logo__image { height: 52px; }
  .home .footer .logo--official .logo__image { height: 56px; }
  .source-panel { padding: 22px; }
  .data-table th,
  .data-table td { padding: 11px 12px; font-size: 0.88rem; }
}

/* Lisibilité éditoriale — audit global du 20/09/2026 */
body {
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p, li, blockquote {
  text-wrap: pretty;
}

.content-section {
  max-width: 800px;
}

.content-section > p,
.content-section > ul,
.content-section > ol,
.content-section > blockquote {
  font-size: 1rem;
  line-height: 1.78;
}

.content-section h2 {
  padding-top: 0.4rem;
  scroll-margin-top: 120px;
}

.content-section h2 + p {
  margin-top: 0.25rem;
}

.content-section > h2:first-of-type + ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  margin: 0 0 2.5rem;
  background: linear-gradient(135deg, var(--cyan-soft), var(--white));
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 18px 18px 0;
}

.content-section > h2:first-of-type + ol a {
  color: var(--primary-dark);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-section blockquote strong {
  color: var(--primary-dark);
  font-style: normal;
}

.content-section > table,
.section > .container > table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.section > .container > p,
.page-hero p {
  max-width: 72ch;
}

.section__intro,
.section-heading > p,
.hero__lead {
  max-width: 68ch;
}

.content-section hr {
  border-top: 2px solid var(--border);
  width: min(100%, 160px);
  margin: 3rem 0;
}

@media (max-width: 767px) {
  body {
    font-size: 17px;
    line-height: 1.68;
  }

  .section {
    padding: 56px 0;
  }

  .content-section {
    max-width: 100%;
    min-width: 0;
  }

  .content-section h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .content-section h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.18;
    margin-top: 2.35rem;
  }

  .content-section > h2:first-of-type + ol {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.1rem 1.25rem 2.6rem;
  }

  .content-section > table,
  .section > .container > table {
    font-size: 0.9rem;
  }
}
/* =============================================================
   Bloc additionnel pour la page comparatif-eps.html
   À ajouter en FIN de /css/styles.css sur le serveur.
   Reprend les composants .home (hero, criteres-grid) sous le
   scope .comparatif pour ne pas hériter des overrides homepage.
   ============================================================= */

/* Hero éditorial (gradient blue, sans hero-person) */
.comparatif .hero {
  min-height: 560px;
  padding: 76px 0 72px;
  background:
    linear-gradient(135deg, rgba(0, 119, 190, 0.96), rgba(0, 168, 232, 0.88)),
    radial-gradient(circle at 72% 20%, rgba(0, 194, 232, 0.5), transparent 34%);
  position: relative;
  isolation: isolate;
}

.comparatif .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.comparatif .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.comparatif .hero .eyebrow { color: var(--cyan); }

.comparatif .hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.comparatif .hero h1 span { color: var(--cyan); }

.comparatif .hero .btn-group { margin-top: 32px; }

/* Criteres grid — scope .comparatif (clone de .home) */
.comparatif .criteres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.comparatif .criteres-item {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--secondary) !important;
  border-radius: 2px 16px 16px 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.comparatif .criteres-item > span {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan-soft) !important;
  color: var(--primary-dark) !important;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.comparatif .criteres-item h3 {
  color: var(--primary) !important;
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.comparatif .criteres-item p {
  color: var(--text-muted) !important;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* Responsive : criteres-grid passe en 2 puis 1 colonne */
@media (max-width: 900px) {
  .comparatif .criteres-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .comparatif .criteres-grid { grid-template-columns: 1fr; }
  .comparatif .hero { min-height: auto; padding: 56px 0 52px; }
}
