/* =====================================================================
   Rault · Bovis Avocats — Feuille de style principale
   Site vitrine statique — palette sobre (bleu nuit / laiton)
   ===================================================================== */

:root {
  --navy:        #16233d;   /* bleu nuit principal */
  --navy-dark:   #0f1a2e;
  --navy-soft:   #24344f;
  --brass:       #b08d57;   /* accent laiton / or */
  --brass-dark:  #6f5a2f;   /* laiton foncé — contraste AA sur fond clair */
  --brass-lite:  #c9a56a;   /* laiton clair — survol des boutons */
  --ink:         #1d2530;   /* texte courant */
  --muted:       #5b6472;   /* texte secondaire */
  --line:        #e3e6ec;   /* filets / séparateurs */
  --paper:       #ffffff;
  --cream:       #f7f5f1;   /* fonds de section alternés */
  --max:         1140px;
  --radius:      4px;
  --shadow:      0 12px 40px rgba(16, 26, 46, .10);
  --font-serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: #d8deea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass-dark);
  font-weight: 600; margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--brass); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #b9c2d3; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.divider { width: 60px; height: 2px; background: var(--brass); border: 0; margin: 20px 0 28px; }
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; font-family: var(--font-sans); font-weight: 600;
  font-size: .95rem; letter-spacing: .02em; padding: 14px 30px;
  border-radius: var(--radius); border: 1.5px solid var(--brass);
  cursor: pointer; transition: all .22s ease;
}
.btn--primary { background: var(--brass); color: var(--navy-dark); }
.btn--primary:hover { background: var(--brass-lite); border-color: var(--brass-lite); color: var(--navy-dark); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: baseline; gap: .55rem; font-family: var(--font-serif); }
.brand__name { font-size: 1.5rem; font-weight: 600; color: var(--navy); letter-spacing: .04em; }
.brand__dot  { color: var(--brass); }
.brand__sub  { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .28em;
               text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .93rem; font-weight: 500; color: var(--ink); letter-spacing: .01em;
  padding: 6px 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--brass); transition: width .25s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--navy); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background:
    linear-gradient(180deg, rgba(15,26,46,.82), rgba(15,26,46,.92)),
    radial-gradient(1200px 600px at 50% -20%, #2a3c5e, var(--navy-dark));
  padding: 130px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .eyebrow { color: var(--brass); }
.hero .lead { color: #c9d2e2; margin: 18px auto 34px; font-size: 1.25rem; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes domaines ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3d8e2; }
.card__icon {
  width: 46px; height: 46px; margin-bottom: 16px; color: var(--brass);
}
.card h3 { margin-bottom: .3em; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Cartes avocats ---------- */
.lawyer {
  display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; margin-bottom: 28px;
}
.lawyer__photo {
  width: 200px; height: 240px; border-radius: var(--radius); object-fit: cover;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-family: var(--font-serif); font-size: 3.5rem;
}
.lawyer__role { color: var(--brass-dark); font-weight: 600; font-size: .85rem;
                letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.lawyer h3 { font-size: 1.7rem; margin-bottom: .35em; }
.lawyer__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .8rem; padding: 5px 12px; border: 1px solid var(--line);
       border-radius: 40px; color: var(--muted); background: var(--cream); }

/* ---------- Contenu long (bio, mentions) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- Bloc contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-list .k { color: var(--brass); flex: 0 0 26px; }
.info-list a { color: #fff; }
.info-list a:hover { color: var(--brass); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: #d8deea; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff;
  font-family: inherit; font-size: 1rem;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.form-note { font-size: .82rem; color: #99a4b8; }

.map-embed { width: 100%; height: 320px; border: 0; border-radius: var(--radius); filter: grayscale(.2); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: #9aa6bd; padding: 60px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h3 { color: #fff; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .18em;
                  text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.site-footer .brand__sub { color: #aeb8cc; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #9aa6bd; }
.site-footer a:hover { color: var(--brass); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
                 display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* ---------- Page intérieure : bandeau ---------- */
.page-head { background: var(--navy); color: #fff; padding: 70px 0 60px; text-align: center; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #c9d2e2; margin: 10px auto 0; }
.breadcrumb { font-size: .85rem; color: #9aa6bd; margin-bottom: 10px; }
.breadcrumb a { color: #9aa6bd; }
.breadcrumb a:hover { color: var(--brass); }

/* ---------- Réactivité ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 14px 0; }
  .nav__cta { margin: 14px 0 0; }
  .lawyer { grid-template-columns: 1fr; }
  .lawyer__photo { width: 100%; height: 260px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
