/* DÉCLIK — direction artistique : blanc dominant, minimalisme éditorial, mauve rare. */

:root {
  --background: #ffffff;
  --surface: #faf9fb;
  --text: #202020;
  --muted: #85818a;
  --soft: #aaa6af;
  --accent: #7656a6;
  --line: #eeeeef;
  --font: 'Inter', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 88%); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 24px;
  top: 16px;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 12px;
}

/* ---------- EN-TÊTE ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand-mark { height: 34px; width: auto; display: block; }

.site-footer .brand-mark { height: 40px; }

@media (max-width: 640px) {
  .brand-mark { height: 28px; }
}

.brand-dot { color: var(--accent); font-size: 18px; line-height: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.nav a:hover { color: var(--text); }

.nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-cta {
  color: var(--text) !important;
  border: 1px solid #ded9e5;
  border-radius: 2px;
  padding: 10px 16px !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

/* ---------- INTRODUCTION ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 0 120px;
}

.hero--home { min-height: calc(100vh - 68px); position: relative; }

.hero-label,
.section-label {
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-label { margin-bottom: 30px; opacity: 0; animation: phrase-in .8s ease .1s forwards; }

h1 {
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.15;
  font-weight: 350;
  letter-spacing: -.045em;
}

.hero-lead, .hero-support { display: block; white-space: nowrap; }

.hero-lead { font-weight: 450; animation: phrase-in .9s ease .3s both; }

.hero-support {
  margin-top: 9px;
  color: var(--muted);
  font-size: .56em;
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -.025em;
  animation: phrase-in .9s ease .6s both;
}

.hero-description {
  max-width: 510px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
  opacity: 0;
  animation: phrase-in .9s ease .9s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  opacity: 0;
  animation: phrase-in .9s ease 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--soft);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: #d9d6dd;
  margin: 12px auto 0;
}

/* Introduction des pages intérieures */

.page-hero { padding: 100px 0 70px; text-align: center; }
.page-hero .section-label { display: block; margin-bottom: 22px; }

.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 350;
  letter-spacing: -.045em;
  line-height: 1.18;
}

.page-hero p {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- SECTIONS ---------- */

section { padding: 110px 0; }
section.tight { padding: 80px 0; }
.surface { background: var(--surface); }

.section-title {
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.2;
  font-weight: 350;
  letter-spacing: -.045em;
}

.section-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 570px;
  margin-top: 22px;
}

.centered { text-align: center; }
.centered .section-text { margin-left: auto; margin-right: auto; }
.centered .section-label { display: block; margin-bottom: 24px; }

/* Le constat */

.reality-content { max-width: 850px; margin: 0 auto; text-align: center; }

.reality-title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: -.035em;
  white-space: nowrap;
  margin-bottom: 28px;
}

.reality-text { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.9; }

.benefit-highlight { display: flex; flex-direction: column; gap: 9px; margin-top: 38px; }
.benefit-secondary { font-size: clamp(15px, 1.5vw, 19px); color: var(--muted); }
.benefit-primary { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.035em; }

/* Grilles */

.grid { display: grid; gap: 45px; margin-top: 75px; text-align: left; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { border-top: 1px solid var(--line); padding-top: 25px; }

.card-number {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 18.5px;
  font-weight: 400;
  letter-spacing: -.025em;
  margin-bottom: 13px;
}

.card p { color: var(--muted); font-size: 13px; line-height: 1.9; }

.card ul { list-style: none; margin-top: 14px; }

.card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.card li + li { margin-top: 8px; }

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* Étapes numérotées */

.steps { margin-top: 70px; border-top: 1px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.step-index { color: var(--accent); font-size: 12px; letter-spacing: .08em; }
.step h3 { font-size: 18px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.9; max-width: 620px; }

/* Message central */

.statement { text-align: center; }
.statement-inner { max-width: 850px; margin: 0 auto; }

.statement-main {
  font-size: clamp(29px, 4vw, 50px);
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -.045em;
}

.statement-secondary {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.4;
  color: var(--muted);
}

/* Liste simple */

.plain-list { list-style: none; max-width: 700px; margin: 45px auto 0; text-align: left; }

.plain-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  padding: 18px 0 18px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

.plain-list strong { color: var(--text); font-weight: 450; }

/* Contact */

.contact { text-align: center; padding: 130px 0; }

.contact-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.contact-text { margin: 20px auto 32px; color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 520px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid #ded9e5;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 400;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.button--quiet { border-color: transparent; color: var(--muted); padding-left: 0; padding-right: 0; }
.button--quiet:hover { background: none; color: var(--text); border-color: transparent; }

.contact-details { margin-top: 42px; color: var(--soft); font-size: 12px; line-height: 2; }
.contact-details a { color: var(--muted); border-bottom: 1px solid var(--line); }

/* ---------- PIED DE PAGE ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 46px 0 30px; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-tagline { color: var(--muted); font-size: 12.5px; line-height: 1.9; max-width: 320px; margin-top: 12px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted); font-size: 12px; }
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.footer-bottom p { color: var(--soft); font-size: 10.5px; letter-spacing: .04em; }

/* ---------- ANIMATIONS ---------- */

@keyframes phrase-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .grid { gap: 28px; }
  .reality-title { white-space: normal; }
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 6%;
  }

  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 14px; }
  .nav-cta { margin-top: 10px; }
  .nav-toggle { display: inline-block; }

  .hero { padding: 90px 0 100px; }
  .hero--home { min-height: auto; }
  h1 { font-size: clamp(27px, 8vw, 39px); }
  .hero-lead, .hero-support { white-space: normal; }
  .hero-support { font-size: .68em; margin-top: 12px; }
  .hero-description { max-width: 90%; font-size: 13px; margin-top: 25px; }
  .hero-scroll { display: none; }

  section { padding: 80px 0; }
  .reality-title { font-size: 27px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 34px; margin-top: 50px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .statement-main { font-size: 32px; }
  .contact { padding: 90px 0; }
  .contact-title { font-size: 34px; }
}

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