/* ====== COULEURS DE LA MARQUE (reprises du logo) ====== */
:root {
  --or: #E5B10E;           /* or du logo */
  --or-clair: #F2C94C;
  --or-pale: #F8E3A0;
  --or-fonce: #A87B05;     /* or foncé, pour le petit texte sur fond clair */
  --lagon: #0D4D24;        /* vert profond du logo (nom de variable conservé) */
  --lagon-clair: #17663A;
  --creme: #FBF7EF;
  --sable: #F1E8D6;
  --texte: #1F2A22;
  --texte-doux: #5B665E;
  --degrade-or: linear-gradient(135deg, var(--or-clair), var(--or) 50%, var(--or-fonce));

  --titres: 'Cormorant Garamond', Georgia, serif;
  --capitales: 'Cinzel', 'Times New Roman', serif;
  --corps: 'Lato', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { font-family: var(--corps); color: var(--texte); background: var(--creme); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--lagon); }

h1, h2, h3 { font-family: var(--titres); font-weight: 600; line-height: 1.15; color: var(--lagon); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h1 em { font-style: italic; background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

.surtitre { font-family: var(--capitales); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: .6rem; }

.bouton {
  display: inline-block; padding: .85rem 1.8rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .85rem/1 var(--corps); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: var(--lagon); color: var(--or-pale); transition: background .2s, transform .2s;
}
.bouton:hover { background: var(--lagon-clair); transform: translateY(-1px); }
.bouton--clair { background: transparent; color: var(--lagon); box-shadow: inset 0 0 0 1.5px var(--or); }
.bouton--clair:hover { background: var(--sable); }
.bouton--petit { padding: .6rem 1.2rem; }

/* ====== EN-TÊTE ====== */
.entete {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: .6rem clamp(1rem, 4vw, 3rem); background: rgba(251, 247, 239, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229, 177, 14, .3);
}
.entete__logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.entete__rond { height: 124px; width: 124px; border-radius: 50%; }
.entete__texte { display: flex; flex-direction: column; }
.entete__devise { font-family: var(--capitales); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-fonce); margin-top: .25rem; }
.entete__nom { display: flex; align-items: flex-end; gap: .3rem; }
.entete__nom img { height: 74px; width: auto; }
.entete__nom small { font-family: var(--titres); font-size: 1.25rem; letter-spacing: .06em; color: var(--lagon); margin-bottom: 1.1rem; }
@media (max-width: 820px) {
  .entete__rond { height: 80px; width: 80px; }
  .entete__nom img { height: 46px; }
  .entete__nom small { font-size: 1rem; margin-bottom: .75rem; }
}
.entete__nav { display: flex; gap: 2rem; align-items: center; }
.entete__nav a:not(.bouton) { text-decoration: none; font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.entete__nav a:not(.bouton):hover { color: var(--or-fonce); }
.entete__menu { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--lagon); cursor: pointer; }

/* ====== ACCUEIL ====== */
.accueil {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 5rem); min-height: 80vh;
  background: radial-gradient(circle at 85% 20%, rgba(242, 201, 76, .35), transparent 50%);
}
.accueil__texte { font-size: 1.15rem; color: var(--texte-doux); margin: 1.4rem 0 2rem; max-width: 34rem; }
.accueil__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.accueil__toile { position: relative; height: 520px; }
.accueil__toile .cadre { position: absolute; }
.cadre--principal { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(2deg); z-index: 2; }
.cadre--principal .cadre__peinture { width: 320px; aspect-ratio: 1; }
.cadre--fond { padding: 10px; z-index: 1; }
.cadre--fond .cadre__peinture { width: 190px; }
.cadre--gauche { left: 0; top: 6%; transform: rotate(-7deg); }
.cadre--droite { right: 0; bottom: 4%; transform: rotate(6deg); }
.etincelle { position: absolute; color: var(--or); font-size: 1.8rem; z-index: 3; animation: scintille 3s ease-in-out infinite; }
.etincelle--1 { top: 2%; right: 18%; }
.etincelle--2 { bottom: 6%; left: 14%; font-size: 1.3rem; animation-delay: 1s; }
.etincelle--3 { top: 46%; right: 2%; font-size: 1.1rem; animation-delay: 2s; }
@keyframes scintille { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .etincelle { animation: none; } }

/* ====== BANDEAU ET ATOUTS ====== */
.bandeau { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .45rem clamp(1rem, 4vw, 3rem); background: var(--lagon); color: var(--or-pale); font-size: .8rem; letter-spacing: .04em; }
.bandeau a { color: var(--or-clair); text-decoration: none; font-weight: 700; }
.bandeau a:hover { text-decoration: underline; }
.bandeau__liens { display: flex; gap: .6rem; }
.atouts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--lagon); color: #DCE8DF; }
.atouts li { padding: 1.6rem 1.4rem; text-align: center; border-right: 1px solid rgba(229, 177, 14, .25); }
.atouts li:last-child { border-right: 0; }
.atouts strong { display: block; font-family: var(--titres); font-size: 1.35rem; color: var(--or-clair); margin-bottom: .2rem; }
.atouts span { font-size: .88rem; }

.cadre { padding: 14px; background: var(--degrade-or); box-shadow: 0 25px 50px rgba(13, 77, 36, .25); }
.cadre__peinture { width: min(380px, 70vw); aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Aperçus colorés provisoires (remplacés par les photos des tableaux) */
.apercu-1 { background: linear-gradient(180deg, #F2A27A 0%, #E9677A 30%, #F6C177 55%, #D9A05B 75%, #8A6A3A 100%); }
.apercu-2 { background: linear-gradient(160deg, #0F3D3E, #2F7F86 50%, #9FD3D1); }
.apercu-3 { background: radial-gradient(circle at 30% 40%, #F3DFA2, #9BB36A 45%, #3F5B32); }
.apercu-4 { background: linear-gradient(200deg, #B5462E, #D9824A 50%, #F1C27D); }
.apercu-5 { background: linear-gradient(170deg, #F9D7C4, #E4A0A6 50%, #7D6A9C); }
.apercu-6 { background: linear-gradient(180deg, #F6C177 0%, #E08E45 35%, #C9A24A 60%, #6B5A2E 100%); }

/* ====== SECTIONS ====== */
.section { padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 6vw, 5rem); }
.section__titre { text-align: center; margin-bottom: 2.5rem; }
.section__titre h2::after { content: ""; display: block; width: 70px; height: 2px; margin: 1rem auto 0; background: var(--or); }
.section--sombre { background: var(--lagon); color: #EAF1EC; }
.section--sombre h2 { color: var(--or-clair); }
.section--sombre .surtitre { color: var(--or); }
.section--creme { background: var(--sable); }

/* ====== GALERIE ====== */
.filtres { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filtres button {
  padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--or); background: transparent;
  color: var(--lagon); font: 700 .8rem var(--corps); letter-spacing: .05em; cursor: pointer;
}
.filtres button[aria-pressed="true"] { background: var(--lagon); border-color: var(--lagon); color: var(--or-pale); }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.2rem; max-width: 1200px; margin: 0 auto; }
.oeuvre { background: #fff; cursor: pointer; transition: transform .25s, box-shadow .25s; text-align: left; border: 0; font: inherit; color: inherit; }
.oeuvre:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(13, 77, 36, .15); }
.oeuvre__image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.oeuvre__image img, .oeuvre__image > div { width: 100%; height: 100%; object-fit: cover; }
.oeuvre__infos { padding: 1rem 1.2rem 1.3rem; }
.oeuvre__infos h3 { font-size: 1.35rem; }
.oeuvre__meta { color: var(--texte-doux); font-size: .88rem; }
.oeuvre__prix { margin-top: .4rem; font-weight: 700; color: var(--or-fonce); }

.statut {
  position: absolute; top: 12px; left: 12px; padding: .3rem .7rem; border-radius: 999px;
  font: 700 .7rem var(--corps); letter-spacing: .08em; text-transform: uppercase;
}
.statut--reserve { background: var(--or-pale); color: var(--lagon); }
.statut--vendu { background: var(--lagon); color: var(--or-pale); }

/* ====== L'ARTISTE ====== */
.artiste { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.artiste p { margin-bottom: 1rem; }
.artiste__photo { border: 2px solid var(--or); padding: 12px; }
.artiste__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.photo-attente { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--lagon-clair); color: var(--or-clair); font-family: var(--titres); font-style: italic; font-size: 1.3rem; }
.signature { margin-top: 1.5rem; }
.signature img { height: 70px; width: auto; }

/* ====== ACHETER ====== */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.etapes li { padding: 2rem 1.5rem; background: #fff; border-top: 3px solid var(--or); }
.etapes__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lagon); color: var(--or-pale); font-family: var(--capitales); margin-bottom: 1rem; }
.etapes h3 { margin-bottom: .5rem; }
.note-commande { text-align: center; max-width: 40rem; margin: 2.5rem auto 0; font-family: var(--titres); font-style: italic; font-size: 1.3rem; color: var(--lagon); }

/* ====== CONTACT ====== */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 760px; margin: 0 auto; }
.formulaire label { display: flex; flex-direction: column; gap: .4rem; font-weight: 700; font-size: .85rem; color: var(--lagon); }
.formulaire input, .formulaire textarea { padding: .8rem 1rem; border: 1px solid rgba(13, 77, 36, .25); background: #fff; font: 1rem var(--corps); border-radius: 4px; }
.formulaire input:focus, .formulaire textarea:focus { outline: 2px solid var(--or); border-color: transparent; }
.pleine { grid-column: 1 / -1; }
.contact__autres { text-align: center; margin-top: 2rem; color: var(--texte-doux); }

/* ====== PIED DE PAGE ====== */
.pied { background: var(--lagon); color: #BFD0C4; text-align: center; padding: 2.5rem 1rem; font-size: .85rem; }
.pied__logo { width: 130px; height: 130px; margin: 0 auto 1rem; border-radius: 50%; }

/* ====== FENÊTRE DÉTAIL ====== */
.detail { border: 0; padding: 0; max-width: min(960px, 94vw); margin: auto; background: var(--creme); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.detail::backdrop { background: rgba(13, 77, 36, .7); }
.detail[open] { display: grid; grid-template-columns: 1.2fr 1fr; }
.detail__image { min-height: 420px; }
.detail__image img, .detail__image > div { width: 100%; height: 100%; object-fit: cover; }
.detail__infos { padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.detail__meta { color: var(--texte-doux); }
.detail__prix { font-size: 1.4rem; font-weight: 700; color: var(--or-fonce); }
.detail__fermer { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; color: var(--lagon); cursor: pointer; }

/* ====== MOBILE ====== */
@media (max-width: 820px) {
  .entete__menu { display: block; }
  .entete__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 1.2rem; padding: 1.5rem; background: var(--creme); border-bottom: 1px solid var(--or); }
  .entete__nav.ouvert { display: flex; }
  .accueil, .artiste { grid-template-columns: 1fr; }
  .accueil__toile { order: -1; height: 400px; }
  .cadre--principal .cadre__peinture { width: 220px; }
  .cadre--fond .cadre__peinture { width: 130px; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts li:nth-child(2) { border-right: 0; }
  .atouts li:nth-child(-n+2) { border-bottom: 1px solid rgba(229, 177, 14, .25); }
  .bandeau > span:first-child { display: none; }
  .bandeau { justify-content: center; }
  .entete__devise { font-size: .55rem; letter-spacing: .12em; }
  .etapes { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; }
  .detail[open] { grid-template-columns: 1fr; }
  .detail__image { min-height: 280px; }
}


.contact__tel { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }

/* ====== PIED DE PAGE ET MENTIONS LÉGALES ====== */
.pied__lien { color: var(--or-clair); }
.legal { max-width: 760px; margin: 0 auto; padding-top: 2rem; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.legal p { margin-bottom: .8rem; }

/* ====== FORMULAIRE : MESSAGE APRÈS ENVOI ====== */
.piege { position: absolute; left: -9999px; }
.formulaire__retour:empty { display: none; }
.formulaire__retour { padding: .9rem 1rem; border-radius: 4px; text-align: center; }
.formulaire__retour--ok { background: rgba(13, 77, 36, .08); color: var(--lagon); }
.formulaire__retour--erreur { background: #fbeaea; color: #8a1f1f; }
.bouton:disabled { opacity: .6; cursor: wait; }
