:root {
  --bg: #faf8f4;
  --bg-tint: #f3eee6;
  --bg-sand: #ebe3d6;     /* services band, sets it apart from the hero */
  --surface: #ffffff;
  --ink: #16130f;
  --ink-soft: #4a443c;
  --muted: #6b6359;
  --line: #e2dbd0;
  --gold: #b07a3e;
  --gold-text: #85561f;   /* gold for small text, 4.5:1 on --bg */
  --gold-btn: #8a5a22;    /* gold button bg, white text 4.9:1 */
  --gold-soft: #e9d8c0;
  --dark: #17140f;
  --dark-2: #221d17;
  --on-dark: #f5efe6;
  --on-dark-muted: #c9bfb1;
  --error: #b42318;
  --success: #2f6b3a;

  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(22, 19, 15, .05), 0 12px 32px -12px rgba(22, 19, 15, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 132px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 1px solid transparent; border-radius: 999px; white-space: nowrap;
  font-weight: 500; font-size: 16px; letter-spacing: .01em; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--gold-btn); }
.btn--gold { background: var(--gold-btn); color: #fff; }
.btn--gold:hover { background: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost .icon { transition: transform .2s var(--ease); }
.btn--ghost:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-text); font-size: 21px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 30px;
}
.eyebrow::before { content: ""; flex: none; width: 40px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }
.section__head .eyebrow { margin-bottom: 0; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header__logo img { height: 108px; width: auto; transition: height .3s var(--ease); }
/* Shrink the header once the page is scrolled */
@media (min-width: 1101px) {
  .header.is-scrolled .header__inner { height: 88px; }
  .header.is-scrolled .header__logo img { height: 68px; }
}
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { text-decoration: none; font-size: 19px; color: var(--ink-soft); padding: 8px 0; position: relative; white-space: nowrap; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { color: var(--ink); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex; gap: 4px; align-items: center; min-height: 44px; min-width: 44px; padding: 0 10px;
  background: none; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; letter-spacing: .08em; color: var(--muted);
}
.lang-toggle { text-decoration: none; }
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle [data-lang].is-current { color: var(--ink); font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header switches to the burger menu earlier than the rest of the layout */
@media (max-width: 1100px) {
  :root { --header-h: 80px; }
  .header__logo img { height: 60px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .header__actions { margin-left: auto; gap: 8px; }
}

/* Hero */
.hero { padding: 48px 0 88px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: stretch; }
/* Text block fills its column (content centred); the photo is sized to the text:
   the heading's tallest glyph sits level with the photo's top edge and the trust
   row's baseline level with its bottom edge; the gold frame sits 0.5cm (19px) lower */
.hero__text { container-type: inline-size; }
@media (min-width: 901px) {
  /* Pull the tallest glyph (d/l ascenders in EN, the accent on é in FR) up to the photo's top edge */
  .hero__title { margin-top: -0.1em; }
  :lang(fr) .hero__title { margin-top: -0.094em; margin-bottom: -0.006em; } /* keeps FR the same height as EN */
}
/* Heading and lead have fixed line breaks and scale with the column (cqi), sized so the
   longest FR line fits; FR and EN therefore render at the same height */
.hero__title { font-family: var(--font-display); font-size: min(98px, 16cqi); white-space: nowrap; font-weight: 600; letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; text-align: center; }
.hero__title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero__lead { margin: 24px auto 0; font-size: min(23px, 6.6cqi); color: var(--ink-soft); white-space: nowrap; text-align: center; }
.hero__ctas { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__ctas .btn { font-size: min(18px, 3.8cqi); padding-inline: min(26px, 4.5cqi); }
.hero__trust { display: flex; justify-content: center; gap: 12px min(28px, 6cqi); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: min(18px, 4cqi); white-space: nowrap; color: var(--ink-soft); }
@media (min-width: 901px) {
  .hero__trust li { margin-bottom: -0.48em; } /* line box below Jost's baseline */
}
.hero__trust .icon { color: var(--gold); }
.hero__media { position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__media::before { content: ""; position: absolute; inset: 19px -19px -19px 19px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }

@media (max-width: 900px) {
  .hero { padding: 24px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { margin-right: 16px; }
  .hero__media::before { inset: 16px -16px -16px 16px; }
  .hero__media img { position: static; height: auto; aspect-ratio: 4 / 4.4; }
  .hero__text { padding: 0; width: auto; justify-self: stretch; }
}

/* Sections */
.section { padding: 35px 0 112px; } /* top inset ~9mm by request */
.section--tint { background: var(--bg-tint); }
.section--sand { background: var(--bg-sand); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__title { font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); letter-spacing: -.005em; text-wrap: balance; }
@media (max-width: 768px) { .section { padding: 35px 0 80px; } .section__head { margin-bottom: 40px; } }

/* Services: flip cards (front = summary, back = "what we do" list) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { display: grid; perspective: 1400px; cursor: pointer; } /* grid: cards in a row share one height */
.svc__inner { position: relative; display: grid; min-height: 460px; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.svc.is-flipped .svc__inner { transform: rotateY(180deg); }
.svc__face {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  padding: 32px 28px; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(22,19,15,.04), 0 10px 30px -18px rgba(22,19,15,.25);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.svc__back { transform: rotateY(180deg); background: var(--dark); color: var(--on-dark); }
.svc:hover .svc__front { box-shadow: var(--shadow); }
.svc__icon { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.svc h3 { font-family: var(--font-display); font-size: 30px; margin-bottom: 12px; }
.svc__front p { color: var(--ink-soft); font-size: 16px; }
.svc__toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 0 0; min-height: 44px;
  border: 0; background: none; color: var(--gold-text); font-weight: 500; font-size: 15px; letter-spacing: .02em; align-self: flex-start;
}
.svc__toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.svc:hover .svc__front .svc__toggle .icon { transform: translateX(3px); }
.svc__toggle--back { color: var(--gold-soft); }
.svc__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.svc__actions .svc__toggle { margin-top: 0; }
.svc__page { display: inline-flex; align-items: center; gap: 6px; padding-top: 12px; min-height: 44px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.svc__page .icon { width: 16px; height: 16px; color: var(--gold-soft); }
.svc__back h3 { font-size: 24px; margin-bottom: 14px; }
.svc__list { display: grid; gap: 7px; font-size: 14.5px; line-height: 1.4; color: var(--on-dark-muted); }
.svc__list li { position: relative; padding-left: 16px; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
@media (max-width: 900px) {
  /* Compact card; "What we do" opens a list below instead of flipping */
  .svc { perspective: none; cursor: default; }
  .svc__inner { display: block; min-height: 0; transform: none !important; transition: none; }
  .svc__face { position: static; backface-visibility: visible; -webkit-backface-visibility: visible; }
  .svc__front { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 22px; }
  .svc__front .svc__icon { width: 36px; height: 36px; margin: 0; }
  .svc__front h3 { margin: 0; font-size: 26px; }
  .svc__front p { grid-column: 1 / -1; margin-top: 10px; }
  .svc__front .svc__toggle { grid-column: 1 / -1; padding-top: 8px; font-size: 16px; }
  .svc__front .svc__toggle .icon { transform: rotate(90deg); }
  .svc.is-flipped .svc__front .svc__toggle .icon { transform: rotate(-90deg); }
  .svc:hover .svc__front .svc__toggle .icon { transform: rotate(90deg); }
  .svc.is-flipped:hover .svc__front .svc__toggle .icon { transform: rotate(-90deg); }
  .svc__back { display: none; transform: none; margin-top: 8px; padding: 22px; }
  .svc.is-flipped .svc__back { display: flex; }
  .svc__back h3, .svc__back .svc__toggle--back { display: none; }
  .svc__list { font-size: 15.5px; gap: 9px; }
  .svc__actions { margin-top: 12px; }
}

/* Projects: category tiles linking to projets.html */
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ptile {
  position: relative; display: block; text-decoration: none; aspect-ratio: 3 / 4; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--dark-2); color: #fff; text-align: left;
}
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,12,9,.7) 0%, rgba(14,12,9,0) 32%, rgba(14,12,9,0) 68%, rgba(14,12,9,.45) 100%); } /* darker top for the title, a touch at the bottom for the button */
.ptile--empty { background: linear-gradient(135deg, #2a241d, #17140f); }
.ptile:hover img { transform: scale(1.05); }
.ptile__label {
  position: absolute; inset: 22px 24px; z-index: 1; /* title at the top, button at the bottom */
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px;
  font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1;
}
/* A real button look, so it's obvious the tile opens the projects */
.ptile__cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: .01em;
}
.ptile__cta .icon { width: 18px; height: 18px; }
.ptile__label .icon { color: var(--gold-text); transition: transform .2s var(--ease); }
.ptile:hover .ptile__label .icon { transform: translateX(4px); }
@media (max-width: 700px) { .ptiles { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
@media (max-width: 560px) { .ptiles { gap: 8px; } .ptile__label { inset: 16px; font-size: 32px; } }


/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.step h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* About */
.about { display: grid; grid-template-columns: .8fr 1fr; gap: 80px; align-items: center; }
.about__media img { width: 100%; max-width: 420px; border-radius: 50%; margin-inline: auto; }
.about__text p { color: var(--on-dark-muted); margin-bottom: 16px; max-width: 36em; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 1.75px solid var(--gold); border-bottom: 1.75px solid var(--gold); transform: rotate(-45deg); }
.about__trust { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(245, 239, 230, .16); }
.about__trust li { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.about__trust .icon { color: var(--gold); }
.about__legal { margin-top: 14px; font-size: 14px; color: var(--on-dark-muted); }
/* About text: left-aligned block, centred in its column */
.about__text { justify-self: center; width: fit-content; max-width: 100%; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__media img { max-width: 260px; }
}

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__lead { color: var(--ink-soft); font-size: 21px; margin: 0 0 36px; max-width: 30em; }
.contact__list { display: grid; gap: 4px; }
.contact__list a, .contact__row { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-decoration: none; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-text); }
.contact__list small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--gold); flex: none; }

.form { background: var(--surface); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form__title { font-family: var(--font-display); font-size: 30px; margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.req { color: var(--error); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,122,62,.2); background: #fff; }
.field__help { font-size: 14px; color: var(--muted); }
.field__error { display: none; font-size: 14px; color: var(--error); }
.field.has-error input { border-color: var(--error); }
.field.has-error .field__error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form__status { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form__status.is-ok { color: var(--success); }
.form__status.is-err { color: var(--error); }

/* Thank-you panel that replaces the form */
.form-done { text-align: center; padding-block: 56px; }
.form-done[hidden], .form[hidden] { display: none; }
.form-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--gold-btn); color: #fff; }
.form-done__icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-done .form__title { margin-bottom: 16px; outline: none; }
.form-done__text { max-width: 30em; margin: 0 auto; color: var(--ink-soft); font-size: 18px; }
.form-done__book { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-done__book p { margin-bottom: 16px; font-weight: 500; }
.form-done__again { margin-top: 28px; padding: 8px; border: 0; background: none; color: var(--ink-soft); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-done__again:hover { color: var(--ink); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form { padding: 28px 20px; } .form__grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 96px; }
.footer__inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.footer__logo { height: 64px; width: auto; }
.footer__meta, .footer__copy, .footer__legal { font-size: 14px; color: var(--muted); }
.footer__legal { max-width: 40em; }
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: var(--ink); }
@media (min-width: 901px) { .footer { padding-bottom: 48px; } }

/* Mobile call button */
.call-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-btn); color: #fff; box-shadow: var(--shadow);
}
.call-fab .icon { width: 24px; height: 24px; }
@media (max-width: 900px) { .call-fab { display: grid; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Short intro line under a section name */
.section__lead { margin-top: 20px; font-size: 20px; color: var(--ink-soft); }

/* Projects page (projets.html) */
.projects-page { min-height: 70vh; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 16px; color: var(--ink-soft); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.projects-page__title { margin-top: 18px; font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); }
.projects-page .section__head { margin-bottom: 32px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat-tabs a { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; color: var(--ink-soft); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.cat-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.cat-tabs a[aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: block; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); color: var(--ink); text-align: left; box-shadow: 0 1px 2px rgba(22,19,15,.04), 0 10px 30px -18px rgba(22,19,15,.25); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(14,12,9,.72); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pcard__badge .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pcard__label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 18px 22px; }
.pcard__city { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.pcard__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-size: 16px; font-weight: 500; }
.pcard__label .icon { flex: none; color: var(--gold); transition: transform .2s var(--ease); }
.pcard:hover .pcard__label .icon { transform: translateX(4px); }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; gap: 16px; } }

/* Project dialog: media slider | optional "Video" divider | description */
.pdialog {
  width: min(1240px, calc(100vw - 48px)); max-width: none; height: min(720px, calc(100vh - 48px)); max-height: none;
  padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); color: var(--ink);
}
.pdialog[open] { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); }
.pdialog::backdrop { background: rgba(14, 12, 9, .78); }
.pdialog__media { grid-column: 1; position: relative; min-height: 0; background: var(--dark); }
.pdialog__stage { position: absolute; inset: 0; }
.pdialog__stage img, .pdialog__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--dark); }
.pdialog__nav {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 52px; height: 64px; border: 0; background: rgba(14,12,9,.6); color: #fff; transition: background .2s;
}
.pdialog__nav:hover { background: rgba(14,12,9,.85); }
.pdialog__nav .icon { width: 26px; height: 26px; }
.pdialog__nav--prev { left: 0; }
.pdialog__nav--next { right: 0; }
.pdialog__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; pointer-events: none; }
.pdialog__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); pointer-events: auto; }
.pdialog__dots button[aria-current="true"] { background: var(--gold); }
.pdialog__divider { grid-column: 2; display: grid; place-items: center; width: 48px; background: var(--gold-btn); color: #fff; }
.pdialog__divider[hidden], .pdialog__nav[hidden], .pdialog__dots[hidden] { display: none; }
.pdialog__divider span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.pdialog__info { grid-column: 3; display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; overflow-y: auto; }
.pdialog__title { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 44px); }
.pdialog__kind { margin: 22px 0 22px; font-size: 21px; font-weight: 600; color: var(--gold-text); }
.pdialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.pdialog__close:hover { background: var(--bg-tint); }
@media (max-width: 860px) {
  .pdialog { height: auto; max-height: calc(100vh - 32px); width: calc(100vw - 32px); overflow-y: auto; }
  .pdialog[open] { grid-template-columns: 1fr; }
  .pdialog__media { height: min(62vh, 520px); }
  .pdialog__divider { width: auto; height: 40px; }
  .pdialog__divider span { writing-mode: horizontal-tb; transform: none; }
  .pdialog__media, .pdialog__divider, .pdialog__info { grid-column: auto; }
  .pdialog__info { padding: 28px 24px 32px; overflow: visible; justify-content: flex-start; }
  .pdialog__close { background: rgba(255,255,255,.9); }
  .pdialog__nav { width: 44px; height: 56px; }
}

/* Footer: links to the service pages */
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 15px; }
.footer__links a { color: var(--ink-soft); text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }

/* Service pages */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.page-hero__title { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; text-wrap: balance; }
.page-hero__p { margin-bottom: 16px; font-size: 18px; color: var(--ink-soft); max-width: 38em; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__grid > * { min-width: 0; }
.page-hero .hero__trust.page-hero__trust { flex-wrap: wrap; justify-content: flex-start; margin-top: 32px; padding-top: 22px; }
.page-hero .page-hero__trust li { margin-bottom: 0; font-size: 17px; }
.page-hero__media { position: relative; }
.page-hero__media::before { content: ""; position: absolute; inset: 19px -19px -19px 19px; border: 1px solid var(--gold); border-radius: var(--radius-lg); }
.page-hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__media { max-width: 520px; margin-right: 19px; }
  .page-hero__media img { aspect-ratio: 4 / 3; }
}
.checks--cols { grid-template-columns: repeat(2, 1fr); gap: 16px 48px; max-width: 980px; }
.checks--cols li { font-size: 18px; }
@media (max-width: 700px) { .checks--cols { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(22,19,15,.04), 0 10px 30px -18px rgba(22,19,15,.25); }
.faq__item summary { position: relative; padding: 22px 64px 22px 28px; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 28px; font-weight: 400; color: var(--gold); transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 28px 24px; color: var(--ink-soft); font-size: 17px; max-width: 46em; }
.other-services { margin-top: 64px; }
.other-services__title { margin-bottom: 18px; font-family: var(--font-display); font-size: 28px; }
.other-services .cat-tabs { margin-bottom: 0; }
