:root {
  --mint: #A8E6CF;
  --teal: #569DAA;
  --slate: #2D4356;
  --sage: #569DAA;
  --sage-light: #edf7f4;
  --sage-mid: #A8E6CF;
  --ink: #2D4356;
  --muted: #5a7282;
  --cream: #faf8f4;
  --white: #ffffff;
  --border: #dce8e2;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(45,67,86,.09);
  --font-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: 'Georgia', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.site-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.site-glow--mint-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: rgba(168,230,207,.32);
}
.site-glow--teal-1 {
  width: 360px;
  height: 360px;
  top: 35%;
  right: -100px;
  background: rgba(86,157,170,.2);
}
.site-glow--mint-2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 12%;
  background: rgba(168,230,207,.22);
}
.site-glow--slate {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: 18%;
  background: rgba(45,67,86,.1);
}
.site-shell {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  overflow: visible;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
  padding: 2px 0;
}
.nav-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 54px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }

.hero {
  position: relative;
  padding: clamp(52px, 9vw, 96px) 24px clamp(48px, 7vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.hero-inner {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  animation: heroFadeIn .9s ease both;
}
.hero-symbol {
  display: flex;
  justify-content: center;
  margin: 0 auto 22px;
}
.hero-symbol img {
  display: block;
  width: min(108px, 26vw);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(45,67,86,.12));
}
.hero-name {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  background: linear-gradient(105deg, var(--teal) 0%, var(--slate) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-specialty {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1041px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }

.section-label {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1.25;
}
p { color: #3a4e42; margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.portrait-section {
  display: grid;
  grid-template-columns: 338px 1fr;
  gap: 52px;
  align-items: start;
}
.portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}
.portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--sage-light);
  border: 2px dashed var(--sage-mid);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-family: var(--font-sans);
  font-size: .8rem;
  text-align: center;
  gap: 10px;
}
.quote-block {
  border-left: 3px solid var(--sage);
  padding-left: 22px;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
}

.location-list { list-style: none; margin-top: 24px; }
.location-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.location-list li:last-child { border-bottom: none; }
.loc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 7px;
  flex-shrink: 0;
}
.loc-dot.future { background: var(--sage-mid); border: 2px solid var(--sage); }
.loc-info strong {
  display: block;
  font-family: var(--font-sans);
  font-size: .95rem;
}
.loc-info span {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--muted);
}
.loc-info .loc-detail { margin-top: 6px; font-size: .88rem; }
.loc-info .loc-address {
  margin-top: 8px;
  font-size: .85rem;
  font-family: var(--font-sans);
  color: var(--muted);
}
.loc-info a { color: var(--sage); text-decoration: none; }

.inscription-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.inscription-buttons--after-palliatif {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.palliatif-wrap {
  position: relative;
  margin-top: 32px;
  padding-top: 60px;
}
.palliatif-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 72px 40px 44px;
  position: relative;
}
.palliatif-banner .section-label { color: var(--sage-mid); }
.palliatif-banner h2 { color: var(--white); margin-bottom: 16px; }
.palliatif-banner p { color: rgba(255,255,255,.75); }
.palliatif-photo {
  position: absolute;
  top: 0;
  left: 40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ink);
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  z-index: 2;
}
.palliatif-photo-placeholder {
  position: absolute;
  top: 0;
  left: 40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 4px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#outils { background: rgba(255,255,255,.82); }

.outils-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}
.outils-empty {
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--muted);
}

.outil-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.outil-card:hover {
  box-shadow: 0 8px 32px rgba(45,67,86,.12);
  transform: translateY(-2px);
}
.outil-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--sage-light);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.outil-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.outil-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  gap: 10px;
  color: var(--white);
  background: linear-gradient(160deg, var(--teal) 0%, var(--slate) 100%);
}
.outil-preview-label {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
}
.outil-preview-title {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: normal;
  line-height: 1.3;
}
.outil-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}
.outil-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--sage-light);
  color: var(--sage);
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.outil-title {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 10px;
}
.outil-description {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.6;
}
.outil-description p {
  font-size: inherit;
  color: inherit;
  margin-bottom: 0;
}
.outil-description p + p {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  border: none;
}
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: #458a96; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--sage); border: 1px solid var(--sage); }
.btn-outline:hover { background: var(--sage-light); }

.inscription-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s;
}
.inscription-modal-close:hover { background: var(--sage-light); }

/* ── MODALE INSCRIPTION ─────────────────── */
.inscription-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inscription-modal.open { display: flex; }
.inscription-modal-inner {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.inscription-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 0;
}
.inscription-modal-header h3 {
  font-size: 1.25rem;
  font-weight: normal;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.inscription-form { padding: 20px 24px 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label,
.form-options legend {
  display: block;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group .required { color: var(--sage); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92,138,114,.15);
}
.form-options {
  border: none;
  padding: 0;
  margin-bottom: 16px;
}
.form-options legend { margin-bottom: 10px; }
.option-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 8px;
  cursor: pointer;
}
.option-radio input { accent-color: var(--sage); }
.form-message {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .85rem;
  margin-bottom: 16px;
}
.form-message.is-visible { display: block; }
.form-message.is-success {
  background: var(--sage-light);
  color: var(--ink);
  border: 1px solid var(--sage-mid);
}
.form-message.is-error {
  background: #fdecea;
  color: #8a2a2a;
  border: 1px solid #f5c6c6;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 36px 24px;
  font-family: var(--font-sans);
  font-size: .78rem;
  line-height: 1.9;
}
.site-footer strong { color: rgba(255,255,255,.85); }
.site-footer .copyright { font-size: .72rem; opacity: .5; }

.page-content { padding: 72px 0; }
.page-content h1 { font-size: 2rem; font-weight: normal; margin-bottom: 24px; }
.page-content a { color: var(--sage); }

@media (max-width: 1024px) {
  .outils-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .portrait-section { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 280px; margin: 0 auto; }
  .outils-list { grid-template-columns: 1fr; }
  .site-nav { padding: 10px 16px; min-height: 64px; }
  .nav-logo { max-height: 44px; max-width: 160px; }
  .nav-links { gap: 16px; }
  .palliatif-banner { padding: 32px 24px; }
  .palliatif-photo, .palliatif-photo-placeholder { left: 24px; width: 90px; height: 90px; }
  .form-row { grid-template-columns: 1fr; }
  .inscription-buttons { flex-direction: column; }
  .inscription-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
}
