/* Atelier de pierre — mobile-first, polices système et ressources locales. */
:root {
  --navy: #16283c;
  --navy-2: #1e3a56;
  --navy-deep: #0f1d2c;
  --steel: #3f74a8;
  --steel-dark: #2f5b86;
  --steel-light: #7fabd4;
  --paper: #f5f4f1;
  --stone: #e9e6e0;
  --ink: #242e38;
  --muted: #4a5560;
  --white: #fff;
  --accent: #b95820;
  --accent-dark: #9c4515;
  --focus-light: #cfe2f3;
  --serif: Georgia, "Times New Roman", serif;
  --radius: 8px;
  --container: 1180px;
  --line: rgba(22, 40, 60, .22);
  --line-light: rgba(255, 255, 255, .35);
  --header-clearance: 136px;
  --callbar-clearance: 88px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-clearance); scroll-padding-bottom: var(--callbar-clearance); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.65; }
body.has-lightbox { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--serif); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 6vw, 3.35rem); text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); max-width: 21ch; }
h3 { font-size: 1.4rem; }
a { color: var(--steel-dark); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button, summary { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--steel-dark); outline-offset: 4px; }
.section-dark:focus-visible, .section-dark :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--focus-light); }
.section-dark:focus-visible { outline-offset: -4px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 150; padding: 12px 18px; background: var(--paper); color: var(--navy); transform: translateY(-200%); border: 2px solid var(--navy); border-radius: var(--radius); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.is-enhanced { position: sticky; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; color: var(--navy); text-decoration: none; }
.brand img { width: 43px; height: 43px; flex: none; object-fit: contain; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.05rem; letter-spacing: -.025em; }
.brand-text > span { margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; min-width: 62px; padding: 8px 0 8px 8px; border: 0; background: transparent; color: var(--navy); font-size: .875rem; }
.menu-symbol { position: relative; width: 17px; height: 10px; border-block: 1.5px solid currentColor; }
.menu-symbol::before { content: ""; position: absolute; width: 17px; top: 3px; border-top: 1.5px solid currentColor; }
.nav-toggle[aria-expanded="true"] .menu-symbol { height: 0; border-bottom: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .menu-symbol::before { top: -1.5px; transform: rotate(90deg); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 18px; width: 100%; }
.site-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav a:hover { color: var(--steel-dark); text-decoration: underline; }
.site-nav .nav-contact { color: var(--accent-dark); }
.is-enhanced .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: auto; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px rgba(22, 40, 60, .08); max-height: calc(100svh - 80px); overflow-y: auto; }
.kicker { display: flex; align-items: center; gap: 9px; color: var(--steel-dark); font-size: .8125rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; line-height: 1.5; margin-bottom: 14px; }
.kicker::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; }
.hero { padding-block: 27px 32px; }
.hero-layout { display: grid; gap: 25px; }
.hero-copy { position: relative; }
.hero-copy h1 { max-width: 22ch; }
.hero-intro { margin-top: 17px; max-width: 42ch; color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 21px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; max-width: 100%; padding: 12px 19px; background: var(--accent); border: 2px solid var(--accent); color: var(--white); border-radius: var(--radius); text-decoration: none; font-weight: 700; line-height: 1.45; font-size: .95rem; transition: background .18s, border-color .18s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn > span { font-size: 1.15em; flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 7px; min-height: 44px; font-size: .95rem; font-weight: 600; }
.hero-actions .text-link { min-height: 44px; padding-block: 7px; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 48%; border-radius: var(--radius); }
.hero-photo figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; margin-top: 10px; font-size: .875rem; color: var(--muted); }
.hero-photo figcaption > span:first-child { color: var(--navy); font-weight: 600; }
.fan-mark { display: none; }
.section { padding-block: 54px; }
.section-stone { background: var(--stone); }
.section h2::after { content: ""; display: block; width: 76px; height: 8px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--steel) 0 11px, transparent 11px 15px) 0 0 / 100% 3px no-repeat, repeating-linear-gradient(90deg, var(--steel) 0 11px, transparent 11px 15px) 7px 5px / 60px 3px no-repeat; }
.section-heading { display: grid; gap: 22px; margin-bottom: 30px; }
.section-heading > p { max-width: 44ch; color: var(--muted); }
.gallery { display: grid; gap: 28px; }
.gallery-link { display: block; position: relative; border-radius: var(--radius); overflow: hidden; color: var(--navy); }
.gallery-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-featured .gallery-link img { aspect-ratio: 1400 / 746; }
.gallery-link::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-link:focus-visible { outline-offset: -4px; outline-color: var(--navy-deep); }
.gallery-link:focus-visible::after { border: 0; box-shadow: inset 0 0 0 4px var(--navy-deep), inset 0 0 0 8px var(--focus-light); }
.photo-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 8px 13px; border-radius: 4px; background: var(--paper); color: var(--navy); font-size: .875rem; font-weight: 600; }
.gallery-link:hover .photo-zoom { background: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.gallery-item figcaption { padding-top: 14px; }
.gallery-item h3 { font-size: 1.32rem; }
.gallery-item figcaption p { margin-top: 5px; font-size: .875rem; color: var(--muted); }
.gallery-invitation { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
.gallery-invitation .text-link { display: flex; width: fit-content; }
.services { display: grid; }
.service { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 12px; padding-block: 26px; border-top: 1px solid var(--line); }
.service-number { color: var(--steel-dark); font-family: var(--serif); font-size: 1.1rem; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); max-width: 42ch; font-size: .95rem; }
.artisan-layout { display: grid; gap: 30px; }
.artisan-copy p:not(.kicker) { margin-top: 20px; max-width: 51ch; color: var(--muted); }
.artisan-copy .artisan-location { font-size: .82rem; font-weight: 600; color: var(--navy); }
.artisan-copy .text-link { margin-top: 15px; }
.artisan-photo { grid-row: 1; max-width: 420px; }
.artisan-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 26%; border-radius: var(--radius); }
.steps { display: grid; gap: 25px; list-style: none; padding: 0; margin: 35px 0 0; }
.steps li { position: relative; padding: 0 0 0 44px; }
.step-number { position: absolute; left: 0; top: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--steel-dark); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.questions-layout { display: grid; gap: 30px; }
.questions-intro { max-width: 35ch; margin-top: 20px; color: var(--muted); }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { position: relative; display: block; padding: 20px 38px 20px 0; min-height: 64px; cursor: pointer; color: var(--navy); font-weight: 600; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 5px; top: 17px; font-size: 1.35rem; font-weight: 400; }
.questions details[open] summary::after { content: "−"; }
.answer { padding: 0 26px 22px 0; color: var(--muted); font-size: .95rem; }
.section-dark { background: var(--navy); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .kicker { color: var(--focus-light); }
.section-dark h2::after { background: repeating-linear-gradient(90deg, var(--steel-light) 0 11px, transparent 11px 15px) 0 0 / 100% 3px no-repeat, repeating-linear-gradient(90deg, var(--steel-light) 0 11px, transparent 11px 15px) 7px 5px / 60px 3px no-repeat; }
.contact-layout { display: grid; gap: 36px; }
.contact-main > p:not(.kicker) { max-width: 42ch; margin-top: 22px; }
.contact-main .btn { margin-top: 25px; border-color: var(--paper); }
.contact-main .btn:hover { border-color: var(--paper); }
.contact-main .phone-number { font-family: var(--serif); font-size: 1.65rem; letter-spacing: .03em; }
.contact-writing { border-top: 1px solid var(--line-light); padding-top: 28px; }
.contact-writing > p:not(.email-address):not(.copy-status) { margin-top: 16px; }
.contact-writing > p { max-width: 43ch; }
.contact-writing .text-link { margin-top: 12px; color: var(--paper); }
.contact-writing .email-help { font-size: .83rem; }
.email-address { width: fit-content; max-width: 100%; overflow-wrap: anywhere; margin-top: 16px; font-size: .9rem; user-select: all; -webkit-user-select: all; }
.copy-email { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; margin-top: 4px; color: var(--paper); border: 0; background: transparent; text-decoration: underline; text-underline-offset: .25em; font-size: .83rem; }
.copy-status { min-height: 1.6em; margin-top: 3px; color: var(--focus-light); font-size: .875rem; }
.contact-area { border-top: 1px solid var(--line-light); padding-top: 28px; }
.contact-area h3 { font-size: 1.2rem; }
.contact-area p { max-width: 75ch; margin-top: 13px; font-size: .88rem; }
.site-footer { padding-block: 24px calc(90px + env(safe-area-inset-bottom)); background: var(--navy-deep); color: var(--paper); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.site-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper); }
.legal { width: 100%; border-top: 1px solid var(--line-light); }
.legal summary { width: fit-content; padding-block: 14px; cursor: pointer; }
.legal p { max-width: 95ch; overflow-wrap: anywhere; margin-top: 10px; }
.call-bar { position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 60px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--accent-dark); color: var(--white); border-top: 2px solid var(--paper); font-size: .95rem; font-weight: 700; text-decoration: none; }
.call-bar:hover { background: var(--accent); text-decoration: none; }
.call-bar:focus-visible { outline-color: var(--focus-light); outline-offset: -6px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: var(--navy-deep); color: var(--paper); padding: 76px 16px 16px; overflow-y: auto; }
.lightbox-close { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--paper); border-radius: var(--radius); background: transparent; color: var(--paper); }
.lightbox-close span { font-size: 1.5rem; line-height: 1; }
.lightbox-content { max-width: 1200px; width: 100%; }
.lightbox-image { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 200px); margin-inline: auto; object-fit: contain; }
.lightbox-bottom { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; max-width: 900px; margin: 20px auto 0; }
.lightbox-bottom p { font-size: .85rem; text-align: center; }
.lightbox-prev, .lightbox-next { min-height: 44px; min-width: 44px; padding: 5px; border: 1px solid var(--paper); border-radius: var(--radius); color: var(--paper); background: transparent; font-size: 1.25rem; }
.lightbox button:hover { background: var(--navy-2); }
.lightbox-error { text-align: center; }
.lightbox-direct { color: var(--paper); }
@media (min-width: 720px) {
  :root { --callbar-clearance: 0px; }
  .container { padding-inline: 32px; }
  .hero { padding-block: 40px 48px; }
  .hero-layout { gap: 32px; }
  .hero-photo img { aspect-ratio: 1.7; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .section { padding-block: 72px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .gallery-featured { grid-column: 1 / -1; }
  .gallery-featured .gallery-link img { aspect-ratio: 1400 / 746; }
  .gallery-invitation .text-link { display: inline-flex; margin-left: 12px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .artisan-layout { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 36px; }
  .artisan-photo { grid-row: 1; }
  .artisan-copy { grid-column: 2; grid-row: 1; }
  .artisan-photo img { aspect-ratio: 3 / 4; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .steps li { border-top: 1px solid var(--line); padding: 22px 0 0; }
  .step-number { position: static; display: block; margin-bottom: 14px; }
  .contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .contact-writing { border-top: 0; border-left: 1px solid var(--line-light); padding-top: 0; padding-left: 30px; }
  .contact-area { grid-column: 1 / -1; }
  .call-bar { display: none; }
  .site-footer { padding-bottom: 24px; }
}
@media (min-width: 960px) {
  :root { --header-clearance: 120px; }
  .header-inner { flex-wrap: nowrap; padding-block: 14px; }
  .brand img { width: 48px; height: 48px; }
  .brand-text strong { font-size: 1.15rem; }
  .nav-toggle { display: none; }
  .site-nav, .is-enhanced .site-nav { position: static; display: flex; flex-direction: row; align-items: center; width: auto; gap: 28px; padding: 0; border: 0; background: transparent; box-shadow: none; max-height: none; overflow: visible; }
  .hero { padding-block: 44px 56px; }
  .hero-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 42px; }
  .hero-copy { padding-block: 10px 50px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 4vw, 3.35rem); }
  .hero-copy .kicker { font-size: .8125rem; letter-spacing: .075em; }
  .hero-intro { margin-top: 24px; font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; margin-top: 28px; gap: 12px; }
  .hero-photo img { aspect-ratio: .93; object-position: center; }
  .fan-mark { display: block; width: 116px; height: 58px; margin-top: 35px; opacity: .6; background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 10px, var(--steel) 11px 12px, transparent 13px 22px); clip-path: ellipse(50% 100% at 50% 100%); }
  .section { padding-block: 88px; }
  .section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 60px; margin-bottom: 40px; }
  .section-heading > p { font-size: .95rem; }
  .gallery { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 32px; align-items: start; }
  .gallery-featured { grid-column: 1; grid-row: 1 / 3; }
  .gallery-featured .gallery-link img { aspect-ratio: 1400 / 746; object-position: center; }
  .gallery-path { grid-column: 2; grid-row: 1; }
  .gallery-fan { grid-column: 2; grid-row: 2; }
  .gallery-path .gallery-link img, .gallery-fan .gallery-link img { aspect-ratio: 1.65; }
  .services { gap: 4px 72px; }
  .service { padding-block: 30px; gap: 20px; grid-template-columns: 38px minmax(0, 1fr); }
  .artisan-layout { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .artisan-copy p:not(.kicker) { font-size: 1.02rem; }
  .artisan-photo { max-width: none; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
  .questions-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; }
  .contact-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 80px; }
  .contact-writing { padding-left: 40px; }
  .lightbox { padding-inline: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .gallery-link:focus-visible { outline: 3px solid Highlight; outline-offset: -4px; }
  .gallery-link:focus-visible::after { border: 4px solid Highlight; box-shadow: none; }
}
