/* Home-only presentation. Shared booking and service pages keep their own layout. */
.page-home {
  --home-line: rgb(4 54 107 / 16%);
  --gris-moyen: var(--bleu);
  --gris-fonce: var(--bleu);
  --home-ink: var(--bleu);
  --home-muted: var(--bleu);

  color: var(--home-ink);
}

.page-home .page-container {
  padding: 28px 20px 0;
  min-height: auto;
}
.page-home .home-presentation { margin: 0 auto 40px; }
.page-home .home-intro { max-width: 600px; margin: 0 auto 22px; padding: 0; }
.page-home .home-intro h1 {
  color: var(--home-ink);
  font-size: clamp(1.9rem, 7.8vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0 0 20px;
  text-wrap: balance;
}
.page-home .home-intro > p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.page-home .home-discover-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 14px;
  color: var(--home-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--bleu);
}
.page-home .contact-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 16px;
  background: var(--jaune);
  color: var(--home-ink);
  border-radius: 18px;
  box-shadow: none;
  font-size: 0.96rem;
}
.page-home .contact-card .name { font-size: 0.95rem; letter-spacing: 0.04em; }
.page-home .contact-card .contact-phone-icon { color: var(--bleu); background: var(--blanc); box-shadow: none; }
.page-home .contact-card .contact-email-copied { color: var(--bleu); }
.page-home .contact-email-copy { min-height: 44px; }
.page-home .services-section {
  margin: 30px 0 0;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: var(--blanc);
  text-align: left;
}
.page-home .services-section h2 {
  margin: 0 0 16px;
  color: var(--home-ink);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.page-home .services-content p {
  max-width: none;
  margin: 0 0 14px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.page-home .services-content strong { color: var(--home-ink); font-weight: 600; }
.page-home .services-content p:last-child {
  margin-bottom: 0;
}
.page-home :is(#univers, #mes-services, #videosSection, #contact-card) { scroll-margin-top: var(--site-scroll-offset); }
.home-subsection-heading { margin: 0 0 20px; }
.home-subsection-heading h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.035em; }
.service-card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.service-tile {
  --tile-accent: var(--bleu);
  --tile-tint: var(--jaune);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: var(--blanc);
  overflow: hidden;
  box-shadow: 0 4px 16px rgb(4 54 107 / 2%);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.service-tile--balades { --tile-accent: var(--bleu); --tile-tint: var(--jaune); }
.service-tile--brocante { --tile-accent: var(--rouge); --tile-tint: var(--blanc); }
.service-tile--reperes { --tile-accent: var(--bleu); --tile-tint: var(--jaune); }
.service-tile--malle { --tile-accent: var(--rouge); --tile-tint: var(--jaune); }
.service-tile-art { overflow: hidden; background: var(--blanc); }
.service-tile-art img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 338; object-fit: contain; }
.service-tile-label {
  display: block;
  margin-bottom: 10px;
  color: var(--tile-accent);
  font-size: 0.67rem;
  line-height: 1.4;
  font-weight: 600;
}
.service-tile-body { display: flex; flex: 1; flex-direction: column; padding: 23px 22px 0; }
.service-tile h3 { margin: 0 0 12px; color: var(--home-ink); font-size: clamp(1.5rem, 5.8vw, 1.85rem); letter-spacing: -0.04em; line-height: 1.16; text-wrap: balance; }
.service-tile-description { margin: 0 0 18px; color: var(--home-muted); font-size: 0.95rem; line-height: 1.65; }
.service-tile-action, .service-tile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 13px 0;
  border-top: 1px solid var(--home-line);
  color: var(--home-ink);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
}
.service-tile-action { margin-top: auto; cursor: pointer; }
.service-tile-arrow { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tile-tint); color: var(--tile-accent); font-size: 1.2rem; font-weight: 400; transition: transform 180ms ease; }
.service-tile--unavailable { border-style: dashed; border-color: rgb(4 54 107 / 35%); background: rgb(4 54 107 / 3%); box-shadow: none; }
.service-tile--unavailable .service-tile-art img { opacity: 0.7; filter: saturate(0.55); }
.service-tile-status { margin: auto 0 0; justify-content: flex-start; gap: 10px; border-top-style: dashed; color: var(--rouge); cursor: default; }
.service-tile-status svg { flex: 0 0 20px; }
.service-tile-status strong { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; }
.service-tile-status small { display: block; margin-top: 3px; color: var(--bleu); font-size: 11px; line-height: 1.35; font-weight: 400; }
.page-home .videos-section { margin-top: 40px; }
.page-home .videos-section-inner { padding: 0; border: 0; background: transparent; overflow: visible; }
.page-home .videos-section-title { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.035em; margin: 0 0 20px; color: var(--home-ink); font-weight: 600; }
.page-home .videos-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.page-home .video-card { border: 0; border-radius: 16px; }
.home-contact-invitation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 0; padding: 22px 24px; border: 1px solid var(--home-line); border-radius: 22px; background: var(--blanc); }
.home-contact-invitation h2 { margin: 0; color: var(--home-ink); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.035em; }
.home-contact-details { min-width: 0; }
.home-contact-email { margin: 6px 0 0; color: var(--home-ink); font-size: 0.9rem; overflow-wrap: anywhere; user-select: text; }
.home-contact-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 12px 22px; border-radius: 10px; background: var(--rouge); color: var(--blanc); font-size: 0.87rem; text-decoration: none; font-weight: 500; white-space: nowrap; }
.home-contact-button:hover { background: var(--bleu); }
.page-home .site-footer { width: 100%; margin: 48px auto 0; padding: 30px 0; border-top: 1px solid var(--home-line); background: transparent; }
.page-home :is(a, button, summary):focus-visible { outline: 3px solid var(--bleu); outline-offset: 4px; border-radius: 5px; }
.page-home .service-tile:focus-within { border-color: var(--tile-accent); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-tile:not(.service-tile--unavailable):hover { border-color: var(--bleu); box-shadow: 0 12px 30px rgb(4 54 107 / 5%); }
  .service-tile-action:hover .service-tile-arrow { transform: translate(2px, -2px); }
}
@media (min-width: 700px) {
  .page-home .page-container { padding: 36px 32px 0; }
  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .service-card-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 28px) / 2); justify-self: center; }
  .service-tile-body { min-height: 246px; padding: 26px 28px 0; }
  .page-home .videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .home-contact-invitation { padding: 26px 32px; }
}
@media (min-width: 960px) {
  .page-home .page-container { padding: 40px 40px 0; }
  .page-home .home-presentation { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; margin-bottom: 48px; }
  .page-home .home-introduction { padding-top: 124px; }
  .page-home .home-intro { text-align: left; }
  .page-home .home-intro h1 { font-size: clamp(2.25rem, 3.4vw, 2.8rem); }
  .page-home .home-intro > p { max-width: 43ch; }
  .page-home .contact-card { max-width: none; text-align: left; padding: 22px 26px; }
  .page-home .contact-email-wrap { justify-content: flex-start; }
  .page-home .services-section { margin: 0; padding: 28px 32px; border-radius: 24px; }
  .page-home .services-content p { line-height: 1.6; }
  .service-tile-body { min-height: 248px; padding: 26px 32px 0; }
  .home-subsection-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
  .home-subsection-heading::after { content: ''; flex: 1; height: 1px; background: var(--home-line); }
  .home-subsection-heading h2, .page-home .videos-section-title { font-size: 1.65rem; }
  .page-home .videos-section { margin-top: 48px; }
  .home-contact-invitation { margin-top: 32px; }
}
@media (min-width: 1200px) {
  .page-home .home-introduction { padding-top: 0; }
  .page-home .home-intro h1 {
    min-height: 144px;
    padding-left: 220px;
    font-size: 2.5rem;
    text-wrap: initial;
  }
}
@media (min-width: 1280px) {
  .service-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .service-card-grid > .service-tile { grid-column: span 2; }
  .service-card-grid > :last-child:nth-child(odd) { grid-column: span 2; width: auto; }
  .service-card-grid > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
  .service-card-grid > :nth-child(5):last-child { grid-column: 4 / span 2; }
  .service-tile { border-radius: 18px; }
  .service-tile-label { font-size: 0.62rem; }
  .service-tile-body { min-height: 290px; padding: 22px 20px 0; }
  .service-tile h3 { min-height: 2.4em; font-size: 1.38rem; line-height: 1.2; margin-bottom: 12px; text-wrap: initial; }
  .service-tile-description { font-size: 0.94rem; line-height: 1.6; }
  .service-tile-action, .service-tile-status { min-height: 64px; font-size: 0.76rem; gap: 8px; }
  .service-tile-arrow { width: 32px; height: 32px; }
  .page-home .videos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .page-home .video-card { border-radius: 12px; }
}
@media (max-width: 359px) {
  .page-home .page-container { padding-right: 16px; padding-left: 16px; }
  .page-home .services-section { padding: 20px; }
  .service-tile-body { padding: 20px 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home *, .page-home *::before, .page-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
