:root {
  --bg: #f9faf2;
  --ink: #151515;
  --pink: #ff4aa2;
  --blue: #4d73ff;
  --yellow: #ffd93d;
  --shadow: 0 12px 0 #111;
  --radius-xl: 34px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(212, 255, 232, 0.92), transparent 24%),
    radial-gradient(circle at top right, rgba(168, 194, 255, 0.86), transparent 34%),
    linear-gradient(180deg, #f9fff6 0%, #fffef7 56%, #fff7fa 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.65;
}

body::before {
  top: -90px;
  left: -40px;
  background: rgba(212, 255, 232, 0.95);
}

body::after {
  right: -80px;
  bottom: -80px;
  background: rgba(198, 184, 255, 0.8);
}

.site-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.site-header,
.hero-panel,
.intro-card,
.nav-section,
.page-card,
.info-card,
.site-footer {
  border: 4px solid #111;
  box-shadow: var(--shadow);
}

.site-header {
  position: relative;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.site-status {
  position: absolute;
  top: 6px;
  right: 0;
  margin: 0;
  padding: 8px 14px;
  border: 2px solid rgba(228, 88, 106, 0.36);
  border-radius: 999px;
  background: rgba(255, 243, 245, 0.88);
  color: #d64c66;
  font-family: "Nunito", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.header-image-only {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-image-only img {
  display: block;
  width: min(30%, 630px);
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.68;
}

.home-page .site-header {
  display: flex;
  justify-content: center;
}

.landing-main {
  position: relative;
  margin-top: 12px;
}

.image-hub {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(250px, 0.9fr) minmax(220px, 1fr);
  grid-template-areas:
    "presentation logo service"
    "tarifs logo contact"
    ". temoignage .";
  align-items: center;
  gap: 12px 34px;
  min-height: 62vh;
  padding: 12px 8px 20px;
}

.image-hub__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 220ms ease, filter 220ms ease;
}

.image-hub__item img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(37, 28, 82, 0.2));
}

.image-hub__item:hover,
.image-hub__item:focus-visible {
  transform: translateY(-8px) scale(1.02);
}

.image-hub__item--logo:hover,
.image-hub__item--logo:focus-visible {
  transform: none;
}

.image-hub__item:not(button) {
  cursor: default;
}

.image-hub__item[type="button"] {
  cursor: pointer;
}

.image-hub__item:focus-visible {
  outline: 3px solid rgba(93, 108, 218, 0.8);
  outline-offset: 8px;
  border-radius: 28px;
}

.image-hub__item--presentation {
  grid-area: presentation;
  justify-self: start;
  width: min(100%, 360px);
  transform: rotate(0deg) translateY(10px);
}

.image-hub__item--service {
  grid-area: service;
  justify-self: end;
  width: min(100%, 395px);
  transform: rotate(14deg) translateY(34px);
}

.image-hub__item--logo {
  grid-area: logo;
  align-self: center;
  justify-self: center;
  width: min(100%, 360px);
}

.image-hub__item--logo img {
  border-radius: 50%;
}

.image-hub__item--tarifs {
  grid-area: tarifs;
  justify-self: center;
  width: min(100%, 300px);
  transform: rotate(-6deg) translateX(-18px);
}

.image-hub__item--contact {
  grid-area: contact;
  justify-self: center;
  width: min(100%, 295px);
  transform: rotate(-8deg) translateX(18px);
}

.image-hub__item--temoignage {
  grid-area: temoignage;
  justify-self: center;
  width: min(100%, 330px);
  transform: rotate(-3deg) translateY(-6px);
}

.inline-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px 22px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 80ms ease, visibility 80ms ease;
}

.inline-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.inline-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.inline-panel__card {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 34px));
  height: auto;
  max-height: calc(100dvh - 42px);
  overflow: auto;
  padding: 36px 42px 40px;
  border: 4px solid rgba(112, 76, 219, 0.42);
  border-radius: 32px;
  box-shadow: 0 12px 0 rgba(95, 72, 198, 0.22);
  background:
    radial-gradient(circle at top left, rgba(184, 255, 223, 0.72), transparent 30%),
    radial-gradient(circle at top right, rgba(180, 202, 255, 0.62), transparent 36%),
    linear-gradient(135deg, rgba(255, 251, 245, 0.97), rgba(252, 242, 248, 0.95));
  transform: translateY(18px) scale(0.98);
  transition: transform 140ms ease;
}

.inline-panel.is-open .inline-panel__card {
  transform: translateY(0) scale(1);
}

.inline-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(112, 76, 219, 0.4);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 245, 253, 0.96), rgba(232, 243, 255, 0.94));
  box-shadow: 0 8px 0 rgba(95, 72, 198, 0.16);
  color: #8b6af0;
  font-family: "Bungee", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.inline-panel__close:hover,
.inline-panel__close:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 11px 0 rgba(95, 72, 198, 0.2);
}

.inline-panel__scroll-hint {
  display: none;
}

.inline-panel__content {
  display: none;
}

.inline-panel__content.is-active {
  display: block;
}

.inline-panel__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 14px 8px;
  border: 2px solid rgba(168, 122, 236, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #b06cff;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
  text-shadow: 1px 1px 0 rgba(255, 212, 72, 0.38);
}

.inline-panel h2 {
  margin: 0 0 12px;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #8b6af0;
  text-shadow: 2px 2px 0 rgba(255, 212, 72, 0.55);
}

.inline-panel p:last-child {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4b3f7e;
}

.inline-panel__content p {
  margin-top: 0;
  color: #4b3f7e;
  line-height: 1.8;
}

.inline-panel__content p + p {
  margin-top: 12px;
}

.service-list__title {
  margin: 24px 0 10px;
  color: #8b6af0;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  line-height: 1.1;
  text-shadow: 1px 1px 0 rgba(255, 212, 72, 0.38);
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
  color: #4b3f7e;
  font-weight: 800;
  line-height: 1.5;
}

.service-list li::marker {
  color: #ff8b70;
}

.presentation-portrait {
  float: right;
  width: 300px;
  margin: 0 0 18px 28px;
  padding: 10px;
  border: 3px solid rgba(142, 108, 235, 0.34);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 245, 253, 0.92), rgba(228, 243, 255, 0.9));
  box-shadow: 0 10px 0 rgba(95, 72, 198, 0.14);
}

.presentation-portrait--mobile {
  display: none;
}

.presentation-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.tarifs-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 18px;
}

.tarifs-summary__card,
.tarifs-distance {
  padding: 14px 16px;
  border: 2px solid rgba(142, 108, 235, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
}

.tarifs-summary__label,
.tarifs-distance__title {
  display: block;
  margin-bottom: 6px;
  color: #6f46d9;
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  font-weight: 700;
}

.tarifs-summary__card strong {
  color: #4b3f7e;
  font-size: 1.15rem;
}

.tarifs-table-shell {
  position: relative;
}

.tarifs-table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 2px solid rgba(142, 108, 235, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.tarifs-table-hint {
  display: none;
}

.tarifs-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #4b3f7e;
}

.tarifs-table th,
.tarifs-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(142, 108, 235, 0.16);
}

.tarifs-table th {
  background: rgba(168, 194, 255, 0.22);
  color: #6f46d9;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tarifs-table__hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.tarifs-table tbody tr:nth-child(even) {
  background: rgba(255, 244, 251, 0.5);
}

.tarifs-table tbody tr:last-child td {
  border-bottom: none;
}

.tarifs-distance {
  margin-top: 2px;
}

.tarifs-distance p {
  margin: 0;
}

.tarifs-distance__table {
  width: 100%;
  border-collapse: collapse;
  color: #4b3f7e;
  font-size: 0.96rem;
}

.tarifs-distance__table--desktop {
  display: none;
}

.tarifs-distance__table th,
.tarifs-distance__table td {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(142, 108, 235, 0.16);
}

.tarifs-distance__table th {
  color: #6f46d9;
  font-family: "Caveat", cursive;
  font-size: 1.16rem;
  font-weight: 700;
}

.tarifs-distance__table tbody td {
  color: #e07a42;
  font-weight: 900;
}

.tarifs-distance__table--desktop th:first-child,
.tarifs-distance__table--desktop td:first-child {
  width: 62%;
  white-space: nowrap;
}

.tarifs-distance__table--mobile {
  display: table;
  table-layout: fixed;
  font-size: 0.82rem;
}

.tarifs-distance__table--mobile th,
.tarifs-distance__table--mobile td,
.tarifs-distance__table--mobile tbody td {
  padding: 7px 3px;
  text-align: center;
  white-space: nowrap;
}

.tarifs-distance__table--mobile th {
  font-size: 0.96rem;
  line-height: 1.05;
}

.tarifs-distance__table tbody tr:last-child td {
  border-bottom: none;
}

.testimonials-section + .testimonials-section {
  margin-top: 26px;
}

.testimonials-heading h3 {
  margin: 0;
  color: #6f46d9;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.testimonials-heading p {
  margin: 10px 0 0;
}

.testimonials-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.testimonial-card,
.testimonial-form {
  padding: 18px 20px;
  border: 2px solid rgba(142, 108, 235, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.testimonial-card {
  border-color: rgba(39, 177, 173, 0.42);
  background: linear-gradient(135deg, rgba(222, 255, 248, 0.9), rgba(225, 242, 255, 0.86));
  box-shadow: 0 10px 22px rgba(39, 177, 173, 0.12);
}

.testimonial-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.testimonial-card__meta strong {
  color: #4b3f7e;
  font-size: 1.02rem;
}

.testimonial-card__meta span {
  color: #8b6af0;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-weight: 700;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-form {
  margin-top: 18px;
}

.testimonial-form__field {
  display: block;
}

.testimonial-form__field + .testimonial-form__field {
  margin-top: 14px;
}

.testimonial-form__field span {
  display: block;
  margin-bottom: 8px;
  color: #6f46d9;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-weight: 700;
}

.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(142, 108, 235, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #4b3f7e;
  font: inherit;
}

.testimonial-form textarea {
  resize: vertical;
  min-height: 140px;
}

.testimonial-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 2px solid rgba(39, 177, 173, 0.24);
  border-radius: 16px;
  background: rgba(222, 255, 248, 0.5);
  color: #4b3f7e;
  cursor: pointer;
}

.testimonial-form__consent input {
  width: 1.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  accent-color: #7e59dc;
}

.testimonial-form__consent span {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.testimonial-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.testimonial-form__footer p {
  margin: 0;
  color: #6d6397;
  font-size: 0.96rem;
}

.testimonial-form__trap {
  display: none;
}

.testimonial-form__status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #6d6397;
  font-weight: 800;
}

.testimonial-form__status.is-success {
  color: #188e80;
}

.testimonial-form__status.is-error {
  color: #d14d65;
}

.contact-section {
  display: grid;
  gap: 20px;
}

.contact-card {
  padding: 20px 22px;
  border: 2px solid rgba(142, 108, 235, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-card h3 {
  margin: 0;
  color: #6f46d9;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-card p {
  margin: 12px 0 0;
}

.contact-mail {
  color: #d64c66;
  font-weight: 900;
  text-decoration: none;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  text-decoration: underline;
}

.contact-form {
  margin-top: 18px;
}

.contact-form__field {
  display: block;
}

.contact-form__field + .contact-form__field {
  margin-top: 14px;
}

.contact-form__field span {
  display: block;
  margin-bottom: 8px;
  color: #6f46d9;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(142, 108, 235, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #4b3f7e;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.contact-form__footer p {
  margin: 0;
  color: #6d6397;
  font-size: 0.96rem;
}

.contact-form__trap {
  display: none;
}

.contact-form__status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #6d6397;
  font-weight: 800;
}

.contact-form__status.is-success {
  color: #188e80;
}

.contact-form__status.is-error {
  color: #d14d65;
}

.hero-panel,
.intro-card,
.nav-section,
.page-card,
.site-footer {
  margin-top: 26px;
  border-radius: var(--radius-xl);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(212, 255, 232, 0.84), rgba(168, 194, 255, 0.86) 72%),
    rgba(255, 255, 255, 0.8);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.hero-panel__content {
  position: relative;
  z-index: 1;
}

.hero-panel__badge,
.section-heading__label,
.info-card__label,
.placeholder-tag,
.modal-kicker {
  display: inline-block;
  padding: 10px 16px;
  border: 3px solid #111;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 900;
  color: #5b54d6;
}

.hero-panel__signature {
  margin: 18px 0 0;
  font-family: "Caveat", cursive;
  font-size: clamp(3.5rem, 8vw, 6.4rem);
  line-height: 0.9;
  color: rgba(162, 140, 232, 0.96);
}

.hero-panel__eyebrow {
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: #5962d0;
}

.hero-panel h2,
.section-heading h2,
.page-card h1,
.modal-content h2 {
  margin: 14px 0 0;
  font-family: "Bungee", sans-serif;
  line-height: 1;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: clamp(1.9rem, 4.8vw, 4.2rem);
  max-width: 820px;
}

.hero-panel__text,
.intro-card p,
.info-card p,
.page-card p,
.scrap__text,
.modal-content p {
  line-height: 1.7;
}

.hero-panel__text {
  max-width: 680px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
}

.hero__actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 4px solid #111;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.button:hover,
.button:focus-visible,
.scrap:hover,
.scrap:focus-visible {
  transform: translateY(-4px) rotate(-1.5deg);
}

.button--dark {
  background: #171717;
  color: #fff;
}

.button--light {
  background: rgba(255, 255, 255, 0.88);
  color: #111;
}

.hero-panel__notes {
  position: relative;
  min-height: 280px;
}

.hero-note {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 4px solid #111;
  box-shadow: var(--shadow);
  font-family: "Bungee", sans-serif;
  font-size: 0.85rem;
  line-height: 1.2;
  text-align: center;
}

.hero-note--blue {
  top: 10px;
  right: 10px;
  width: 180px;
  min-height: 120px;
  border-radius: 28px;
  background: linear-gradient(145deg, #5978ff, #90adff);
  color: #fff;
  transform: rotate(8deg);
}

.hero-note--pink {
  top: 135px;
  left: 10px;
  width: 170px;
  min-height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff4aa2, #ff9ecf);
  color: #fff;
  transform: rotate(-11deg);
}

.hero-note--yellow {
  right: 26px;
  bottom: 8px;
  width: 200px;
  min-height: 95px;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffe16b, #fff0b0);
  transform: rotate(-7deg);
}

.intro-card,
.nav-section,
.page-card {
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.92);
}

.intro-card {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.95));
  font-size: 1.05rem;
}

.section-heading h2,
.page-card h1,
.modal-content h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.scrap-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-bottom: 10px;
}

.scrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 4px solid #111;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
}

.scrap::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -20px;
  bottom: -26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.scrap__pin {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 3px solid #111;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.scrap__title {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scrap--pink {
  grid-column: 1 / span 4;
  border-radius: 34px 24px 34px 20px;
  background: linear-gradient(145deg, #ff5bab, #ffb2d7);
}

.scrap--blue {
  grid-column: 5 / span 3;
  border-radius: 50%;
  min-height: 280px;
  padding: 30px 24px;
  background: linear-gradient(145deg, #5f7eff, #a9bfff);
  color: #fff;
}

.scrap--yellow {
  grid-column: 8 / span 5;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffe161, #fff0ad);
}

.scrap--green {
  grid-column: 2 / span 4;
  border-radius: 22px 38px 22px 38px;
  background: linear-gradient(145deg, #9ae583, #dff9be);
}

.scrap--white {
  grid-column: 6 / span 3;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #eef5ff);
}

.scrap--navy {
  grid-column: 9 / span 4;
  border-radius: 34px 18px 34px 18px;
  background: linear-gradient(145deg, #3f4faa, #7f8ced);
  color: #fff;
}

.scrap--tilt-left {
  transform: rotate(-4deg);
}

.scrap--tilt-right {
  transform: rotate(5deg);
}

.scrap--wide {
  transform: rotate(-2deg);
}

.scrap--tag {
  transform: rotate(3deg);
}

.scrap--ticket {
  transform: rotate(-6deg);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.95));
}

.info-card h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.82);
}

.footer-gauche,
.footer-centre,
.footer-droite {
  flex: 1;
}

.footer-centre {
  text-align: center;
}

.footer-droite {
  text-align: right;
}

.footer-title {
  margin: 0 0 8px;
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem;
  color: #3d3b88;
}

.site-footer p {
  margin: 4px 0;
  line-height: 1.6;
  font-size: 0.82rem;
}

.site-footer a,
.footer-link {
  color: #3f4faa;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #4b69b8 !important;
  font-size: 1.08rem !important;
}

.footer-facebook svg {
  width: 25px;
  height: 25px;
  fill: #4b69b8;
}

.site-social {
  display: flex;
  justify-content: center;
  margin: 2cm 0 22px;
}

.legal-main {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.legal-card {
  padding: clamp(22px, 4vw, 38px);
  border: 3px solid rgba(168, 122, 236, 0.62);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(230, 255, 246, 0.88), rgba(255, 250, 249, 0.92) 48%, rgba(230, 239, 255, 0.9));
  box-shadow: 0 10px 0 rgba(95, 72, 198, 0.13);
}

.legal-card--intro {
  padding-bottom: clamp(28px, 5vw, 46px);
}

.legal-card h1,
.legal-card h2 {
  margin: 0 0 14px;
  color: #8b6af0;
  font-family: "Bungee", sans-serif;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(255, 212, 72, 0.55);
}

.legal-card h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.legal-card h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
}

.legal-card p {
  margin: 0;
  color: #4b3f7e;
  font-weight: 700;
  line-height: 1.8;
}

.legal-card p + p {
  margin-top: 13px;
}

.legal-card a {
  color: #8b6af0;
  font-weight: 900;
}

.legal-placeholder {
  padding: 12px 15px;
  border: 2px dashed rgba(255, 139, 112, 0.7);
  border-radius: 16px;
  background: rgba(255, 244, 239, 0.72);
  color: #a65355 !important;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  line-height: 1.35 !important;
}

/* The footer stays light so it does not compete with the illustrated navigation. */
footer.site-footer {
  border: none;
  box-shadow: none;
  background: transparent;
}

.footer-link {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal-shell.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.42);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 28px));
  margin: min(10vh, 80px) auto 0;
  padding: 28px;
  border: 4px solid #111;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.95));
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-content {
  display: none;
}

.modal-content.is-active {
  display: block;
}

.modal-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-image-only img {
    width: min(46%, 630px);
  }

  .site-status {
    top: 0;
    right: 6px;
    font-size: 0.8rem;
  }

  .image-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "presentation service"
      "logo logo"
      "tarifs contact"
      "temoignage temoignage";
    gap: 10px 18px;
    min-height: auto;
    max-width: 880px;
    margin: 0 auto;
  }

  .image-hub__item--logo {
    width: min(100%, 330px);
  }

  .image-hub__item--presentation,
  .image-hub__item--service,
  .image-hub__item--tarifs,
  .image-hub__item--contact,
  .image-hub__item--temoignage {
    justify-self: center;
  }

  .image-hub__item--presentation,
  .image-hub__item--tarifs,
  .image-hub__item--contact {
    transform: none;
  }

  .image-hub__item--presentation {
    transform: rotate(-2deg) translateY(8px);
  }

  .image-hub__item--service {
    transform: rotate(12deg) translateY(24px);
  }

  .image-hub__item--tarifs {
    transform: rotate(-4deg);
  }

  .image-hub__item--temoignage {
    width: min(100%, 360px);
    transform: rotate(-2deg);
  }

  .inline-panel {
    padding: 18px;
  }

  .inline-panel__card {
    width: min(860px, calc(100% - 40px));
    height: auto;
    max-height: calc(100% - 40px);
    padding: 24px 24px 26px;
  }

  .inline-panel__close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .site-footer {
    flex-direction: column;
  }

  .hero-panel__notes {
    min-height: 220px;
  }

  .scrap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scrap,
  .scrap--pink,
  .scrap--blue,
  .scrap--yellow,
  .scrap--green,
  .scrap--white,
  .scrap--navy {
    grid-column: auto;
  }

  .scrap--blue {
    min-height: 220px;
  }

  .footer-centre,
  .footer-droite {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 14px, 1180px);
    padding-top: 10px;
  }

  .site-header {
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
  }

  .site-status {
    position: static;
    order: 2;
    margin: 10px auto 0;
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .header-image-only {
    order: 1;
  }

  .header-image-only img {
    width: min(66%, 390px);
    opacity: 0.74;
  }

  .landing-main {
    margin-top: 14px;
  }

  .tarifs-distance__table--desktop {
    display: table;
  }

  .tarifs-distance__table--mobile {
    display: none;
  }

  .tarifs-distance__table--desktop th,
  .tarifs-distance__table--desktop td {
    padding: 7px 2px;
    font-size: 0.9rem;
  }

  .tarifs-distance__table--desktop th:first-child,
  .tarifs-distance__table--desktop td:first-child {
    width: 68%;
  }

  .image-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "presentation service"
      "logo logo"
      "tarifs contact"
      "temoignage temoignage";
    gap: 16px 14px;
    padding: 0 0 18px;
  }

  .image-hub__item:hover,
  .image-hub__item:focus-visible {
    transform: none;
  }

  .image-hub__item {
    transition: none;
  }

  .inline-panel {
    inset: 8px 0 0;
    padding: 10px;
  }

  .inline-panel__backdrop {
    border-radius: 26px;
  }

  .inline-panel__card {
    width: calc(100% - 12px);
    height: auto;
    max-height: calc(100% - 20px);
    padding: 18px 18px 20px;
    border-width: 3px;
    border-radius: 24px;
    box-shadow: 0 9px 0 rgba(95, 72, 198, 0.18);
  }

  .inline-panel__close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .inline-panel__scroll-hint {
    position: sticky;
    top: calc(100% - 48px);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: -44px;
    margin-left: auto;
    margin-right: 0;
    border-radius: 50%;
    background: rgba(234, 255, 251, 0.98);
    box-shadow: 0 8px 0 rgba(35, 177, 167, 0.2);
    color: #22b3a8;
    font-family: "Bungee", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 140ms ease, transform 140ms ease;
    pointer-events: none;
  }

  .inline-panel__card.has-scroll-hint .inline-panel__scroll-hint {
    opacity: 1;
    transform: translateY(0);
  }

  .image-hub__item--presentation,
  .image-hub__item--service {
    align-self: end;
  }

  .image-hub__item--presentation {
    width: 100%;
    transform: rotate(-2deg) translateY(6px);
  }

  .image-hub__item--service {
    width: 100%;
    transform: rotate(11deg) translateY(14px);
  }

  .image-hub__item--service:hover,
  .image-hub__item--service:focus-visible,
  .image-hub__item--service:active {
    transform: rotate(11deg) translateY(14px);
  }

  .image-hub__item--logo {
    width: min(55%, 190px);
    margin-top: -8px;
  }

  .image-hub__item--tarifs,
  .image-hub__item--contact {
    width: 100%;
  }

  .image-hub__item--tarifs {
    transform: rotate(-4deg);
  }

  .image-hub__item--temoignage {
    width: min(56%, 190px);
    transform: rotate(-2deg);
    margin-top: 4px;
  }

  .inline-panel__kicker {
    margin-bottom: 8px;
  }

  .inline-panel h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.6rem);
  }

  .inline-panel p:last-child {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .presentation-portrait {
    float: none;
    width: min(260px, 100%);
    margin: 0 auto 16px;
  }

  .presentation-portrait--desktop {
    display: none;
  }

  .presentation-portrait--mobile {
    display: block;
  }

  .tarifs-summary {
    grid-template-columns: 1fr;
  }

  .tarifs-table {
    min-width: 620px;
    font-size: 0.94rem;
  }

  .tarifs-table-hint {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: rgba(234, 255, 251, 0.98);
    box-shadow: 0 6px 0 rgba(35, 177, 167, 0.18);
    color: #22b3a8;
    font-family: "Bungee", sans-serif;
    font-size: 1rem;
    line-height: 1;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 140ms ease, transform 140ms ease;
    pointer-events: none;
  }

  .tarifs-table-hint--right {
    right: 8px;
  }

  .tarifs-table-shell.show-scroll-hints.can-scroll-right .tarifs-table-hint--right {
    opacity: 1;
    transform: scale(1);
  }

  .testimonial-form__footer {
    align-items: stretch;
  }

  .contact-form__footer {
    align-items: stretch;
  }

  .hero-panel,
  .intro-card,
  .nav-section,
  .page-card,
  .info-card,
  .site-footer {
    border-width: 3px;
    box-shadow: 0 9px 0 #111;
  }

  .hero-panel,
  .intro-card,
  .nav-section,
  .page-card,
  .site-footer {
    border-radius: 26px;
  }

  .hero-panel,
  .intro-card,
  .nav-section,
  .page-card,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero-panel__notes {
    min-height: 280px;
  }

  .hero-note--blue {
    width: 150px;
  }

  .hero-note--pink {
    width: 140px;
    left: 0;
  }

  .hero-note--yellow {
    width: 160px;
    right: 0;
  }

  .scrap-grid {
    grid-template-columns: 1fr;
  }

  .scrap {
    border-radius: 26px;
    transform: none;
    min-height: auto;
  }

  .scrap--blue {
    border-radius: 30px;
  }

  .modal-card {
    width: min(100% - 16px, 680px);
    padding: 22px 16px;
    border-width: 3px;
    box-shadow: 0 9px 0 #111;
  }
}
