/* =====================================================================
   Gérard Jalloul — Architecte DESA
   Direction artistique « Héritage » : crème, anthracite, vert profond,
   touches laiton. Playfair Display (titres) + Inter (corps).
   ===================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --c-bg: #faf8f3;
  --c-bg-alt: #f1ece1;
  --c-surface: #ffffff;
  --c-ink: #24282b;
  --c-ink-soft: #5d6258;
  --c-green: #1c4434;
  --c-green-dark: #143226;
  --c-green-tint: #e8ede7;
  --c-on-green: #f5f1e8;
  --c-brass: #b3985f;
  --c-brass-soft: #cdbb8e;
  --c-brass-text: #857040; /* même teinte, contraste suffisant pour du texte sur fond clair */
  --c-line: #e3dbca;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --radius: 6px;
  --maxw: 1200px;
  --shadow-soft: 0 18px 45px -18px rgba(36, 40, 43, 0.18);
  --shadow-card: 0 10px 30px -16px rgba(36, 40, 43, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-green-dark); }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25rem; }
::selection { background: var(--c-green); color: var(--c-on-green); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--alt { background: var(--c-bg-alt); }
.section--green { background: var(--c-green); color: var(--c-on-green); }
.section--green h2, .section--green h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-brass-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: var(--c-brass); }
.section--green .eyebrow { color: var(--c-brass-soft); }
.section--green .eyebrow::before { background: var(--c-brass-soft); }

.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--c-ink-soft); max-width: 62ch; }
.section--green .lead { color: rgba(245, 241, 232, 0.85); }
.center { text-align: center; }
.center .eyebrow::before { display: none; }
.center .lead { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.h2-sub { font-size: 1.4rem; margin-bottom: 0.8rem; }

/* Lien d'évitement (navigation clavier) */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--c-green); color: var(--c-on-green);
  padding: 0.7rem 1.3rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* Focus clavier visible, dans la charte */
:focus-visible { outline: 2px solid var(--c-brass); outline-offset: 3px; }
.section--green :focus-visible, .trustbar :focus-visible, .footer :focus-visible,
.hero :focus-visible, .hero-portrait :focus-visible, .sticky-call a:focus-visible {
  outline-color: var(--c-on-green);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; transition: all 0.25s ease;
}
.btn--primary { background: var(--c-green); color: var(--c-on-green); }
.btn--primary:hover { background: var(--c-green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn--outline { border-color: var(--c-green); color: var(--c-green); background: transparent; }
.btn--outline:hover { background: var(--c-green); color: var(--c-on-green); transform: translateY(-2px); }
.btn--light { background: var(--c-bg); color: var(--c-green); }
.btn--light:hover { background: #fff; color: var(--c-green-dark); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(245,241,232,0.6); color: var(--c-on-green); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn--xl { padding: 1.15rem 2.3rem; font-size: 1.1rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
/* Bouton affichant l'adresse email complète : ne doit jamais déborder */
.btn--email { overflow-wrap: anywhere; }
@media (max-width: 480px) { .btn--email { font-size: 0.98rem; padding-inline: 1.2rem; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Fond + flou portés par un pseudo-élément : un backdrop-filter posé directement
   sur .header emprisonnerait le menu mobile (position: fixed) dans la barre */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header.scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(36,40,43,0.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--c-ink); }
.brand__mono {
  width: 44px; height: 44px; flex: none; border: 1px solid var(--c-brass);
  border-radius: 2px; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--c-green);
  letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.12rem; }
.brand__title { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-brass-text); font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.7rem); }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--c-ink); text-decoration: none; position: relative; padding-block: 0.3rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--c-brass); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--c-green); font-weight: 600; }
.nav .btn { padding: 0.6rem 1.2rem; font-size: 0.92rem; }
.nav .btn::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; margin-right: -0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--c-ink); margin: 6px 0; transition: transform 0.3s ease, opacity 0.3s ease; }

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 70; }
  .nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center;
    gap: 1.6rem; background: var(--c-bg);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.35rem; font-family: var(--font-serif); }
  .nav .btn { font-size: 1.05rem; padding: 0.9rem 1.8rem; margin-top: 0.5rem; }
  body.nav-locked { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h));
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg, .hero__bg picture, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(15deg, rgba(16, 26, 21, 0.88) 0%, rgba(16, 26, 21, 0.55) 45%, rgba(16, 26, 21, 0.25) 100%);
}
.hero__content { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 5.5rem); max-width: 50rem; }
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-brass-soft); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem;
}
.hero__eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--c-brass-soft); }
.hero h1 { color: #fff; margin-bottom: 0.9rem; }
.hero__baseline { font-size: clamp(0.95rem, 1.8vw, 1.1rem); letter-spacing: 0.08em; color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; }
.hero__accroche { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: rgba(255,255,255,0.92); max-width: 36ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions--stack { flex-direction: column; align-items: stretch; }

/* Hero avec portrait (accueil) */
.hero-portrait {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--c-green) 0%, var(--c-green-dark) 100%);
  color: var(--c-on-green);
}
.hero-portrait::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 110% at 88% 8%, rgba(179, 152, 95, 0.2), transparent 60%);
  pointer-events: none;
}
.hero-portrait__grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 1fr minmax(110px, 38vw);
  grid-template-areas: "intro media" "suite suite";
  gap: 1.6rem 1.4rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-portrait__intro { grid-area: intro; }
.hero-portrait__suite { grid-area: suite; }
@media (min-width: 880px) {
  .hero-portrait__grid {
    grid-template-columns: 7fr 5fr;
    grid-template-areas: "intro media" "suite media";
    gap: 0 clamp(2.2rem, 5vw, 4.5rem);
    min-height: calc(86svh - var(--header-h));
  }
}
.hero-portrait h1 { color: #fff; margin-bottom: 0.9rem; }
.hero-portrait__media { grid-area: media; position: relative; width: 100%; max-width: 420px; justify-self: end; align-self: center; }
@media (max-width: 879px) {
  .hero-portrait__media { max-width: 160px; align-self: start; }
  .hero-portrait__media::before { display: none; }
  .hero-portrait__media img { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.5); }
}
.hero-portrait__media img { border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55); }
.hero-portrait__media::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--c-brass); border-radius: var(--radius); opacity: 0.6;
}

/* Flèche de retour en haut des pages de détail */
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.92rem; color: var(--c-green);
  text-decoration: none; margin-bottom: 1.2rem;
}
.back-link::before { content: "←"; font-size: 1.15em; transition: transform 0.25s ease; }
.back-link:hover { color: var(--c-green-dark); text-decoration: underline; }
.back-link:hover::before { transform: translateX(-3px); }

/* Hero réduit (pages intérieures) — compact : le contenu doit rester visible sans défiler */
.page-hero { padding: clamp(2.2rem, 4.5vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--c-line); }
.page-hero h1 { max-width: 30ch; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.page-hero .lead { margin-top: 1rem; font-size: clamp(1.05rem, 1.8vw, 1.15rem); }
.page-hero + .section { padding-top: clamp(2rem, 4vw, 3.2rem); }

/* En-tête de la page avis : titre + bouton Google côte à côte */
.avis-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.avis-head > div { flex: 1 1 30rem; min-width: 0; }
.avis-head .btn { flex: 0 1 auto; }

/* Note Google dans le hero (preuve sociale) */
.hero__rating {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.8rem 1.1rem; margin-top: 1.5rem;
}
.hero__rating .stars { color: var(--c-brass-soft); }
.hero__rating span { color: rgba(255, 255, 255, 0.92); font-size: 0.98rem; }
.hero__rating span strong { color: #fff; }
.hero__rating .btn { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

/* Hero de conversion avec portrait à droite */
.hero__content--duo { max-width: none; width: 100%; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 880px) { .hero__content--duo { grid-template-columns: 7fr 5fr; } }
.hero__portrait { position: relative; width: 100%; max-width: 320px; justify-self: center; }
@media (min-width: 880px) { .hero__portrait { max-width: 400px; justify-self: end; } }
.hero__portrait img { border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6); }
.hero__portrait::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--c-brass-soft); border-radius: var(--radius); opacity: 0.6;
}

/* ---------- Bandeau de réassurance ---------- */
.trustbar { background: var(--c-green); color: var(--c-on-green); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item {
  padding: 1.5rem 1.2rem; text-align: center; font-size: 0.95rem; line-height: 1.45;
  border-left: 1px solid rgba(245, 241, 232, 0.16); display: grid; place-content: center; gap: 0.2rem;
}
.trustbar__item:first-child { border-left: 0; }
.trustbar__item strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: #fff; display: block; }
@media (max-width: 860px) {
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
  .trustbar__item:nth-child(3) { border-left: 0; }
  .trustbar__item { border-top: 1px solid rgba(245,241,232,0.16); }
  .trustbar__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Bandeau partenariat Girobat ---------- */
.partner-band { background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding-block: 1.5rem; }
.partner-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.8rem; text-align: center;
}
.partner-band__inner picture { flex: none; }
.partner-band__logo { height: 46px; width: auto; border-radius: 4px; }
.partner-band p { font-size: 1rem; color: var(--c-ink-soft); max-width: 46ch; }
.partner-band p strong { color: var(--c-ink); }
.partner-band .btn { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

/* ---------- Split (portrait + texte) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--reverse { grid-template-columns: 7fr 5fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.split__media::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--c-brass); border-radius: var(--radius); z-index: -1; opacity: 0.55;
}
.split__body h2 { margin-bottom: 1.2rem; }
.split__body p + p { margin-top: 1rem; }

/* ---------- Variantes mobiles compactes ---------- */
@media (max-width: 879px) {
  .split__media--sm { max-width: 230px; margin-inline: auto; }
  /* Deux photos côte à côte sur mobile (empilées sur grand écran) */
  .duo-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: start; }
  .duo-mobile .split__media { margin-top: 0; }
  .duo-mobile .split__media::before { display: none; }
}
@media (max-width: 760px) {
  .avis-grid.avis-grid--mobile2 { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .avis-grid--mobile2 .avis-shot { padding: 0.35rem; }
  .projects-grid.projects-grid--mobile2 { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .projects-grid--mobile2 .project-card__body { padding: 0.85rem 0.85rem 1rem; gap: 0.3rem; }
  .projects-grid--mobile2 .project-card__meta { font-size: 0.68rem; }
  .projects-grid--mobile2 .project-card__title { font-size: 1.02rem; }
  .projects-grid--mobile2 .project-card__desc { display: none; }
  .projects-grid--mobile2 .project-card__more { font-size: 0.82rem; padding-top: 0.4rem; }
  .projects-grid--mobile2 .service-tile__btn { font-size: 0.78rem; padding: 0.5rem 0.7rem; }
  .atouts-grid.atouts-grid--mobile2 { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .atouts-grid--mobile2 .atout { padding: 1rem 0.9rem; }
  .atouts-grid--mobile2 .atout__icon { width: 36px; height: 36px; margin-bottom: 0.7rem; }
  .atouts-grid--mobile2 .atout__icon svg { width: 18px; height: 18px; }
  .atouts-grid--mobile2 .atout h3 { font-size: 0.95rem; }
  .atouts-grid--mobile2 .atout p { font-size: 0.82rem; }
}

/* ---------- Cartes projets ---------- */
.projects-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.project-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--c-surface);
  border: 1px solid var(--c-line); box-shadow: 0 4px 14px -10px rgba(36,40,43,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; color: var(--c-ink);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); color: var(--c-ink); }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-green); }
.project-card__media picture, .project-card__media img { width: 100%; height: 100%; }
.project-card__media img { object-fit: cover; transition: transform 0.7s ease; }
.project-card:hover .project-card__media img { transform: scale(1.045); }
.project-card__media--placeholder {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: linear-gradient(160deg, var(--c-green) 0%, var(--c-green-dark) 100%);
}
.project-card__media--placeholder span {
  font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: rgba(245,241,232,0.85);
}
.project-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.project-card__meta { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-brass-text); font-weight: 600; }
.project-card__title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.project-card__desc { font-size: 0.95rem; color: var(--c-ink-soft); }
.project-card__more { margin-top: auto; padding-top: 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--c-green); display: inline-flex; align-items: center; gap: 0.4rem; }
.project-card__more::after { content: "→"; transition: transform 0.25s ease; }
.project-card:hover .project-card__more::after { transform: translateX(4px); }

/* Filtres projets */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filters button {
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink-soft);
  border-radius: 100px; padding: 0.55rem 1.3rem; font-size: 0.92rem; font-weight: 500;
  transition: all 0.2s ease;
}
.filters button:hover { border-color: var(--c-green); color: var(--c-green); }
.filters button[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); color: var(--c-on-green); }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.service-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card__num { font-family: var(--font-serif); font-size: 0.95rem; color: var(--c-brass-text); letter-spacing: 0.1em; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { font-size: 0.97rem; color: var(--c-ink-soft); }
.service-card .more { margin-top: auto; font-weight: 600; font-size: 0.92rem; text-decoration: none; display: inline-flex; gap: 0.4rem; }
.service-card .more::after { content: "→"; }

/* Carte service (grille de la page Mes services) */
.service-tile .project-card__title { font-size: 1.25rem; }
.service-tile__btn { margin-top: auto; align-self: start; padding: 0.7rem 1.4rem; font-size: 0.93rem; }
.service-tile:hover .service-tile__btn { background: var(--c-green); color: var(--c-on-green); }

/* Bloc service détaillé (page services) */
.service-block { padding-block: clamp(2.8rem, 6vw, 4.2rem); border-top: 1px solid var(--c-line); }
.service-block:first-of-type { border-top: 0; }
.service-block__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); }
@media (min-width: 880px) { .service-block__grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.service-block h2 { margin-bottom: 0.9rem; }
.service-block__intro { color: var(--c-ink-soft); }
.service-block__media { margin-top: 1.4rem; }
.service-block__media img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.service-label { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; font-family: var(--font-sans); font-weight: 600; color: var(--c-brass-text); margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checklist li strong { font-weight: 600; }
.checklist svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; color: var(--c-green); }
.benefit {
  margin-top: 1.6rem; padding: 1.1rem 1.4rem; background: var(--c-green-tint);
  border-left: 3px solid var(--c-green); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
}
.callout {
  margin-top: 1.6rem; padding: 1.4rem 1.6rem; background: var(--c-green); color: var(--c-on-green);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.callout::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-brass), var(--c-brass-soft));
}
.callout strong { color: #fff; }
.callout p { font-size: 0.97rem; }
.callout .callout-label { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--c-brass-soft); margin-bottom: 0.5rem; }

/* ---------- Atouts ---------- */
.atouts-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.atout {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}
.atout__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--c-green-tint);
  display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--c-green);
}
.atout__icon svg { width: 22px; height: 22px; }
.atout h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.atout p { font-size: 0.95rem; color: var(--c-ink-soft); }
.atout--highlight { background: var(--c-green); border-color: var(--c-green); }
.atout--highlight h3, .atout--highlight p { color: var(--c-on-green); }
.atout--highlight .atout__icon { background: rgba(245,241,232,0.14); color: var(--c-brass-soft); }

/* ---------- Citation ---------- */
.quote-band { text-align: center; padding-block: clamp(4rem, 9vw, 6.5rem); }
.quote-band blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.5; max-width: 32em; margin-inline: auto;
  color: #fff;
}
.quote-band blockquote::before { content: "« "; color: var(--c-brass-soft); }
.quote-band blockquote::after { content: " »"; color: var(--c-brass-soft); }
.quote-band figcaption { margin-top: 1.6rem; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-brass-soft); }

/* ---------- Frise chronologique ---------- */
.timeline { position: relative; display: grid; gap: 2.4rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--c-brass); opacity: 0.5; }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -2rem; top: 0.45rem; width: 0.95rem; height: 0.95rem;
  border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-brass);
}
.timeline__period { font-family: var(--font-serif); font-size: 1.05rem; color: var(--c-brass-text); font-weight: 600; letter-spacing: 0.04em; }
.timeline__item h3 { margin: 0.3rem 0 0.5rem; }
.timeline__item p { color: var(--c-ink-soft); font-size: 0.98rem; max-width: 62ch; }

/* ---------- Avis ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.rating-summary__score { font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 3.8rem); font-weight: 700; line-height: 1; }
.stars { display: inline-flex; gap: 0.18rem; color: var(--c-brass); }
.stars svg { width: 1.25rem; height: 1.25rem; }
.stars--lg svg { width: 1.6rem; height: 1.6rem; }
.avis-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }

/* Avis affichés en captures d'écran authentiques */
.avis-shot {
  margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 0.85rem; box-shadow: var(--shadow-card); break-inside: avoid;
}
.avis-shot img { width: 100%; border-radius: 3px; }
.avis-wall { columns: 320px 3; column-gap: 1.5rem; }
.avis-wall .avis-shot { margin-bottom: 1.5rem; }

.google-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--c-ink-soft); }

/* ---------- Étapes (landing) ---------- */
.steps { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 2rem 1.6rem 1.8rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--c-brass); opacity: 0.85; display: block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.93rem; color: var(--c-ink-soft); }

/* ---------- Cas d'expertise (cartes) ---------- */
.cases-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.case-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.case-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--c-green-tint); color: var(--c-green); display: grid; place-items: center; margin-bottom: 1rem; }
.case-card__icon svg { width: 21px; height: 21px; }
.case-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.case-card p { font-size: 0.94rem; color: var(--c-ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1;
  color: var(--c-brass); transition: transform 0.25s ease; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--c-green); }
.faq .faq__body { padding: 0 1.4rem 1.3rem; color: var(--c-ink-soft); font-size: 0.98rem; }
.faq .faq__body p + p { margin-top: 0.6rem; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 85% 10%, rgba(179, 152, 95, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-final__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 880px) { .cta-final__grid { grid-template-columns: 6fr 6fr; align-items: start; } }
.cta-final h2 { margin-bottom: 1rem; }
.phone-xl {
  display: inline-flex; align-items: center; gap: 0.8rem; margin: 1.4rem 0;
  font-family: var(--font-serif); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700;
  color: #fff; text-decoration: none;
}
.phone-xl svg { width: 1.6rem; height: 1.6rem; color: var(--c-brass-soft); flex: none; }
.phone-xl:hover { color: var(--c-brass-soft); }

/* Téléphone + email affichés ensemble */
.contact-direct { display: grid; gap: 0.35rem; justify-items: start; margin: 1.4rem 0; }
.contact-direct .phone-xl { margin: 0; }
.email-xl {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-serif); font-size: clamp(1.05rem, 2.6vw, 1.45rem); font-weight: 600;
  color: #fff; text-decoration: none; overflow-wrap: anywhere;
}
.email-xl svg { width: 1.15rem; height: 1.15rem; color: var(--c-brass-soft); flex: none; }
.email-xl:hover { color: var(--c-brass-soft); }
.cta-meta { display: grid; gap: 0.4rem; font-size: 0.95rem; color: rgba(245,241,232,0.85); }

/* ---------- Barre de contact sticky (mobile) : appeler + email ---------- */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  background: var(--c-green-dark);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.45);
}
.sticky-call a {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  color: #fff; text-decoration: none; padding: 1rem 0.4rem;
  font-weight: 700; font-size: clamp(0.78rem, 3.3vw, 0.98rem); letter-spacing: 0.01em;
  white-space: nowrap; min-width: 0;
}
.sticky-call a + a { border-left: 1px solid rgba(245, 241, 232, 0.22); flex-grow: 1.35; }
.sticky-call svg { width: 1.1rem; height: 1.1rem; color: var(--c-brass-soft); flex: none; }
@media (max-width: 760px) {
  .sticky-call { display: flex; }
  body.has-sticky-call { padding-bottom: 64px; }
}

/* ---------- Bouton WhatsApp flottant (toutes les pages) ---------- */
.whatsapp-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -10px rgba(18, 66, 44, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 32px -10px rgba(18, 66, 44, 0.75); }

/* ---------- Bouton « Page Google » flottant, au-dessus du WhatsApp ---------- */
.google-float {
  position: fixed; right: 1.1rem; bottom: calc(1.1rem + 58px + 12px); z-index: 45;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff; color: var(--c-ink); border: 1px solid var(--c-line);
  border-radius: 100px; padding: 0.6rem 1.05rem;
  font-weight: 600; font-size: 0.9rem; line-height: 1; text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(36, 40, 43, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.google-float svg { width: 19px; height: 19px; color: #4285f4; flex: none; }
.google-float:hover { transform: scale(1.05); color: var(--c-green-dark); box-shadow: 0 14px 32px -10px rgba(36, 40, 43, 0.55); }

@media (max-width: 760px) {
  .whatsapp-float { right: 0.9rem; bottom: 0.9rem; }
  .google-float { right: 0.9rem; bottom: calc(0.9rem + 58px + 12px); }
  body.has-sticky-call .whatsapp-float { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.has-sticky-call .google-float { bottom: calc(72px + env(safe-area-inset-bottom) + 58px + 12px); }
}
/* Sur les petits écrans, la pastille Google devient ronde (icône seule) pour ne pas encombrer */
@media (max-width: 480px) {
  .float-label { display: none; }
  .google-float { width: 58px; height: 58px; padding: 0; border-radius: 50%; justify-content: center; }
  .google-float svg { width: 24px; height: 24px; }
}

/* ---------- Visuel principal d'un projet (format contenu, cadre laiton) ---------- */
.projet-visuel { position: relative; max-width: 700px; margin-inline: auto; }
.projet-visuel img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.projet-visuel::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--c-brass); border-radius: var(--radius); opacity: 0.55;
}

/* ---------- Galerie projet ---------- */
.gallery { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.fiche { display: grid; gap: 0; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-surface); }
.fiche__row { display: grid; grid-template-columns: minmax(110px, 32%) 1fr; gap: 1rem; padding: 0.95rem 1.3rem; border-top: 1px solid var(--c-line); font-size: 0.96rem; }
.fiche__row:first-child { border-top: 0; }
.fiche__row dt { font-weight: 600; color: var(--c-brass-text); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.15rem; }
.fiche__row dd { margin: 0; }

/* ---------- Références (listes France) ---------- */
.ref-list { columns: 2; column-gap: 3rem; list-style: none; padding: 0; }
.ref-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--c-line); break-inside: avoid; font-size: 0.98rem; }
.ref-list li strong { font-weight: 600; }
@media (max-width: 720px) { .ref-list { columns: 1; } }

/* ---------- Footer ---------- */
.footer { background: var(--c-green-dark); color: rgba(245, 241, 232, 0.82); margin-top: 0; }
.footer a { color: rgba(245, 241, 232, 0.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__main { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 880px) { .footer__main { grid-template-columns: 4fr 3fr 3fr 4fr; } }
.footer h3 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer__brand .brand__mono { border-color: var(--c-brass); color: var(--c-brass-soft); margin-bottom: 1rem; }
.footer__brand p { font-size: 0.95rem; max-width: 30ch; }
.footer__brand .brand-name { font-family: var(--font-serif); color: #fff; font-size: 1.3rem; display: block; margin-bottom: 0.2rem; }
.footer address { font-style: normal; font-size: 0.95rem; display: grid; gap: 0.55rem; }
.footer__instagram { margin-top: 1.2rem; padding: 0.65rem 1.3rem; font-size: 0.92rem; }
.footer__bottom { border-top: 1px solid rgba(245,241,232,0.14); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; font-size: 0.85rem; }
.footer__bottom ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---------- Animations au scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js .reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .project-card__media img, .btn { transition: none; }
}

/* ---------- Impression ---------- */
@media print {
  .header, .footer, .sticky-call, .whatsapp-float, .google-float { display: none; }
}
