/* FineWork — feuille de style (mobile d'abord) */

@font-face { font-family: "Josefin Sans"; font-weight: 300; font-display: swap; src: url("../fonts/josefin-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 600; font-display: swap; src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

:root {
  --noir: #050607;
  --noir-2: #101113;
  --noir-3: #1a1b1e;
  --or: #a08549;          /* doré d'origine */
  --or-fonce: #7b6941;    /* bandeau doré d'origine */
  --or-texte: #6f5d36;    /* doré lisible sur blanc */
  --or-clair: #c9b27a;
  --gris: #b6b3b2;        /* colonne de menu d'origine */
  --gris-clair: #e9e7e6;
  --blanc: #ffffff;
  --texte: #1d1d1f;
  --texte-doux: #55524f;
  --titre: "Josefin Sans", "Century Gothic", Futura, sans-serif;
  --corps: "Lato", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --ombre: 0 18px 40px -22px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--noir); color: var(--texte); font-family: var(--corps); font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 300; line-height: 1.15; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--or); color: var(--noir); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; }

.eyebrow { font-family: var(--titre); font-weight: 600; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--or); margin: 0 0 .9rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, #000 0%, var(--noir-2) 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo img { width: clamp(170px, 42vw, 250px); height: auto; }
.gold-band { height: 10px; background: linear-gradient(90deg, var(--or-fonce), var(--or) 55%, var(--or-fonce)); }
.gold-band--thin { height: 4px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(160, 133, 73, .5); color: var(--blanc); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--gris); display: none; box-shadow: var(--ombre); }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.25rem; }
.nav a { display: block; padding: .85rem 0; font-family: var(--titre); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #111; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.nav a[aria-current="page"] { color: var(--noir); box-shadow: inset 4px 0 0 var(--or-fonce); padding-left: .8rem; }
.nav-cta a { color: var(--or-texte); border-bottom: 0; }

@media (min-width: 960px) {
  .header-inner { min-height: 112px; }
  .nav-toggle { display: none; }
  .nav { position: static; display: block; background: none; box-shadow: none; }
  .nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); padding: 0; }
  .nav a { color: var(--gris-clair); border: 0; padding: .4rem 0; font-size: .84rem; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--or); transition: right .25s; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
  .nav a[aria-current="page"] { color: var(--blanc); box-shadow: none; padding-left: 0; }
  .nav-cta a { border: 1px solid var(--or); padding: .55rem 1rem; color: var(--or-clair); }
  .nav-cta a::after { display: none; }
  .nav-cta a:hover { background: var(--or); color: var(--noir); }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.6rem; font-family: var(--titre); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--or); color: #000; }
.btn-gold:hover { background: var(--or-clair); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--blanc); }
.btn-ghost:hover { border-color: var(--or); color: var(--or-clair); }
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { background: var(--noir-3); }
.btn-small { min-height: 42px; padding: .5rem 1.1rem; font-size: .8rem; }
.panel .btn-ghost, .section-light .btn-ghost { color: var(--texte); border-color: rgba(0, 0, 0, .3); }
.link-arrow { font-family: var(--titre); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .3rem; }
.panel .link-arrow { color: var(--or-texte); }

/* ---------- Hero accueil ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, #1c1d20 0%, var(--noir) 60%); color: var(--blanc); padding: clamp(2.5rem, 7vw, 5rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-weight: 300; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d7d4cf; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(160, 133, 73, .55); pointer-events: none; }
.hero-media img { width: 100%; aspect-ratio: 865 / 364; object-fit: cover; object-position: 50% 100%; box-shadow: var(--ombre); position: relative; }
.hero-tagline { margin-top: clamp(2.5rem, 6vw, 4rem); padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--titre); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: #9d9a96; text-align: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

/* ---------- Pages intérieures ---------- */
.page-hero { background: radial-gradient(100% 120% at 90% 0%, #1c1d20 0%, var(--noir) 65%); color: var(--blanc); padding: clamp(2.2rem, 6vw, 4.2rem) 0 clamp(2rem, 5vw, 3.4rem); }
.page-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d7d4cf; max-width: 44rem; margin: 0; }
.crumbs { font-size: .82rem; color: #8f8b86; margin-bottom: 1.2rem; letter-spacing: .04em; }
.crumbs a { color: var(--or-clair); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Panneau blanc avec filigrane (signature du site d'origine) ---------- */
.panel { background: var(--blanc); padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.panel-watermark { background: var(--blanc) url("../img/filigrane.png") no-repeat right -60px bottom -20px / auto 110%; }
@media (max-width: 700px) { .panel-watermark { background-size: auto 60%; background-position: right -120px bottom 0; } }

.intro-grid { display: grid; gap: 2.5rem; }
.intro-questions .q { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.3; color: var(--or-texte); margin-bottom: 1.1em; }
.lead-serif { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.2; color: var(--texte); margin-bottom: .6em; }
.intro-text { max-width: 40rem; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--gris-clair); }
.section-light { background: #f6f5f4; }
.section-dark { background: var(--noir-2); color: #e6e3de; }
.section-dark h2 { color: var(--blanc); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 44rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; }
.section-head--row h2 { margin: 0; }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(160, 133, 73, .28); border: 1px solid rgba(160, 133, 73, .28); }
.services li { background: var(--noir-2); padding: 1.8rem 1.6rem; }
.services h3 { color: var(--or-clair); font-size: 1rem; }
.services h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--or); margin-bottom: 1rem; }
.services p { margin: 0; color: #bdb9b3; font-size: .98rem; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }

.teaser-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.teaser-grid a { display: block; position: relative; overflow: hidden; background: var(--noir); text-decoration: none; }
.teaser-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s, opacity .3s; opacity: .92; }
.teaser-grid a:hover img { transform: scale(1.04); opacity: 1; }
.teaser-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: var(--blanc); font-family: var(--titre); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.teaser-grid--3 { margin-top: 2.5rem; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: repeat(4, 1fr); } .teaser-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.cta-band { background: linear-gradient(90deg, var(--or-fonce), var(--or)); color: #0b0b0b; padding: clamp(2rem, 5vw, 3rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.cta-text { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.2; max-width: 40rem; }

/* ---------- Créateur d'intérieur ---------- */
.steps { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: etape; background: rgba(255, 255, 255, .88); border-top: 2px solid var(--or); padding: 1.6rem 1.4rem 1.4rem; box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .6); }
.steps li::before { content: "0" counter(etape); display: block; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--or); margin-bottom: .8rem; }
.steps h3 { font-size: 1rem; }
.steps p { margin: 0; color: var(--texte-doux); }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.case { display: grid; gap: 2.5rem; align-items: center; }
.case-media { margin: 0; }
.case-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; box-shadow: var(--ombre); }
.case-list { margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.case-list dt { font-family: var(--titre); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: var(--or-clair); display: flex; align-items: center; gap: .6rem; }
.case-list dt::before { content: ""; width: 9px; height: 9px; background: var(--or); }
.case-list dd { margin: .25rem 0 0 1.2rem; color: #c9c5bf; }
@media (min-width: 960px) { .case { grid-template-columns: 6fr 5fr; gap: 4rem; } }

.two-col { display: grid; gap: 2rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 7px; border-left: 2px solid var(--or-texte); border-bottom: 2px solid var(--or-texte); transform: rotate(-45deg); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: 600 .78rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; padding: .75rem 1rem; min-height: 44px; border: 1px solid rgba(0, 0, 0, .25); background: transparent; color: var(--texte); cursor: pointer; border-radius: var(--radius); }
.chip[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.chip:hover { border-color: var(--or-texte); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gallery-item[hidden] { display: none; }
.gallery figure { margin: 0; background: var(--blanc); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .7); }
.gallery-link { display: block; overflow: hidden; background: var(--noir); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .6s; }
.gallery-link:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.gallery figcaption strong { font-family: var(--titre); font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.gallery figcaption span { font-size: .82rem; color: var(--or-texte); text-transform: uppercase; letter-spacing: .12em; }
@media (min-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 6, 7, .96); color: var(--blanc); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox figure { margin: 0; padding: 4rem 1rem 2rem; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; box-shadow: var(--ombre); }
.lightbox figcaption { margin-top: 1rem; color: #cfcac4; font-size: .95rem; }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: var(--blanc); width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { border-color: var(--or); color: var(--or-clair); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 4rem; align-items: start; } }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--titre); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; color: var(--texte); }
.field label small { text-transform: none; letter-spacing: 0; font-family: var(--corps); font-weight: 400; color: var(--texte-doux); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; min-height: 50px; border: 1px solid #c9c6c4; background: rgba(255, 255, 255, .92); color: var(--texte); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(160, 133, 73, .25); }
.field [aria-invalid="true"] { border-color: #a4372b; }
.field-error { color: #a4372b; font-size: .88rem; margin: .35rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: .2rem; accent-color: var(--or-fonce); }
.field-check label { text-transform: none; letter-spacing: 0; font-family: var(--corps); font-weight: 400; font-size: .92rem; color: var(--texte-doux); }
.field-check .field-error { grid-column: 2; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; margin-bottom: 1.4rem; border-left: 4px solid; background: #f7f6f4; }
.notice-ok { border-color: #3c7a4b; }
.notice-info { border-color: var(--or); }
.notice-error { border-color: #a4372b; }

.contact-card { background: var(--noir-2); color: #dcd8d2; padding: 2rem 1.8rem; box-shadow: var(--ombre); }
.contact-card h2 { color: var(--blanc); font-size: 1.6rem; }
.contact-phone { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.6rem; letter-spacing: .06em; color: var(--or-clair); text-decoration: none; margin: .4rem 0 1.4rem; }
.contact-phone span { font-size: .8rem; letter-spacing: .2em; color: #8f8b86; margin-right: .3rem; }
.contact-card address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.contact-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 1.6rem 0; }
.contact-social { font-family: var(--titre); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #a9a5a0; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.footer-brand img { width: 200px; margin-bottom: 1rem; }
.footer-brand p { max-width: 24rem; }
.footer-title { font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: #dcd8d2; text-decoration: none; }
.site-footer a:hover { color: var(--or-clair); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer-line { margin: 0; padding: 1rem var(--gutter); border-top: 1px solid rgba(255, 255, 255, .08); font-family: var(--titre); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #d9d6d2; text-align: center; }
.footer-copy { margin: 0; padding: 0 var(--gutter) 1.6rem; font-size: .8rem; color: #6f6b67; text-align: center; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1.2fr 1fr; } }
.contact-card .btn-ghost { color: var(--blanc); border-color: rgba(255, 255, 255, .4); }
.contact-card .btn-ghost:hover { color: var(--or-clair); border-color: var(--or); }
.contact-card .link-arrow { color: var(--or-clair); }
