/* FOURCARE - feuille de style unique - charte kakémono VASCO */

:root {
  --violet: #1F093F;        /* fond violet profond */
  --violet-2: #2B1454;      /* variante légèrement plus claire pour les cartes sur fond sombre */
  --accent: #8256BF;        /* violet d'accent */
  --lilas: #B7A4DC;         /* textes secondaires sur fond sombre */
  --blanc: #F7F7F6;         /* blanc doux */
  --ink: #1F093F;
  --ink-soft: #4B4458;
  --line: #E6E1F0;
  --reunidoc: #03588C;
  --bra: #1F8C4E;
  --ag: #FF5D3E;
  --pragma: #73685F;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h1 .soft, h2 .soft { font-weight: 400; color: var(--lilas); }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 720px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: var(--violet); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blanc); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.brand img { height: 40px; width: auto; display: block; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--blanc); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--lilas); }
.nav .btn { padding: 10px 18px; }
.burger { display: none; background: none; border: 1px solid var(--accent); color: var(--blanc); border-radius: 8px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: var(--blanc) !important; text-decoration: none;
  font-weight: 600; transition: background .2s, transform .2s;
}
.btn:hover { background: #6d44a8; transform: translateY(-1px); color: var(--blanc) !important; }
.btn.ghost { background: transparent; border: 1.5px solid var(--lilas); color: var(--blanc) !important; }
.btn.ghost:hover { background: rgba(183,164,220,.15); }
.btn.light { background: var(--blanc); color: var(--violet) !important; }
.btn.light:hover { background: #ffffff; }

/* Hero */
.hero { background: var(--violet); color: var(--blanc); padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 640px; height: 640px;
  border-radius: 50%; background: radial-gradient(circle, rgba(130,86,191,.35), transparent 68%); pointer-events: none;
}
.hero .eyebrow { color: var(--lilas); }
.hero .lead { color: var(--lilas); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .place { margin-top: 36px; color: var(--lilas); font-size: .95rem; }
.hero .logo-big { width: 84px; height: auto; margin-bottom: 24px; display: block; }
.hero.compact { padding: 72px 0 56px; }

/* Bande de couleurs des cabinets */
.stripes { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.stripes span:nth-child(1) { background: var(--reunidoc); }
.stripes span:nth-child(2) { background: var(--bra); }
.stripes span:nth-child(3) { background: var(--ag); }
.stripes span:nth-child(4) { background: var(--pragma); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: #ffffff; }
section.dark { background: var(--violet); color: var(--blanc); }
section.dark .eyebrow { color: var(--lilas); }
section.dark h2, section.dark h3 { color: var(--blanc); }
section.dark p { color: var(--lilas); }
.section-head { max-width: 760px; margin-bottom: 44px; }

/* Grilles et cartes */
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .num { font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .96rem; }
.card ul li { margin-bottom: 4px; }
.card.c1 { border-top: 5px solid var(--ag); }
.card.c2 { border-top: 5px solid var(--bra); }
.card.c3 { border-top: 5px solid var(--pragma); }
.card.c4 { border-top: 5px solid var(--reunidoc); }
.dark .card { background: var(--violet-2); border-color: #3a2466; }
.dark .card p, .dark .card ul { color: var(--lilas); }
.dark .card h3 { color: var(--blanc); }

/* Équipe (cartouches du kakémono) */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { border-radius: var(--radius); padding: 26px 22px; color: #ffffff; min-height: 250px; display: flex; flex-direction: column; }
.member.reunidoc { background: var(--reunidoc); }
.member.bra { background: var(--bra); }
.member.ag { background: var(--ag); color: var(--violet); }
.member.pragma { background: var(--pragma); }
.member .firm { font-weight: 800; letter-spacing: .04em; font-size: .95rem; text-transform: uppercase; margin-bottom: 18px; }
.member .first { font-size: 1.05rem; line-height: 1.2; }
.member .last { font-size: 1.35rem; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.member .role { font-size: .95rem; margin-bottom: auto; }
.member .contact { font-size: .84rem; margin-top: 18px; line-height: 1.5; word-break: break-word; }
.member .contact a { color: inherit; text-decoration: none; }
.member .contact a:hover { text-decoration: underline; }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.figure .n { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.dark .figure .n { color: var(--blanc); }
.figure .l { color: var(--ink-soft); font-size: .95rem; margin-top: 8px; }
.dark .figure .l { color: var(--lilas); }

/* Étapes (méthode) */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 20px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .k { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--ink-soft); }
.step .meta { display: block; margin-top: 8px; font-size: .85rem; color: var(--accent); font-weight: 600; }

/* Personas */
.persona .tag { display: inline-block; background: #EFE9F8; color: var(--accent); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.persona .who { font-style: italic; color: var(--ink-soft); margin-bottom: 10px; font-size: .95rem; }
.persona ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .96rem; }

/* Bandeau citation */
.band { background: var(--violet); color: var(--blanc); text-align: center; padding: 80px 0; }
.band blockquote { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin: 0 auto; max-width: 820px; font-weight: 700; line-height: 1.2; }
.band blockquote .soft { font-weight: 400; color: var(--lilas); }

/* CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: .6rem; }
.cta p { max-width: 640px; margin: 0 auto 28px; }
.cta .mail { display: block; margin-top: 18px; font-size: 1.05rem; }

/* Footer */
footer { background: var(--violet); color: var(--lilas); padding: 48px 0 32px; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
footer a { color: var(--blanc); text-decoration: none; }
footer a:hover { color: var(--lilas); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer .legal { border-top: 1px solid #3a2466; padding-top: 20px; font-size: .82rem; line-height: 1.5; }

/* Page mentions légales */
.legal-page h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-page p { max-width: 760px; }
.todo { background: #FFF1DA; border: 1px dashed #d99a2b; padding: 2px 6px; border-radius: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .grid.four, .grid.three, .team { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid.two, .grid.three, .grid.four, .team { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .step { grid-template-columns: 1fr; }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--violet); flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--accent); }
  .nav ul.open { display: flex; }
  .burger { display: block; }
}
