:root {
  --bg: #fbf7f1;
  /* crème */
  --surface: #ffffff;
  /* cartes */
  --surface-2: #f6efe6;
  /* surfaces secondaires */
  --text: #1f2937;
  /* gris anthracite */
  --muted: rgba(31, 41, 55, .78);
  /* gris moyen */
  --primary: #d97706;
  /* ambre (CTA) */
  --accent: #b45309;
  /* cuivre */
  --border: rgba(31, 41, 55, .10);

  --accent-orange: #61390c;
  --accent-orange-soft: #b3760c;
  --accent-green: #065f46;
  --accent-green-soft: #10b981;

  /* états UI */
  --ui-hover-bg: rgba(31, 41, 55, .06);
  --ui-active-bg: rgba(217, 119, 6, .10);
  --ui-active-text: var(--accent);
  --ui-focus-outline: rgba(217, 119, 6, .45);

  --container: 1100px;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(17, 24, 39, .10);

  --header-h: 72px;
  --page-gutter: clamp(5%, 7%, 10%);

  --font-sans: "Inter", "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);

  /* Fond papier */
  background-color: var(--bg);
  background-image: url("/assets/img/grain-paper.png");
  background-repeat: repeat;
  background-size: 420px 420px;

  /* option : effet "papier stable" (comme ton fixed) */
  background-attachment: fixed;
}

a {
  color: inherit
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--text);
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
}

.skip:focus {
  left: 12px;
  z-index: 9999
}

/* ============================
------- Code CSS GLOBAL -------
==============================*/

.kicker {
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.4;
  max-width: 60ch;
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px);
  margin: 0 0 10px;
  letter-spacing: -.45px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.1px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 60ch;
  line-height: 1.6;
}

.trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px
}

.trust-item {
  background: rgba(255, 255, 255, .06);
  padding: 10px 12px;
  border-radius: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.trust-item strong {
  font-size: 18px
}

.trust-item span {
  color: var(--muted);
  font-size: 14px
}

.section {
  padding: clamp(44px, 6vw, 88px) 0;
  background: transparent;
}

.section.alt {
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(217, 119, 6, .10), transparent 60%),
    radial-gradient(900px 420px at 80% 30%, rgba(180, 83, 9, .08), transparent 55%),
    rgba(255, 255, 255, .35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.section-tile {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: clamp(16px, 2.2vw, 28px)
}

.section-head .muted {
  max-width: 62ch;
}

/* Rythme interne des sections : titres -> contenu -> CTA */
.section .container>*+* {
  margin-top: clamp(14px, 2.2vw, 22px);
}

/* Les grilles doivent respirer un peu plus après le head */
.section-head+.grid,
.section-head+.callout,
.section-head+.faq {
  margin-top: clamp(14px, 2.2vw, 22px);
}

.section p {
  line-height: 1.65;
}

.section-head .h2 {
  position: relative;
  padding-left: 18px;
  font-weight: 600;
}

.section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.section .muted {
  color: var(--muted)
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px
}

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

body.services .card-media .cover {
  height: clamp(170px, 18vw, 220px);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .70));
  box-shadow: 0 10px 22px rgba(17, 24, 39, .08);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.card,
.trust-item,
.faq-q,
.gallery {
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 119, 6, .35);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .12);
}

.card-pad {
  padding: 14px 16px 16px;
}

.card-media {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card-pad p {
  margin: 0;
  line-height: 1.6;
}

.card-media .divider {
  margin: 0;
  opacity: .9;
}

.cover {
  width: 100%;
  height: clamp(180px, 22vw, 240px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0
}

.badge {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.step-n {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, .14);
  border: 1px solid rgba(217, 119, 6, .28);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-cta {
  margin-top: 16px
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}

.callout {
  margin-top: 18px;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: var(--radius);
  border: 1px solid rgba(217, 119, 6, .22);
  background: linear-gradient(135deg, rgba(217, 119, 6, .10), rgba(180, 83, 9, .08));
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.callout .muted {
  color: var(--muted)
}

.callout.mini {
  margin-top: 14px
}

.callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.faq {
  display: grid;
  gap: 10px
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-weight: 800;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.faq-q:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(110, 231, 255, .22);
}

.faq-q:active {
  transform: translateY(1px);
}

.faq-a {
  padding: 0 14px 14px 14px
}

.gallery {
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.gallery .cover {
  height: 100%;
}

.list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: rgba(168, 176, 192, .92);
}

.list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(110, 231, 255, .28);
  border: 1px solid rgba(110, 231, 255, .38);
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 10px
}

.field span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, .14);
  background: rgba(255, 255, 255, .85);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(107, 114, 128, .75);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.alert {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .55);
}

.alert.success {
  border-color: rgba(110, 231, 255, .35)
}

.alert.error {
  border-color: rgba(255, 120, 120, .35)
}

.alert.error .list li::before {
  background: rgba(255, 120, 120, .22);
  border-color: rgba(255, 120, 120, .35);
}

.site-footer {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(to bottom, rgba(180, 83, 9, .06), rgba(0, 0, 0, 0) 46px),
    radial-gradient(900px 520px at 20% 0%, rgba(180, 83, 9, .08), transparent 55%),
    radial-gradient(900px 520px at 80% 10%, rgba(217, 119, 6, .10), transparent 60%),
    rgba(255, 255, 255, .30);
  padding: 34px 0 18px;
}

.footer-grid {
  display: grid;
  gap: 16px
}

.footer-title {
  font-weight: 900;
  margin-bottom: 10px
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}