/* ============================================================
   Makeserver — Site marketing
   Light · sobre · luxe · tech
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..800;1,400..600&display=swap');

:root {
  /* Surfaces */
  --paper:    #FFFFFF;
  --paper-2:  #F6F8F7;
  --paper-3:  #EEF2F1;

  /* Lines / borders */
  --line:        rgba(20, 35, 33, 0.10);
  --line-strong: rgba(20, 35, 33, 0.16);
  --line-teal:   rgba(13, 115, 119, 0.24);

  /* Brand teal */
  --teal:        #0D7377;
  --teal-bright: #0F8C91;
  --teal-deep:   #0A5A5D;
  --teal-tint:   rgba(13, 115, 119, 0.07);

  /* Ink / text */
  --ink:        #16201F;
  --ink-soft:   #34403E;
  --text:       #51605E;
  --muted:      #7C8A88;
  --faint:      #9AA7A5;

  /* Type */
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif; /* @kind font */

  /* Layout */
  --container: 1180px;
  --pad: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Background line canvas */
#bg-lines {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--teal);
  display: inline-block;
  opacity: 0.6;
}

.em { color: var(--teal); font-weight: 500; }

h1, h2, h3 { font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  text-wrap: balance;
  font-weight: 600;
}
.section-lead {
  color: var(--text);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 56ch;
  margin-top: 1.2rem;
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.82em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(22,32,31,0.5);
}
.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(13,115,119,0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn .ic { width: 1.05em; height: 1.05em; stroke-width: 2; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-cta .btn { padding: 0.58em 1.2em; font-size: 0.88rem; }

/* ---------- Offres mega-menu ---------- */
.nav-item { position: relative; }
.nav-trigger {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  transition: color 0.25s;
}
.nav-trigger:hover,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger { color: var(--teal); }
.nav-trigger .chev { width: 15px; height: 15px; stroke-width: 2.2; transition: transform 0.3s var(--ease); }
.nav-item:hover .nav-trigger .chev,
.nav-item:focus-within .nav-trigger .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(640px, 80vw);
  transform: translate(-50%, 10px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 44px 90px -44px rgba(6,40,39,0.45), 0 10px 30px -20px rgba(6,40,39,0.3);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  z-index: 60;
}
.mega::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  transition: background 0.25s var(--ease);
}
.mega-item:hover { background: var(--teal-tint); }
.mega-item.is-current { background: var(--teal-tint); }
.mega-item .mi-ic {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal-bright), var(--teal-deep));
  color: #fff;
}
.mega-item .mi-ic svg { width: 19px; height: 19px; stroke-width: 1.7; }
.mega-item strong { display: block; font-size: 0.94rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.mega-item small { display: block; font-size: 0.79rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.mega-foot {
  margin-top: 5px;
  padding: 0.9rem 0.95rem 0.55rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-foot a {
  font-size: 0.86rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4em;
  transition: gap 0.25s var(--ease);
}
.mega-foot a:hover { gap: 0.65em; }
.mega-foot a svg { width: 15px; height: 15px; stroke-width: 2; }
.mega-foot span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 980px) { .mega { display: none; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  margin: 1.6rem 0 0;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero-sub {
  color: var(--text);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  margin-top: 1.6rem;
  max-width: 52ch;
  line-height: 1.62;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* Floating badges */
.hero-badges { position: relative; height: 460px; }
.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px -28px rgba(22,32,31,0.4);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  will-change: transform;
}
.badge .b-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--teal-tint);
  color: var(--teal);
  flex: none;
}
.badge .b-ic svg { width: 19px; height: 19px; stroke-width: 1.75; }
.badge small { display: block; color: var(--muted); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.01em; }
.badge .b-num { color: var(--teal); }

.badge.b1 { top: 5%;  left: 0%; }
.badge.b2 { top: 30%; right: -2%; }
.badge.b3 { top: 56%; left: -5%; }
.badge.b4 { top: 81%; right: 7%; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badges { display: none; }
}

/* ---------- Stat strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem var(--pad); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-weight: 600;
}
.stat .num em { font-style: normal; color: var(--teal); }
.stat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 0.65rem; }
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ---------- Section ---------- */
.section { padding: clamp(80px, 11vw, 148px) 0; position: relative; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative;
  padding: 2.2rem 2rem 2.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-teal);
}
.step:hover { border-color: var(--line-teal); transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(22,32,31,0.35); }
.step h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.step p { color: var(--text); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Offres ---------- */
.offres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.offre {
  background: var(--paper);
  padding: 2rem 1.8rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 226px;
}
.offre:hover { background: var(--paper-2); }
.offre .o-ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.offre .o-ic svg { width: 23px; height: 23px; stroke-width: 1.6; }
.offre h3 { font-size: 1.18rem; }
.offre p { color: var(--text); font-size: 0.93rem; line-height: 1.55; flex: 1; }
.offre .o-link {
  font-size: 0.85rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4em;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.offre:hover .o-link { opacity: 1; transform: translateX(0); }
@media (max-width: 1000px) { .offres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offres { grid-template-columns: 1fr; } }

/* ---------- Atouts ---------- */
.atouts-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.atout {
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.atout:hover { border-color: var(--line-teal); transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(22,32,31,0.3); }
.atout .a-ic { color: var(--teal); margin-bottom: 1rem; }
.atout .a-ic svg { width: 26px; height: 26px; stroke-width: 1.5; }
.atout h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.atout p { color: var(--text); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 900px) { .atouts-wrap { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- Infra ---------- */
.infra {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(120% 130% at 100% 0%, var(--teal-tint), transparent 55%),
    var(--paper);
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  box-shadow: 0 40px 80px -60px rgba(22,32,31,0.4);
}
.infra-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; }
.infra-stat .num { font-size: 2.3rem; line-height: 1; color: var(--teal); font-weight: 600; letter-spacing: -0.02em; }
.infra-stat .lbl { color: var(--text); font-size: 0.92rem; margin-top: 0.45rem; }
@media (max-width: 880px) { .infra { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band { text-align: center; padding: clamp(70px, 10vw, 128px) var(--pad); position: relative; }
.cta-band h2 { font-size: clamp(2.1rem, 5vw, 3.7rem); text-wrap: balance; }
.cta-band p { color: var(--text); font-size: 1.14rem; margin: 1.2rem auto 2.3rem; max-width: 46ch; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: clamp(50px, 7vw, 78px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand img { height: 28px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }
.footer-col h4 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text); font-size: 0.93rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 3.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--faint); font-size: 0.86rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Solution (sub) pages
   ============================================================ */
.subhero {
  position: relative;
  padding-top: 150px;
  padding-bottom: clamp(50px, 7vw, 90px);
  overflow: hidden;
}
.subhero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.84rem; color: var(--muted); margin-bottom: 2rem;
  position: relative; z-index: 2;
}
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { opacity: 0.5; }
.subhero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 76px); align-items: center;
  position: relative; z-index: 2;
}
.subhero .lead-ic {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal);
  border: 1px solid var(--line-teal);
  margin-bottom: 1.6rem;
}
.subhero .lead-ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.subhero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -0.035em; }
.subhero .lead { color: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 1.3rem; max-width: 48ch; line-height: 1.62; }
.subhero .sub-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* spec card in subhero */
.spec-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 1.8rem;
  box-shadow: 0 40px 80px -56px rgba(22,32,31,0.45);
}
.spec-card h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 1.1rem; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.spec-row:first-of-type { border-top: 0; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--ink); font-weight: 600; text-align: right; }

/* consultative "start" card (replaces spec sheet) */
.start-price { display: flex; flex-direction: column; gap: 0.18rem; padding-bottom: 1.3rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.start-price .sp-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.start-price .sp-value { font-size: 1.9rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.start-price .sp-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.1rem; }
.start-steps { list-style: none; display: flex; flex-direction: column; gap: 1.05rem; margin: 0.3rem 0 1.6rem; }
.start-steps li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.start-steps li b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); font-weight: 700; font-size: 0.82rem; display: grid; place-items: center; margin-top: 1px; }
.start-card .btn { width: 100%; justify-content: center; }
.start-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.95rem; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-intro h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
.contact-intro .lead { color: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-top: 1.2rem; max-width: 42ch; line-height: 1.62; }

.reassure { list-style: none; display: flex; flex-direction: column; gap: 1.15rem; margin-top: 2.4rem; }
.reassure li { display: flex; gap: 0.9rem; align-items: flex-start; }
.reassure .r-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; }
.reassure .r-ic svg { width: 19px; height: 19px; stroke-width: 1.7; }
.reassure strong { display: block; font-size: 0.98rem; color: var(--ink); font-weight: 600; }
.reassure small { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.reassure a { color: var(--teal); font-weight: 600; }

.contact-form { padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-form .form-head { margin-bottom: 1.6rem; }
.contact-form .form-head h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.contact-form .form-head p { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82em 0.95em;
  width: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237C8A88' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9em center; padding-right: 2.4em; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-tint);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 0.3rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; text-align: center; }

.form-success { display: none; text-align: center; padding: 1.5rem 0.5rem; }
.form-success .fs-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.form-success .fs-ic svg { width: 32px; height: 32px; stroke-width: 2; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--text); font-size: 1rem; max-width: 38ch; margin: 0 auto; line-height: 1.6; }
.contact-form.sent .form-body { display: none; }
.contact-form.sent .form-success { display: block; }

/* ============================================================
   Footer legal links
   ============================================================ */
.footer-legal { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: var(--muted); transition: color 0.25s var(--ease); }
.footer-legal a:hover { color: var(--teal-bright); }

/* ============================================================
   Legal / prose pages
   ============================================================ */
.prose-wrap { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding-bottom: clamp(40px, 6vw, 80px); }
.prose-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.prose-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -0.035em; }
.prose-head .updated { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }
.prose-head .updated svg { width: 15px; height: 15px; }
.prose { color: var(--text); font-size: 1.02rem; line-height: 1.72; }
.prose section { margin-bottom: 2.5rem; }
.prose h2 {
  font-size: 1.28rem; letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 0.9rem; padding-top: 0.4rem;
  display: flex; align-items: baseline; gap: 0.7rem;
}
.prose h2 .n { font-size: 0.8rem; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.prose h3 { font-size: 1.02rem; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 0.9rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--teal); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose ul { list-style: none; margin: 0.6rem 0 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose .info-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.3rem 1.5rem; margin: 0.4rem 0 0.6rem;
}
.prose .info-card p { margin: 0.3rem 0; font-size: 0.96rem; }
.prose .info-card p strong { display: inline-block; min-width: 140px; color: var(--muted); font-weight: 500; }

/* ============================================================
   Login — Espace client
   ============================================================ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.04fr 0.96fr; }
@media (max-width: 880px) { .auth { grid-template-columns: 1fr; } }

/* Left brand panel — deep teal */
.auth-brand {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 12% 0%, var(--ink-teal-3) 0%, var(--ink-teal) 72%);
  color: #fff;
  padding: clamp(2.4rem, 4vw, 3.6rem);
  display: flex; flex-direction: column;
}
.auth-brand::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 88% 12%, rgba(52,214,199,0.22), transparent 60%),
    radial-gradient(46% 46% at 6% 96%, rgba(15,140,145,0.30), transparent 62%);
  pointer-events: none;
}
.auth-brand canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.auth-brand > * { position: relative; z-index: 2; }
.auth-brand .ab-logo img { height: 30px; }
.auth-brand .ab-mid { margin-top: auto; margin-bottom: auto; padding: 3rem 0; max-width: 30ch; }
.auth-brand .ab-mid h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem); letter-spacing: -0.035em; line-height: 1.08; color: #fff;
}
.auth-brand .ab-mid h2 .em { color: var(--teal-glow); }
.auth-brand .ab-mid p { color: rgba(255,255,255,0.74); font-size: 1.05rem; line-height: 1.6; margin-top: 1.2rem; }
.auth-trust { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.auth-trust li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.auth-trust li svg { width: 18px; height: 18px; stroke-width: 1.8; color: var(--teal-glow); flex: none; }

/* Right form panel */
.auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(2.4rem, 5vw, 4rem) clamp(1.4rem, 4vw, 3rem); background: var(--paper); }
.auth-card { width: 100%; max-width: 400px; }
.auth-back { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.86rem; color: var(--muted); margin-bottom: 2.4rem; transition: color 0.25s var(--ease), gap 0.25s var(--ease); }
.auth-back:hover { color: var(--teal); gap: 0.6em; }
.auth-back svg { width: 15px; height: 15px; }
.auth-card .ac-head { margin-bottom: 2rem; }
.auth-card .ac-head .eyebrow { color: var(--teal); }
.auth-card .ac-head h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); letter-spacing: -0.03em; margin-top: 0.7rem; }
.auth-card .ac-head p { color: var(--muted); font-size: 0.94rem; margin-top: 0.5rem; }
.field .lbl-row { display: flex; justify-content: space-between; align-items: baseline; }
.field .lbl-row a { font-size: 0.8rem; color: var(--teal); font-weight: 500; }
.field .lbl-row a:hover { text-decoration: underline; }
.input-wrap { position: relative; }
.input-wrap > svg.lead-i { position: absolute; left: 0.95em; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--faint); pointer-events: none; }
.input-wrap input { padding-left: 2.7em; }
.input-wrap .toggle-pw { position: absolute; right: 0.7em; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 0.3em; color: var(--faint); cursor: pointer; display: grid; place-items: center; transition: color 0.2s; }
.input-wrap .toggle-pw:hover { color: var(--teal); }
.input-wrap .toggle-pw svg { width: 18px; height: 18px; }
.auth-remember { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--ink-soft); cursor: pointer; user-select: none; margin: 0.2rem 0 1.4rem; }
.auth-remember input { position: absolute; opacity: 0; width: 0; height: 0; }
.auth-remember .box { width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all 0.2s var(--ease); flex: none; }
.auth-remember .box svg { width: 12px; height: 12px; stroke-width: 3; color: #fff; opacity: 0; transition: opacity 0.15s; }
.auth-remember input:checked + .box { background: var(--teal); border-color: var(--teal); }
.auth-remember input:checked + .box svg { opacity: 1; }
.auth-remember input:focus-visible + .box { box-shadow: 0 0 0 4px var(--teal-tint); }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; color: var(--faint); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 1.6rem; }
.auth-foot a { color: var(--teal); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.auth-error { display: none; align-items: center; gap: 0.5rem; background: rgba(193,58,58,0.07); border: 1px solid rgba(193,58,58,0.2); color: #9E2B2B; font-size: 0.86rem; border-radius: 11px; padding: 0.7rem 0.9rem; margin-bottom: 1.2rem; }
.auth-error svg { width: 16px; height: 16px; flex: none; }
.auth-error.show { display: flex; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature:hover { border-color: var(--line-teal); transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(22,32,31,0.3); }
.feature .f-ic { color: var(--teal); margin-bottom: 1.1rem; }
.feature .f-ic svg { width: 26px; height: 26px; stroke-width: 1.5; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { color: var(--text); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* included checklist */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; }
.included li { list-style: none; display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.included li .chk {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center; margin-top: 1px;
}
.included li .chk svg { width: 13px; height: 13px; stroke-width: 2.5; }
.included li span.t { color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tier {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 2rem 1.8rem 2.2rem;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 28px 54px -34px rgba(22,32,31,0.35); }
.tier.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 28px 54px -32px rgba(13,115,119,0.4); }
.tier .t-name { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.tier .t-price { font-size: 2.4rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; margin-top: 0.8rem; line-height: 1; }
.tier .t-price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.tier .t-note { color: var(--muted); font-size: 0.88rem; margin-top: 0.5rem; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin: 1.6rem 0; flex: 1; }
.tier li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.tier li svg { flex: none; width: 17px; height: 17px; stroke-width: 2; color: var(--teal); margin-top: 2px; }
.tier .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

/* cross-links to other solutions */
.cross { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cross a {
  background: var(--paper); padding: 1.4rem 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
  font-weight: 600; color: var(--ink); font-size: 0.95rem;
  transition: background 0.3s var(--ease), color 0.3s;
}
.cross a:hover { background: var(--paper-2); color: var(--teal); }
.cross a svg { width: 20px; height: 20px; stroke-width: 1.6; color: var(--teal); flex: none; }
@media (max-width: 880px) { .cross { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cross { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   COLOR LAYER — deep-teal bands + warm wash
   (kept separate so the palette is easy to tune)
   ============================================================ */
:root {
  --wash:        #E6F1EF;            /* tinted off-white page base */
  --teal-glow:   #34D6C7;            /* luminous accent on dark surfaces */
  --ink-teal:    #062827;            /* deepest teal-ink */
  --ink-teal-2:  #0B4446;
  --ink-teal-3:  #0C5658;
}

/* Page base: soft teal-grey so white cards read as crisp surfaces */
body { background: var(--wash); }
.hero::after { background: linear-gradient(to bottom, transparent, var(--wash)); }
.subhero::after { background: linear-gradient(to bottom, transparent, var(--wash)); }

/* Hero — teal light wash + glow behind the animated lines */
.hero {
  background:
    radial-gradient(58% 66% at 82% 18%, rgba(15,140,145,0.28), transparent 62%),
    radial-gradient(46% 54% at 100% 4%, rgba(52,214,199,0.20), transparent 60%),
    radial-gradient(60% 56% at -8% 28%, rgba(13,115,119,0.12), transparent 58%),
    linear-gradient(180deg, #F2F8F7 0%, var(--wash) 100%);
}

/* Solid teal chips on the floating badges for pops of color */
.badge .b-ic {
  background: linear-gradient(140deg, var(--teal-bright), var(--teal-deep));
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(13,115,119,0.7);
}

/* ---- Stat strip → deep teal block ---- */
.stats {
  background: linear-gradient(115deg, var(--ink-teal) 0%, var(--ink-teal-2) 58%, var(--ink-teal-3) 100%);
  border-top-color: rgba(255,255,255,0.06);
  border-bottom-color: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(118deg, transparent 0 46px, rgba(52,214,199,0.05) 46px 47px);
  pointer-events: none;
}
.stats::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 82% 50%, rgba(52,214,199,0.12), transparent 60%);
  pointer-events: none;
}
.stats-inner { position: relative; z-index: 1; }
.stat { border-left-color: rgba(255,255,255,0.10); }
.stat .num { color: #fff; }
.stat .num em { color: var(--teal-glow); }
.stat .lbl { color: rgba(255,255,255,0.6); }
@media (max-width: 760px) {
  .stat:nth-child(3), .stat:nth-child(4) { border-top-color: rgba(255,255,255,0.10); }
}

/* ---- Infrastructure → deep teal panel ---- */
.infra {
  background: linear-gradient(135deg, var(--ink-teal) 0%, var(--ink-teal-2) 56%, var(--ink-teal-3) 100%);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 56px 100px -56px rgba(6,40,39,0.7);
  position: relative;
  overflow: hidden;
}
.infra::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(52,214,199,0.16), transparent 55%),
    repeating-linear-gradient(122deg, transparent 0 54px, rgba(52,214,199,0.045) 54px 55px);
  pointer-events: none;
}
.infra > * { position: relative; z-index: 1; }
.infra .eyebrow { color: var(--teal-glow); }
.infra .eyebrow::before { background: var(--teal-glow); }
.infra .section-title { color: #fff; }
.infra .section-lead { color: rgba(255,255,255,0.74); }
.infra-stat .num { color: var(--teal-glow); }
.infra-stat .lbl { color: rgba(255,255,255,0.68); }
.infra .btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.infra .btn-ghost:hover { border-color: var(--teal-glow); color: var(--teal-glow); transform: translateY(-2px); }

/* ---- CTA band → full-bleed deep teal with light traces ---- */
.cta-band {
  background: radial-gradient(110% 130% at 50% -10%, var(--ink-teal-3) 0%, var(--ink-teal) 72%);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 80% at 12% 20%, rgba(52,214,199,0.14), transparent 60%),
    radial-gradient(40% 80% at 88% 90%, rgba(52,214,199,0.10), transparent 60%),
    repeating-linear-gradient(118deg, transparent 0 60px, rgba(52,214,199,0.05) 60px 61px);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .em { color: var(--teal-glow); }
.cta-band p { color: rgba(255,255,255,0.74); }
.cta-band .btn-primary { background: #fff; color: var(--ink-teal); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5); }
.cta-band .btn-primary:hover { background: var(--teal-glow); color: var(--ink-teal); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-band .btn-ghost:hover { border-color: var(--teal-glow); color: var(--teal-glow); }

/* ---- Footer → deep ink-teal to bookend the page ---- */
.footer {
  background: var(--ink-teal);
  border-top-color: rgba(255,255,255,0.07);
}
.footer-brand p { color: rgba(255,255,255,0.56); }
.footer-col h4 { color: rgba(255,255,255,0.42); }
.footer-col a { color: rgba(255,255,255,0.68); }
.footer-col a:hover { color: var(--teal-glow); }
.footer-bottom { border-top-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.42); }

/* Solution sub-pages share the same tinted base */
.spec-card, .step, .offre, .atout, .feature, .tier { background: #fff; }

/* Sub-page hero gets the same teal wash as the home hero */
.subhero {
  background:
    radial-gradient(54% 70% at 86% 6%, rgba(15,140,145,0.22), transparent 62%),
    radial-gradient(42% 50% at 100% -4%, rgba(52,214,199,0.16), transparent 60%),
    linear-gradient(180deg, #F2F8F7 0%, var(--wash) 100%);
}

/* ============================================================
   Login — Espace client
   ============================================================ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; z-index: 2; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }

/* ---- Brand panel (left) ---- */
.auth-brand {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 18% 12%, rgba(52,214,199,0.18), transparent 60%),
    linear-gradient(150deg, var(--ink-teal-3) 0%, var(--ink-teal) 64%, #041d1c 100%);
  color: #fff;
  padding: clamp(2.4rem, 4vw, 3.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 860px) { .auth-brand { display: none; } }
.auth-brand canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .ab-logo img { height: 30px; }
.auth-brand .ab-copy { max-width: 26ch; }
.auth-brand .ab-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 600;
}
.auth-brand .ab-copy h2 .em { color: var(--teal-glow); }
.auth-brand .ab-copy p { color: rgba(255,255,255,0.6); margin-top: 1.1rem; font-size: 1.02rem; line-height: 1.6; }
.auth-trust { display: flex; flex-direction: column; gap: 0.9rem; }
.auth-trust li { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.auth-trust .t-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex: none; }
.auth-trust .t-ic svg { width: 16px; height: 16px; stroke-width: 1.8; color: var(--teal-glow); }

/* ---- Form panel (right) ---- */
.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .ac-logo { display: none; }
@media (max-width: 860px) { .auth-card .ac-logo { display: block; margin-bottom: 2rem; } .auth-card .ac-logo img { height: 30px; } }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.auth-card .ac-sub { color: var(--muted); margin-top: 0.5rem; font-size: 0.96rem; }
.auth-form { margin-top: 2.1rem; }
.auth-form .field-head { display: flex; align-items: baseline; justify-content: space-between; }
.auth-form .field-head a { font-size: 0.82rem; color: var(--teal); font-weight: 600; }
.auth-form .field-head a:hover { text-decoration: underline; }
.input-wrap { position: relative; }
.input-wrap .lead-icn { position: absolute; left: 0.95em; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-wrap .lead-icn svg { width: 18px; height: 18px; stroke-width: 1.8; display: block; }
.input-wrap input { padding-left: 2.7em; }
.input-wrap .toggle-pw {
  position: absolute; right: 0.55em; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 0.4em; cursor: pointer; color: var(--faint);
  display: grid; place-items: center; border-radius: 8px; transition: color 0.2s;
}
.input-wrap .toggle-pw:hover { color: var(--teal); }
.input-wrap .toggle-pw svg { width: 18px; height: 18px; stroke-width: 1.8; }
.auth-options { display: flex; align-items: center; justify-content: space-between; margin: 1.2rem 0 1.6rem; }
.checkbox { display: inline-flex; align-items: center; gap: 0.55em; cursor: pointer; font-size: 0.9rem; color: var(--ink-soft); user-select: none; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox .box {
  width: 19px; height: 19px; border-radius: 6px; border: 1.6px solid var(--line-strong);
  display: grid; place-items: center; transition: all 0.2s var(--ease); flex: none; background: #fff;
}
.checkbox .box svg { width: 13px; height: 13px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(0.6); transition: all 0.2s var(--ease); }
.checkbox input:checked + .box { background: var(--teal); border-color: var(--teal); }
.checkbox input:checked + .box svg { opacity: 1; transform: scale(1); }
.auth-form .btn { width: 100%; justify-content: center; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; color: var(--faint); font-size: 0.82rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-sso { width: 100%; justify-content: center; gap: 0.6em; }
.btn-sso svg { width: 18px; height: 18px; stroke-width: 1.8; }
.auth-foot { margin-top: 2rem; text-align: center; font-size: 0.92rem; color: var(--muted); }
.auth-foot a { color: var(--teal); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.auth-back { position: absolute; top: clamp(1.4rem,3vw,2.2rem); right: clamp(1.4rem,3vw,2.2rem); z-index: 3; font-size: 0.88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4em; transition: color 0.2s; }
.auth-back:hover { color: var(--teal); }
.auth-back svg { width: 15px; height: 15px; }
.auth-error { display: none; background: rgba(200,60,50,0.07); border: 1px solid rgba(200,60,50,0.2); color: #B23A2E; border-radius: 11px; padding: 0.75em 0.95em; font-size: 0.88rem; margin-bottom: 1.2rem; align-items: center; gap: 0.6em; }
.auth-error.show { display: flex; }
.auth-error svg { width: 17px; height: 17px; flex: none; }


/* ============================================================
   Menu mobile (burger) — ajout post-export
   L'export masquait simplement .nav-links sous 900px, sans
   navigation de remplacement. On ajoute un vrai menu déroulant.
   ============================================================ */
.nav-burger {
  display: none; -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0; margin-left: 0.5rem;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 26px; height: 26px; stroke-width: 2; }
.nav-burger .ic-close { display: none; }
.nav.open .nav-burger .ic-open { display: none; }
.nav.open .nav-burger .ic-close { display: flex; }

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .nav.open {
    background: rgba(255,255,255,0.97);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--line);
  }
  /* .nav-links devient un panneau déroulant */
  .nav-links {
    display: flex !important; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -42px rgba(6,40,39,0.45);
    padding: 0.4rem 0 0.8rem;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), max-height .3s var(--ease);
  }
  .nav.open .nav-links { max-height: 82vh; overflow-y: auto; opacity: 1; pointer-events: auto; transform: none; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a,
  .nav-links .nav-trigger {
    display: flex; width: 100%; box-sizing: border-box;
    padding: 0.95rem var(--pad); font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > li:last-child > a { border-bottom: 0; }
  .nav-links .nav-trigger { justify-content: space-between; }
  /* sous-menu Offres : statique, empilé, quand ouvert */
  .nav-item .mega { display: none; }
  .nav-item.open .mega {
    display: block; position: static; transform: none; opacity: 1; pointer-events: auto;
    width: auto; margin: 0; padding: 0.25rem 0 0.5rem;
    background: var(--teal-tint); border: 0; border-radius: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-item.open .mega-inner { grid-template-columns: 1fr; gap: 0; }
  .nav-item.open .mega-item { padding: 0.7rem var(--pad); border-radius: 0; }
  .nav-item.open .mega-foot { padding: 0.8rem var(--pad) 0.4rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-item.open .nav-trigger .chev { transform: rotate(180deg); }
}

/* Corrections responsive — pages sans règle mobile dans l'export d'origine */
html, body { overflow-x: hidden; }
@media (max-width: 900px) {
  .subhero-grid { grid-template-columns: minmax(0, 1fr) !important; }   /* datacenter */
  .auth { grid-template-columns: minmax(0, 1fr) !important; }           /* connexion */
  .auth-brand { display: none !important; }
  .auth-panel { width: 100%; max-width: 100%; min-width: 0; }
}


/* ============================================================
   Section « Inclus » (.infra, fond teal foncé) :
   le texte de la liste était sombre sur fond sombre.
   On le passe en blanc + puces/séparateurs lisibles.
   ============================================================ */
.included li span.t { color: #fff; }
.included li .chk { background: rgba(52, 214, 199, 0.16); color: var(--teal-glow); }
.included li { border-bottom-color: rgba(255, 255, 255, 0.14); }
