/* ============================================================
   SAHIYENA — feuille de styles du site
   Palette : #0B1E3F (bleu nuit) · #B87333 (terre de Sienne)
             #F5F0E6 (ivoire) · #8B2635 (granit rouge)
             accents #C9A66B · #E7C9A3
   Typos : Spectral (titres/logo) · IBM Plex Sans (corps) · IBM Plex Mono (étiquettes)
   Toute la mise en forme est ici — aucun attribut style= dans le HTML.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #F5F0E6;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #0B1E3F;
}

::selection { background: #0B1E3F; color: #F5F0E6; }

a { color: #8B2635; }
a:hover { color: #B87333; }

.page { background: #F5F0E6; overflow-x: hidden; }

/* ---------- Utilitaires ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0B1E3F;
  padding: 14px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 1px 0 rgba(245, 240, 230, 0.08);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__brand-mark { flex-shrink: 0; }
.nav__brand-name {
  font-family: 'Spectral', serif;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: #F5F0E6;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}
.navlink {
  color: #E8E4DA;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}
.navlink:hover { color: #C9A66B; }

/* Boutons */
.btn-sienna {
  background: #B87333;
  color: #0B1E3F;
  text-decoration: none;
  border-radius: 2px;
}
.btn-sienna:hover { background: #C9834A; color: #0B1E3F; }
.btn-navy {
  background: #0B1E3F;
  color: #F5F0E6;
  border-radius: 2px;
}
.btn-navy:hover { background: #16305C; }

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  white-space: nowrap;
}

/* ============ HERO ============ */
.hero {
  scroll-margin-top: 70px;
  background: #0B1E3F;
  color: #F5F0E6;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 56px) clamp(72px, 9vw, 110px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero__ridge {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 220px;
  opacity: 0.08;
}
.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero__mark { margin-bottom: 26px; }
.hero__title {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__baseline {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 21px);
  color: #E7C9A3;
  margin-top: 20px;
}
.hero__lede {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: #C6CBD8;
  margin: 26px auto 0;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
}
.hero__link {
  font-size: 14px;
  color: #F5F0E6;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #B87333;
}
.hero__link:hover { color: #F5F0E6; }

/* ============ SECTIONS génériques ============ */
.section {
  scroll-margin-top: 70px;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 56px);
  position: relative;
}
.section--tinted { background: #EFE8D8; }
.section--navy { background: #0B1E3F; color: #F5F0E6; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8B2635;
  margin-bottom: 14px;
}
.eyebrow--gold { color: #C9A66B; }
.eyebrow--center { text-align: center; }

.section__title {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 44px;
  line-height: 1.2;
}
.section__title--center { text-align: center; }

/* ---------- Le nom / la posture ---------- */
.posture__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.posture__watermark {
  position: absolute;
  right: clamp(-40px, -2vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 420px);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}
.posture__title { margin: 0 0 28px; }
.posture__p {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  color: #0B1E3F;
  margin: 0 0 24px;
}
.posture__p--last { margin: 0; }

/* ---------- Services ---------- */
.services__inner {
  max-width: 1160px;
  margin: 0 auto;
}
.services__title { margin: 0 0 48px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: #F5F0E6;
  border-top: 3px solid #B87333;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #B87333;
}
.service-card__title {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 21px;
  margin: 0;
}
.service-card__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: #0B1E3F;
  margin: 0;
}

/* ---------- Pourquoi ---------- */
.pourquoi__inner {
  max-width: 900px;
  margin: 0 auto;
}
.pourquoi__title { color: #F5F0E6; margin: 0 0 40px; }
.pourquoi__list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 44px;
}
.pourquoi__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pourquoi__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B87333;
  margin-top: 9px;
  flex-shrink: 0;
}
.pourquoi__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #E8E4DA;
}
.pourquoi__quote {
  border-left: 2px solid #B87333;
  padding: 4px 0 4px 24px;
}
.pourquoi__quote p {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.8;
  color: #E7C9A3;
  margin: 0;
}

/* ---------- Fondateur ---------- */
.fondateur__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.fondateur__grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 44px;
  align-items: start;
}
.fondateur__photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
}
.founder-photo {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(11, 30, 63, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #EFE8D8;
  color: rgba(11, 30, 63, 0.5);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px;
}
.fondateur__role {
  font-size: 14px;
  color: #8B2635;
  font-weight: 600;
  margin-bottom: 6px;
}
.fondateur__bio {
  font-size: 15.5px;
  line-height: 1.8;
  color: #0B1E3F;
  margin: 0 0 20px;
}
.todo-box {
  border: 1px dashed rgba(11, 30, 63, 0.25);
  border-radius: 2px;
  padding: 18px 20px;
}
.todo-box__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8B2635;
  margin-bottom: 8px;
}
.todo-box__text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(11, 30, 63, 0.6);
  margin: 0;
}

/* ---------- Réassurance ---------- */
.reassurance__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.reassurance__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.reassurance__h3 {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 10px;
}
.reassurance__p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(11, 30, 63, 0.6);
  margin: 0;
}
.todo-box--tight {
  padding: 14px 16px;
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 0.8fr);
  gap: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0B1E3F;
  margin-bottom: 6px;
}
.field__input,
.field__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(11, 30, 63, 0.19);
  border-radius: 2px;
  background: #FFFFFF;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: #0B1E3F;
}
.field__textarea { resize: vertical; }
.field__input:focus,
.field__textarea:focus {
  outline: 2px solid #B87333;
  outline-offset: 1px;
  border-color: #B87333;
}
/* Honeypot anti-spam — masqué aux humains, laissé aux robots */
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__submit {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  border: none;
  cursor: pointer;
}
/* Message de confirmation / erreur du formulaire */
.form-status {
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 2px;
  margin: 0;
}
.form-status[hidden] { display: none; }
.form-status--ok {
  background: rgba(184, 115, 51, 0.12);
  border-left: 3px solid #B87333;
  color: #0B1E3F;
}
.form-status--error {
  background: rgba(139, 38, 53, 0.10);
  border-left: 3px solid #8B2635;
  color: #8B2635;
}

.contact-card {
  background: #0B1E3F;
  color: #F5F0E6;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: fit-content;
}
.contact-card__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A66B;
  margin-bottom: 6px;
}
.contact-link {
  color: #F5F0E6;
  text-decoration: none;
  font-size: 15px;
}
.contact-link:hover { color: #C9A66B; }
.contact-card__value {
  font-size: 15px;
  color: #E8E4DA;
}
.contact-card__cta {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
}

/* ============ FOOTER ============ */
.footer {
  background: #0B1E3F;
  color: #C6CBD8;
  padding: clamp(48px, 7vw, 72px) clamp(20px, 6vw, 56px) 32px;
}
.footer__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.footer__brand-name {
  font-family: 'Spectral', serif;
  letter-spacing: 0.12em;
  font-size: 14px;
  color: #F5F0E6;
}
.footer__tagline {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 13px;
  color: #E7C9A3;
}
.footer__heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8FA0C2;
  margin-bottom: 12px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footlink {
  color: #C6CBD8;
  text-decoration: none;
  font-size: 13px;
}
.footlink:hover { color: #C9A66B; }
.footer__coords {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer__coords-static { color: #C6CBD8; }
.footer__legal {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(198, 203, 216, 0.67);
}
.footer__legal a { color: #C6CBD8; }
.footer__legal a:hover { color: #C9A66B; }
.footer__copy {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(198, 203, 216, 0.5);
}

/* ============ Pages secondaires (mentions légales / 404) ============ */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 56px);
}
.doc__title {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  line-height: 1.15;
}
.doc__lead {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11, 30, 63, 0.7);
  margin: 0 0 40px;
}
.doc h2 {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 21px;
  margin: 40px 0 12px;
}
.doc p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #0B1E3F;
  margin: 0 0 12px;
}
.doc a { color: #8B2635; }
.doc a:hover { color: #B87333; }
.doc dl { margin: 0 0 12px; }
.doc dt {
  font-weight: 600;
  font-size: 13px;
  margin-top: 12px;
}
.doc dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
}
.todo-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8B2635;
  background: rgba(139, 38, 53, 0.10);
  border: 1px dashed rgba(139, 38, 53, 0.4);
  border-radius: 2px;
  padding: 2px 8px;
}
.doc__back {
  display: inline-block;
  margin-top: 40px;
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 10vw, 120px) clamp(20px, 6vw, 56px);
}
.notfound__mark { margin-bottom: 28px; }
.notfound__code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #8B2635;
  margin-bottom: 14px;
}
.notfound__title {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 16px;
}
.notfound__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11, 30, 63, 0.7);
  max-width: 460px;
  margin: 0 0 32px;
}
.notfound__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .fondateur__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .fondateur__photo-frame { max-width: 300px; }
}
