@charset "UTF-8";

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}


@font-face {
  font-family: Instrument;
  src: url("fonts/instrument-serif-italic.woff") format("woff");
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fcfaf5;
  --white: #fff;
  --ink: #12253d;
  --text: #333f4e;
  --muted: #394b60;
  --line: #c8ced4;
  --blue: #164fb7;
  --blue-deep: #1647a0;
  --blue-mist: #eef3fb;
  --error: #9c2323;
  --focus: #1147a5;
  --radius: 1rem;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --section: clamp(3rem, 5vw, 5rem);
  --gutter: min(7vw, clamp(1.25rem, 5.1vw, 5rem));
  --sans: Manrope, Arial, sans-serif;
  --heading: Archivo, Arial, sans-serif;
  --display: Instrument, Georgia, serif;
  --title: clamp(2.2rem, 5.25vw, 4.65rem);
  --subtitle: clamp(1.9rem, 4vw, 3.7rem);
  --columns: repeat(2, minmax(0, 1fr));
  --speed: 160ms;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  scroll-padding-block-start: 1rem;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.wrap { width: min(100% - var(--gutter) - var(--gutter), 77rem); margin-inline: auto; }
.section-pad { padding-block: var(--section); }

img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

h3 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); }
h3 { font-family: var(--heading); font-weight: 550; line-height: 1.17; letter-spacing: -.035em; }
p { overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary, select { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { color: #fff; background: #3047a3; }
.sr-only, .skip:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus-visible { position: fixed; left: 1rem; top: 1rem; z-index: 5; background: var(--white); padding: .75rem 1rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: .76rem 1.4rem; border: 1px solid transparent; border-radius: 2rem;
  text-decoration: none; font-size: .94rem; line-height: 1.35; font-weight: 750;
  transition: color var(--speed), background-color var(--speed), border-color var(--speed);
}
.button:disabled { opacity: .65; cursor: default; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-deep); }
.service-link, .text-button { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }

.service-link { color: var(--blue-deep); text-underline-offset: .28em; }

.eyebrow { color: var(--blue-deep); display: flex; align-items: center; gap: .7rem; }

p, dd { color: var(--text); }

section[id] { scroll-margin-block-start: 1rem; }

.portfolio-bar, .footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line);
}
.portfolio-signature {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
}
.wordmark {
  font: 740 clamp(1.55rem, 3vw, 2rem)/1.15 var(--heading);
  letter-spacing: -.055em; word-spacing: -.04em;
}
.wordmark span {
  color: var(--blue); font: italic 1.22em/1 var(--display); letter-spacing: -.025em;
}
nav { display: flex; align-items: center; gap: clamp(.7rem, 2.2vw, 2.3rem); }
nav a, .footer-bar a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .94rem; font-weight: 650; text-decoration: none;
}
nav a:hover, .footer-bar a:hover { color: var(--blue); text-decoration: underline; }

body { overflow-wrap: anywhere; }
.wrap :where(div, article, figure, form, section, picture, nav, p, h1, h2, h3, li, a, button) { min-width: 0; }
.wrap :is(button, a, input, textarea, summary) { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button { gap: .8rem; text-align: center; }
.button:active { box-shadow: inset 0 0 0 2px currentColor; }
.portfolio-bar, .footer-bar, nav, .switch, .hero-actions { flex-wrap: wrap; }
nav a { font-size: 1rem; min-width: 44px; justify-content: center; }
.nav-contact, summary:hover, .secondary:hover { color: var(--blue-deep); }
.eyebrow, .category {
  font: 650 .82rem/1.5 var(--heading); letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-deep);
}
h1, h2 { font: 560 var(--subtitle)/1.08 var(--heading); letter-spacing: -.052em; }
h1 { font-size: var(--title); line-height: 1.02; margin: 1.55rem 0; text-wrap: wrap; }
h2 { margin: .85rem 0 1.6rem; }
h1 em, h2 em { font: italic 1.23em/1 var(--display); letter-spacing: -.025em; color: var(--blue); }
h1 em { display: block; }

/* Présentation */
.hero {
  display: grid; grid-template-columns: minmax(0,1.64fr) minmax(0,1fr);
  align-items: center; gap: 4%; padding-block: var(--section);
}
.person { font-size: 1.15rem; font-weight: 800; }
.person small { display: block; font-size: .94rem; color: var(--muted); font-weight: 550; }
.intro, .lead { max-width: 48ch; color: var(--muted); font-size: clamp(1.05rem,1.35vw,1.23rem); }
.hero-actions { display: flex; align-items: center; gap: .5rem 1.2rem; margin-top: 2rem; }
.hero-actions a { font-size: 1rem; padding-block: .85rem; }
.secondary { font-weight: 700; }
.portrait img { width: 100%; height: auto; border-radius: 48% 48% 1rem 1rem; filter: saturate(.8); }
.portrait figcaption { text-align: center; font-size: .95rem; }
.portrait a, .enlarge span { display: inline-block; padding-block: .7rem; }

/* Réalisations */
#projets { background: var(--blue-mist); }
.projects, .offers, .about, .contact-grid {
  display: grid; grid-template-columns: var(--columns); gap: var(--gap);
}
.projects { margin-top: 2rem; }
.case { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 1.5rem; }
.case h3 { margin: .65rem 0 1rem; }
.case p + p, .case .service-link { margin-top: .9rem; }
.showcase { padding: 5% 5% 1rem; border-radius: var(--radius); background: #d5e2f8; text-align: center; }
.case + .case .showcase { background: #dbe4ee; }
.enlarge { display: block; font-weight: 700; color: var(--blue-deep); }
.enlarge img { width: 100%; height: auto; aspect-ratio: 1488/1100; object-fit: contain; border-radius: .45rem; }
.enlarge span { text-decoration: underline; }
.enlarge:hover span { text-decoration-thickness: 2px; }
.switch { display: flex; justify-content: center; gap: .5rem; }
.switch button {
  padding: .52rem .85rem; min-height: 44px; font-size: .94rem; font-weight: 700;
  color: var(--ink); background: white; border-radius: 2rem; border: 1px solid var(--muted);
}
.switch button:hover { border-color: var(--blue); }
.switch [aria-pressed=true] {
  color: white; background: var(--blue); text-decoration: underline; text-underline-offset: .25em;
}

/* Mandats */
#services { border-bottom: 1px solid var(--line); }
.offers { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 2rem; }
.offers { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.offers svg { width: 2rem; height: 2rem; color: var(--blue); margin-bottom: 1rem; }
.offers h3 h3 { font-size: 1.48rem; margin-bottom: .75rem; }
.more { margin: 3rem 0 1rem; }
.service-catalog { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem .25rem; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font: 1.55rem var(--heading); }
details[open] summary::after { content: "−"; }
details dl { max-width: 66ch; padding: 0 .25rem 1.5rem; }
dt { font-weight: 750; margin-top: .8rem; }
dd { margin: .2rem 0; }
.lead { max-width: 62ch; }

/* Tarifs */
#tarifs { max-width: 69.5rem; padding-top: clamp(1.6rem,3vw,3rem); overflow-wrap: anywhere; }
#price-title { font-size: clamp(2.45rem,5vw,4.5rem); margin-bottom: 1rem; }
#tarifs .filters { display:flex; flex-wrap:wrap; gap:.4rem; margin:1.35rem 0; }
#tarifs button { color:var(--blue); background:transparent; font-weight:750; min-height:44px; padding:.55rem .8rem; border:none; }
#tarifs button:hover { text-decoration:underline; }
#tarifs .filters button { color:inherit; border:1px solid #8996a6; border-radius:2rem; font-size:.9rem; padding-inline:1rem; }
#tarifs button[aria-pressed=true] { color:white; background:var(--ink); border-color:var(--ink); }
#tarifs .grid { display:grid; grid-template-columns:var(--columns); align-items:start; gap:1.25rem; margin-top:1.5rem; }
#tarifs .card { background:white; border:1px solid var(--line); border-radius:1rem; padding:1.625rem 1.8rem; }
#tarifs summary { list-style:none; gap:1rem; padding:1.2rem 0; font-weight:500; }
#tarifs summary::after { content:none; }
#tarifs .card summary { display:block; padding:0; }
#tarifs .plus::after { content:"+"; color:var(--blue); font:1.65rem var(--heading); }
#tarifs details[open] .plus::after { content:"−"; }
#tarifs .name, #tarifs .price { font:600 1.5rem/1.12 var(--heading); letter-spacing:-.04em; }
#tarifs .name { flex:1; }
#tarifs .card .name { display:flex; align-items:center; gap:.85rem; font-size:1.82rem; }
#tarifs svg { width:2rem; height:2rem; flex:none; fill:none; stroke:var(--blue); stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
#tarifs .desc { display:block; margin:.875rem 0 1.25rem; color:var(--text); }
#tarifs .rates { display:flex; gap:1.5rem; border-top:1px solid var(--line); padding-top:1.1rem; }
#tarifs .rates > span + span { border-left:1px solid var(--line); padding-left:1.5rem; }
#tarifs :is(.label,small) { font:600 .875rem/1.45 var(--sans); color:var(--muted); letter-spacing:normal; }
#tarifs .price { display:block; margin:.2rem 0; }
#tarifs [data-price] { font-weight:610; white-space:nowrap; }
#tarifs .card .price { font-size:2.625rem; }
#tarifs .monthly { color:var(--blue); }
#tarifs :is(.more,.line,.bar) { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
#tarifs .more { color:var(--blue); font-weight:750; margin-top:1.1rem; padding-top:.85rem; border-top:1px solid var(--line); }
#tarifs .body { max-width:76ch; padding-bottom:1rem; }
#tarifs .card .body { padding:1.125rem 0 0; }
#tarifs .body p, #tarifs .body ul { margin:.4rem 0 .8rem; }
#tarifs ul { padding-left:1.35rem; }
#tarifs li::marker { color:var(--blue); }
#tarifs .body a { display:flex; width:fit-content; margin-top:1.1rem; border-radius:.6rem; }
#tarifs .bar, #tarifs .group, #tarifs .custom { margin-top:2.5rem; }
#tarifs .group h4 { font:580 1.6rem var(--heading); letter-spacing:-.035em; margin:0 0 .9rem; }
#tarifs .terms { background:#eef3fb; border-radius:1rem; padding:1.75rem; margin:2.4rem 0; }
#tarifs .line { padding:.7rem 0; border-bottom:1px solid #c4cfdc; flex-wrap:wrap; }
#tarifs .terms p, #tarifs > p { margin-top:1rem; }
.custom { border-top:1px solid var(--line); padding-top:2rem; }
.custom h3 { font-size:1.55rem; }
.custom p { margin:.75rem 0 1.25rem; max-width:65ch; }
@media (max-width:48rem) {
  #tarifs .grid { grid-template-columns:1fr; gap:.875rem; }
  #tarifs .card, #tarifs .terms { padding:1.1rem; }
  #tarifs .card .name { font-size:1.5rem; }
  #tarifs .card .price { font-size:2.1rem; }
  #tarifs .rates { gap:.75rem; }
  #tarifs .rates > span + span { padding-left:.75rem; }
  #tarifs .row summary { display:grid; grid-template-columns:1fr auto; gap:.35rem; }
  #tarifs .row .plus { grid-area:1/2/3/3; }
  #tarifs .row :is(.name,.price) { font-size:1.25rem; }
  #tarifs .body a { width:100%; }
  #tarifs .filters button { padding-inline:.75rem; }
}
@media (max-width:23rem) {
  #tarifs .card { padding:.85rem; }
  #tarifs .card .price { font-size:1.72rem; }
}

.about, .contact-grid { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); column-gap: 6%; border-top: 1px solid var(--line); }
.about h2 { max-width: 14ch; }
.timeline { list-style: none; margin: 0 0 0 .35rem; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.3rem 1.4rem; border-left: 1px solid #8898bf; }
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; top: .35rem; left: -.35rem; width: .6rem; height: .6rem;
  border: 2px solid var(--blue); border-radius: 50%; background: #f1f3f5;
}
.timeline h3 { font-size: 1.08rem; letter-spacing: -.012em; }
.timeline p { margin-top: .25rem; }
.contact-copy > p:not(.eyebrow) { margin-block: 1.3rem .2rem; max-width: 35rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 450; }
input, textarea {
  display: block; width: 100%; min-width: 0; color: var(--ink); background: var(--white);
  border: 1px solid #727f91; border-radius: .35rem; padding: .68rem .82rem; line-height: 1.5;
}
textarea { resize: vertical; }
::placeholder { color: #566270; opacity: 1; }
.help { margin: .4rem 0 .95rem; color: var(--muted); font-size: .94rem; }
.draft { padding: clamp(1rem, 2.2vw, 2rem); border: 1px solid var(--line); border-radius: .4rem; }
.draft textarea { margin: 1.1rem 0; }
.draft .text-button {
  background: transparent; border: 0; color: var(--blue); padding: .5rem .25rem; text-decoration: underline;
}
.draft .button { margin-right: .65rem; }
.mandate { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .95rem; }
footer { background: var(--ink); color: white; }
.footer-bar { border: 0; }
.footer-bar .wordmark { font-size: 1.55rem; }
.footer-bar .wordmark span { color: #a9caff; }
.footer-bar a:hover { color: white; }
.footer-bar a:focus-visible { outline-color: white; }

#mandate-choice { padding: .8rem; margin-bottom: 1rem; background: var(--blue-mist); }
#mandate-choice button { background: transparent; border: 0; color: var(--blue-deep); text-decoration: underline; min-height: 44px; }

.error { color: var(--error); margin-top: .35rem; font-weight: 650; }
[aria-invalid=true] { border: 2px solid var(--error); }
.draft button { min-height: 44px; }
.draft button:hover { text-decoration-thickness: 2px; }
#copy-status:not(:empty) { display: block; font-weight: 700; }
@media (max-width: 60rem) {
  .portfolio-bar { justify-content: center; gap: .5rem 2rem; }
  .offers, .pair { grid-template-columns: minmax(0,1fr); }
  .pair { gap: 0; }
  .hero { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
}
@media (max-width: 46rem) {
  :root { --title: clamp(2.05rem,10.3vw,4rem); }
  .portfolio-bar { padding-block: .6rem; gap: .2rem; flex-direction: column; }
  nav { justify-content: center; gap: .1rem .8rem; }
  nav a { font-size: .91rem; }
  .hero { grid-template-columns: min(21vw,5rem) minmax(0,1fr); gap: 0 1rem; padding-block: 2rem 2.6rem; }
  .hero-copy, .portrait { display: contents; }
  .portrait picture { grid-area: 1 / 1; }
  .portrait img { border-radius: 50%; }
  .portrait figcaption { display: none; }
  .person { grid-area: 1 / 2; font-size: 1.05rem; }
  .person small { font-size: .9rem; }
  .hero :is(h1,.intro,.hero-actions) { grid-column: 1 / -1; }
  .hero-actions { gap: .4rem 1rem; margin-top: 1.45rem; }
  .hero-actions a { font-size: .96rem; padding-block: .72rem; }
  .hero-actions .primary { padding-inline: .85rem; }
  .projects, .about, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .case { display: block; grid-row: auto; }
  .showcase { margin-bottom: 1.35rem; }
}
@media (max-width: 23rem) {
  .portfolio-bar { width: 96%; }
  nav { gap: .3rem; }
  nav a { font-size: .88rem; }
  .switch button { padding-inline: .55rem; }
  .hero-actions { gap: .3rem .65rem; }
  .hero-actions a { font-size: .9rem; }
  .hero-actions .primary { gap: .4rem; padding-inline: .7rem; }
}
@media (forced-colors: active) {
  .button, [aria-invalid=true] { border-color: ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --speed: 0s; }
}

/* Language links remain available without JavaScript. */
.languages {
  display: inline-flex; align-items: center; padding: 2px;
  border: 1px solid var(--line); border-radius: 2rem;
}
.languages a {
  display: grid; place-items: center; min-width: 44px; min-height: 44px;
  padding: .25rem; border-radius: 2rem; color: var(--ink);
  font: 650 .9rem/1.2 var(--sans); text-decoration: none;
}
.languages a:hover { text-decoration: underline; text-underline-offset: .2em; }
.languages [aria-current] { background: var(--ink); color: white; text-decoration: underline; text-underline-offset: .2em; }
#language-error { flex-basis: 100%; color: var(--error); }
@media (max-width: 60rem) {
  .portfolio-bar { flex-direction: row; justify-content: space-between; gap: .25rem; }
  .portfolio-bar nav { order: 3; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 23rem) {
  .wordmark { font-size: 1.4rem; }
}

.alternate { display: flex; background: transparent; border: 0; padding: .55rem 0; color: var(--blue); text-decoration: underline; }
#send-status:empty { margin: 0; }
#prepare:disabled { cursor: wait; }
#accepted p { margin-block: 1rem; }

/* Group the details of each offer without changing its native disclosure control. */
#tarifs .offer-points {
  display: grid;
  gap: 1rem 1.5rem;
  padding: clamp(.875rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
}
#tarifs .row .offer-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#tarifs .offer-point-group { min-width: 0; }
#tarifs .offer-point-group ul { margin: .4rem 0 0; }
#tarifs .offer-point-group li + li { margin-top: .3rem; }
@media (max-width: 48rem) {
  #tarifs .row .offer-points { grid-template-columns: minmax(0, 1fr); }
}

#tarifs .extra-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 1rem;
}
#tarifs .extra-group h4 {
  color: var(--blue-deep);
  font: 650 1.1rem/1.3 var(--heading);
  margin: 0;
}
#tarifs .extra-group ul { list-style: none; padding: 0; margin: .5rem 0 0; }
#tarifs .extra-group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding: .8rem 0;
  border-top: 1px solid #c4cfdc;
}
#tarifs .extra-name { flex: 1 1 12rem; min-width: 0; }
#tarifs .extra-name span { display: block; font-size: .925rem; }
#tarifs .extra-price { color: var(--blue-deep); white-space: nowrap; }
#tarifs .terms > p { border-top: 1px solid #c4cfdc; padding-top: .9rem; font-size: .9rem; }
@media (max-width: 48rem) {
  #tarifs .extra-groups { grid-template-columns: minmax(0, 1fr); }
}

#tarifs .bar + .group { margin-top: .65rem; }
#tarifs .group {
  border: 1px solid var(--line);
  border-radius: .65rem;
  margin-top: .5rem;
  padding: 0 clamp(.75rem, 2vw, 1.25rem);
}
#tarifs .category-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 3rem;
  padding: .6rem 0;
  font-weight: 650;
}
#tarifs .category-count { font-size: .875rem; color: var(--blue-deep); }
#tarifs .group .row summary { padding: .75rem 0; }
#tarifs .group .row :is(.name,.price) { font-size: clamp(1rem, 2vw, 1.2rem); }
#tarifs details[open] > summary .plus::after { content: "−"; }
#tarifs details:not([open]) > summary .plus::after { content: "+"; }
