:root {
  --text: #9a7346;
  --muted: #7c5e3a;
  --accent-secondary: #5d7583;
  --accent-primary: #68869a;
  --white: #fffdf7;
  --border: rgba(31, 24, 192, 0.22);
  --shadow: none;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1120px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Compense le header sticky pour que le debut des sections ne soit plus cache
     quand on clique sur un onglet de la nav (desktop comme mobile). */
  scroll-padding-top: 3rem;
}

/* Filet de securite sur les ancres de sections : meme offset au cas ou
   un navigateur gere mal scroll-padding-top. */
:target,
section[id],
main[id] {
  scroll-margin-top: 3rem;
}

/* Fond global de la page (arrière-plan principal du site) */
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #E8E0D0;
  /*background: radial-gradient(circle at 92% 6%, rgba(154, 115, 70, 0.16), transparent 42%),
    radial-gradient(circle at 6% 22%, rgba(255, 249, 238, 0.52), transparent 44%), var(--bg);*/
  overflow-x: hidden;
  text-align: justify;
  text-justify: inter-word;
}

a {
  color: inherit;
}

h1,
h2 {
  margin: 0 0 0.7rem; 
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h3,
h4 {
  margin: 0 0 0.7rem;
  font-family: "DM Sans", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h2 {
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
}

p {
  margin: 0 0 1rem;
  font-family: "DM Sans", "Nunito Sans", "Segoe UI", sans-serif;
}

.intro,
.section-narrow p,
.panel-body p,
.panel-body li,
.legal-card p {
  text-align: justify;
  text-justify: inter-word;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.75rem 0;
  color: var(--text);
}

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--text);
  margin-bottom: 1.4rem;
}

#presentation h2 .logo-glyph {
  width: 0.92em;
  height: 0.92em;
  font-size: 0.62em;
  vertical-align: -0.08em;
  margin-right: 0.14em;
}

.hero h1,
#presentation h2,
#accompagnements > .container > h2,
#contact > .container > h2 {
  color: var(--accent-primary);
}

#presentation h2 {
  font-weight: 700;
}

.section-narrow {
  max-width: 82ch;
}

.presentation-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.2rem, 3.6vw, 2.8rem);
  align-items: start;
}

.presentation-photo-frame {
  margin: 0;
  width: min(100%, 300px);
  padding: 0;
  border: none;
  border-radius: 42px;
  background: transparent;
  box-shadow: none;
}

.presentation-photo {
  width: 100%;
  display: block;
  border-radius: 26px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.presentation-copy {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 235, 222, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
}

.header-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding: 0.45rem 0;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: max-content;
}

.logo-glyph {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  background-color: #9a7346;
  background-image: none;
  flex: 0 0 auto;
}

.logo-name {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-family: "DM Sans", Georgia, serif;
  font-size: 1.18rem;
  color: var(--accent-primary);
  white-space: nowrap;
}

.logo-tagline {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-nav::-webkit-scrollbar {
  height: 4px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.92rem;
  flex: 0 0 auto;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-secondary);
  background: rgba(93, 117, 131, 0.16);
}

.main-nav .nav-cta {
  background: var(--accent-primary);
  color: var(--white);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: var(--accent-secondary);
  color: var(--white);
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.1rem;
  align-items: start;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  color: var(--text);
  max-width: 18ch;
}

.hero-title-main {
  font-family: "DM Sans", "Nunito Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
}

.hero-title-alt {
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
  font-weight: 700;
  color: var(--accent-secondary);
  font-size: 1.2em;
}

.intro {
  max-width: 58ch;
  color: var(--text);
  font-size: 1.1rem;
}

.pillar-grid {
  display: grid;
  gap: 0.9rem;
}

.pillar {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.pillar-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease;
}

.pillar-link:hover,
.pillar-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: none;
}

.pillar-link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.pillar h2 {
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  margin: 0;
  color: var(--accent-secondary);
}

.pillar-intimate h2,
.pillar-supervision h2 {
  color: var(--accent-secondary);
}

.pillar-professional h2 {
  color: var(--accent-primary);
}

.pillar-professional {
  background: #e6e4ff;
}

.pillar-intimate {
  background: #dfddff;
}

.pillar-supervision {
  background: #f0efff;
}

.cards-2,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.panel,
.contact-card {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card,
.contact-card {
  padding: 1.3rem 1.25rem;
}

.card-warm-light {
  background: linear-gradient(180deg, rgba(182, 138, 93, 0.2), rgba(255, 249, 238, 0.95));
}

.card-warm-medium {
  background: linear-gradient(180deg, rgba(154, 115, 70, 0.24), rgba(255, 249, 238, 0.96));
}

.card-warm-deep {
  background: linear-gradient(180deg, rgba(142, 104, 66, 0.22), rgba(255, 249, 238, 0.94));
}

/* Lien pilier ciblé (ex: <a class="pillar pillar-link pillar-intimate">...) */
#accompagnements .card,
#supervision .card,
#contact .contact-card,
.atelier-subsection .card,
.pillar.pillar-link {
  background: #e7dec6;
}

/* Carte accompagnements ciblée (ex: <article class="card card-warm-light">...) */

#contact .contact-card h3 {
  color: var(--accent-secondary);
}

#accompagnements .card p,
#accompagnements .card li,
#supervision .card p,
#supervision .card li,
#contact .contact-card p,
#contact .contact-card a {
  color: var(--text);
}

#supervision .card {
  border: none;
}

#accompagnements .card {
  text-align: left;
  text-justify: auto;
}

#contact .contact-card {
  border: none;
}

#supervision .card h2 {
  font-family: "DM Sans", Georgia, serif;
  color: var(--accent-secondary);
}

#accompagnements .card h3,
.atelier-subsection .card h2 {
  color: var(--accent-primary);
}

#accompagnements .card-warm-medium h3 {
  color: var(--accent-secondary);
}

#accompagnements .card h3 {
  font-size: clamp(1.36rem, 2.8vw, 1.8rem);
}

#contact .contact-card a {
  border-bottom-color: rgba(255, 249, 238, 0.74);
}

.panel {
  overflow: clip;
}

.panel-header {
  background: var(--accent-primary);
  color: var(--white);
  padding: 1.4rem 1.25rem;
}

.panel-header h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.panel-header p {
  margin: 0;
  font-size: 1.04rem;
}

.panel-body {
  padding: 1.4rem 1.25rem;
}

#travail .panel-body,
#intime .panel-body {
  background: rgba(239, 235, 222, 0.88);
}

.work-intro-list,
.process-list,
.dot-list,
.approach-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.work-intro-list li,
.process-list li,
.dot-list li,
.approach-list li {
  margin-bottom: 0.65rem;
}

.work-intro-list li::marker,
.process-list li::marker {
  color: var(--accent-primary);
}

.panel-intimate .work-intro-list li::marker,
.panel-intimate .process-list li::marker,
.dot-list li::marker,
.approach-list li::marker {
  color: var(--text);
}

.process-intro {
  margin: 1.15rem 0 0.95rem;
  padding-top: 0.9rem;
  border-top: none;
}

.process-kicker {
  margin: 0 auto;
  width: min(100%, 30rem);
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  font-size: clamp(1.08rem, 2.3vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #9a7346;
}

.process-kicker-vignettes {
  width: auto;
  display: flex;
  justify-content: center;
  gap: 0.52rem;
  flex-wrap: wrap;
}

.process-kicker-vignettes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.9rem;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  border: none;
  background: #E8E0D0;
  color: var(--accent-primary);
}

.process-intro .process-title {
  margin: 0.35rem 0 0;
}

.process-title {
  margin: 0.35rem 0 0;
  font-family: "DM Sans", Georgia, serif;
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  line-height: 1.45;
  color: var(--accent-primary);
}

.work-goals {
  margin: 0.45rem 0 0;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.work-goals strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.process-list {
  margin-bottom: 1rem;
}

.intime-topic + .intime-topic,
.intime-topic + .intime-subsection {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: none;
}

.topic-title {
  margin: 0 0 0.55rem;
  font-family: "DM Sans", Georgia, serif;
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  line-height: 1.45;
  color: var(--accent-primary);
}

#intime .work-intro-list li::marker,
#intime .dot-list li::marker {
  color: var(--accent-primary);
}

.approach-list span {
  color: var(--accent-primary);
  font-weight: 700;
}

.atelier-subsection {
  margin-top: 1.8rem;
  padding-top: 1.55rem;
  border-top: none;
}

.atelier-panels {
  margin-top: 1.05rem;
}

.atelier-panel {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  text-align: left;
}

.atelier-panel h2 {
  margin: 0;
  font-family: "DM Sans", Georgia, serif;
  font-size: clamp(1.18rem, 2.7vw, 1.5rem);
  letter-spacing: 0.03em;
}

.atelier-panel p {
  margin: 0;
  text-align: left;
}

.sub-intro {
  margin: 0.35rem 0 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.panel-intimate .sub-intro {
  color: var(--text);
}

#intime .panel-header {
  background: var(--accent-secondary);
}

#intime .process-kicker-vignettes span,
#intime .process-title,
#intime .topic-title,
#intime .approach-list span,
#intime .atelier-subsection .card h2,
#intime .work-goals strong {
  color: var(--accent-secondary);
}

#intime .work-intro-list li::marker,
#intime .process-list li::marker,
#intime .dot-list li::marker {
  color: var(--accent-secondary);
}

.price {
  font-weight: 700;
  color: var(--text);
}

.contact-grid h3 {
  margin-bottom: 0.35rem;
}

.contact-card a {
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 115, 70, 0.5);
}

.transport {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 1.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--accent-primary);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

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

.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

/* Mentions légales */
.legal-main {
  padding-top: 5rem;
}

.legal-header {
  margin-bottom: 1.5rem;
}

.legal-grid {
  display: grid;
  gap: 1rem;
}

.legal-card {
  border: none;
  border-radius: var(--radius-lg);
  background: rgba(239, 235, 222, 0.88);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.legal-header h1,
.legal-card h2 {
  color: var(--accent-primary);
}

.legal-card h2 {
  font-size: 1.5rem;
}

.placeholder-badge {
  display: inline-block;
  padding: 0.1rem 0.42rem;
  border-radius: 6px;
  background: rgba(31, 24, 192, 0.14);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .presentation-layout,
  .cards-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .presentation-layout {
    gap: 1.1rem;
  }

  .presentation-photo-frame {
    margin: 0 auto;
  }

  .section {
    padding: 3.8rem 0;
  }

  .header-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.65rem 0 0.45rem;
  }

  .logo {
    width: 100%;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 0.25rem;
  }

  .main-nav a {
    border-radius: 9px;
  }

  .main-nav.legal-nav {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  /* Rendu mobile plus aéré et "dézoomé", proche de la version desktop.
     On réduit la racine pour que TOUT (titres, paddings, icônes) se réduise
     dans les mêmes proportions que la version PC, sans casser la lisibilité. */
  html {
    font-size: 80%;
  }

  body {
    text-align: left;
    text-justify: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  /* Inspiration Wix : un peu plus d'air vertical autour des cartes/légales */
  .legal-grid {
    gap: 1.4rem;
  }

  .legal-card {
    padding: 1.4rem 1.25rem;
  }

  p,
  li,
  .intro,
  .section-narrow p,
  .panel-body p,
  .panel-body li,
  .legal-card p {
    text-align: left;
    text-justify: auto;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 4.8rem;
  }

  h1 {
    max-width: 100%;
  }

  .hero-title-main {
    white-space: normal;
  }

  .intro br {
    display: none;
  }

  .presentation-photo-frame {
    width: min(100%, 250px);
    border-radius: 34px;
  }

  .presentation-photo {
    border-radius: 22px;
  }

  .logo-tagline {
    white-space: normal;
  }

  .main-nav {
    -webkit-overflow-scrolling: touch;
  }

  .process-kicker-vignettes {
    gap: 0.35rem;
  }

  .process-kicker-vignettes span {
    min-width: 0;
    padding: 0.34rem 0.72rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}