:root {
  --prune: #6B1E5B;
  --prune-d: #561549;
  --corail: #F28A5C;
  --corail-d: #e2703e;
  --ink: #2a2230;
  --muted: #7c7480;
  --cream: #FAF6F1;
  --card: #ffffff;
  --line: #ece4db;
  --grad: linear-gradient(135deg, #6B1E5B 0%, #8e2a66 45%, #F28A5C 125%);
  --r: 22px;
  --r-lg: 30px;
  --r-sm: 14px;
  --sh: 0 20px 50px -26px rgba(80, 40, 70, 0.32);
  --sh-sm: 0 10px 26px -18px rgba(80, 40, 70, 0.30);
  --sh-hover: 0 26px 55px -24px rgba(80, 40, 70, 0.38);
  --maxw: 1200px;
  --e33-header-h: 120px;
  --e33-header-h-scrolled: 76px;
  --e33-logo-size-scrolled: calc(var(--e33-logo-size, 36px) * 0.58);
}

#ldc-main *,
#ldc-main *::before,
#ldc-main *::after,
#e33-header *,
#e33-footer * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#ldc-main h1,
#ldc-main h2,
#ldc-main h3,
#e33-footer h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

#ldc-main a,
#e33-header a,
#e33-footer a {
  color: inherit;
}

#ldc-main img,
#e33-header img,
#e33-footer img {
  max-width: 100%;
  display: block;
}

.e33-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.e33-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--prune);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  z-index: 2000;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: 700;
}

.e33-skip:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--corail-d);
  outline-offset: 3px;
  border-radius: 6px;
}

.e33-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

.e33-btn-prune {
  background: var(--prune);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.e33-btn-prune:hover {
  background: var(--prune-d);
  transform: translateY(-2px);
}

.e33-btn-coral {
  background: var(--corail);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.e33-btn-coral:hover {
  background: var(--corail-d);
  transform: translateY(-2px);
}

.e33-btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.e33-btn-outline:hover {
  border-color: var(--prune);
  color: var(--prune);
}

#e33-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(250, 246, 241, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

#e33-header.is-scrolled {
  --e33-header-h: var(--e33-header-h-scrolled);
  background: rgba(250, 246, 241, 0.96);
  box-shadow: 0 8px 28px -18px rgba(80, 40, 70, 0.28);
}

#e33-header > .e33-wrap {
  max-width: none;
  width: 100%;
}

.e33-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--e33-header-h);
  min-height: var(--e33-header-h);
  gap: 24px;
  transition: height 0.28s ease, min-height 0.28s ease, gap 0.28s ease;
}

.e33-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: gap 0.28s ease;
}

#e33-header.is-scrolled .e33-brand {
  gap: 8px;
}

.e33-brand img {
  width: var(--e33-logo-size, 36px);
  height: auto;
  object-fit: contain;
  transition: width 0.28s ease;
}

#e33-header.is-scrolled .e33-brand img {
  width: var(--e33-logo-size-scrolled);
}

.e33-mark {
  width: var(--e33-logo-size, 36px);
  height: auto;
  flex: 0 0 auto;
  transition: width 0.28s ease;
}

#e33-header.is-scrolled .e33-mark {
  width: var(--e33-logo-size-scrolled);
}

.e33-lockup {
  line-height: 1;
  transition: opacity 0.28s ease;
}

.e33-lockup .e33-wm {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--prune);
  letter-spacing: 0.02em;
  transition: font-size 0.28s ease;
}

#e33-header.is-scrolled .e33-lockup .e33-wm {
  font-size: 1.02rem;
}

.e33-lockup .e33-wm .e33-n {
  color: var(--corail-d);
}

.e33-lockup .e33-tg {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 3px;
  text-transform: uppercase;
  transition: font-size 0.28s ease, margin-top 0.28s ease;
}

#e33-header.is-scrolled .e33-lockup .e33-tg {
  font-size: 0.48rem;
  margin-top: 2px;
}

#e33-header .e33-nav {
  position: relative;
}

#e33-header nav .e33-nav-menu {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.93rem;
  align-items: center;
}

#e33-header nav .e33-nav-menu > li {
  position: relative;
}

#e33-header nav .e33-nav-menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.82;
  padding-bottom: 6px;
  transition: opacity 0.15s, color 0.15s;
}

#e33-header nav .e33-nav-menu a:hover {
  opacity: 1;
  color: var(--prune);
}

#e33-header nav .e33-nav-menu li.current-menu-item > a,
#e33-header nav .e33-nav-menu li.current_page_item > a,
#e33-header nav .e33-nav-menu a[aria-current="page"] {
  opacity: 1;
  color: var(--prune);
}

#e33-header nav .e33-nav-menu li.current-menu-item > a::after,
#e33-header nav .e33-nav-menu li.current_page_item > a::after,
#e33-header nav .e33-nav-menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--corail-d);
}

.e33-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.e33-burger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--prune);
  border-radius: 3px;
  margin: 5px 0;
}

#e33-footer {
  width: 100%;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 54px 0 28px;
}

#e33-footer > .e33-wrap {
  max-width: none;
  width: 100%;
}

.e33-fgrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 30px;
}

#e33-footer .e33-brand {
  margin-bottom: 14px;
}

#e33-footer p {
  color: #6c646f;
  font-size: 0.9rem;
}

#e33-footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prune);
  margin: 0 0 14px;
  font-weight: 700;
}

#e33-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#e33-footer li {
  font-size: 0.88rem;
  color: #6c646f;
  margin-bottom: 8px;
}

#e33-footer a {
  text-decoration: none;
  color: var(--corail-d);
  font-weight: 700;
}

.e33-copyr {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.e33-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s, transform 0.6s;
}

.e33-reveal.e33-in {
  opacity: 1;
  transform: none;
}

.ldc-wysiwyg .alignjustify,
.section-texte .alignjustify,
#ldc-main .alignjustify {
  text-align: justify;
}

/* Contact Form 7 — mise en forme calée sur la charte */
.wpcf7 .cf7-col p br,
.wpcf7 .cf7-row p br { display: none; }

.wpcf7 .cf7-col p,
.wpcf7 .cf7-row p { margin: 0; display: flex; flex-direction: column; gap: 4px; }

.wpcf7 .cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.wpcf7 .cf7-col { display: flex; flex-direction: column; margin-bottom: 16px; }

.wpcf7 .wpcf7-form-control-wrap { display: block; width: 100%; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--cream);
  color: var(--ink);
}

.wpcf7 select { appearance: none; -webkit-appearance: none; }

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: var(--prune);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}

.wpcf7 label {
  display: block;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a929f;
  margin-bottom: 7px;
}

@media (max-width: 980px) {
  #e33-header nav {
    display: none;
  }

  #e33-header .e33-nav-cta {
    display: none;
  }

  .e33-burger {
    display: block;
  }

  #e33-header nav.e33-open {
    display: block;
    position: absolute;
    top: var(--e33-header-h);
    left: -28px;
    right: -28px;
    width: auto;
    background: var(--cream);
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
  }

  #e33-header nav.e33-open .e33-nav-menu {
    flex-direction: column;
    gap: 10px;
  }

  .e33-fgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .e33-fgrid {
    grid-template-columns: 1fr;
  }

  .wpcf7 .cf7-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .e33-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ════════════════════════════════════════════
   PAGES INTERNES — héro partagé + en-tête de section
   (réutilisable par toutes les pages internes)
   ════════════════════════════════════════════ */

.e33-phero {
  position: relative;
  padding: 66px 0 60px;
  background:
    radial-gradient(circle at 12% -10%, rgba(107, 30, 91, 0.10), transparent 45%),
    radial-gradient(circle at 92% 0%, rgba(242, 138, 92, 0.12), transparent 42%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.e33-phero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.e33-phero--noimg .e33-phero__grid {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.e33-phero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--prune);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--sh-sm);
}

.e33-phero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--corail);
  flex: 0 0 auto;
}

.e33-phero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin: 0 0 18px;
  color: var(--ink);
}

.e33-phero__lede {
  max-width: 56ch;
  color: #5d5560;
  font-size: 1.08rem;
  line-height: 1.65;
}

.e33-phero__lede p {
  margin: 0 0 0.6em;
}

.e33-phero__lede p:last-child {
  margin-bottom: 0;
}

.e33-phero__media {
  position: relative;
}

.e33-phero__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  aspect-ratio: 4 / 3;
  background: radial-gradient(130% 110% at 72% 8%, #ffeed7 0%, #f8d6b6 34%, #e6b793 62%, #cf9f7e 84%, #b98a6c 100%);
}

.e33-phero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* En-tête de section réutilisable */
.e33-shead {
  max-width: 640px;
  margin: 0 0 40px;
}

.e33-shead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.e33-eyebrow {
  font-weight: 700;
  color: var(--corail-d);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0 0 14px;
}

.e33-shead h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--ink);
  margin: 0;
}

.e33-shead .ldc-wysiwyg {
  margin-top: 16px;
  color: #5d5560;
  font-size: 1.02rem;
}

.e33-shead .ldc-wysiwyg p {
  margin: 0;
}

@media (max-width: 900px) {
  .e33-phero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .e33-phero__media {
    order: -1;
  }
}

/* Bande d'appel à l'action réutilisable */
.e33-cta-band {
  padding: 72px 0;
}

.e33-cta {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 52px 48px;
  text-align: center;
  box-shadow: var(--sh);
}

.e33-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.e33-cta h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0 auto 14px;
  max-width: 20ch;
}

.e33-cta .ldc-wysiwyg {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  margin: 0 auto 24px;
}

.e33-cta .ldc-wysiwyg p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.e33-cta .e33-btn-white {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--prune);
}

.e33-cta .e33-btn-white:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .e33-cta { padding: 40px 26px; }
}

/* Article seul (single post) */
.single-section {
  padding: 56px 0 84px;
}

.single-narrow {
  max-width: 760px;
}

.single-thumb {
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 34px;
  box-shadow: var(--sh-sm);
}

.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-article {
  color: #4d4552;
  font-size: 1.05rem;
  line-height: 1.75;
}

.single-article h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}

.single-article h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin: 1.4em 0 0.4em;
}

.single-article p {
  margin: 0 0 1.1em;
}

.single-article a {
  color: var(--prune);
  text-decoration: underline;
}

.single-back {
  margin-top: 40px;
}
