/* ============================================================================
   Majschool — site vitrine
   ----------------------------------------------------------------------------
   Jetons repris de l'application (theme/majschool.scss) pour que le site et le
   produit se reconnaissent : sarcelle #0F766E, titres marine, filets plutôt
   qu'ombres, panneaux d'équerre, chiffres tabulaires.
   Titres en Lexend, texte en Source Sans 3 (paire « Corporate Trust » du skill
   UI UX Pro Max). Polices hébergées ici : aucun appel à un service tiers.
   ========================================================================== */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: "Lexend", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --brand-deep: #083f3b;
  --brand-soft: #e3efeb;

  --ink: #1b1e2c;
  --title: #2f3970;
  --ink-2: #434859;
  --ink-3: #555a6d;
  --line: rgba(35, 39, 57, 0.1);
  --line-strong: rgba(35, 39, 57, 0.18);
  --surface: #ffffff;
  --tint: #f3f4f6;
  --sunken: #e5e7eb;

  --ok: #0f766e;
  --warn: #b4551f;
  --warn-soft: #fbeee2;
  --crit: #a63f16;
  --crit-soft: #fbeae2;
  --info: #4a5899;
  --info-soft: #e8edf5;

  --r-btn: 13px;
  --r-full: 999px;
  --header-h: 72px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  color: var(--title);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--brand-dark);
}

svg {
  flex: none;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-btn);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Boutons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--brand);
  color: #fff;
}
.button-primary:hover {
  background: var(--brand-dark);
}
.button-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--title);
}
.button-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.button-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.button-block {
  width: 100%;
}
.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.text-link {
  font-weight: 600;
  text-underline-offset: 4px;
}

.link-like {
  color: var(--brand-dark);
  font-weight: 600;
}

.kicker {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.kicker-light {
  color: #9fd8cf;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5a54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ----------------------------------------------------------------- En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--title);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font: 700 19px/1 var(--font-title);
}
.brand-name {
  font: 600 20px/1 var(--font-title);
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-btn);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.site-nav a:not(.button):hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.site-nav .nav-login {
  margin-left: 12px;
  color: var(--title);
}
.site-nav .button {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--title);
  cursor: pointer;
}
.nav-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
  }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(27, 30, 44, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  .site-header.is-open {
    background: var(--surface);
    border-bottom-color: var(--line);
  }
  .site-nav .nav-login {
    margin-left: 0;
  }
  .site-nav .button {
    margin: 10px 0 0;
  }
}

/* ----------------------------------------------------------------- Accueil */

.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(15, 118, 110, 0.1), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.08;
  color: var(--ink);
}

.lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink-3);
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-proof svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Maquettes : même langage que l'application ------------------------ */

.hero-visual {
  position: relative;
  padding-bottom: 56px;
}

.app-window {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(27, 30, 44, 0.22), 0 2px 6px rgba(27, 30, 44, 0.05);
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sunken);
}
.app-url {
  margin-left: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.app-body {
  padding: 20px 22px 18px;
}
.app-head,
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.app-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.app-title {
  margin-top: 2px;
  font: 600 19px/1.3 var(--font-title);
  color: var(--title);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-ok {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.pill-warn {
  background: var(--warn-soft);
  color: #8f4217;
}

.register,
.grades {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.register th,
.grades th {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  text-align: center;
}
.register th:first-child,
.grades th:first-child {
  text-align: left;
}
.register td,
.grades td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--ink);
}
.register td:first-child,
.grades td:first-child {
  text-align: left;
  font-weight: 600;
}

.register i,
.legend i {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.register .p,
.legend .p {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.register .r,
.legend .r {
  background: var(--warn-soft);
  color: #8f4217;
}
.register .a,
.legend .a {
  background: var(--crit-soft);
  color: var(--crit);
}
.register .e {
  background: var(--tint);
  color: var(--ink-3);
  outline: 1px dashed var(--line-strong);
  outline-offset: -1px;
}

.app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}
.app-foot b {
  color: var(--ink);
}
.legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 20px;
  height: 20px;
  font-size: 11px;
  margin-left: 6px;
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 36px -12px rgba(27, 30, 44, 0.25);
  padding: 12px 16px;
}
.float-todo {
  left: -28px;
  bottom: 0;
  z-index: 1;
  min-width: 290px;
  border-left: 3px solid var(--warn);
}
.float-label {
  font-size: 13px;
  font-weight: 700;
  color: #8f4217;
}
.float-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .float-todo {
    left: 12px;
  }
}
@media (max-width: 520px) {
  .register th:nth-child(5),
  .register td:nth-child(5) {
    display: none;
  }
  .app-body {
    padding: 16px 14px;
  }
  .hero-visual {
    padding-bottom: 0;
  }
  .float-todo {
    position: relative;
    left: auto;
    right: auto;
    min-width: 0;
    margin: -8px 12px 0;
  }
  .legend {
    display: none;
  }
}

/* --------------------------------------------------------------- Sections */

.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section-tint {
  background: var(--tint);
}
.section-dark {
  background: var(--brand-deep);
  color: #d5e8e4;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head h2,
.feature-copy h2,
.pricing-copy h2,
.privacy h2,
.contact-copy h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
}
.section-head p:not(.kicker) {
  margin-top: 16px;
  font-size: 18px;
}
.section-head-left {
  margin: 0;
  text-align: left;
}

.stack-xl {
  display: grid;
  gap: clamp(72px, 10vw, 128px);
}

/* --- Trois espaces ----------------------------------------------------- */

.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.role {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--brand);
}
.role h3 {
  margin: 18px 0 18px;
  font-size: 24px;
}
.role-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
}
.role-icon svg,
.features-grid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role .ticks {
  font-size: 16px;
}

@media (max-width: 920px) {
  .roles {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* --- Zooms ------------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.feature-reverse .feature-copy {
  order: 2;
}
.feature-copy > p:not(.kicker) {
  margin: 18px 0 24px;
  font-size: 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 24px;
  box-shadow: 0 24px 48px -24px rgba(27, 30, 44, 0.2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.stat {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.stat-label {
  font-size: 14px;
  color: var(--ink-3);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}

.grades td,
.grades th {
  text-align: right;
}
.grades td:first-child {
  font-weight: 600;
}
.grades .low {
  color: var(--crit);
  font-weight: 700;
}
.grades tfoot td {
  border-bottom: 0;
  border-top: 2px solid var(--line-strong);
  font-weight: 700;
}

.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(27, 30, 44, 0.45);
}
.phone-screen {
  min-height: 480px;
  padding: 28px 18px 20px;
  border-radius: 30px;
  background: var(--tint);
}
.day {
  margin-top: 18px;
}
.day-name {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.event {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: var(--surface);
  border-left: 3px solid var(--brand);
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}
.event-time {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-3);
}
.event-hw {
  border-left-color: var(--info);
}
.event-exam {
  border-left-color: var(--warn);
}
.event-off {
  border-left-color: var(--ink-3);
  background: transparent;
  outline: 1px dashed var(--line-strong);
  outline-offset: -1px;
}

@media (max-width: 920px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-reverse .feature-copy {
    order: 0;
  }
}
@media (max-width: 420px) {
  .stat-value {
    font-size: 22px;
  }
  .stat {
    padding: 12px 10px;
  }
  .panel {
    padding: 16px;
  }
}

/* --- Fonctionnalités --------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.features-grid li {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.features-grid svg {
  margin-top: 2px;
}
.features-grid h3 {
  font-size: 17px;
  line-height: 1.35;
}
.features-grid p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink-3);
}

@media (max-width: 920px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-grid li {
    padding: 20px 18px;
  }
}

/* --- Mise en place ----------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--line-strong);
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: #fff;
  font: 600 18px/1 var(--font-title);
}
.steps li:first-child {
  border-top-color: var(--brand);
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  margin-top: 8px;
  font-size: 16px;
}

@media (max-width: 920px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* --- Tarifs ------------------------------------------------------------ */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.pricing-copy > p:not(.kicker) {
  margin-top: 18px;
  font-size: 18px;
}
.price-card {
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--brand);
  box-shadow: 0 30px 60px -30px rgba(27, 30, 44, 0.25);
}
.price-from {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 4px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.price span {
  font: 600 clamp(48px, 6vw, 60px)/1 var(--font-title);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price small {
  font-size: 17px;
  color: var(--ink-3);
}
.price-card .ticks {
  margin-bottom: 28px;
}

@media (max-width: 920px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* --- Confidentialité --------------------------------------------------- */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.privacy > div > p:not(.kicker) {
  margin: 18px 0 24px;
  font-size: 18px;
}
.text-link-light {
  color: #fff;
}
.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.privacy-list li {
  padding: 24px;
  background: var(--brand-deep);
}
.privacy-list h3 {
  font-size: 18px;
}
.privacy-list p {
  margin-top: 6px;
  font-size: 16px;
}

@media (max-width: 920px) {
  .privacy {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .privacy-list {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 48px 16px 0;
  font: 600 18px/1.4 var(--font-title);
  color: var(--title);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 200ms var(--ease);
}
.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-list summary:hover {
  color: var(--brand-dark);
}
.faq-list details p {
  padding: 0 48px 22px 0;
}

@media (max-width: 920px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* --- Contact ----------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-copy > p:not(.kicker) {
  margin-top: 18px;
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.field {
  display: grid;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.optional {
  font-weight: 400;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  font: 400 17px/1.4 var(--font);
  color: var(--ink);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555a6d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field textarea {
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(35, 39, 57, 0.35);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--crit);
  box-shadow: inset 3px 0 0 var(--crit);
}
.field-error {
  font-size: 15px;
  font-weight: 600;
  color: var(--crit);
}
.form-note {
  font-size: 15px;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 920px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ Pied de page */

.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}
.footer-brand p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-3);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- Mouvement */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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