@font-face {
  font-family: Questrial;
  src: url("assets/questrial.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: Quattrocento;
  src: url("assets/quattrocento.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols";
  src: url("assets/icones.woff2") format("woff2");
  font-display: block;
}

:root {
  --ink: #1a2028;
  --red: #b31a1a;
  --gradient: linear-gradient(135deg, #470a0a, #8f1414);
  --heading: Quattrocento, Georgia, serif;
  --body: Questrial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.48 var(--body); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2rem); }
h3 { font-size: 1.55rem; }
p { margin: .75rem 0 0; }
dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #b31a1a; outline-offset: 5px; }
.site-header :focus-visible,
.site-footer :focus-visible,
.red :focus-visible,
.red-gradient :focus-visible { outline-color: white; }
.skip { position: fixed; inset: 1rem auto auto 1rem; background: #fff; padding: .5rem 1rem; z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .site-footer { background: #000; color: #fff; }
.header-inner {
  min-height: 135px;
  display: grid;
  grid-template-columns: 85px 1fr 85px;
  align-items: center;
}
.brand { justify-self: start; }
.logo { width: 85px; height: 85px; object-fit: contain; }
.site-header ul, .site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-header ul { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); }
.site-header li a {
  display: block;
  padding: .4rem .55rem;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 1.25rem;
}
.site-header li a:hover, .site-header li a[aria-current] { color: #e36565; border-color: var(--red); }

.center { text-align: center; }
.accent { color: var(--red); }
.split { display: grid; align-items: center; grid-template-columns: 1fr 1fr; }
.visual { width: 100%; height: 100%; object-fit: cover; border-radius: .95rem; }
.button {
  display: inline-flex;
  min-height: 46px;
  min-width: 205px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.35rem;
  border-radius: .65rem;
  text-decoration: none;
  color: white;
  background: var(--red);
  font-size: .9375rem;
}
.button:hover { background: #841212; }
.button-light { color: #941515; background: #fff; }
.button-light:hover { background: #fae9e9; }
.red, .red-gradient { color: #fff; }
.red { background: var(--red); }
.red-gradient { background: var(--gradient); }
.panel {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  border-radius: 20px;
  box-shadow: 0 8px 22px #00000019;
}

.home-hero {
  grid-template-columns: 1fr .84fr;
  gap: clamp(2rem, 7vw, 5.8rem);
  padding-block: 50px 30px;
}
.home-hero .visual { aspect-ratio: 560 / 457; }
.hero-copy { text-align: center; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-actions, .service-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.5rem; }
.hero-actions .button { min-width: 170px; }
.button-outline { background: #fff; color: var(--red); border: 1px solid currentColor; }
.button-outline:hover { background: #fae9e9; }
.home-services { padding: 47px 0 28px; margin-bottom: 27px; }
.home-services h2, .benefits h2, .billing h2 { font-size: 1.625rem; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
.compact { max-width: 720px; margin: 45px auto 0; gap: 35px 72px; }
.feature h3 { margin: .65rem 0 .55rem; }
.feature p { margin: 0; }
.icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--red);
  background: #f6f6f6;
  font: 2rem/1 "Material Symbols", sans-serif;
  font-feature-settings: "liga";
  white-space: nowrap;
  overflow: hidden;
}
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.white-cards { max-width: 1040px; margin: 26px auto 0; gap: 23px; }
.white-cards .feature {
  background: #fff;
  color: var(--ink);
  border-radius: 11px;
  padding: 15px 14px 22px;
  box-shadow: 0 8px 16px #0000001a;
}
.white-cards h3 { color: var(--red); }
.rhythm { padding: 25px 0; }
.rhythm .feature { min-height: 176px; }
.remote { margin-block: 10px 27px; padding-block: 20px; }
.remote .split { grid-template-columns: 1fr .86fr; gap: clamp(2rem, 6vw, 5rem); }
.remote .visual { aspect-ratio: 560 / 408; border-radius: .55rem; }
.remote p + p, .services-hero p + p { margin-top: .25rem; }
.collaboration { padding: 24px 0 30px; }
.collaboration h2, .service-contact h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.collaboration > .wrap > p { margin-top: 1.6rem; font-size: 1.125rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.steps strong { display: block; margin-top: .65rem; }
.steps p { margin-top: .2rem; }
.benefits { padding: 20px 0 44px; }
.benefits .compact { margin-top: 24px; }
.background { padding: 22px 0 25px; }
.background .button { margin-top: 2.5rem; min-width: 230px; }
.home-contact { background: #f7f7f7; padding: 25px 0; }
.home-contact .split { grid-template-columns: 1.6fr 1fr; gap: 2rem; }
.home-contact p { margin-top: 1.35rem; }

.services-hero {
  max-width: 980px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
  gap: clamp(2rem, 9vw, 7.5rem);
  padding-block: 50px;
}
.services-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2rem); margin-bottom: 2.5rem; }
.services-hero .visual { aspect-ratio: 350 / 438; border-radius: .42rem; }
.billing { padding: 47px 0 46px; }
.billing .feature { min-height: 152px; }
.organisation { max-width: 880px; padding-block: 50px; gap: clamp(2rem, 6vw, 5rem); }
.organisation .visual { aspect-ratio: 407 / 446; border-radius: .55rem; }
.organisation dl { margin-top: 1.25rem; }
.organisation dt { color: var(--red); font-weight: 700; margin-top: .65rem; }
.formalities { padding: 45px 0; }
.rows { display: block; margin-top: 1.1rem; border-top: 1px solid #fff9; }
.rows .feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  column-gap: 1.35rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid #fff9;
  text-align: left;
}
.rows .icon { grid-row: span 2; }
.rows h3 { margin: 0; font: 700 1.1rem/1.4 var(--body); }
.documents { padding-block: 48px; }
.documents p + p { margin-top: 1.5rem; }
.carousel { max-width: 480px; margin: 2rem auto 0; }
.slides { display: grid; gap: 1rem; }
.slide { display: grid; justify-items: center; position: relative; }
.slide[hidden], .carousel-controls[hidden] { display: none; }
.slide img { width: min(100%, 300px); }
.carousel.is-ready .slide img { height: min(425px, 118vw); object-fit: contain; }
.slide figcaption { margin-top: .5rem; font-weight: 700; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .7rem; }
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--red);
  border: 1px solid #d9aaaa;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.carousel-controls button:hover { background: #f9eded; }
.service-contact { padding: 50px 0; }
.service-contact p { margin-top: 1rem; font-size: 1.125rem; }
.service-actions .button { min-width: 205px; }

.site-footer { padding-block: 60px 54px; font-size: .9375rem; }
.footer-inner { max-width: 1030px; }
.footer-columns { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 2.5rem; }
.site-footer h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1.1rem; }
.footer-logo { display: block; width: fit-content; margin: 2rem auto 0; }
.footer-logo .logo { width: 123px; height: 123px; }
.site-footer nav { text-align: center; }
.site-footer li a { display: inline-block; padding: .48rem .3rem; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: #e36565; }
.contact-line { display: flex; align-items: flex-start; gap: .55rem; overflow-wrap: anywhere; }
.contact-line .icon { width: 32px; height: 32px; font-size: 1.2rem; }
.footer-baseline { margin-top: .6rem; border-top: 2px solid var(--red); padding-top: .45rem; text-align: center; }

@media (max-width: 800px) {
  .header-inner { grid-template-columns: auto 1fr; gap: 1rem; min-height: 100px; }
  .logo { width: 65px; height: 65px; }
  .site-header ul { gap: .4rem .7rem; }
  .site-header li a { font-size: 1.05rem; padding: .2rem .35rem; }
  .home-hero, .remote .split, .services-hero, .organisation { gap: 1.6rem; }
  .home-contact .split { grid-template-columns: 1.5fr 1fr; }
  .footer-columns { gap: 1rem; }
}

@media (max-width: 610px) {
  .wrap, .panel { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr; justify-items: center; gap: .5rem; padding-block: .8rem; }
  .brand { justify-self: center; }
  .site-header li a { font-size: 1rem; }
  .split, .remote .split, .home-contact .split { grid-template-columns: 1fr; }
  .home-hero, .services-hero, .organisation { padding-block: 30px; }
  .home-hero .hero-copy { grid-row: 1; }
  .home-hero .visual, .remote .visual, .organisation .visual, .services-hero .visual { height: auto; max-height: 390px; }
  .services-hero .visual { width: min(100%, 350px); justify-self: center; }
  .services-hero h1 { margin-bottom: 1rem; }
  .three, .steps, .footer-columns { grid-template-columns: 1fr; }
  .steps { gap: 1.15rem; }
  .features { gap: 1.5rem .8rem; }
  .compact { margin-top: 1.5rem; }
  .feature h3 { font-size: 1.2rem; }
  .white-cards .feature { min-height: auto; }
  .rows .feature { padding-inline: 0; column-gap: .6rem; }
  .footer-columns { gap: 1.5rem; text-align: center; }
  .site-footer li { display: inline; }
  .contact-line { justify-content: center; }
  .site-footer { padding-block: 35px; }
}

.page-intro { padding: 48px 0 35px; }
.page-intro p { font-size: 1.125rem; }
.forfaits { padding-block: clamp(2rem, 5vw, 3rem); }
.forfaits .feature h3 { color: var(--ink); }
.forfaits .button { margin-top: 1.5rem; }
.tarifs-missions { padding-block: clamp(2.3rem, 5vw, 4rem); }
.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.8rem;
}
.missions-grid article { border-top: 2px solid #b31a1a; padding-top: 1rem; }
.missions-grid h3, .creation-list h3 { font-size: 1.45rem; }
.creation-list article, .tarifs-projet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 1rem 2rem;
}
.tarifs-ponctuels { padding-block: clamp(2rem, 5vw, 3.5rem); }
.ponctuels-table { margin-top: 1rem; border: 1px solid #ffffff70; border-radius: .85rem; overflow: hidden; }
.ponctuels-table table { width: 100%; table-layout: fixed; border-collapse: collapse; overflow-wrap: anywhere; }
.ponctuels-table th, .ponctuels-table td { padding: clamp(.7rem, 2.5vw, 1.45rem); text-align: left; vertical-align: top; }
.ponctuels-table th { background: #0003; border-bottom: 1px solid #ffffff70; font: 700 1.35rem/1.2 var(--heading); }
.ponctuels-table td { background: #fff; color: var(--ink); }
.ponctuels-table th + th { border-left: 1px solid #ffffff70; }
.ponctuels-table td + td { border-left: 1px solid #e5d5d1; }
.ponctuels-table td p { margin: 0; }
.ponctuels-table ul { margin: .7rem 0 0; padding-left: 1.15rem; }
.ponctuels-table li + li { margin-top: .4rem; }
.ponctuels-contact { margin-top: .9rem; }
.tarifs-action { text-align: right; }
.tarifs-action a { color: #941515; }
.tarifs-amount { margin: 0 0 .25rem; color: #941515; }
.tarifs-amount strong { font: 700 1.9rem/1.14 var(--heading); }
.tarifs-creation { background: #fff; padding-block: clamp(2rem, 5vw, 3.5rem); }
.creation-list { margin-top: 1rem; }
.creation-list article { padding-block: 1.4rem; border-top: 1px solid #d9d4d3; }
.creation-list article:last-child { padding-bottom: 0; }
.creation-list ul { margin-bottom: 0; padding-left: 1.2rem; }
.tarifs-projet { padding-block: clamp(2rem, 5vw, 3.5rem); }
.tarifs-projet p { max-width: 65ch; }

.catalogue-group { padding-block: clamp(1.5rem, 4vw, 3rem); }
.catalogue-grid { gap: 1rem; margin-top: 1.15rem; }
.catalogue-grid .feature { text-align: left; }
.catalogue-grid:not(.white-cards) .feature {
  padding: 1.25rem;
  border: 1px solid #e5d5d1;
  border-radius: .85rem;
  background: #fff;
}
.catalogue-grid .feature h3 { margin: 0 0 .55rem; font-size: 1.4rem; }
.catalogue-exemples { display: inline-block; margin-top: 1rem; color: var(--red); }
.catalogue-volumes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: .85rem 0 0;
}
.catalogue-volumes li { padding: .25rem .65rem; border: 1px solid #e5d5d1; border-radius: .45rem; }
.catalogue-tableurs { background: #f7f7f7; }

.contact-content { width: min(1000px, calc(100% - 2rem)); margin-bottom: 3.5rem; padding: clamp(1.4rem, 5vw, 3rem); }
.contact-content { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 2rem; }
.contact-action { display: grid; justify-items: center; gap: .85rem; text-align: center; }
.contact-action a { overflow-wrap: anywhere; }

@media (max-width: 610px) {
  .contact-content, .forfaits .features, .missions-grid, .catalogue-grid,
  .creation-list article, .tarifs-projet { grid-template-columns: 1fr; }
  .tarifs-action { text-align: left; }
  .tarifs-projet .button { justify-self: start; }
  .page-intro { padding-top: 32px; }
}

.legal-content { max-width: 780px; padding-bottom: 3.5rem; overflow-wrap: anywhere; }
.legal-content h2:not(:first-child) { margin-top: 2rem; }
.footer-legal { margin: .75rem 0 0; text-align: center; font-size: .9rem; }
.contact-privacy { font-size: .9rem; }
