/* ISO 27001 Implementer : site vitrine. Liquid Glass, palette de app. */

:root {
  --accent: #0c8a7d;
  --deep-teal: #0a6e64;
  --ink: #0b1b18;
  --ink75: rgba(11, 27, 24, 0.75);
  --ink60: rgba(11, 27, 24, 0.6);
  --ink50: rgba(11, 27, 24, 0.5);
  --ink40: rgba(11, 27, 24, 0.4);
  --hairline: rgba(11, 27, 24, 0.1);
  --bg: #f3f6f6;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --maxw: 1080px;
  --shadow-card: 0 14px 36px rgba(16, 44, 40, 0.1);
  --shadow-row: 0 6px 20px rgba(16, 44, 40, 0.07);
  --shadow-primary: 0 12px 28px rgba(12, 138, 125, 0.35);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fond ambiant : 3 gradients radiaux, fixe. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 12% 4%, rgba(12, 138, 125, 0.14), transparent 55%),
    radial-gradient(100% 70% at 92% 8%, rgba(12, 138, 125, 0.09), transparent 50%),
    radial-gradient(120% 90% at 50% 100%, rgba(10, 110, 100, 0.08), transparent 60%),
    var(--bg);
}

/* Bascule de langue : masque la langue inactive. */
html[data-lang="en"] .lang-fr,
html[data-lang="fr"] .lang-en {
  display: none !important;
}

a {
  color: var(--deep-teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  /* Horizontal uniquement : évite d'écraser le padding vertical des
     <section> qui portent aussi la classe .wrap. */
  padding-left: 20px;
  padding-right: 20px;
}

section {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ---------- Surfaces givrées ---------- */

.glass {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
}

/* ---------- Header ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 246, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--ink75);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink50);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 72px;
  padding-bottom: 48px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
  font-weight: 800;
}
.hero .lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--ink75);
  max-width: 620px;
  margin: 0 0 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--deep-teal);
  background: rgba(12, 138, 125, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-row);
}
.badge small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge span {
  font-size: 16px;
}
.badge[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}
.pill-note {
  font-size: 13px;
  color: var(--ink50);
}

/* ---------- Features ---------- */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  padding: 24px;
}
.card .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(12, 138, 125, 0.14);
  font-size: 20px;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink60);
  font-size: 15px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-head p {
  color: var(--ink60);
  margin: 0;
  font-size: 17px;
}

/* Price */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.price .old {
  color: var(--ink40);
  text-decoration: line-through;
  font-size: 20px;
}
.price .now {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price .unit {
  color: var(--ink60);
  font-size: 15px;
}

/* ---------- Legal / prose pages ---------- */

.doc {
  padding-top: 40px;
  padding-bottom: 24px;
}
.doc-card {
  padding: 40px clamp(24px, 5vw, 56px);
  margin: 0 auto;
  max-width: 820px;
}
.doc h1 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.doc .updated {
  color: var(--ink50);
  font-size: 14px;
  margin: 0 0 28px;
}
.doc h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 30px 0 8px;
}
.doc h3 {
  font-size: 16px;
  margin: 22px 0 4px;
}
.doc p,
.doc li {
  color: var(--ink75);
  font-size: 16px;
}
.doc ul {
  padding-left: 20px;
}
.doc a {
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details > *:not(summary) {
  color: var(--ink60);
  padding-bottom: 16px;
  margin: 0;
  font-size: 15px;
}

/* ---------- Contact ---------- */
.contact-card {
  text-align: center;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.contact-card .mail {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--deep-teal);
  word-break: break-all;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  gap: 22px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: var(--ink75);
  font-size: 15px;
}
.disclaimer {
  color: var(--ink50);
  font-size: 13px;
  max-width: 720px;
  line-height: 1.6;
}
.copy {
  color: var(--ink40);
  font-size: 13px;
}

/* ---------- Utilities ---------- */
.center {
  text-align: center;
}
.mt0 {
  margin-top: 0;
}
hr.rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 28px 0;
}

@media (max-width: 640px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a.hide-sm {
    display: none;
  }
  section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
