:root {
  --page-panel: #fffefa;
  --page-panel-strong: #fffefa;
  --page-blue-soft: #e9eee4;
  --page-blue-line: #d7ddd4;
  --page-shadow: 0 12px 32px rgba(25, 45, 41, 0.06);
}

.inner-page:not(.creation-page) {
  background: var(--ivory);
}

.inner-page:not(.creation-page) .site-header {
  position: relative;
  z-index: 4;
}

.inner-page:not(.creation-page) .listing-hero,
.inner-page:not(.creation-page) .contact-hero {
  position: relative;
}

.inner-page:not(.creation-page) .listing-hero > h1,
.inner-page:not(.creation-page) .contact-hero h1 {
  max-width: 760px;
}

.inner-page:not(.creation-page) .offer-card {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
}

.inner-page:not(.creation-page) .offer-card:hover,
.inner-page:not(.creation-page) .portfolio-card .project-art:hover {
  transform: none;
  box-shadow: var(--page-shadow);
}

.inner-page:not(.creation-page) .portfolio-card .project-art {
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: none;
}

.inner-page:not(.creation-page) .note-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 30px;
  margin-bottom: 88px;
}

.inner-page:not(.creation-page) .care-dashboard {
  border: 1px solid #29463e;
  background: var(--ink);
}

.inner-page:not(.creation-page) .care-services article {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.inner-page:not(.creation-page) .care-services article:hover {
  transform: none;
  border-color: #9ead9f;
  box-shadow: var(--page-shadow);
}

.inner-page:not(.creation-page) .manifesto {
  position: relative;
}

.inner-page:not(.creation-page) .values article {
  min-height: 160px;
  transition: transform .25s ease;
}

.inner-page:not(.creation-page) .values article:hover {
  transform: none;
}

.inner-page:not(.creation-page) .quote-form,
.inner-page:not(.creation-page) .contact-form {
  box-shadow: var(--page-shadow);
}

.inner-page:not(.creation-page) .form-step {
  transition: background .2s ease;
}

.inner-page:not(.creation-page) .form-step:focus-within {
  background: #f7f6f3;
}

@media (prefers-reduced-motion: reduce) {
  .inner-page:not(.creation-page) .offer-card,
  .inner-page:not(.creation-page) .portfolio-card .project-art,
  .inner-page:not(.creation-page) .care-services article,
  .inner-page:not(.creation-page) .values article {
    transition: none;
  }

  .inner-page:not(.creation-page) .offer-card:hover,
  .inner-page:not(.creation-page) .portfolio-card .project-art:hover,
  .inner-page:not(.creation-page) .care-services article:hover,
  .inner-page:not(.creation-page) .values article:hover {
    transform: none;
  }
}

@media (max-width: 850px) {
  .inner-page:not(.creation-page) .listing-hero::after {
    display: none;
  }

  .inner-page:not(.creation-page) .manifesto::before {
    left: auto;
    right: 0;
    top: -35px;
  }

  .inner-page:not(.creation-page) .note-band {
    padding: 24px 24px 75px;
  }
}

/* Shared page layout: every content block keeps a clear visual boundary. */
.inner-page main {
  overflow: hidden;
}

.inner-page .listing-hero {
  padding-top: 82px;
  padding-bottom: 48px;
}

.inner-page .inner-hero {
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 86px;
}

.inner-page .content-section {
  padding-top: 76px;
  padding-bottom: 96px;
}

.inner-page .section-intro {
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.inner-page .section-intro > .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.inner-page .section-intro > h2 {
  grid-column: 2;
  grid-row: 1;
}

.inner-page .section-intro > p:last-child {
  grid-column: 2;
  grid-row: 2;
  margin: 20px 0 0;
}

.inner-page .section-intro h2 {
  max-width: 620px;
}

.inner-page .feature-list {
  align-items: stretch;
}

.inner-page .feature-list article {
  min-height: 245px;
  padding: 23px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page-panel);
  display: flex;
  flex-direction: column;
}

.inner-page .feature-list h3 {
  margin-top: 34px;
}

.inner-page .feature-list p {
  margin-top: auto;
  margin-bottom: 0;
}

.inner-page .process,
.inner-page .dark-callout,
.inner-page .pricing-band,
.inner-page .scope-band,
.inner-page .contact-details {
  box-shadow: 0 1px 0 #fff8 inset;
}

.inner-page .process {
  margin-top: 12px;
}

.inner-page .process-grid {
  align-items: stretch;
}

.inner-page .process-grid > div {
  min-height: 180px;
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 254, 250, 0.72);
}

.inner-page .process-grid h3 {
  margin-top: 26px;
}

.inner-page .cta-band,
.inner-page .dark-callout {
  margin-top: 78px;
  margin-bottom: 88px;
}

.inner-page .faq-list {
  padding-top: 10px;
}

.inner-page .faq-list details {
  padding: 20px 24px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page-panel);
}

.inner-page .faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.inner-page .quote-layout {
  align-items: start;
  gap: 64px;
  padding-top: 8px;
  padding-bottom: 90px;
}

.inner-page .quote-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft-2);
}

.inner-page .quote-aside ul {
  margin-top: 26px;
}

.inner-page .quote-aside li {
  padding: 14px 0;
}

.inner-page .legal-page {
  padding-top: 78px;
}

@media (max-width: 850px) {
  .inner-page .listing-hero {
    padding-top: 64px;
    padding-bottom: 35px;
  }

  .inner-page .inner-hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .inner-page .section-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inner-page .section-intro > .eyebrow,
  .inner-page .section-intro > h2,
  .inner-page .section-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .inner-page .section-intro > h2 {
    margin-top: 4px;
  }

  .inner-page .section-intro > p:last-child {
    margin-top: 18px;
  }

  .inner-page .feature-list article {
    min-height: 210px;
  }

  .inner-page .process-grid > div {
    min-height: 155px;
  }
}

@media (max-width: 500px) {
  .inner-page .section-intro h2 {
    font-size: 37px;
  }

  .inner-page .feature-list article {
    min-height: 0;
  }

  .inner-page .process-grid > div {
    min-height: 0;
  }

  .inner-page .faq-list details {
    padding: 18px;
  }
}

/* Direction sobre : decors circulaires et guillemet geant retires. */
.inner-page:not(.creation-page) .offer-card::after,
.inner-page:not(.creation-page) .care-services article::after,
.inner-page:not(.creation-page) .manifesto::before,
.inner-page:not(.creation-page) .listing-hero::after {
  display: none;
}
