/* Feuille de style personnalisée — PHARMAXIEL NV (ATI) */
.hero-pattern {
    background-image: radial-gradient(rgba(19, 60, 75, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.card-hover {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(19, 60, 75, 0.08), 0 8px 10px -6px rgba(19, 60, 75, 0.04);
}

/* Vignettes des 4 scènes (assets/img/scene-*.jpg) */
.scene-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center; /* le texte des vignettes est aligné à gauche */
    transition: transform 0.45s ease;
}

.group:hover .scene-img {
    transform: scale(1.03);
}

/* Une présentation plus nette et plus confortable, fidèle aux couleurs ATI. */
:root { color-scheme: light; }
html { scroll-padding-top: 5.5rem; scroll-behavior: smooth; }
body { font-size: 16px; }
header.sticky { box-shadow: 0 4px 24px rgba(15, 46, 58, .06); }
header nav a { position: relative; padding-block: .5rem; }
header nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: #e32626; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
header nav a:hover::after, header nav a:focus-visible::after { transform: scaleX(1); }
.landing-hero { background-color: #f2f7f8; background-image: radial-gradient(circle at 82% 18%, rgba(118, 190, 191, .19), transparent 32%), linear-gradient(130deg, #f8fbfb, #eaf3f4 65%, #fff); }
.landing-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.landing-hero h1 span { color: #e32626; }
.hero-copy > p { color: #425b64; line-height: 1.75; }
.landing-hero .hero-mock { border-radius: 2rem; box-shadow: 0 25px 60px rgba(15, 46, 58, .2); }
.hero-stats { gap: 1rem; }
.hero-stats > div { border-left: 3px solid #dce9ea; padding-left: .9rem; }
section h2 { letter-spacing: -.035em; line-height: 1.18; }
section p { line-height: 1.7; }
.card-hover { border: 1px solid rgba(19, 60, 75, .1); }
.card-hover:hover { box-shadow: 0 20px 45px rgba(19, 60, 75, .12); }
input, select, textarea { min-height: 3rem; }
textarea { min-height: 6rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e32626; outline-offset: 3px; }
@media (max-width: 639px) {
  .landing-hero { padding-top: 2.5rem; padding-bottom: 4rem; }
  .landing-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-stats { gap: .5rem; }
  .hero-stats > div { padding-left: .5rem; }
  .hero-stats p:first-child { font-size: 1.35rem; }
  .hero-stats p:last-child { font-size: .75rem; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Onglets profils & filtres : survol lisible, onglet actif inchangé au survol */
.profile-tab, .domain-filter-btn { cursor: pointer; }
.profile-tab:not(.bg-pharma-blue):hover { color: #133C4B; border-color: #133C4B; transform: translateY(-1px); }
.domain-filter-btn:not(.bg-pharma-blue):hover { color: #133C4B; }
.profile-tab.bg-pharma-blue:hover, .domain-filter-btn.bg-pharma-blue:hover { background-color: #0F2E3A; }

/* Navigation par ancres : section courante mise en évidence */
header nav a[aria-current="true"] { color: #133C4B; font-weight: 600; box-shadow: inset 0 -2px 0 #E32626; }
#mobile-menu a[aria-current="true"] { background: #F4F7F9; color: #133C4B; box-shadow: inset 3px 0 0 #E32626; }
#back-to-top { opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
#back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
