/* Hopla IA — feuille de style du site vitrine */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf7f0;
  --paper-2: #f5ede1;
  --card: #fffdf9;
  --ink: #1d1b18;
  --ink-2: #3b3731;
  --muted: #6a645a;
  --line: #e6dccb;
  --red: #c8372d;
  --red-dark: #a52b23;
  --red-soft: #f8e3de;
  --gres: #e7c4b1;
  --gres-soft: #f6e9e0;
  --fir: #1e3a33;
  --fir-2: #17302a;
  --fir-line: #2f5148;
  --fir-ink: #eef4f0;
  --fir-muted: #a9bdb4;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 27, 24, 0.04), 0 12px 32px -12px rgba(29, 27, 24, 0.14);
  --shadow-lg: 0 2px 4px rgba(29, 27, 24, 0.05), 0 28px 60px -24px rgba(29, 27, 24, 0.28);
  --wrap: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--gres);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--red);
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip:focus {
  top: 1rem;
}

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

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section--tint {
  background: var(--gres-soft);
}
.section--dark {
  background: var(--fir);
  color: var(--fir-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
}
.section--dark .eyebrow {
  color: var(--gres);
}

.h2 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin-top: 1rem;
  max-width: 21ch;
  text-wrap: balance;
}
.h2 em,
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.hero__title em {
  white-space: nowrap;
}
.section--dark .h2 em {
  color: var(--gres);
}

.lead {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 62ch;
}
.section--dark .lead {
  color: var(--fir-muted);
}

.section__head {
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-dark);
}
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--small {
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* En-tête */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 640;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
}
.logo__ia {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--paper);
  padding: 0.28rem 0.42rem 0.26rem;
  border-radius: 6px;
  margin-left: 0.1rem;
  transform: translateY(-0.12rem);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.nav__link {
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span {
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(2.55rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 1.25rem;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.0938rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 56ch;
}
.hero__lead strong {
  color: var(--ink);
  font-weight: 600;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__note {
  margin-top: 0.9rem;
  font-size: 0.9063rem;
  color: var(--muted);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.facts li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.hero__visual {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1.5rem, 3.5vw, 3rem);
}
.colombage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gres);
  opacity: 0.6;
}

/* Fiche d'audit (exemple) */
.sheet {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.15rem, 2.4vw, 1.75rem);
  transform: rotate(-1.4deg);
}
.sheet__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.sheet__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.2;
  margin-top: 0.3rem;
}
.sheet__badge {
  flex: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red-dark);
  background: var(--red-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.task {
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.task__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.task__name {
  font-weight: 600;
  font-size: 0.9688rem;
}
.task__time {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.task__time b {
  color: var(--red-dark);
  font-weight: 700;
}
.task__how {
  font-size: 0.8438rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.bar {
  position: relative;
  height: 0.5rem;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}
.bar .bar__before {
  background: var(--gres);
}
.bar .bar__after {
  background: var(--red);
}
.w-100 {
  width: 100%;
}
.w-80 {
  width: 80%;
}
.w-60 {
  width: 60%;
}
.w-30 {
  width: 30%;
}
.w-20 {
  width: 20%;
}
.w-10 {
  width: 10%;
}
.task--human .task__time {
  color: var(--fir);
  font-weight: 600;
}
.sheet__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}
.sheet__total span {
  font-size: 0.875rem;
  color: var(--muted);
}
.sheet__total strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--red-dark);
  white-space: nowrap;
}
.sheet__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.sheet__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.sheet__legend span::before {
  content: "";
  width: 0.85rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--gres);
}
.sheet__legend span + span::before {
  background: var(--red);
}

/* Situations */
.situations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.situation {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  box-shadow: var(--shadow);
}
.situation__tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fir);
  background: #e3ede7;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
}
.situation__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.3125rem, 2vw, 1.5625rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--red-dark);
  margin-top: 1.15rem;
  min-height: 2.44em;
}
.situation__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.15rem;
}
.situation__text {
  margin-top: 0.55rem;
  color: var(--ink-2);
  font-size: 0.9844rem;
}
.checks {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
  font-size: 0.9688rem;
}
.checks li {
  position: relative;
  padding-left: 1.7rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 0.6rem;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg) scale(0.72);
  transform-origin: left center;
}

.honest {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border-radius: var(--radius);
  background: var(--fir);
  color: var(--fir-ink);
}
.honest__label {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 560;
  line-height: 1.15;
  max-width: 12ch;
  color: var(--gres);
}
.honest p {
  color: var(--fir-ink);
  max-width: 68ch;
}

/* Offres */
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: offer;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 2rem);
}
.offer__num {
  font-family: var(--display);
  font-size: 3.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--gres);
}
.offer__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-top: 0.85rem;
}
.offer__text {
  margin-top: 0.7rem;
  color: var(--ink-2);
  font-size: 0.9844rem;
}
.offer .checks {
  flex: 1;
  align-content: start;
}
.prices {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  display: grid;
  gap: 0.6rem;
}
.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.9063rem;
  color: var(--ink-2);
}
.price b {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 620;
  color: var(--ink);
  white-space: nowrap;
}
.price small {
  display: block;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.offers__note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Méthode */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.steps__head {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}
.step {
  position: relative;
  padding-top: 1.35rem;
  border-top: 3px solid var(--ink);
}
.steps__head + .step {
  border-top-color: var(--red);
}
.step__k {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.step__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.2;
  margin-top: 0.45rem;
}
.step p {
  margin-top: 0.55rem;
  font-size: 0.9688rem;
  color: var(--ink-2);
}

/* Engagements */
.pledges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--fir-line);
  border: 1px solid var(--fir-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pledge {
  background: var(--fir);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.pledge__title {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.3125rem, 2.1vw, 1.625rem);
  line-height: 1.2;
}
.pledge p {
  margin-top: 0.65rem;
  color: var(--fir-muted);
  max-width: 46ch;
}

/* À propos */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__card {
  position: sticky;
  top: 6.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  box-shadow: var(--shadow);
}
.about__id {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about__photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--gres);
  flex: none;
}
.about__name {
  font-family: var(--display);
  font-weight: 620;
  font-size: 1.5rem;
  line-height: 1.15;
}
.about__role {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.15rem;
}
.about__list {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  font-size: 0.9531rem;
}
.about__list li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
}
.about__list span {
  color: var(--muted);
  font-size: 0.8438rem;
  padding-top: 0.08rem;
}
.about__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  font-weight: 600;
  font-size: 0.9531rem;
}
.about__link svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--red);
}
.prose p {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.1563rem);
  max-width: 62ch;
}
.prose p + p {
  margin-top: 1.1rem;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__list {
  border-top: 1px solid var(--gres);
}
.faq details {
  border-bottom: 1px solid var(--gres);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.2rem;
  font-weight: 600;
  font-size: 1.0938rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.faq details p {
  padding-bottom: 1.3rem;
  color: var(--ink-2);
  max-width: 66ch;
}
.faq details p + p {
  margin-top: -0.5rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact .h2 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
}
.next {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.1rem;
  counter-reset: next;
}
.next li {
  counter-increment: next;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.9rem;
  color: var(--fir-ink);
}
.next li::before {
  content: counter(next);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--gres);
  color: var(--gres);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
}
.next small {
  display: block;
  color: var(--fir-muted);
  font-size: 0.9063rem;
}

.form {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.8vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.field label span {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  min-height: 3rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.form__legal {
  flex: 1 1 16rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.form__status {
  grid-column: 1 / -1;
  font-size: 0.9531rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}
.form__status:empty {
  display: none;
}
.form__status.is-ok {
  background: #e3ede7;
  color: var(--fir-2);
}
.form__status.is-err {
  background: var(--red-soft);
  color: var(--red-dark);
}
.form.is-sent > :not(.form__status) {
  display: none;
}
.form.is-sent .form__status {
  font-size: 1.0625rem;
  padding: 1.5rem;
}

/* Pied de page */
.footer {
  background: var(--fir-2);
  color: var(--fir-muted);
  padding-block: 2.75rem 2.25rem;
  font-size: 0.9219rem;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer .logo {
  color: var(--fir-ink);
}
.footer .logo__ia {
  background: var(--fir-ink);
  color: var(--fir-2);
}
.footer__tag {
  margin-top: 0.85rem;
  max-width: 38ch;
}
.footer__links {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.footer__links a {
  color: var(--fir-ink);
  text-decoration-color: var(--fir-line);
}
.footer__links a:hover {
  text-decoration-color: var(--gres);
}
.footer__base {
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--fir-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.8438rem;
}
.footer__base i {
  font-family: var(--display);
  color: var(--gres);
}

/* Pages légales */
.legal {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}
.legal__inner {
  max-width: 46rem;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 580;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 2.5rem;
}
.legal p,
.legal ul {
  margin-top: 0.85rem;
  color: var(--ink-2);
}
.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.35rem;
}
.legal .todo {
  background: var(--red-soft);
  color: var(--red-dark);
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  font-weight: 600;
}
.legal__updated {
  margin-top: 2.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Apparition au défilement (uniquement si JavaScript est actif) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .btn:hover {
    transition: none;
    transform: none;
  }
}

/* Adaptations */
@media (max-width: 1020px) {
  .situations,
  .offers {
    grid-template-columns: minmax(0, 1fr);
  }
  .situation__quote {
    min-height: 0;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about,
  .faq,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .about__card {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__visual {
    max-width: 36rem;
  }
  .burger {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 32px -24px rgba(29, 27, 24, 0.25);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav__link {
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .nav__link:hover {
    border-bottom-color: var(--line);
  }
  .nav .btn {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .steps,
  .pledges,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .honest {
    grid-template-columns: minmax(0, 1fr);
  }
  .honest__label {
    max-width: none;
  }
  .sheet {
    transform: none;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .about__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.05rem;
  }
  .form__foot .btn {
    width: 100%;
  }
}
