@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --ivoire: #fbfaf6;
  --marine: #102840;
  --marine-doux: #4a5a6e;
  --or: #a48c56;
  --or-texte: #7d6835;
  --filet: #e3dccb;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --gouttiere: 1.25rem;
  --texte: 42rem;
  --large: 60rem;
}

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

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

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--marine);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: var(--marine);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--marine-doux);
}

a:hover {
  text-decoration-color: var(--or);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--marine);
  outline-offset: 3px;
  border-radius: 0;
}

abbr[title] {
  text-decoration: none;
}

.evitement {
  position: absolute;
  left: var(--gouttiere);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--marine);
  color: var(--ivoire);
  font-weight: 600;
  text-decoration: none;
}

.evitement:focus {
  top: 1rem;
}

.evitement:focus-visible {
  outline-color: var(--or);
}

.bandeau {
  position: relative;
  height: 10px;
  background: var(--marine);
  border-bottom: 1px solid var(--or);
}

.bandeau::before,
.bandeau::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 36px;
  height: 12px;
  margin-left: -18px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.bandeau::before {
  top: 10px;
  background: var(--or);
}

.bandeau::after {
  top: 8.5px;
  background: var(--marine);
}

.entete {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.75rem var(--gouttiere) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 1rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  justify-self: start;
}

.marque svg {
  width: 44px;
  height: 44px;
  flex: none;
}

.marque__nom {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.1;
}

.marque__titre {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marine-doux);
}

.langues {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--marine-doux);
}

.langues a {
  display: inline-block;
  padding: 0.4rem 0.3rem;
  text-decoration: none;
  color: var(--marine-doux);
}

.langues a[aria-current] {
  color: var(--marine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--or);
  text-decoration-thickness: 2px;
}

.nav {
  grid-column: 1 / -1;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}

.nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 0.9rem;
}

.nav a {
  display: block;
  padding: 0.75rem 0.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.nav a:hover {
  border-bottom-color: var(--filet);
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--or);
  font-weight: 600;
}

main {
  display: block;
  padding: 0 var(--gouttiere);
}

.colonne {
  max-width: var(--texte);
  margin: 0 auto;
}

.large {
  max-width: var(--large);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.titre-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

.titre-section::before,
.titre-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--or);
  opacity: 0.6;
}

.filet-or {
  position: relative;
  width: 11rem;
  height: 1px;
  margin: 1.5rem auto;
  background: var(--or);
  border: 0;
}

.filet-or::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--or);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ouverture {
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.ouverture__monogramme {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.75rem;
}

.surtitre {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or-texte);
  margin-bottom: 0.75rem;
}

.ouverture h1 {
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  letter-spacing: 0.01em;
}

.ouverture__titre {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ouverture__domaines {
  margin-top: 0.6rem;
  color: var(--marine-doux);
  font-size: 1rem;
}

.entete-page {
  padding: 3.5rem 0 1rem;
  text-align: center;
}

.entete-page h1 {
  font-size: clamp(2.1rem, 6.5vw, 3rem);
}

.entete-page .filet-or {
  margin-bottom: 0;
}

.chapeau {
  margin-top: 1.5rem;
  color: var(--marine-doux);
  text-align: center;
}

.presentation {
  display: grid;
  gap: 2rem;
}

.presentation p {
  font-size: 1.125rem;
}

.presentation p + p {
  margin-top: 1rem;
}

.portrait {
  aspect-ratio: 4 / 5;
  max-width: 16rem;
  border: 1px solid var(--filet);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texte p + p,
.texte p + ul,
.texte ul + p {
  margin-top: 1rem;
}

.cabinets {
  display: grid;
  gap: 0;
}

.cabinet {
  padding: 2rem 0;
  text-align: center;
}

.cabinet + .cabinet {
  border-top: 1px solid var(--filet);
}

.ville {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-texte);
}

.cabinet h2,
.cabinet h3 {
  margin-top: 0.35rem;
  font-size: 1.6rem;
}

.cabinet .filet-or {
  width: 6rem;
  margin: 1.1rem auto;
}

.cabinet address {
  font-style: normal;
}

.coordonnees {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

.coordonnees dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marine-doux);
  margin-top: 0.6rem;
}

.coordonnees dd {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.coordonnees a {
  display: inline-block;
  padding: 0.15rem 0;
}

.itineraire {
  margin-top: 1.25rem;
}

.itineraire a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.liste-domaines {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet);
}

.liste-domaines li {
  border-bottom: 1px solid var(--filet);
}

.liste-domaines a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.3;
  text-decoration: none;
}

.liste-domaines a:hover {
  text-decoration: underline;
  text-decoration-color: var(--or);
}

.suite {
  margin-top: 1.75rem;
  text-align: center;
}

.domaine {
  padding: 2.25rem 0;
  border-top: 1px solid var(--filet);
  scroll-margin-top: 1rem;
}

.domaine:first-child {
  border-top: 0;
  padding-top: 0.5rem;
}

.domaine h2 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--or);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
}

.inscriptions {
  list-style: none;
  padding: 0;
  text-align: center;
}

.inscriptions li {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.35;
}

.inscriptions li + li {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--filet);
}

.chronologie {
  list-style: none;
  padding: 0;
}

.chronologie li {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--filet);
}

.chronologie li:last-child {
  border-bottom: 1px solid var(--filet);
}

.chronologie .date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or-texte);
  font-variant-numeric: tabular-nums;
}

.contact {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.contact h3 {
  font-size: 1.35rem;
  margin: 0.3rem 0 0.6rem;
}

.contact p {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.contact a {
  display: inline-block;
  padding: 0.2rem 0;
}

.mentions h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.75rem;
}

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

.mentions ul {
  padding-left: 1.2rem;
}

.mentions li + li {
  margin-top: 0.4rem;
}

.mentions p + p,
.mentions p + ul,
.mentions ul + p {
  margin-top: 0.85rem;
}

.mentions address {
  font-style: normal;
}

.introuvable {
  padding-top: 4rem;
  padding-bottom: 3rem;
  text-align: center;
}

.introuvable h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.introuvable section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--filet);
}

.introuvable h2 {
  font-size: 2rem;
}

.introuvable p {
  margin-top: 1rem;
}

.pied {
  margin-top: 2rem;
  padding: 0 var(--gouttiere) 2.5rem;
  text-align: center;
}

.pied__filet {
  max-width: var(--large);
  margin: 0 auto 2rem;
  position: relative;
  height: 1px;
  background: var(--or);
}

.pied__filet::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--ivoire);
  border: 1px solid var(--or);
  transform: translate(-50%, -50%) rotate(45deg);
}

.pied__ordres {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

.pied__liens {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  font-size: 0.9rem;
}

.pied__liens a {
  display: inline-block;
  padding: 0.35rem 0;
}

.pied__copie {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--marine-doux);
}

@media (min-width: 30em) {
  .nav ul {
    justify-content: center;
    gap: 2.25rem;
  }
}

@media (min-width: 48em) {
  body {
    font-size: 1.125rem;
  }

  :root {
    --gouttiere: 2rem;
  }

  .entete {
    grid-template-columns: auto 1fr auto;
    column-gap: 2rem;
    padding-top: 2rem;
  }

  .nav {
    grid-column: auto;
    grid-row: 1;
    grid-column-start: 2;
    border: 0;
    justify-self: end;
  }

  .nav ul {
    gap: 2rem;
  }

  .nav a {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }

  .nav a {
    margin-bottom: 0;
  }

  .ouverture {
    padding: 4.5rem 0 4.5rem;
  }

  .ouverture__monogramme {
    width: 128px;
    height: 128px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .entete-page {
    padding-top: 4.5rem;
  }

  .presentation:has(.portrait) {
    grid-template-columns: 14rem 1fr;
    align-items: start;
    gap: 3rem;
  }

  .cabinets,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .cabinet {
    padding: 0.5rem 2.5rem;
  }

  .cabinet + .cabinet {
    border-top: 0;
    border-left: 1px solid var(--filet);
  }

  .contact > div + div {
    border-left: 1px solid var(--filet);
  }

  .chronologie li {
    grid-template-columns: 11rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

@media print {
  .bandeau,
  .nav,
  .langues,
  .evitement,
  .itineraire {
    display: none;
  }

  body {
    background: #fff;
  }
}

.adresses {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.adresses a {
  overflow-wrap: anywhere;
}
