/* Polices hébergées sur le site (aucun appel à Google Fonts) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }

:root {
  --ink: #16202e;
  --ink-soft: #3a4556;
  --muted: #6b7482;
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --line: #e2dccf;
  --brass: #a8834a;
  --brass-dark: #8a6a37;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  font-weight: 600;
  margin: 0 0 14px;
}

/* Éléments à compléter (à supprimer une fois les infos renseignées) */
.todo {
  background: #fff3c4;
  color: #6b5200;
  padding: 0 4px;
  border-radius: 3px;
  font-style: normal;
}

/* ---------- Barre du haut ---------- */
.topbar { background: var(--ink); color: #aab1bc; font-size: 0.8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--paper); }
.lang { display: flex; gap: 2px; margin-left: auto; }
.lang a { padding: 4px 8px; letter-spacing: 0.08em; font-weight: 500; }
.lang a[aria-current="page"] { color: var(--brass); }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.monogram {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--brass-dark); }
.nav .nav-cta {
  color: var(--white);
  background: var(--ink);
  padding: 9px 18px;
}
.nav .nav-cta:hover { background: var(--brass-dark); color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Héros ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  border: 1px solid rgba(168, 131, 74, 0.25);
  border-radius: 50%;
}
.hero .eyebrow { color: var(--brass); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 500; }
.hero-title { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-style: italic; color: #d9cdb6; }
.hero-lead { max-width: 560px; margin: 28px 0 40px; color: #c3c8d0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--brass-dark); }
.btn-ghost { border-color: rgba(250, 248, 244, 0.4); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--brass-dark); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); margin: 18px 0 0; }

/* Le cabinet */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-text p { color: var(--ink-soft); margin: 0 0 18px; }
.about-text h2 { margin-bottom: 26px; }
.credentials { border-left: 2px solid var(--brass); padding: 6px 0 6px 28px; }
.credentials dl { margin: 0; }
.credentials dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.credentials dd { margin: 4px 0 24px; font-family: var(--serif); font-size: 1.35rem; }
.credentials dd:last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.value h3 { font-size: 1.35rem; margin-bottom: 8px; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.value-num { font-family: var(--serif); color: var(--brass); font-size: 1rem; display: block; margin-bottom: 8px; }

/* Domaines */
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.domain { background: var(--paper); padding: 36px 32px; }
.domain h3 { margin-bottom: 12px; }
.domain p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.domain-icon { width: 34px; height: 34px; color: var(--brass); margin-bottom: 20px; }

/* Cabinets */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.office { background: var(--white); border: 1px solid var(--line); padding: 44px 40px; }
.office-city { font-family: var(--serif); font-size: 2rem; margin-bottom: 24px; }
.office ul { list-style: none; padding: 0; margin: 0 0 30px; }
.office li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.office li:last-child { border-bottom: 1px solid var(--line); }
.office li svg { flex: none; width: 18px; height: 18px; color: var(--brass); margin-top: 4px; }
.office a { text-decoration: none; }
.office a:hover { color: var(--brass-dark); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.contact-info p { color: var(--ink-soft); }
.contact-lines { margin-top: 30px; }
.contact-lines a { display: block; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; margin-bottom: 6px; }
.contact-lines a:hover { color: var(--brass-dark); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: -1px; border-color: var(--brass); }
.field textarea { min-height: 96px; resize: vertical; }
.form-legal { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-legal a { color: inherit; }
.field-hint { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; font-weight: 400; cursor: pointer; }
.field-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brass-dark); flex: none; }
.hidden-field { display: none; }
.form .btn { justify-self: start; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #aab1bc; padding: 56px 0 36px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer .brand-name { color: var(--paper); }
.footer .monogram { color: var(--brass); }
.footer h4 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); margin: 0 0 14px; font-weight: 600; }
.footer p { margin: 0 0 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; }

/* ---------- Page mentions légales ---------- */
.legal { max-width: 760px; padding: 80px 24px 100px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal p { color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 14px; border: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 80px; }
  .values, .domains, .offices, .form, .footer-top { grid-template-columns: 1fr; }
  .office { padding: 32px 24px; }
  .brand-sub { display: none; }
  .topbar-contact { display: none; }
}

/* Un numéro de téléphone ne se coupe jamais en fin de ligne */
a[href^="tel:"] { white-space: nowrap; }
