/* ===========================================================================
   Anaïs Malice Couture — feuille de style partagée
   Charte reprise du logo & de la pancarte :
     terracotta #C4876F · bleu ardoise #7E94A8 · vert sauge #8AA062 · crème
   Typo : Fredoka (titres ronds) · Cinzel (nom, serif classique) · Nunito Sans
   =========================================================================== */

:root {
  /* Couleurs de marque */
  --clay:       #C4876F;
  --clay-deep:  #A8664E;
  --clay-tint:  #F2E2D9;
  --blue:       #8894A7;   /* bleu exact du logo */
  --blue-deep:  #5F7488;   /* version lisible pour labels/liens */
  --blue-tint:  #E7ECF1;
  --green:      #86A172;   /* vert du logo (rameau) — utilisé partout */
  --green-deep: #86A172;   /* même vert du logo pour textes/liens/menu */
  --green-olive:#879733;   /* vert olive des feuilles (réserve) */
  --green-tint: #ECF0E1;

  /* Neutres chauds */
  --bg:         #FBF6EF;
  --surface:    #FFFFFF;
  --surface-2:  #F6EEE4;
  --ink:        #3C352E;
  --heading:    #74879C;   /* bleu du logo (titres) */
  --muted:      #8A7F72;
  --line:       #E8DFD2;

  --footer-bg:  #46382F;   /* brun chaud profond */
  --footer-ink: #ECE3D7;
  --footer-sub: #B9AC9C;

  --shadow-sm:  0 1px 2px rgba(60,53,46,.05), 0 6px 18px rgba(60,53,46,.07);
  --shadow-md:  0 2px 6px rgba(60,53,46,.07), 0 20px 46px rgba(60,53,46,.12);

  /* Typographie */
  --font-serif: "Cinzel", Georgia, "Times New Roman", serif;
  --font-display: var(--font-serif);   /* titres, menu, boutons : même police que .eyebrow */
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;   /* paragraphes : vraies minuscules */

  --container: 1140px;
  --radius: 16px;
  --radius-lg: 26px;

  color-scheme: light;
}

/* ---------- Reset doux ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.14rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2.5px solid var(--clay-deep); outline-offset: 3px; border-radius: 3px; }

/* ---------- Conteneur ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--heading);
  letter-spacing: -.005em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.28rem; line-height: 1.2; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: var(--muted); max-width: 56ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 1rem;
}
em.accent { font-style: normal; color: var(--green-deep); }
strong, b { font-weight: 400; color: var(--blue-deep); }

.stitch {
  height: 2px;
  width: 180px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 16px);
          mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 16px);
}
.stitch--blue  { background: var(--blue); }
.stitch--green { background: var(--green); }
.stitch--clay  { background: var(--clay); }
.stitch--center { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .74rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: .96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--clay-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #975741; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn--ghost:hover { border-color: var(--green-deep); background: var(--green-tint); color: var(--green-deep); }
.btn--light { background: #fff; color: var(--clay-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: .06em;
}
.brand .name em { font-style: normal; color: var(--green); }
.brand .sub {
  font-family: var(--font-serif);
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-serif);
  display: inline-block;
  padding: .5rem .65rem;
  border-radius: 9px;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 600;
}
.nav-links a:hover { background: var(--green-tint); color: var(--green-deep); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--green-deep); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 2px;
  background: var(--green); border-radius: 2px;
}
.nav-cta { margin-left: .4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .5rem .6rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

/* 7 entrées de menu : passage en menu « hamburger » sous 1100 px */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .75rem clamp(1rem, 4vw, 2.25rem) 1.1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links[hidden] { display: none; }
  .nav-links a { padding: .7rem .8rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-cta { margin: .4rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy .btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-copy .lead { margin-top: 1.25rem; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero « bandeau terracotta » (à la pancarte) */
.hero-banner {
  background:
    radial-gradient(120% 90% at 85% 10%, #CF9179 0%, var(--clay) 55%, var(--clay-deep) 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-banner::after {   /* piqûre pointillée façon couture */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 12px, transparent 12px 24px);
  opacity: .55;
}
.hero-banner .eyebrow { color: #fff; opacity: .92; }
.hero-banner h1 { color: #fff; }
.hero-banner em.accent { color: #fff; }
.hero-banner .lead { color: rgba(255,255,255,.92); }
.logo-card {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(540px, 100%);
  margin-inline: auto;
  padding: clamp(.9rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow-md);
}
.logo-card img { width: 100%; height: auto; display: block; }

/* ---------- Emplacements photo ---------- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, var(--clay-tint) 0 10px, transparent 10px 20px),
    var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
}
.ph::after {
  content: attr(data-label);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* Vraie photo en place : plus de rayures ni d'étiquette « photo à venir » */
.ph.photo { background: var(--surface-2); box-shadow: var(--shadow-md); max-width: 460px; width: 100%; justify-self: center; }
.ph.photo::after { display: none; }
.ph.photo img { object-position: center 20%; }
.ph--hero { aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 3 / 4; }

/* ---------- Grilles génériques ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card .marker {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--clay); transform: rotate(45deg);
  margin-bottom: 1rem;
}
.card--blue .marker { background: var(--blue); }
.card--green .marker { background: var(--green); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Bandeau d'infos ---------- */
.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}
.info-row .lbl, .detail .lbl {
  display: block;
  font-family: var(--font-serif);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 600; margin-bottom: .4rem;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.site-footer a { color: var(--footer-ink); }
.site-footer .f-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer .brand .name { color: #fff; }
.site-footer .brand .name em { color: var(--clay); }
.site-footer .brand .sub { color: var(--footer-sub); }
.site-footer h4 {
  font-family: var(--font-serif);
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--footer-sub); margin: 0 0 .9rem; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; color: #d6cdbf; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.4rem;
  font-size: .84rem;
  color: var(--footer-sub);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
@media (max-width: 720px) {
  .site-footer .f-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.tag {
  font-family: var(--font-serif);
  display: inline-block; font-size: .8rem; font-weight: 700;
  color: var(--green-deep); background: var(--green-tint);
  padding: .25rem .75rem; border-radius: 999px;
}

/* ---------- Avant / après ---------- */
.ba-list { display: grid; gap: clamp(2rem, 5vw, 3.25rem); }
.ba { margin: 0; max-width: 860px; margin-inline: auto; width: 100%; }
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;      /* côte à côte, même sur mobile */
  gap: clamp(.5rem, 2vw, 1rem);
}
.ba-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.ba--square .ba-img { aspect-ratio: 1 / 1; }
.ba--landscape .ba-img { aspect-ratio: 4 / 3; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute;
  top: .6rem; left: .6rem;
  font-family: var(--font-serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(60, 53, 46, .72);
  padding: .3rem .7rem;
  border-radius: 999px;
}
.ba-tag--after { background: var(--green); }
.ba figcaption {
  margin-top: .9rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Photo agrandissable ---------- */
.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.zoom img { width: 100%; height: auto; transition: transform .25s ease; }
.zoom:hover img { transform: scale(1.03); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(40, 34, 29, .82); }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox img {
  max-width: 100%;
  max-height: calc(92vh - 4rem);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.lightbox figcaption { color: #fff; text-align: center; max-width: 60ch; }
.lightbox figcaption strong { color: #fff; }
.lightbox-close {
  position: absolute;
  top: -.75rem; right: -.75rem;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* Avant / après agrandissables : le bouton remplit le cadre recadré */
.ba-img .zoom { height: 100%; border-radius: 0; box-shadow: none; }
.ba-img .zoom img { height: 100%; object-fit: cover; }
.ba-tag { pointer-events: none; }

/* ---------- Pages Ameublement / Décoration ---------- */
.prose { max-width: 760px; }
.service-list { margin: 0 0 1.75rem; padding-left: 1.2rem; display: grid; gap: .6rem; }
.service-list li::marker { color: var(--green); }
.note {
  margin: 0 0 1.75rem;
  padding: 1rem 1.2rem;
  background: var(--green-tint);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note .lbl {
  display: block;
  font-family: var(--font-serif);
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 600; margin-bottom: .35rem;
}
