/* ===================================
   D2S SERVICES — Stylesheet
   Direction : Industriel premium B2B
   =================================== */

/* ---------- 1. RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charbon);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* Couleurs principales */
  --green: #146b38;
  --green-dark: #0d4d27;
  --green-light: rgba(20, 107, 56, 0.08);
  --charbon: #32312d;
  --charbon-dark: #1f1e1c;
  --charbon-light: #4a4944;
  --white: #ffffff;
  --cream: #faf9f6;
  --gray-line: #e5e4e0;
  --gray-text: #6b6a65;

  /* Typographie */
  --font: 'Archivo', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --section-pad: clamp(64px, 10vw, 128px);
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Border-radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 3. LAYOUT UTILS ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--dark {
  background: var(--charbon);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
}

.section--dark .eyebrow {
  color: #6fc28d;
}

.section--dark .eyebrow::before {
  background: #6fc28d;
}

/* ---------- 4. TYPOGRAPHIE ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: inherit;
}

.h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--gray-text);
  font-weight: 400;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 5. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(20, 107, 56, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--charbon);
  border-color: var(--white);
}

.btn--dark {
  background: var(--charbon);
  color: var(--white);
  border-color: var(--charbon);
}

.btn--dark:hover {
  background: var(--charbon-dark);
  border-color: var(--charbon-dark);
}

.btn--block {
  width: 100%;
}

/* ---------- 6. HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  transition: all var(--t);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--charbon);
}

.header__logo-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 3px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.header__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--charbon);
  transition: color var(--t);
  position: relative;
}

.header__links a:hover {
  color: var(--green);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--charbon);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background var(--t);
}

.header__phone:hover {
  background: var(--green);
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.header__burger span {
  width: 24px;
  height: 2px;
  background: var(--charbon);
  transition: all var(--t);
}

@media (max-width: 880px) {
  .header__links { display: none; }
  .header__phone span:last-child { display: none; }
  .header__burger { display: flex; }
}

/* ---------- 7. HERO ---------- */
.hero {
  background: var(--charbon);
  color: var(--white);
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(20, 107, 56, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero__title em {
  font-style: normal;
  color: var(--green);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin-bottom: 48px;
}

.hero__subtitle strong {
  color: var(--white);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__triangle {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 500px;
  height: 500px;
  opacity: 0.06;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- 8. STATS ---------- */
.stats {
  background: var(--charbon-dark);
  color: var(--white);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats__item {
  padding: 64px var(--gutter);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats__item:last-child { border-right: none; }

.stats__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.stats__number .plus {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.stats__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 48px var(--gutter); }
  .stats__item:last-child { border-bottom: none; }
}

/* ---------- 9. ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about__title-side h2 {
  margin-bottom: 0;
}

.about__text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--charbon);
}

.about__text p + p { margin-top: 20px; }

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 10. SERVICES ---------- */
.services__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 64px;
  gap: 40px;
  flex-wrap: wrap;
}

.services__header h2 { margin-bottom: 0; max-width: 700px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(50, 49, 45, 0.08);
  border-color: var(--green);
}

.service:hover::before { transform: scaleX(1); }

.service__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 32px;
  font-feature-settings: "tnum";
}

.service__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--green);
}

.service__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-text);
}

.services__note {
  margin-top: 48px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  color: var(--gray-text);
  border-left: 4px solid var(--green);
}

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

/* ---------- 11. METHOD ---------- */
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
}

.method__step {
  padding: 48px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.method__step:first-child { padding-left: 0; }
.method__step:last-child { border-right: none; padding-right: 0; }

.method__num {
  font-size: 64px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  font-feature-settings: "tnum";
}

.method__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.method__text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 880px) {
  .method__grid { grid-template-columns: 1fr; gap: 0; }
  .method__step { padding: 32px 0; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .method__step:last-child { border-bottom: none; }
}

/* ---------- 12. CITIES ---------- */
.cities__intro {
  max-width: 600px;
  margin-bottom: 56px;
}

.cities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.city {
  display: block;
  padding: 28px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  color: var(--charbon);
  border: 1px solid transparent;
  transition: all var(--t);
  position: relative;
}

.city::after {
  content: '→';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: var(--green);
  font-weight: 400;
  transition: all var(--t);
}

.city:hover {
  background: var(--white);
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.city:hover::after {
  opacity: 1;
  right: 16px;
}

.city--main {
  grid-column: span 2;
  background: var(--charbon);
  color: var(--white);
  padding: 36px 32px;
}

.city--main::after { color: var(--white); }

.city--main:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.city--main:hover::after { color: var(--white); }

.city__sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

@media (max-width: 880px) {
  .cities__grid { grid-template-columns: repeat(2, 1fr); }
  .city--main { grid-column: span 2; }
}

@media (max-width: 480px) {
  .cities__grid { grid-template-columns: 1fr; }
  .city--main { grid-column: span 1; }
}

/* ---------- 13. WHY ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.why__item {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-line);
  display: flex;
  gap: 24px;
  align-items: start;
}

.why__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.why__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.why__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-text);
}

@media (max-width: 720px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__item { padding: 28px; }
}

/* ---------- 14. CLIENTS / LOGOS ---------- */
.clients__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.clients__intro h2 { margin-bottom: 20px; }

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-line);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.client-logo {
  background: var(--white);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background var(--t);
}

.client-logo:hover { background: var(--cream); }

.client-logo img {
  max-height: 60px;
  max-width: 80%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--t);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo--placeholder {
  color: var(--gray-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 720px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { height: 110px; }
}

/* ---------- 15. FORM ---------- */
.form-section {
  background: var(--charbon);
  color: var(--white);
}

.form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.form-section__intro h2 { margin-bottom: 24px; }

.form-section__intro p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.form-section__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section__detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.form-section__detail svg {
  flex-shrink: 0;
  color: var(--green);
}

.form-section__detail strong {
  color: var(--white);
  font-weight: 700;
}

.form {
  background: var(--white);
  color: var(--charbon);
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
}

.form__note {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form__row {
  grid-column: span 2;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group--full {
  grid-column: span 2;
}

.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charbon);
  letter-spacing: -0.005em;
}

.form__label .req {
  color: var(--green);
  font-weight: 700;
}

.form__input,
.form__select,
.form__textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charbon);
  transition: border-color var(--t);
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2332312d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form__checkboxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.form__check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t);
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}

.form__check:hover { border-color: var(--green); }

.form__check input[type="checkbox"] {
  accent-color: var(--green);
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.form__check:has(input:checked) {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}

.form__submit {
  margin-top: 12px;
  padding: 20px 32px;
  font-size: 16px;
}

.form__legal {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.5;
  text-align: center;
}

.form__legal svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
}

.hidden { display: none; }

@media (max-width: 880px) {
  .form-section__inner { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__row, .form__group--full { grid-column: span 1; }
  .form__checkboxes { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 16. FOOTER ---------- */
.footer {
  background: var(--charbon-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__brand-logo img {
  height: 48px;
  border-radius: 6px;
}

.footer__brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
}

.footer__slogan {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.footer__list a {
  transition: color var(--t);
}

.footer__list a:hover { color: var(--green); }

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  font-size: 13px;
  line-height: 1.7;
}

.footer__legal strong { color: var(--white); font-weight: 700; }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

/* ---------- 17. PAGE INTERNES (villes & légales) ---------- */
.page-hero {
  background: var(--charbon);
  color: var(--white);
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 60px);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.page-hero__breadcrumb a:hover { color: var(--white); }

.page-content {
  padding: var(--section-pad) 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 48px 0 16px;
  font-weight: 800;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  font-weight: 700;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li { margin-bottom: 8px; line-height: 1.6; }

.page-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.merci {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}

.merci__inner {
  max-width: 600px;
}

.merci__check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--white);
}

.merci h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.merci p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--gray-text);
  margin-bottom: 32px;
}

.merci__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 18. ANIMATIONS AU SCROLL ---------- */
/* Par défaut tout est visible — l'animation ne s'active que si JS a tagué <html class="js-on"> */
.reveal {
  opacity: 1;
  transform: none;
}

.js-on .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js-on .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

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

/* ---------- 19. UTILS ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* Skip to content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--green);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus { top: 0; }
