/* Inov4D — thème medtech */
:root {
  --bg: #0a0d12;
  --bg-subtle: #0e131b;
  --surface: #121820;
  --surface-hover: #161d28;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.11);
  --text: #e4eaf0;
  --text-muted: #8b97a8;
  --text-dim: #6b7788;
  --accent: #3eb8aa;
  --accent-muted: rgba(62, 184, 170, 0.15);
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(62, 184, 170, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(30, 58, 95, 0.12), transparent 50%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10001;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a0d12;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(38, 46, 62, 0.94) 0%,
    rgba(28, 35, 48, 0.92) 100%
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  display: block;
  /* léger relief si le fichier logo a un fond transparent */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.nav > a:not(.btn) {
  color: #c5cdd9;
  text-decoration: none;
  padding: 0.35rem 0;
}
.nav > a:not(.btn):hover {
  color: var(--text);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}
.lang-switcher a {
  color: #a8b0bd;
  text-decoration: none;
}
.lang-switcher a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
.lang-switcher .sep {
  color: var(--text-dim);
  user-select: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #061210;
  border-color: rgba(62, 184, 170, 0.4);
}
.btn-primary:hover {
  filter: brightness(1.08);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

.hero {
  padding: 2.5rem 1.25rem 3rem;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
.hero-tag {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}
.hero-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
}
.hero-lead strong {
  color: var(--text);
}
.hero-media {
  margin: 0;
  text-align: center;
}
.hero-media img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

.section {
  padding: 2.5rem 1.25rem;
}
.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-inner > h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-intro {
  margin: 0 0 1.5rem;
  max-width: 62ch;
  font-size: 0.98rem;
}
.section-intro strong {
  color: var(--text);
}

.feature-list,
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li,
.benefit-list li {
  margin-bottom: 1rem;
  padding-left: 0;
  max-width: 65ch;
  font-size: 0.95rem;
}
.feature-list li:last-child,
.benefit-list li:last-child {
  margin-bottom: 0;
}
.feature-list strong,
.benefit-list strong {
  color: var(--text);
}

.subsection-title {
  margin: 2rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  font-weight: 300;
}

.contact-block {
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form {
  margin: 0;
}
.contact-form .form-row {
  margin-bottom: 1.1rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 36rem;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-muted);
}
.contact-form .h-captcha {
  margin: 0.25rem 0 1.1rem;
}
.contact-form .btn {
  margin-top: 0.25rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  margin: 0;
  padding: 0;
}

.contact-flash {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 58ch;
}
.contact-flash--ok {
  background: rgba(62, 184, 170, 0.12);
  border: 1px solid rgba(62, 184, 170, 0.35);
  color: var(--text);
}
.contact-flash--err {
  background: rgba(220, 90, 90, 0.1);
  border: 1px solid rgba(220, 90, 90, 0.35);
  color: var(--text);
}

.footer-privacy {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.footer-privacy:hover {
  color: var(--accent);
  border-bottom-color: rgba(62, 184, 170, 0.45);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .cookie-banner-textwrap {
    flex: 1;
    min-width: 0;
  }
}
.cookie-banner-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.cookie-banner-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 62ch;
}
.cookie-banner-text strong {
  color: var(--text);
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}
.cookie-banner-link {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 184, 170, 0.35);
}
.cookie-banner-link:hover {
  color: var(--text);
}

.site-footer {
  padding: 1.75rem 1.5rem 2.25rem;
  border-top: 1px solid var(--border);
  background: #07090c;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

/* Page caractéristiques */
.specs-main {
  padding-bottom: 2rem;
}
.specs-page-head {
  padding: 2.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  /* pas de fond propre : le dégradé du body reste visible derrière le filaire */
  background: transparent;
}
.specs-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.specs-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--text);
}
.specs-intro {
  margin: 0;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.6;
}
.specs-intro--tight {
  margin-bottom: 1.1rem;
}
.specs-intro + .specs-intro {
  margin-top: 0.65rem;
}
.specs-group-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
}
.specs-figure {
  margin: 2rem auto 0;
  max-width: 480px;
  text-align: center;
  background: transparent;
}
/* vue-2 : filaire lisible sur fond sombre (invert + screen) — distinct du hero vue-1 */
.specs-figure img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: invert(1) brightness(0.92) contrast(1.02);
  mix-blend-mode: screen;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  width: 32%;
  min-width: 140px;
  font-weight: 600;
  color: var(--text);
}
.spec-table td {
  color: var(--text-muted);
}
.nowrap {
  white-space: nowrap;
}
.specs-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 62ch;
}
.specs-back {
  margin: 1.5rem 0 0;
}
.specs-back a {
  color: var(--accent);
  text-decoration: none;
}
.specs-back a:hover {
  text-decoration: underline;
}

.nav > a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}
