:root {
  --bg: #F4F2F7;
  --bg-soft: #EDE9F2;
  --ink: #3E3650;
  --ink-soft: #6B6180;
  --lavender: #C9A9D9;
  --lavender-deep: #A87FBE;
  --rose: #E8C4C0;
  --sage: #B8D4C8;
  --sand: #F0E4D3;
  --sage-tint: #E7F1EB;
  --rose-tint: #FBEFED;
  --lavender-tint: #F3EAF7;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--lavender-deep); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid #D8CFE0;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--lavender-deep); background: #ffffff70; }

/* ===== HEADER ===== */
header { padding: 28px 0; }
header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); }
nav { display: flex; align-items: center; gap: 36px; }
nav a { font-size: 0.98rem; color: var(--ink-soft); transition: color 0.2s ease; position: relative; }
nav a:hover { color: var(--ink); }
nav a.current { color: var(--ink); }
nav a.current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--lavender-deep); border-radius: 2px;
}

/* ===== ARTICLE CARDS (base commune, home / blog / article ajoutent leurs couleurs) ===== */
.article-card { background: #ffffffa8; border: 1px solid #ffffff; border-radius: 18px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(107, 97, 128, 0.12); }
.article-thumb { height: 150px; background-size: cover; background-position: center; }
.article-body { padding: 22px 22px 26px; }
.article-cat { font-size: 0.78rem; color: var(--lavender-deep); font-weight: 600; margin-bottom: 10px; }
.article-body h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; line-height: 1.35; }
.article-body p.excerpt { font-size: 0.9rem; color: var(--ink-soft); }
.article-meta { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }

.article-thumb[data-color="sage"] { background: linear-gradient(135deg, var(--sage), #ffffff); }
.article-thumb[data-color="rose"] { background: linear-gradient(135deg, var(--rose), #ffffff); }
.article-thumb[data-color="lavender"] { background: linear-gradient(135deg, var(--lavender), #ffffff); }
.article-thumb[data-color="sand"] { background: linear-gradient(135deg, var(--sand), #ffffff); }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .articles-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
footer { border-top: 1px solid #E2DCE9; padding: 40px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; font-size: 0.88rem; color: var(--ink-soft); }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  nav { gap: 20px; }
}

/* ===== FLOATING CONTACT BUTTON ===== */
.fab-container { position: fixed; right: 28px; bottom: 28px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-options { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.tooltip { position: relative; }
.tooltip::after {
  content: attr(data-label); position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--bg); padding: 7px 13px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.tooltip:hover::after { opacity: 1; }
.fab-option {
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(107, 97, 128, 0.2); opacity: 0; transform: translateY(10px) scale(0.9); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-container.open .fab-option { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-container.open .fab-option:nth-child(1) { transition-delay: 0.16s; }
.fab-container.open .fab-option:nth-child(2) { transition-delay: 0.08s; }
.fab-container.open .fab-option:nth-child(3) { transition-delay: 0s; }
.fab-option svg { width: 22px; height: 22px; }
.fab-option[data-kind="calendly"] { background: #006BFF; }
.fab-option[data-kind="form"] { background: var(--lavender-deep); }
.fab-option[data-kind="whatsapp"] { background: #25D366; }
.fab-main {
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--bg); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(62, 54, 80, 0.3); transition: background 0.2s ease;
}
.fab-main:hover { background: var(--lavender-deep); }
.fab-main svg { width: 26px; height: 26px; }
