:root {
  --dp-blue: #111099;
  --dp-blue-dark: #090876;
  --dp-black: #111216;
  --dp-muted: #656a71;
  --dp-soft: #f5f5f8;
  --dp-line: #e5e5eb;
  --dp-white: #ffffff;
  --dp-green: #1ba36f;
  --dp-shadow: 0 18px 45px rgba(17, 18, 22, 0.08);
  --dp-radius: 4px;
  --dp-content: 820px;
  --dp-wide: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dp-white);
  color: var(--dp-black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--dp-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--dp-blue-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(17, 16, 153, 0.3);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  color: var(--dp-black);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

p,
ul,
ol {
  margin-top: 0;
}

.dp-container,
.alignwide {
  width: min(calc(100% - 48px), var(--dp-wide));
  margin-right: auto;
  margin-left: auto;
}

.alignfull {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.dp-content {
  width: min(calc(100% - 48px), var(--dp-content));
  margin: 0 auto;
  padding: 64px 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  clip-path: none;
  background: var(--dp-white);
  color: var(--dp-blue);
  font-weight: 700;
}

.dp-button,
.wp-block-button__link,
button[type="submit"] {
  display: inline-flex;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dp-blue);
  color: var(--dp-white);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.dp-button:hover,
.dp-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  transform: translateY(-1px);
  background: var(--dp-blue-dark);
  color: var(--dp-white);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: #cfd0d8;
  background: var(--dp-white);
  color: var(--dp-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--dp-blue);
  background: #f5f5fb;
}

.dp-button-row {
  gap: 12px;
}

.dp-kicker,
.dp-label {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--dp-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dp-label {
  padding: 6px 14px;
  border: 1px solid #c8c8dd;
}

/* Header et navigation */
.dp-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--dp-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 22px rgba(17, 18, 22, 0.035);
  backdrop-filter: blur(14px);
}

.admin-bar .dp-site-header {
  top: 32px;
}

.dp-header-inner {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.dp-brand img,
.dp-brand .custom-logo {
  width: 112px;
  max-height: 58px;
  object-fit: contain;
}

.dp-brand a {
  display: block;
}

.dp-primary-navigation {
  justify-self: center;
}

.dp-menu,
.dp-primary-navigation ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.dp-primary-navigation li {
  position: relative;
}

.dp-primary-navigation a {
  display: flex;
  min-height: 76px;
  align-items: center;
  color: #24252a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
}

.dp-primary-navigation a:hover,
.dp-primary-navigation .current-menu-item > a,
.dp-primary-navigation .current_page_item > a {
  color: var(--dp-blue);
}

.dp-primary-navigation .sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: -18px;
  display: grid;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  gap: 0;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
  box-shadow: var(--dp-shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: 160ms ease;
}

.dp-primary-navigation .sub-menu a {
  min-height: 0;
  padding: 11px 12px;
  border-bottom: 1px solid #eeeeF2;
  font-size: 0.74rem;
  text-transform: none;
}

.dp-primary-navigation li:hover > .sub-menu,
.dp-primary-navigation li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dp-header-cta {
  min-width: 210px;
  padding-inline: 16px;
  font-size: 0.68rem;
}

.dp-menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--dp-line);
  border-radius: 3px;
  background: var(--dp-white);
}

.dp-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--dp-black);
  transition: 180ms ease;
}

.dp-menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.dp-menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  opacity: 0;
}

.dp-menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Accueil */
.dp-home-hero {
  padding: 40px 0;
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-white);
}

.dp-home-hero-grid {
  margin-top: 0;
  margin-bottom: 0;
  gap: 42px;
}

.dp-home-hero h1 {
  max-width: 610px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 2.7vw, 2.85rem);
}

.dp-home-hero .dp-hero-lead {
  max-width: 620px;
  margin-bottom: 21px;
  color: var(--dp-muted);
  font-size: 1rem;
}

.dp-check-list {
  display: grid;
  margin: 0 0 24px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.dp-check-list li {
  position: relative;
  padding-left: 27px;
}

.dp-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--dp-green);
  content: "✓";
  font-weight: 900;
}

.dp-home-hero-photo img {
  width: 100%;
  height: clamp(380px, 41vw, 510px);
  object-fit: cover;
  object-position: center;
}

.dp-reviews-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-white);
}

.dp-review-grid {
  margin-top: 0;
  margin-bottom: 0;
  gap: 14px;
}

.dp-review-card {
  padding: 17px 18px;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
}

.dp-review-card h3 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 750;
}

.dp-review-card .dp-stars {
  margin-bottom: 5px;
  color: #f2ad00;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.dp-review-card p:last-child {
  margin: 0;
  color: var(--dp-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.dp-section {
  padding: 72px 0;
}

.dp-section-soft {
  background: var(--dp-soft);
}

.dp-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.dp-section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.dp-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.dp-section-heading > p:last-child {
  color: var(--dp-muted);
  font-size: 1rem;
}

.dp-card-grid {
  display: grid;
  gap: 20px;
}

.dp-benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dp-card {
  overflow: hidden;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
  box-shadow: 0 12px 30px rgba(17, 18, 22, 0.035);
}

.dp-card .wp-block-image img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.dp-card:hover .wp-block-image img {
  transform: scale(1.025);
}

.dp-card-body {
  padding: 22px;
}

.dp-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.dp-card-body p {
  color: var(--dp-muted);
  font-size: 0.89rem;
}

.dp-card-body .dp-check-list {
  margin-bottom: 18px;
  color: #33353a;
  font-size: 0.83rem;
}

.dp-arrow-link,
.dp-arrow-link a {
  color: var(--dp-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.dp-team-hierarchy {
  text-align: center;
}

.dp-team-founder {
  position: relative;
  max-width: 240px;
  margin: 0 auto 76px;
}

.dp-team-founder::after {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(760px, 75vw);
  height: 42px;
  border-top: 2px solid #c7c7dc;
  border-right: 2px solid #c7c7dc;
  border-left: 2px solid #c7c7dc;
  border-radius: 20px 20px 0 0;
  content: "";
  transform: translateX(-50%);
}

.dp-team-card .wp-block-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 13px;
  overflow: hidden;
  border: 5px solid var(--dp-white);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(17, 16, 153, 0.12);
}

.dp-team-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-team-card h3 {
  margin-bottom: 5px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 750;
}

.dp-team-card p {
  margin-bottom: 0;
  color: var(--dp-muted);
  font-size: 0.78rem;
}

.dp-team-card .dp-position {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 9px;
  background: var(--dp-blue);
  color: var(--dp-white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dp-team-grid {
  display: grid;
  gap: 32px 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dp-team-grid .dp-team-card {
  position: relative;
  padding-top: 14px;
}

.dp-team-grid .dp-team-card::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: #c7c7dc;
  content: "";
}

.dp-home-cta {
  padding: 54px 0;
  background: var(--dp-blue);
  color: var(--dp-white);
}

.dp-home-cta h2,
.dp-home-cta p,
.dp-home-cta .dp-kicker {
  color: var(--dp-white);
}

.dp-home-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.dp-home-cta .wp-block-columns {
  margin-top: 0;
  margin-bottom: 0;
}

.dp-button-white .wp-block-button__link {
  background: var(--dp-white);
  color: var(--dp-blue);
}

.dp-button-white .wp-block-button__link:hover {
  background: #eeeeff;
  color: var(--dp-blue-dark);
}

.dp-contact-grid {
  gap: 0;
}

.dp-contact-info {
  padding: 40px;
  background: var(--dp-blue);
  color: var(--dp-white);
}

.dp-contact-info h2,
.dp-contact-info p,
.dp-contact-info a,
.dp-contact-info .dp-kicker {
  color: var(--dp-white);
}

.dp-contact-info h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.dp-contact-form-column {
  padding: 40px;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
}

.dp-map {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--dp-white);
}

.dp-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}

.dp-map > a {
  display: block;
  padding: 12px 15px;
  color: var(--dp-blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.dp-contact-form {
  display: grid;
  gap: 9px;
}

.dp-contact-form label {
  margin-top: 6px;
  color: #303238;
  font-size: 0.78rem;
  font-weight: 750;
}

.dp-contact-form input,
.dp-contact-form textarea,
.search-form input[type="search"] {
  width: 100%;
  border: 1px solid #d7d7df;
  border-radius: 2px;
  background: var(--dp-white);
  color: var(--dp-black);
}

.dp-contact-form input {
  min-height: 46px;
  padding: 9px 12px;
}

.dp-contact-form textarea {
  min-height: 140px;
  padding: 11px 12px;
  resize: vertical;
}

.dp-contact-form button {
  margin-top: 10px;
  border: 0;
  cursor: pointer;
}

.dp-honeypot {
  position: absolute;
  top: auto;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dp-form-notice {
  padding: 12px 14px;
  border-left: 4px solid;
  font-size: 0.85rem;
}

.dp-form-success {
  border-color: var(--dp-green);
  background: #edf9f4;
  color: #136b4c;
}

.dp-form-error {
  border-color: #bd2a2a;
  background: #fff0f0;
  color: #7b1919;
}

/* Pages internes et Gutenberg */
.dp-page-hero,
.dp-archive-hero,
.dp-article-hero,
.dp-block-hero {
  padding: 58px 0;
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-soft);
}

.dp-page-hero-grid {
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.dp-page-hero h1,
.dp-archive-hero h1,
.dp-article-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
}

.dp-page-hero p,
.dp-archive-description,
.dp-archive-hero > .dp-container > p,
.dp-article-hero p {
  max-width: 750px;
  color: var(--dp-muted);
  font-size: 1.05rem;
}

.dp-page-featured img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
}

.dp-content > * {
  max-width: 100%;
}

.dp-content > .alignwide {
  width: min(calc(100vw - 48px), var(--dp-wide));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.dp-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.dp-content h2 {
  margin-top: 1.6em;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.dp-content h3 {
  margin-top: 1.4em;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.dp-content p,
.dp-content li {
  color: #3f4147;
}

.dp-content a {
  text-decoration: underline;
}

.dp-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--dp-blue);
  background: var(--dp-soft);
}

.dp-content .wp-block-image {
  margin: 34px 0;
}

.dp-block-hero {
  padding-inline: 24px;
}

.dp-block-hero .wp-block-columns {
  margin-top: 0;
  margin-bottom: 0;
}

.dp-block-hero h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.dp-block-hero img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

/* Pages créées automatiquement par l'installation clé en main */
.dp-starter-cover {
  margin-top: 0;
  margin-bottom: 42px;
}

.dp-starter-cover img {
  width: 100%;
  height: clamp(320px, 38vw, 500px);
  object-fit: cover;
}

.dp-starter-cards {
  margin-top: 32px;
  margin-bottom: 48px;
  align-items: stretch !important;
  gap: 18px;
}

.dp-starter-card {
  position: relative;
  margin: 0;
  padding: 25px;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
  box-shadow: 0 12px 28px rgba(17, 18, 22, 0.045);
}

.dp-starter-card h3 {
  margin-top: 0;
}

.dp-starter-card .dp-check-list {
  margin-bottom: 0;
}

.dp-starter-card-featured {
  border: 2px solid var(--dp-blue);
  background: #f8f8ff;
}

.dp-popular {
  width: max-content;
  margin: -42px auto 16px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--dp-blue);
  color: var(--dp-white) !important;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dp-price {
  margin: 14px 0 4px;
  color: var(--dp-blue) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
}

.dp-starter-blue {
  margin-top: 54px;
  padding: 38px;
  background: var(--dp-blue);
  color: var(--dp-white);
}

.dp-starter-blue h2,
.dp-starter-blue p {
  color: var(--dp-white);
}

.dp-address-price {
  max-width: 560px;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.dp-accountant-card {
  text-align: center;
}

.dp-accountant-card .wp-block-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 50%;
}

.dp-accountant-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-starter-team-grid {
  display: grid;
  margin: 38px 0 54px;
  gap: 32px 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-starter-team-card {
  text-align: center;
}

.dp-starter-team-founder {
  grid-column: 1 / -1;
}

.dp-starter-team-card .wp-block-image {
  width: 170px;
  height: 170px;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 5px solid var(--dp-white);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(17, 16, 153, 0.13);
}

.dp-starter-team-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-starter-team-card h3 {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
}

.dp-starter-team-card p {
  color: var(--dp-muted);
  font-size: 0.82rem;
}

/* Blog, articles, archives */
.dp-section {
  position: relative;
}

.dp-post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-post-card {
  overflow: hidden;
  border: 1px solid var(--dp-line);
  background: var(--dp-white);
  box-shadow: 0 12px 30px rgba(17, 18, 22, 0.04);
}

.dp-post-card-image {
  display: block;
  overflow: hidden;
}

.dp-post-card-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.dp-post-card:hover .dp-post-card-image img {
  transform: scale(1.025);
}

.dp-post-card-body {
  padding: 24px;
}

.dp-post-card-meta,
.dp-article-meta {
  display: flex;
  margin-bottom: 13px;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dp-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dp-post-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.dp-post-card h2 a {
  color: var(--dp-black);
  text-decoration: none;
}

.dp-post-card p {
  color: var(--dp-muted);
  font-size: 0.9rem;
}

.navigation.pagination {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--dp-line);
  align-items: center;
  justify-content: center;
  color: var(--dp-blue);
  text-decoration: none;
}

.page-numbers.current {
  border-color: var(--dp-blue);
  background: var(--dp-blue);
  color: var(--dp-white);
}

.dp-article-hero-inner {
  max-width: 980px;
}

.dp-article-featured {
  margin-top: 34px;
}

.dp-article-featured img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.dp-article-layout {
  padding: 0 0 72px;
}

.dp-article-content {
  padding-bottom: 34px;
}

.dp-article-footer {
  width: min(100%, var(--dp-content));
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--dp-line);
}

.dp-tags {
  display: flex;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.dp-tags a {
  padding: 5px 9px;
  background: var(--dp-soft);
  color: var(--dp-blue);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.post-navigation a {
  display: grid;
  padding: 18px;
  border: 1px solid var(--dp-line);
  color: var(--dp-black);
  text-decoration: none;
}

.post-navigation span {
  color: var(--dp-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.dp-not-found {
  display: grid;
  min-height: 62vh;
  padding: 72px 0;
  place-items: center;
  background: var(--dp-soft);
}

.dp-not-found-inner {
  max-width: 760px;
  text-align: center;
}

.dp-not-found h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.dp-not-found-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form label {
  flex: 1;
}

.search-form input[type="search"] {
  min-height: 44px;
  padding: 8px 12px;
}

.search-submit {
  border: 0;
  cursor: pointer;
}

/* Footer */
.dp-site-footer {
  padding: 58px 0 20px;
  border-top: 1px solid #26262e;
  background: #111216;
  color: #d4d4db;
}

.dp-footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.7fr;
}

.dp-footer-brand img {
  width: 125px;
  padding: 8px;
  background: var(--dp-white);
}

.dp-footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 0.84rem;
}

.dp-site-footer h2 {
  margin-bottom: 17px;
  color: var(--dp-white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dp-site-footer a {
  display: block;
  margin-bottom: 9px;
  color: #d4d4db;
  font-size: 0.82rem;
  text-decoration: none;
}

.dp-site-footer a:hover {
  color: var(--dp-white);
}

.dp-site-footer p {
  color: #acadb5;
  font-size: 0.82rem;
}

.dp-footer-menu,
.dp-site-footer .dp-menu {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.dp-socials {
  display: flex;
  gap: 9px;
}

.dp-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--dp-white);
  color: var(--dp-social);
}

.dp-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dp-footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid #2b2c33;
  justify-content: space-between;
  color: #8e8f98;
  font-size: 0.72rem;
}

/* Animation progressive, sans dépendance */
.dp-reveal {
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .dp-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

/* Écrans portables */
@media (min-width: 981px) and (max-width: 1536px) {
  .dp-container,
  .alignwide {
    width: min(calc(100% - 48px), 1120px);
  }

  .dp-header-inner {
    gap: 20px;
  }

  .dp-menu,
  .dp-primary-navigation ul {
    gap: 20px;
  }

  .dp-primary-navigation a {
    font-size: 0.72rem;
  }

  .dp-home-hero h1 {
    font-size: clamp(2.1rem, 2.55vw, 2.65rem);
  }

  .dp-card-body {
    padding: 19px;
  }

  .dp-card-body h3 {
    font-size: 1.28rem;
  }

  .dp-team-card .wp-block-image {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 1100px) {
  .dp-benefit-grid,
  .dp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dp-team-founder::after,
  .dp-team-grid .dp-team-card::before {
    display: none;
  }

  .dp-team-founder {
    margin-bottom: 42px;
  }

  .dp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-bar .dp-site-header {
    top: 46px;
  }

  .dp-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .dp-brand {
    justify-self: start;
  }

  .dp-menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .dp-header-cta {
    display: none;
  }

  .dp-primary-navigation {
    position: fixed;
    z-index: 1100;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 76px);
    padding: 18px 24px 28px;
    overflow-y: auto;
    border-top: 1px solid var(--dp-line);
    background: var(--dp-white);
    box-shadow: var(--dp-shadow);
  }

  .admin-bar .dp-primary-navigation {
    top: 122px;
    max-height: calc(100vh - 122px);
  }

  .dp-primary-navigation.is-open {
    display: block;
  }

  .dp-primary-navigation .dp-menu,
  .dp-primary-navigation > ul {
    display: grid;
    gap: 0;
  }

  .dp-primary-navigation a {
    min-height: 48px;
    border-bottom: 1px solid var(--dp-line);
  }

  .dp-primary-navigation .sub-menu {
    position: static;
    display: grid;
    width: auto;
    padding: 0 0 0 16px;
    visibility: visible;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .dp-home-hero-grid,
  .dp-contact-grid,
  .dp-block-hero .wp-block-columns {
    flex-direction: column;
  }

  .dp-home-hero-grid > .wp-block-column,
  .dp-contact-grid > .wp-block-column,
  .dp-block-hero .wp-block-column {
    flex-basis: auto !important;
  }

  .dp-home-hero-photo img {
    height: min(66vw, 520px);
  }

  .dp-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-home-cta .wp-block-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-home-cta .wp-block-column {
    flex-basis: auto !important;
  }

  .dp-home-cta .wp-block-buttons {
    justify-content: flex-start;
  }

  .dp-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .dp-price-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dp-price-grid > .wp-block-column {
    width: 100%;
  }

  .dp-popular {
    margin-top: -37px;
  }
}

@media (max-width: 782px) {
  .dp-container,
  .alignwide,
  .dp-content {
    width: min(calc(100% - 30px), var(--dp-wide));
  }

  .dp-section {
    padding: 48px 0;
  }

  .dp-home-hero {
    padding: 30px 0 40px;
  }

  .dp-home-hero-grid {
    gap: 28px;
  }

  .dp-home-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .dp-benefit-grid,
  .dp-service-grid,
  .dp-post-grid {
    grid-template-columns: 1fr;
  }

  .dp-card .wp-block-image img {
    height: min(62vw, 300px);
  }

  .dp-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-contact-info,
  .dp-contact-form-column {
    padding: 28px;
  }

  .dp-starter-card,
  .dp-starter-blue {
    padding: 22px;
  }

  .dp-starter-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-page-hero,
  .dp-archive-hero,
  .dp-article-hero,
  .dp-block-hero {
    padding: 42px 0;
  }

  .dp-page-hero h1,
  .dp-archive-hero h1,
  .dp-article-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .dp-content {
    padding: 46px 0;
  }

  .dp-footer-grid {
    grid-template-columns: 1fr;
  }

  .dp-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .admin-bar .dp-site-header {
    top: 0;
  }

  .admin-bar .dp-primary-navigation {
    top: 76px;
    max-height: calc(100vh - 76px);
  }

  #wpadminbar {
    position: absolute;
  }

  .dp-brand img,
  .dp-brand .custom-logo {
    width: 100px;
  }

  .dp-review-grid {
    display: flex;
    width: calc(100vw - 30px);
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .dp-review-card {
    min-width: min(82vw, 320px);
    scroll-snap-align: start;
  }

  .dp-team-card .wp-block-image {
    width: 118px;
    height: 118px;
  }

  .dp-team-card h3 {
    font-size: 0.88rem;
  }

  .dp-team-card p {
    font-size: 0.72rem;
  }

  .dp-home-cta {
    padding: 44px 0;
  }

  .dp-contact-info,
  .dp-contact-form-column {
    padding: 22px;
  }

  .dp-starter-team-card .wp-block-image {
    width: 125px;
    height: 125px;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .dp-not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .dp-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .dp-site-header,
  .dp-site-footer,
  .dp-home-cta,
  .dp-contact-section,
  .dp-menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
  }
}
