/* Léa de Nonancourt Photographie
   Reprise fidèle de la maquette Bolt validée par Léa (crème, brun chocolat,
   Cormorant Garamond en italique, DM Sans en capitales espacées), avec les
   modifications de son cahier de retours. Polices auto-hébergées. */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-italique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-italique-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --creme: #faf4dc;
  --creme-clair: #fdfbef;
  --champ: #fdf9ea;
  --brun: #3c2517;
  --brun-texte: #4a3527;
  --or: #8f6a3c;
  --or-filet: #c9a978;
  --gris: #7a6656;
  --filet: rgba(60, 37, 23, .14);

  --titres: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --texte: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --large: 1210px;
  --bord: max(20px, calc((100% - var(--large)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--brun-texte);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.volet-ouvert { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--titres); font-style: italic; font-weight: 400; color: var(--brun); margin: 0; line-height: 1.15; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
[hidden] { display: none !important; }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--brun); color: var(--creme); padding: 10px 16px; }
.evitement:focus { top: 12px; }
.cache { position: absolute; left: -9999px; }

/* ---------- Éléments communs ---------- */
.libelle {
  margin: 0 0 14px;
  font-family: var(--texte); font-style: normal;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--or);
}
.filet { display: block; width: 46px; height: 1px; background: var(--or-filet); margin: 0 auto; }
.filet-gauche { margin: 16px 0 18px; width: 36px; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px;
  background: var(--brun); color: var(--creme-clair);
  border: 1px solid var(--brun); border-radius: 2px;
  font-family: var(--texte); font-size: 12.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.bouton:hover { background: #5a3a25; border-color: #5a3a25; }
.bouton-contour { background: transparent; color: var(--brun); border-color: rgba(60, 37, 23, .45); }
.bouton-contour:hover { background: var(--brun); color: var(--creme-clair); }
.bouton-clair { background: var(--creme-clair); color: var(--brun); border-color: var(--creme-clair); }
.bouton-clair:hover { background: var(--creme); border-color: var(--creme); }
.bouton-contour-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.bouton-contour-clair:hover { background: rgba(255, 255, 255, .12); }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brun);
}
.lien-fleche::after { content: "→"; letter-spacing: 0; transition: transform .25s; }
.lien-fleche:hover { color: var(--or); }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--bord);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.entete.defile { background: rgba(250, 244, 220, .97); color: var(--brun); box-shadow: 0 1px 0 var(--filet); }
.logo {
  font-family: var(--titres); font-style: italic; font-size: 25px; letter-spacing: .12em;
  text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
}
.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.bouton) {
  font-size: 12.5px; font-weight: 450; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding: 12px 0; opacity: .9;
}
.menu a:not(.bouton):hover { color: var(--or); opacity: 1; }
.entete:not(.defile) .menu-reserver { background: transparent; border-color: rgba(255, 255, 255, .7); }
.entete:not(.defile) .menu-reserver:hover { background: var(--creme-clair); color: var(--brun); }
.menu-bouton { display: none; }

@media (max-width: 980px) {
  .logo { font-size: 21px; letter-spacing: .08em; }
  .menu-bouton {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 9px; background: none; border: 0; cursor: pointer;
  }
  .menu-bouton span { display: block; height: 1px; background: currentColor; transition: transform .3s; }
  .menu-bouton[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 10px;
    background: var(--creme); color: var(--brun);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu a:not(.bouton) { font-family: var(--titres); font-style: italic; font-size: 34px; letter-spacing: .02em; text-transform: none; }
  .menu .menu-reserver { margin-top: 18px; }
  .entete.ouvert { color: var(--brun); }
  .entete.ouvert .menu { opacity: 1; visibility: visible; }
  .entete.ouvert .menu-reserver { background: var(--brun); color: var(--creme-clair); border-color: var(--brun); }
}

/* ---------- Accueil ---------- */
.accueil {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; background: var(--brun); overflow: hidden;
}
.accueil-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.accueil::after { content: ""; position: absolute; inset: 0; background: rgba(32, 20, 12, .42); }
.accueil-texte { position: relative; z-index: 1; padding: 120px 20px 80px; }
.libelle-clair { color: rgba(255, 255, 255, .88); }
.accueil h1 { color: #fff; font-size: clamp(50px, 7.2vw, 104px); line-height: 1; letter-spacing: .01em; }
.accueil h1 span {
  display: block; margin-top: 22px;
  font-family: var(--texte); font-style: normal; font-size: clamp(13px, 1.2vw, 16px); font-weight: 400;
  letter-spacing: .5em; text-transform: uppercase; padding-left: .5em;
}
.accueil-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) var(--bord); }
.section-claire { background: var(--creme-clair); }
.section-courte { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.tete { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.tete .libelle::after { content: ""; display: block; width: 46px; height: 1px; background: var(--or-filet); margin: 14px auto 0; }
.tete h2 { font-size: clamp(36px, 4.4vw, 54px); margin-top: 6px; }
.tete .filet + h2 { margin-top: 26px; }
.tete-texte { margin: 22px auto 0; max-width: 34em; }
.tete .bouton { margin-top: 28px; }

/* ---------- À propos ---------- */
.apropos {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.apropos-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.apropos h2 { font-size: clamp(38px, 4.4vw, 56px); margin-bottom: 22px; }
.apropos-chapo { font-family: var(--titres); font-style: italic; font-size: 23px; line-height: 1.45; color: var(--brun); }
.apropos strong { font-weight: 500; color: var(--brun); }
.apropos-note { margin-top: 22px; padding-left: 20px; border-left: 1px solid var(--or-filet); font-size: 15px; color: var(--gris); }
.apropos-texte .bouton { margin-top: 12px; }

.histoire { max-width: 760px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; }
.histoire blockquote { margin-top: 36px; }
.histoire-ouverture { font-family: var(--titres); font-style: italic; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; color: var(--brun); margin-bottom: 28px; }
.histoire blockquote p:not(.histoire-ouverture) { font-family: var(--titres); font-style: italic; font-size: 21px; line-height: 1.6; color: var(--brun-texte); }

/* ---------- Prestations ---------- */
.cartes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 56px 30px; }
.carte { grid-column: span 2; display: flex; flex-direction: column; }
.carte:nth-child(4) { grid-column: 2 / span 2; }
.carte img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 24px; }
.carte .libelle { margin-bottom: 8px; }
.carte h3 { font-size: 30px; }
.carte p:not(.libelle):not(.tarif) { font-size: 15.5px; }
.tarif { margin: 4px 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.carte .lien-fleche { margin-top: auto; align-self: flex-start; }

/* ---------- Volets « En savoir plus » ---------- */
.volet {
  width: min(1060px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: 2px;
  background: var(--creme-clair); color: var(--brun-texte);
  display: none;
}
.volet[open] { display: grid; grid-template-columns: 2fr 3fr; }
.volet::backdrop { background: rgba(32, 20, 12, .6); }
.volet > img { width: 100%; height: 100%; max-height: calc(100svh - 48px); object-fit: cover; }
.volet-texte { padding: clamp(36px, 5vw, 64px); overflow-y: auto; max-height: calc(100svh - 48px); }
.volet h2 { font-size: clamp(36px, 4vw, 48px); margin-bottom: 24px; }
.volet .tarif { margin: 24px 0 22px; }
.volet-fermer {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--creme-clair); color: var(--brun); font-size: 28px; line-height: 1;
}
.volet-fermer:hover { color: var(--or); }

/* ---------- Et concrètement ---------- */
#deroule .tete h2 { font-size: clamp(34px, 4vw, 50px); }
.questions { max-width: 830px; margin: 0 auto; border-top: 1px solid var(--filet); }
.question { border-bottom: 1px solid var(--filet); }
.question summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 4px;
  font-family: var(--titres); font-style: italic; font-size: 24px; color: var(--brun);
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; font-family: var(--texte); font-style: normal; font-size: 22px; font-weight: 300; color: var(--or); transition: transform .3s; }
.question[open] summary::after { transform: rotate(45deg); }
.question summary:hover { color: var(--or); }
.reponse { padding: 0 4px 18px; max-width: 46em; }

.tarifs { text-align: center; max-width: 760px; margin: clamp(56px, 7vw, 88px) auto 0; }
.tarifs p { margin: 26px 0 28px; font-family: var(--titres); font-style: italic; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; color: var(--brun); }

/* ---------- Portfolio ---------- */
.mosaique { columns: 3 300px; column-gap: 16px; }
.mosaique img { width: 100%; margin-bottom: 16px; break-inside: avoid; }
.mosaique-suite { text-align: center; margin-top: 36px; color: var(--gris); }
.mosaique-suite a { color: var(--brun); text-decoration-color: var(--or-filet); text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--champ); color: var(--brun);
  border: 1px solid rgba(60, 37, 23, .14); border-radius: 2px;
  font: inherit; font-size: 16px;
}
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brun) 50%), linear-gradient(-45deg, transparent 50%, var(--brun) 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.champ textarea { resize: vertical; line-height: 1.6; }
.champ ::placeholder { color: #b39c84; }
.champ textarea::placeholder { font-style: italic; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 1px var(--or); }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--gris); cursor: pointer; }
.consentement input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brun); flex: none; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formulaire-etat { margin: 0; font-size: 15px; }

/* Les bulles, d'après la maquette dessinée par Léa */
.bulles {
  list-style: none; margin: 30px 0 0; padding: 10px 30px;
  background: #f6edd0; border-radius: 2px;
}
.bulles li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 22px 0; }
.bulles li + li { border-top: 1px solid var(--filet); }
.bulles svg {
  width: 46px; height: 46px; padding: 12px; border: 1px solid var(--or-filet); border-radius: 50%;
  fill: none; stroke: var(--brun); stroke-width: 1.2; stroke-linejoin: round;
}
.bulles h3 { font-family: var(--texte); font-style: normal; font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--or); margin: 2px 0 6px; }
.bulles p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--gris); }
.bulles .bulle-fort { font-size: 16px; color: var(--brun); margin-bottom: 4px; }
.bulles a { text-decoration-color: var(--or-filet); text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--brun); color: rgba(250, 244, 220, .8); text-align: center; padding: 72px var(--bord) 32px; }
.pied-nom { font-family: var(--titres); font-style: italic; font-size: clamp(28px, 3vw, 36px); letter-spacing: .14em; color: var(--creme); margin-bottom: 24px; }
.pied .filet { background: rgba(201, 169, 120, .55); }
.libelle-pied { margin: 26px 0 14px; color: rgba(250, 244, 220, .65); }
.pied-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 34px; }
.pied-nav a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.pied-nav a:hover { color: var(--or-filet); }
.pied-insta { display: inline-flex; margin-top: 18px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(250, 244, 220, .3); border-radius: 50%; }
.pied-insta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pied-insta:hover { color: var(--or-filet); border-color: var(--or-filet); }
.pied-bas {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(250, 244, 220, .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 24px;
  font-size: 12.5px; color: rgba(250, 244, 220, .55); text-align: left;
}
.pied-bas > p { margin: 12px 0 0; }
.mentions summary { cursor: pointer; padding: 12px 0; list-style: none; }
.mentions summary::-webkit-details-marker { display: none; }
.mentions summary:hover { color: var(--creme); }
.mentions[open] { flex-basis: 100%; }
.mentions-texte { max-width: 46em; font-size: 14px; color: rgba(250, 244, 220, .75); padding-bottom: 12px; }
.mentions-texte h3 { font-family: var(--texte); font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--creme); margin: 22px 0 6px; }
.mentions-texte a { color: var(--creme); }

.barre-reserver { display: none; }

/* ---------- Apparitions ---------- */
.js .apparait { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .apparait { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablette ---------- */
@media (max-width: 980px) {
  .cartes { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .carte, .carte:nth-child(4) { grid-column: auto; }
  .carte:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; }
  .contact { grid-template-columns: 1fr; }
  .volet[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .volet > img { max-height: 42svh; }
  .volet-texte { max-height: none; overflow: visible; }
}

/* ---------- Mobile ---------- */
@media (max-width: 680px) {
  .apropos { grid-template-columns: 1fr; }
  .apropos-photo { max-width: 420px; }
  .cartes { grid-template-columns: 1fr; }
  .carte:last-child { max-width: none; }
  .formulaire { grid-template-columns: 1fr; }
  .bulles { padding: 4px 20px; }
  .mosaique { columns: 2; column-gap: 10px; }
  .mosaique img { margin-bottom: 10px; }
  .histoire blockquote p:not(.histoire-ouverture) { font-size: 19px; }
  .accueil-actions .bouton { width: 100%; max-width: 320px; }

  .barre-reserver {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    align-items: center; justify-content: center; min-height: 56px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--brun); color: var(--creme-clair); text-decoration: none;
    font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  }
  .barre-reserver[hidden] { display: none !important; }
  .pied { padding-bottom: 96px; }
  .pied-bas { flex-direction: column; text-align: center; align-items: center; }
}

/* ---------- Page de remerciement (envoi sans JavaScript) ---------- */
.merci { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px 20px; }
.merci h1 { font-size: clamp(52px, 8vw, 90px); margin-bottom: 20px; }
.merci p { font-size: 18px; margin-bottom: 32px; }
