/* Concierge Web — feuille de style légère
   Objectif: sobre, blanc, rapide, lisible. */

:root {
  --bg: #ffffff;
  --ink: #111418;
  --ink-soft: #444a52;
  --muted: #6b7280;
  --line: #e7e9ee;
  --line-soft: #f1f2f5;
  --accent: #1f3a5f;       /* bleu nuit discret */
  --accent-soft: #eef2f7;
  --accent-warm: #c8723a;  /* touche chaude rare, accent secondaire */
  --ok: #2f7d4f;
  --warn: #b35a00;
  --radius: 10px;
  --maxw: 1080px;
  --shadow: 0 1px 0 rgba(17,20,24,0.04);
  --shadow-lift: 0 6px 24px -12px rgba(17,20,24,0.18), 0 1px 0 rgba(17,20,24,0.04);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
a:hover { border-bottom-color: var(--accent); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header / nav ----- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
}
.brand-name { font-size: 17px; letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a[aria-current="page"] {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ----- Menu hamburger ----- */
.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease;
}
.nav-toggle-btn:hover,
.nav-toggle-btn:focus-visible { border-color: var(--ink); outline: none; }
.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, opacity .15s ease, background .15s ease;
}
.nav-toggle-btn span {
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -1px;
}
.nav-toggle-btn span::before,
.nav-toggle-btn span::after { content: ""; left: 0; }
.nav-toggle-btn span::before { top: -7px; }
.nav-toggle-btn span::after { top: 7px; }
.nav-toggle-btn[aria-expanded="true"] span { background: transparent; }
.nav-toggle-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav { position: relative; padding-right: 4px; }
  .nav-toggle-btn { display: block; position: relative; z-index: 12; margin-right: 4px; }
  .nav-primary {
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 30px -18px rgba(17,20,24,0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    visibility: hidden;
  }
  .nav-primary[data-open="true"] {
    max-height: 600px;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-links li {
    border-top: 1px solid var(--line-soft);
  }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--ink);
  }
  .nav-links a[aria-current="page"] {
    border-bottom: none;
    color: var(--accent);
    font-weight: 500;
  }
}

/* ----- Sections ----- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 650; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 14px; color: var(--ink-soft); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }

/* ----- Hero ----- */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 380px at 88% -10%, rgba(31,58,95,0.06), transparent 60%),
    radial-gradient(600px 320px at 0% 110%, rgba(200,114,58,0.05), transparent 60%),
    linear-gradient(180deg, #fbfbfc 0%, #ffffff 70%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M40 0H0v40' fill='none' stroke='%23111418' stroke-opacity='0.05' stroke-width='1'/></svg>");
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 80%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent) 0%, #355a85 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero .lead { margin-top: 18px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #000; border-color: #000; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(17,20,24,0.45); }
.btn::after {
  content: "\2192"; /* flèche droite */
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease;
}
.btn:hover::after { transform: translateX(3px); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink); background: #fff; box-shadow: none; }
.btn-secondary::after { content: ""; }
.btn-plain::after { content: ""; }

/* ----- Grilles ----- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #d8dce4;
}
.tile h3 { margin-bottom: 6px; }
.tile p { margin: 0; font-size: 15px; }

.tile-icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  margin-bottom: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  box-sizing: border-box;
}

/* ----- Process steps ----- */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px 22px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #d8dce4;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.10;
  letter-spacing: -0.02em;
  position: absolute;
  top: 12px;
  right: 14px;
}
.step::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.5;
}
.step h3 { margin-bottom: 4px; font-size: 16px; }
.step p { margin: 0; font-size: 15px; }

/* ----- Tag list ----- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  font-size: 14px;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}
.tag:hover { border-color: #c8cdd6; color: var(--ink); background: #fafbfc; }

/* ----- Case cards (exemples) ----- */
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  border-radius: 2px;
}
.case:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #d8dce4;
}
.case h3 { font-size: 16px; margin: 0; }
.case-block { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.case-block:first-of-type { border-top: 0; padding-top: 0; }
.case-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-block:nth-of-type(1) .case-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d05a5a; opacity: 0.65; display: inline-block; }
.case-block:nth-of-type(2) .case-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-warm); opacity: 0.7; display: inline-block; }
.case-block:nth-of-type(3) .case-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); opacity: 0.7; display: inline-block; }
.case p { margin: 0; font-size: 15px; }

/* ----- Service blocks ----- */
.service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line-soft);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { margin: 0; font-size: 22px; }
.service ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.service li { margin: 4px 0; }

@media (min-width: 720px) {
  .service { grid-template-columns: 1fr 2fr; gap: 32px; }
}

/* ----- "Ce que je ne fais pas" ----- */
.not-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.not-list li {
  padding: 12px 16px 12px 38px;
  border: 1px dashed #d8dce4;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  position: relative;
  background: #fafbfc;
}
.not-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 1.5px solid #c8723a;
  opacity: 0.7;
  box-sizing: border-box;
}
.not-list li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 8px;
  height: 1.5px;
  margin-top: -1px;
  background: #c8723a;
  opacity: 0.7;
}

/* ----- Form ----- */
.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.field input,
.field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease;
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field .hint { font-size: 13px; color: var(--muted); }

.form-success {
  display: none;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fafafa;
  color: var(--ink);
}
.form-success.is-visible { display: block; }

.form-error {
  display: none;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid #c0392b;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fdf3f2;
  color: var(--ink);
}
.form-error.is-visible { display: block; }

/* ----- Philosophy list ----- */
.philo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.philo li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  position: relative;
  padding-left: 36px;
  transition: border-color .15s ease, transform .15s ease;
}
.philo li:hover { border-color: #c8cdd6; transform: translateY(-1px); }
.philo li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}
.philo li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Section accent: bandeau CTA discret ----- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(31,58,95,0.06), transparent 60%),
    linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* ----- Séparateur décoratif ----- */
.divider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
}
.divider-dots li {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}
.divider-dots li:nth-child(2) { background: var(--accent); opacity: 0.6; }

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 14px;
  background: #fafbfc;
}
.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: start;
}
.footer-grid a { color: var(--ink-soft); border-bottom: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-nav {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ----- Utilities ----- */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 12px; }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Mention de consentement Loi 25 sous les formulaires */
.form-consent {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
