/* Nathalie Cahn Studio, maquette v8 (01/10/2026) : retours de Nathalie du 30/09, relus par Astra, puis visite de ses deux
   références. Fond blanc, encre pleine ; Tenor Sans seule, en casse courante ; menu en trois traits qui ouvre un volet aux
   entrées centrées ; accueil à une photo et sa phrase centrée, rien dessous ; fondu d'entrée des pages ; Intérieur en liste
   puis une page par intérieur (ville, titre, texte à gauche, photo au bord droit) ; Inspiration en bande horizontale de
   photos verticales à hauteur commune (JAG) ; page Contact ; pied de page en carte de visite. */

:root {
  --fond: #ffffff; --texte: #1c1916; --texte-2: #625d57; --ligne: rgba(28, 25, 22, .25); --zone: #f1efeb;
  --police: "Tenor Sans", Optima, Candara, "Segoe UI", sans-serif;
  --cadre: 1280px; --marge: 40px; --entete: 104px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.menu-ouvert { overflow: hidden; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 16px/1.55 var(--police); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.wrap { max-width: var(--cadre); margin: 0 auto; padding-inline: var(--marge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 { font-weight: 400; font-size: 26px; line-height: 1.2; }
.legende { display: block; margin-top: 10px; font-size: 12px; color: var(--texte-2); }
/* Chaque page apparaît en fondu (Casa Muñoz) */
main { animation: entree 1s ease both; }
@keyframes entree { from { opacity: 0; } to { opacity: 1; } }

/* En-tête : trois traits à gauche, logo dessiné au centre, langue à droite */
.entete { position: relative; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: var(--entete); }
.logo { display: block; width: 120px; color: var(--texte); }
.logo-svg { display: block; width: 100%; height: auto; }
.langue { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: .04em; color: var(--texte-2); }
.burger { justify-self: start; display: grid; gap: 6px; width: 44px; height: 44px; align-content: center; }
.burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Le volet du menu : Le studio, Intérieur, Inspiration, Contact */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--fond); padding-top: var(--entete); overflow: auto; }
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: 12vh 40px; }
.menu a { display: inline-block; font-size: 30px; line-height: 1.3; padding-block: 6px; }
.menu a[aria-current="page"], .menu a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* Accueil : une seule photo, sa phrase posée dessus (Casa Muñoz), rien d'autre */
.ouverture figure { text-align: center; margin-bottom: 40px; }
.ouverture .cadre { position: relative; display: inline-block; max-width: 100%; }
.ouverture figcaption { z-index: 1; }
.ouverture img { width: auto; max-width: 100%; height: calc(100svh - var(--entete) - 40px); min-height: 360px; }
.ouverture figcaption { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px 32px; text-align: left; }
.accroche { max-width: 40ch; text-align: center; font-size: clamp(18px, 1.9vw, 26px); line-height: 1.4; color: #ffffff; text-shadow: 0 1px 18px rgba(0, 0, 0, .45), 0 0 2px rgba(0, 0, 0, .3); animation: apparition 1.2s ease .9s both; }
@keyframes apparition { from { opacity: 0; } to { opacity: 1; } }
/* Accueil : la photographie en paysage occupe le cadre (Casa Muñoz), la phrase en quelques lignes */
.ouverture--large .cadre { display: block; }
.ouverture--large img { width: 100%; height: auto; min-height: 0; max-height: calc(100svh - var(--entete) - 40px); object-fit: cover; }
.ouverture--large .accroche { max-width: 44ch; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; text-shadow: 0 1px 24px rgba(0, 0, 0, .5), 0 0 2px rgba(0, 0, 0, .3); }
/* Retour à la liste des intérieurs, sous le logo, sur chaque fiche */
.retour-liste { margin-top: 0; margin-bottom: 16px; font-size: 14px; color: var(--texte-2); }
.retour-liste a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
.retour-liste a:hover { color: var(--texte); }
/* La phrase qui se lit sous la photographie d'ouverture */
.ouverture .sous-photo { max-width: 52ch; margin: 28px auto 0; text-align: center; font-size: 19px; line-height: 1.5; }

/* Intérieur : la liste de ses intérieurs, puis une page par intérieur (photo et cartel) */
.liste-section { padding-block: 24px 96px; }
.liste-section h1 { font-size: 13px; letter-spacing: .04em; color: var(--texte-2); margin-bottom: 20px; }
.liste li a, .liste li .attente { display: inline-block; font-size: 26px; line-height: 1.25; padding-block: 9px; }
.liste li .attente { color: var(--texte-2); }
.liste li a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.liste li a span, .liste li .attente span { font-size: 13px; color: var(--texte-2); margin-left: .6em; }
.fiche { padding-block: 8px 40px; }
.fiche .cartel > * { max-width: 60ch; }
.fiche .ville { font-size: 13px; color: var(--texte-2); margin-bottom: 20px; }
.fiche h1 { margin-bottom: 14px; }
.fiche .statut { font-size: 13px; color: var(--texte-2); margin: -6px 0 14px; }
.fiche .cartel p.titre { font-size: 19px; line-height: 1.4; margin-bottom: 16px; }
.fiche .cartel .titre + p { margin-top: 0; }
.fiche .cartel p + p { margin-top: 12px; }
/* Mosaïque des photographies d'un intérieur, après le texte (Romain Chancel) */
.mosaique-section { padding-top: 24px; padding-bottom: 96px; }
.mosaique { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.mosaique figure { height: 360px; flex: 0 1 auto; }
.mosaique img { height: 100%; width: auto; max-width: none; }
.mosaique-section .legende { margin-top: 6px; }

/* Studio : une photographie et sa phrase en ouverture, puis le portrait et « À propos » (Casa Muñoz) */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 24px 96px; }
.studio .portrait img { width: 100%; }
.studio .bloc { max-width: 44ch; }
.studio h1 { margin-bottom: 20px; }
.studio p + p { margin-top: 12px; }

/* Contact : une carte au centre de la page (Casa Muñoz), sans pied de page */
.contact { min-height: calc(100svh - var(--entete)); display: grid; place-content: center; text-align: center; padding-block: 0 40px; }
.contact h1 { font-size: 40px; margin-bottom: 28px; }
.coordonnees p { font-size: 17px; line-height: 1.7; }
.coordonnees p:nth-child(n+3) { color: var(--texte-2); }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Pied de page : une carte de visite */
.pied { border-top: 1px solid var(--ligne); }
.carte { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 40px; padding-block: 40px; font-size: 14px; }
.carte p { color: var(--texte); }
.carte p:last-child { color: var(--texte-2); }
.carte a:hover { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 860px) {
  :root { --marge: 20px; --entete: 84px; }
  .logo { width: 108px; }
  .menu a { font-size: 24px; }
  .ouverture img { height: auto; width: 100%; min-height: 0; }
  .ouverture--large img { min-height: 72svh; }
  .ouverture--large .accroche { font-size: 17px; max-width: 30ch; }
  /* Sur téléphone, la phrase se pose dans le bas de la photo, sur le canapé plutôt que sur la fenêtre */
  .ouverture .sous-photo { font-size: 17px; margin-top: 20px; }
  .liste li a span { white-space: nowrap; }
  .ouverture figcaption { padding: 28px 20px; }
  .ouverture figure { margin-bottom: 24px; }
  .menu a { font-size: 26px; }
  .liste li a { font-size: 22px; }
  .fiche { padding-bottom: 28px; }
  .studio { grid-template-columns: 1fr; gap: 28px; padding-bottom: 64px; }
  .mosaique-section { padding-top: 12px; padding-bottom: 64px; }
  .mosaique { gap: 10px; }
  .mosaique figure { height: 210px; }
  .contact { padding-bottom: 40px; min-height: calc(100svh - var(--entete)); }
  .contact h1 { font-size: 32px; }
  .carte { padding-block: 28px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } main, .accroche { animation: none; } }
