:root {
  --rouge: #c8161d;
  --marine: #1a1a1a;
  --creme: #f7f4ef;
  --encre: #1a1a1a;
  --gris: #6f6860;
  --filet: rgba(27, 24, 22, .18);
  --serif: "Libre Caslon Text", Georgia, serif;
  --etroit: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
section[id] { scroll-margin-top: 90px; }

h1, h2, h3 {
  font-family: var(--etroit);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--marine);
  line-height: 1;
}

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 48px;
  height: 84px; padding: 0 40px;
  background: var(--creme);
  border-bottom: 1px solid var(--filet);
}
.entete__logo { font-family: var(--etroit); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 2rem; color: var(--rouge); text-decoration: none; white-space: nowrap; }
.entete__nav { display: flex; gap: 36px; margin-left: auto; }
.entete__nav a, .entete__resa, .entete__menu {
  font-family: var(--etroit); font-weight: 500; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.entete__nav a:hover { color: var(--rouge); }
.entete__resa {
  background: var(--rouge); color: #fff; padding: 10px 22px;
}
.entete__resa:hover { background: #a01117; }
.entete__menu { display: none; background: none; border: 0; cursor: pointer; color: var(--encre); }

/* Ouverture */
.ouverture { position: relative; height: calc(100svh - 84px); min-height: 520px; max-height: 920px; }
.ouverture img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.ouverture__bas {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 40px;
  background: rgba(27, 24, 22, .55);
  color: #fff;
  font-family: var(--etroit); font-weight: 500; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase;
}

/* Maison */
.maison {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1200px; margin: 0 auto; padding: 120px 40px;
}
.maison h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
.maison__texte p + p { margin-top: 1.2rem; }

/* Photos */
.photos {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px; padding: 0 40px; max-width: 1440px; margin: 0 auto;
  height: 860px;
}
.photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.photos__a { grid-row: 1 / 3; }
.photos__c { grid-column: 3; grid-row: 1 / 3; }
.photos__b, .photos__d { grid-column: 2; }

/* À table */
.table { max-width: 1440px; margin: 0 auto; padding: 130px 40px 0; }
.table h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 40px; padding: 0 0 18px; border-bottom: 2px solid var(--encre); max-width: 1120px; margin-left: auto; margin-right: auto; }
.table__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.table__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.table__photos figcaption { padding-top: 12px; font-style: italic; color: var(--gris); font-size: .95rem; }

/* Carte */
.carte { max-width: 1200px; margin: 0 auto; padding: 130px 40px 120px; }
.carte__tete {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid var(--encre); padding-bottom: 18px; margin-bottom: 56px;
}
.carte__tete h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.carte__tete p { font-style: italic; color: var(--gris); }
.carte__corps { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 90px; }
.rubrique h3 { color: var(--rouge); font-size: 1.45rem; letter-spacing: .06em; margin-bottom: 14px; }
.rubrique dl div {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 10px 0; border-bottom: 1px solid var(--filet);
}
.rubrique dd { font-family: var(--etroit); font-weight: 500; font-size: 1.15rem; white-space: nowrap; }
.carte__pied { margin-top: 56px; font-style: italic; color: var(--gris); }

/* Photo pleine largeur */
.pleine img { width: 100%; height: 80vh; max-height: 760px; object-fit: cover; }

/* Infos */
.infos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
  max-width: 1200px; margin: 0 auto; padding: 110px 40px;
}
.infos h3 { color: var(--rouge); font-size: 1.3rem; letter-spacing: .06em; margin-bottom: 14px; }
.infos p { margin-bottom: 10px; }
.infos .petit { color: var(--gris); font-size: .95rem; }
.infos a { text-decoration-color: var(--rouge); text-underline-offset: 4px; }
.infos a:hover { color: var(--rouge); }

/* Pied */
.pied {
  border-top: 1px solid var(--filet);
  padding: 60px 40px; text-align: center;
}
.pied__nom { font-family: var(--etroit); font-weight: 700; text-transform: uppercase; font-size: 2.4rem; color: var(--rouge); margin-bottom: 18px; display: block !important; }
.pied__liens { display: flex; justify-content: center; gap: 30px; font-family: var(--etroit); letter-spacing: .08em; text-transform: uppercase; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--rouge); }

/* Tablette et mobile */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .entete { height: 70px; padding: 0 20px; gap: 16px; }
  .entete__logo { font-size: 1.3rem; }
  .entete__resa { margin-left: auto; padding: 8px 16px; }
  .entete__menu { display: block; }
  .entete__nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 24px 20px 28px;
    background: var(--creme); border-bottom: 1px solid var(--filet);
  }
  .entete__nav.ouvert { display: flex; }
  .ouverture { height: calc(100svh - 70px); }
  .ouverture { height: 62svh; min-height: 420px; }
  .ouverture img { object-position: 40% center; }
  .ouverture__bas { flex-direction: column; gap: 2px; padding: 16px 20px; font-size: .95rem; }
  .maison { grid-template-columns: 1fr; gap: 28px; padding: 70px 20px; }
  .photos { grid-template-columns: 1fr; grid-template-rows: none; height: auto; padding: 0 20px; }
  .photos__a, .photos__b, .photos__c, .photos__d { grid-row: auto; grid-column: auto; }
  .photos img { height: 340px; }
  .table { padding: 80px 20px 0; }
  .table__photos { grid-template-columns: 1fr; }
  .carte { padding: 80px 20px; }
  .carte__tete { flex-direction: column; gap: 10px; }
  .carte__corps { grid-template-columns: 1fr; gap: 44px; }
  .pleine img { height: 50vh; }
  .infos { grid-template-columns: 1fr; gap: 40px; padding: 70px 20px; }
}
