/* ============================================================
   Site Maître Terence ASSEKO — Avocat au Barreau de Paris
   Design : moderne / épuré
   ============================================================ */

:root {
  --navy: #1a2a45;
  --navy-deep: #11192b;
  --accent: #b08d57;        /* doré sobre */
  --ink: #1f2733;
  --muted: #5d6677;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --max: 1080px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

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

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name {
  font-family: "Georgia", serif; font-size: 20px; font-weight: 600;
  color: var(--navy); letter-spacing: 0.02em;
}
.brand .role { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }

nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a {
  font-size: 14.5px; color: var(--ink); letter-spacing: 0.01em;
  padding: 6px 0; position: relative;
}
nav.links a.active { color: var(--accent); }
nav.links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
nav.links a:hover::after, nav.links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 24px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 96px 0 88px;
}
.hero h1 { color: #fff; font-size: 44px; max-width: 760px; }
.hero .lede {
  color: #c9d2e0; font-size: 19px; max-width: 620px; margin-top: 22px;
}
.hero .accent-line { width: 56px; height: 3px; background: var(--accent); margin-bottom: 30px; }
.hero .cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em; cursor: pointer;
  transition: all .2s ease; border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9a7846; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
section.block { padding: 78px 0; }
section.block.soft { background: var(--bg-soft); }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
section.block h2 { font-size: 32px; margin: 12px 0 8px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-head h1 { font-size: 38px; }
.page-head .accent-line { width: 48px; height: 3px; background: var(--accent); margin-bottom: 22px; }
.page-head p { color: var(--muted); max-width: 640px; margin-top: 14px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 10px 34px rgba(26,42,69,0.08); transform: translateY(-3px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .num { color: var(--accent); font-family: "Georgia", serif; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; }

/* ---------- About / Photo ---------- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.photo-frame {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; text-align: center; padding: 20px; overflow: hidden;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin-bottom: 18px; color: var(--ink); }
.prose p.lead { font-size: 19px; color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info dl { margin-top: 8px; }
.contact-info dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 22px; }
.contact-info dd { font-size: 17px; color: var(--ink); margin-top: 4px; }

form .field { margin-bottom: 18px; }
form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.02em; }
form input, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); }
form textarea { min-height: 130px; resize: vertical; }

/* ---------- Honoraires list ---------- */
.fee-list { list-style: none; }
.fee-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.fee-list li:last-child { border-bottom: 0; }
.fee-list .mark { color: var(--accent); font-weight: 700; }
.fee-list strong { color: var(--navy); }

.notice {
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  padding: 20px 24px; border-radius: var(--radius); color: var(--muted); font-size: 15.5px;
}

/* ---------- Legal page ---------- */
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 8px; }
.legal .first { margin-top: 0; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep); color: #aeb8c8; padding: 54px 0 30px; margin-top: 0;
}
footer.site .grid-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site h4 { color: #fff; font-family: "Georgia", serif; font-size: 16px; margin-bottom: 14px; font-weight: 600; }
footer.site a { color: #aeb8c8; font-size: 14.5px; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--accent); }
footer.site .collab { font-size: 14.5px; line-height: 1.6; }
footer.site .collab strong { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 38px; padding-top: 22px;
  font-size: 13px; color: #7e8aa0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Publications (liste) ---------- */
.pub-list { display: grid; gap: 24px; }
.pub-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: box-shadow .25s ease, transform .25s ease;
}
.pub-card:hover { box-shadow: 0 10px 34px rgba(26,42,69,0.08); transform: translateY(-3px); }
.pub-card .pub-date {
  font-family: "Georgia", serif; color: var(--accent); font-size: 15px;
  border-right: 1px solid var(--line); padding-right: 24px; line-height: 1.4;
}
.pub-card .pub-date .day { display: block; font-size: 30px; color: var(--navy); }
.pub-card h3 { font-size: 20px; margin-bottom: 8px; }
.pub-card p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.pub-card .tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.pub-card .read { font-size: 14px; font-weight: 500; color: var(--navy); }
.pub-card .read:hover { color: var(--accent); }

/* ---------- Article (lecture) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: 14px; letter-spacing: 0.03em; margin-bottom: 8px; }
.article .meta .tag { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.article h1 { font-size: 34px; line-height: 1.2; margin-bottom: 18px; }
.article .lede { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.article-body { font-size: 17.5px; line-height: 1.75; }
.article-body h2 { font-size: 24px; margin: 38px 0 12px; }
.article-body h3 { font-size: 19px; margin: 28px 0 8px; }
.article-body p { margin-bottom: 18px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 22px 0;
  color: var(--muted); font-style: italic;
}
.article-body .ref { font-size: 14.5px; color: var(--muted); }
.article-foot {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.article-foot .sig { font-size: 14.5px; color: var(--muted); }
.article-foot .sig strong { color: var(--navy); }

/* ---------- Hero : motif architectural ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-motif {
  position: absolute; top: 0; right: 0; height: 100%; width: 46%;
  z-index: 1; opacity: 0.10; pointer-events: none;
  display: flex; align-items: stretch; justify-content: flex-end;
}
.hero-motif svg { height: 100%; width: auto; }
@media (max-width: 760px) { .hero-motif { display: none; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-family: "Georgia", serif; font-size: 18px; color: var(--navy); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px;
  font-family: "Inter", sans-serif; font-size: 22px; color: var(--accent); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .pub-card { grid-template-columns: 1fr; gap: 10px; }
  .pub-card .pub-date { border-right: 0; padding-right: 0; display: flex; gap: 8px; align-items: baseline; }
  .pub-card .pub-date .day { font-size: 22px; }
  .article h1 { font-size: 28px; }
  .photo-frame { max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  footer.site .grid-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
  nav.links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 28px 18px;
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
