/* ============================================================
   Oramus — feuille de style provisoire
   Stack : HTML/CSS pur, pas de build, pas de JS structurant.
   ============================================================ */

/* ----- 1. Variables ---------------------------------------- */

:root {
  /* Palette */
  --encre:        #1A1A1A;
  --papier:       #FAFAF7;
  --olive:        #6B7A4F;
  --olive-fonce:  #4F5A3A;
  --ardoise:      #6B7280;
  --trait:        #E5E4DC;

  /* Typographies (stack avec fallback système si bunny.fonts indispo) */
  --ff-titre: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --ff-corps: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Échelle typographique fluide */
  --fs-overline: 0.75rem;
  --fs-small:    0.875rem;
  --fs-body:     clamp(1rem, 0.25vw + 0.95rem, 1.0625rem);
  --fs-lead:     clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fs-h3:       clamp(1.25rem, 0.5vw + 1.125rem, 1.5rem);
  --fs-h2:       clamp(1.75rem, 1.5vw + 1rem, 2.5rem);
  --fs-h1:       clamp(2.25rem, 3.5vw + 1rem, 4rem);

  /* Espacements */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4rem;
  --s-8: 6rem;
  --s-9: clamp(5rem, 10vw, 9rem);

  /* Container */
  --container-max: 1100px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}

/* ----- 2. Reset minimal ------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--ff-corps);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga";
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-titre);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--olive-fonce);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

a:hover {
  color: var(--encre);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----- 3. Container ---------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----- 4. Header ------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--trait);
  padding-block: var(--s-4);
}

.site-header .container {
  display: flex;
  align-items: center;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  text-decoration: none;
  color: var(--encre);
  line-height: 1;
}

.site-header__brand:hover {
  color: var(--encre);
}

.site-header__mark {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}

.site-header__wordmark {
  font-family: var(--ff-titre);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--encre);
  line-height: 1;
}

/* ----- 5. Hero --------------------------------------------- */

.hero {
  padding-block: var(--s-9) var(--s-8);
}

.hero__title {
  font-size: var(--fs-h1);
  max-width: 18ch;
}

.hero__subtitle {
  margin-top: var(--s-4);
  font-family: var(--ff-titre);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-lead);
  color: var(--ardoise);
  max-width: 38ch;
  line-height: 1.4;
}

.hero__lede {
  margin-top: var(--s-5);
  max-width: 60ch;
  color: var(--encre);
}

.hero__cta {
  margin-top: var(--s-6);
}

/* ----- 6. Boutons ------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  background: var(--olive);
  color: var(--papier);
  font-family: var(--ff-corps);
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--olive);
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: var(--olive-fonce);
  border-color: var(--olive-fonce);
  color: var(--papier);
}

.btn__arrow {
  display: inline-block;
  transition: transform 160ms ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ----- 7. Sections — patterns récurrents ------------------- */

.section {
  padding-block: var(--s-8);
  border-top: 1px solid var(--trait);
}

.section__overline {
  font-family: var(--ff-corps);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 var(--s-3) 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}

.section__overline::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--olive);
}

.section__title {
  font-size: var(--fs-h2);
  max-width: 22ch;
  margin-bottom: var(--s-6);
}

/* ----- 8. Expertises — grille 2x2 -------------------------- */

.expertises__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
}

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

.expertise {
  background: var(--papier);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: background 200ms ease;
}

.expertise:hover {
  background: #F4F3EC;
}

.expertise__num {
  font-family: var(--ff-corps);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--olive);
}

.expertise__title {
  font-size: var(--fs-h3);
  font-weight: 500;
}

.expertise__text {
  color: var(--encre);
  font-size: var(--fs-body);
}

/* ----- 9. À venir ------------------------------------------ */

.upcoming__block {
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--olive);
  max-width: 70ch;
}

.upcoming__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--s-3);
}

.upcoming__text {
  color: var(--encre);
}

/* ----- 10. Contact ----------------------------------------- */

.contact__lede {
  max-width: 60ch;
  margin-bottom: var(--s-6);
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-4);
  max-width: 60ch;
}

.contact__item {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) 1fr;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--trait);
}

.contact__item:last-child {
  border-bottom: none;
}

.contact__label {
  font-family: var(--ff-corps);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ardoise);
  padding-top: 0.25em;
}

.contact__value {
  font-size: var(--fs-body);
  color: var(--encre);
}

/* ----- 11. Footer ------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--trait);
  padding-block: var(--s-7) var(--s-4);
  margin-top: var(--s-7);
  font-size: var(--fs-small);
  color: var(--ardoise);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-5);
  padding-bottom: var(--s-6);
}

.site-footer__col h2 {
  font-family: var(--ff-corps);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 var(--s-3) 0;
}

.site-footer__col--brand {
  display: flex;
  align-items: flex-start;
}

.site-footer__brand {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.site-footer__logo {
  width: clamp(140px, 14vw, 180px);
  height: auto;
  display: block;
  max-width: 100%;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-2);
}

.site-footer__col p {
  margin: 0 0 var(--s-1) 0;
}

.site-footer a {
  color: var(--ardoise);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--encre);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  border-top: 1px solid var(--trait);
  padding-top: var(--s-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-small);
}

/* ----- 12. Page Mentions Légales --------------------------- */

.legal {
  padding-block: var(--s-8);
}

.legal__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--s-6);
  max-width: 18ch;
}

.legal__article {
  max-width: 68ch;
}

.legal__article h2 {
  font-size: var(--fs-h2);
  margin: var(--s-7) 0 var(--s-3) 0;
  padding-top: var(--s-5);
  border-top: 1px solid var(--trait);
}

.legal__article h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal__article p,
.legal__article ul {
  margin-bottom: var(--s-3);
}

.legal__defs {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-4) 0;
}

.legal__defs li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--trait);
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: var(--s-3);
}

.legal__defs li:last-child {
  border-bottom: none;
}

.legal__defs strong {
  font-family: var(--ff-corps);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ardoise);
  padding-top: 0.4em;
}

.legal__back {
  margin-top: var(--s-7);
  display: inline-block;
}

/* ----- 13. Préférences utilisateur ------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background: var(--olive);
  color: var(--papier);
}
