:root{
  --paper: #EDEAE0;
  --paper-deep: #E2DDCE;
  --ink: #1E2926;
  --ink-soft: #4B5750;
  --ink-faint: #57605A;
  --seal: #8A2E1E;
  --seal-dark: #6E2415;
  --brass: #A48354;
  --brass-text: #785A32;
  --brass-ink-text: #C9A876;
  --brass-line: rgba(164,131,84,0.4);
  --hair: rgba(30,41,38,0.14);
  --serif: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --max: 1180px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; }

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

.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow--seal{ color: var(--seal); }

/* ---------- NAV ---------- */

.nav{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(237,234,224,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hair);
}

.nav .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.brand{
  display:flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration:none;
}

.brand__name{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.brand__tag{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-top: 4px;
}

.nav__links{
  display:flex;
  align-items:center;
  gap: 26px;
  list-style:none;
  margin:0; padding:0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.nav__links a{
  text-decoration:none;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a:focus-visible{
  color: var(--seal);
  border-color: var(--seal);
  outline: none;
}
.nav__links a[aria-current="page"]{
  color: var(--seal);
  border-color: var(--seal);
}

.nav__cta{
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper) !important;
  background: var(--ink);
  padding: 9px 16px;
  text-decoration:none;
  white-space: nowrap;
  transition: background .15s ease;
}
.nav__cta:hover, .nav__cta:focus-visible{
  background: var(--seal);
  outline: none;
}

.nav__toggle{
  display:none;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--hair);
  cursor: pointer;
}
.nav__toggle span{
  display:block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .15s ease, opacity .15s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO (home) ---------- */

.hero{
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 84px;
  border-bottom: 1px solid var(--hair);
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero__map{
  position: relative;
  height: 100%;
  min-height: 360px;
}

.hero__map svg{
  width: 100%;
  height: auto;
  max-height: 460px;
  display:block;
}

.hero__name{
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 26px 0;
}

.hero h1{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 22px 0;
  max-width: 15ch;
}

.hero__sub{
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px 0;
}

.stat-strip{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  gap: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 40px;
  border-top: 1px solid var(--brass-line);
  border-bottom: 1px solid var(--brass-line);
  padding: 12px 0;
}
.stat-strip span{
  padding: 0 18px 0 0;
  margin-right: 18px;
  border-right: 1px solid var(--brass-line);
}
.stat-strip span:last-child{
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items:center;
}

.btn{
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration:none;
  padding: 15px 26px;
  display:inline-block;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary{
  background: var(--seal);
  color: var(--paper);
  border: 1px solid var(--seal);
}
.btn--primary:hover, .btn--primary:focus-visible{
  background: var(--seal-dark);
  border-color: var(--seal-dark);
  outline: none;
}

.btn--ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover, .btn--ghost:focus-visible{
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

/* ---------- PAGE HERO (sous-pages) ---------- */

.page-hero{
  padding-top: 76px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--hair);
}

.page-hero__crumb{
  display:block;
  text-decoration:none;
  margin-bottom: 22px;
}
.page-hero__crumb:hover{ color: var(--seal); }

.page-hero h1{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 12px 0 20px 0;
  max-width: 20ch;
}

.page-hero__sub{
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 30px 0;
}

.page-hero__grid{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.page-hero__photo img{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--hair);
  filter: sepia(0.12) contrast(1.04);
}

/* ---------- TRUST BAND ---------- */

.trust{
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
}

.trust__label{
  margin-bottom: 22px;
}

.trust__logos{
  display:flex;
  flex-wrap: wrap;
  gap: 10px 0;
  align-items: center;
  margin-left: -22px;
}

.trust__logos span{
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0 22px;
  border-right: 1px solid var(--hair);
}
.trust__logos span:last-child{ border-right: none; }

/* ---------- SECTION SCAFFOLD ---------- */

section{ padding: 88px 0; }
.section--deep{ background: var(--paper-deep); }
.section--tight{ padding: 64px 0; }

.section__head{
  max-width: 640px;
  margin-bottom: 52px;
}
.section__head h2{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 12px 0 0 0;
  line-height: 1.25;
}

/* ---------- PROSE (contenu long-form sur sous-pages) ---------- */

.prose{
  max-width: 68ch;
}
.prose p{
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0 0 20px 0;
}
.prose p:last-child{ margin-bottom: 0; }
.prose b, .prose strong{ color: var(--ink); font-weight: 600; }

/* ---------- SERVICES / STEPS GRID (réutilisé pour "comment ça marche") ---------- */

.services{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}

.service{
  padding: 36px 34px 36px 0;
  border-right: 1px solid var(--hair);
}
.service:last-child{ border-right: none; padding-right: 0; }
.service:not(:first-child){ padding-left: 34px; }

.service .eyebrow{ margin-bottom: 16px; display:block; }

.service h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 14px 0;
}

.service p{
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 16px 0;
}

.service a{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}
.service a:hover{ color: var(--seal-dark); border-color: var(--seal-dark); }

/* ---------- GUIDES ---------- */

.guides__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.guide-card{
  background: var(--paper);
  padding: 30px 28px;
  display:flex;
  flex-direction: column;
  gap: 14px;
  text-decoration:none;
  color: inherit;
  position:relative;
  transition: background .15s ease;
}
.guide-card:hover, .guide-card:focus-visible{
  background: var(--paper-deep);
  outline: none;
}

.guide-card__tag{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brass-text);
  display:flex;
  align-items:center;
  gap: 8px;
}
.guide-card__tag svg{ width: 12px; height: 12px; flex-shrink:0; }

.guide-card h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.35;
  margin: 0;
}

.guide-card p{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  flex-grow:1;
}

.guide-card__read{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

/* ---------- SILVERMAP TEASER ---------- */

.silvermap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items:center;
}

.silvermap__visual{
  position:relative;
}
.silvermap__visual svg{ width:100%; height:auto; display:block; }

.silvermap__text h2{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 14px 0 18px 0;
  line-height: 1.3;
}
.silvermap__text p{
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 46ch;
  margin: 0 0 24px 0;
}

/* ---------- CREDENTIALS ---------- */

.credentials{
  text-align:center;
}
.credentials .eyebrow{
  display:block;
  margin-bottom: 24px;
}
.credentials__line{
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto;
  line-height: 2.1;
}
.credentials__line b{
  color: var(--ink);
  font-weight: 600;
}

/* ---------- CTA FOOTER ---------- */

.cta-final{
  background: var(--ink);
  color: var(--paper);
}
.cta-final .wrap{
  text-align:center;
  max-width: 640px;
}
.cta-final .eyebrow{ color: var(--brass-ink-text); margin-bottom: 18px; }
.cta-final h2{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 20px 0;
  line-height: 1.3;
}
.cta-final p{
  color: rgba(237,234,224,0.72);
  font-size: 15.5px;
  margin: 0 0 34px 0;
}
.cta-final .cta-row{ justify-content:center; }
.cta-final .btn--ghost{
  border-color: var(--brass);
  color: var(--paper);
}
.cta-final .btn--ghost:hover{
  background: var(--brass);
  color: var(--ink);
}

/* ---------- FOOTER ---------- */

footer{
  padding: 40px 0;
  border-top: 1px solid var(--hair);
}
footer .wrap{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
}
footer .brand__name{ font-size: 15px; }
footer nav ul{
  list-style:none;
  display:flex;
  flex-wrap: wrap;
  gap: 22px;
  margin:0; padding:0;
  font-family: var(--mono);
  font-size: 12.5px;
}
footer nav a{ text-decoration:none; color: var(--ink-soft); }
footer nav a:hover{ color: var(--seal); }
.footer__copy{
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faint);
}

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

@media (max-width: 920px){
  .wrap{ padding: 0 24px; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__map{ order: -1; min-height: 220px; opacity: 0.55; }
  .services{ grid-template-columns: 1fr; }
  .service{ border-right:none; padding: 28px 0; border-bottom: 1px solid var(--hair); }
  .service:not(:first-child){ padding-left: 0; }
  .service:last-child{ border-bottom:none; }
  .guides__grid{ grid-template-columns: 1fr; }
  .silvermap{ grid-template-columns: 1fr; gap: 30px; }
  .page-hero__grid{ grid-template-columns: 1fr; gap: 28px; }
  .page-hero__photo{ order: -1; max-width: 280px; margin: 0 auto; }
  section{ padding: 60px 0; }

  .nav .wrap{ position: relative; }
  .nav__toggle{ display:flex; }
  .nav__links{
    display:none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hair);
    padding: 4px 24px 12px;
  }
  .nav__links.is-open{ display:flex; }
  .nav__links li{ width:100%; }
  .nav__links a{
    display:block;
    padding: 13px 0;
    border-bottom: 1px solid var(--hair);
  }
  .nav__links li:last-child a{ border-bottom:none; }
}

.nav__cta-short{ display:none; }

@media (max-width: 480px){
  .brand__tag{ display:none; }
  .nav .wrap{ gap: 12px; }
  .nav__cta{ padding: 9px 13px; font-size: 12.5px; }
  .nav__cta-full{ display:none; }
  .nav__cta-short{ display:inline; }
}
