/* Étude de Maître Pinoli, notaire à Nîmes : feuille de style unique, minimalisme éditorial */
:root {
  --white: #ffffff;
  --ink: #111417;
  --text: #4b5057;
  --muted: #7a7f86;
  --accent: #1b2a4a;
  --rule: #e6e6e3;
  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  --grid: 1040px;
  --measure: 65ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: 2.6rem; letter-spacing: -.01em; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; font-weight: 500; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .3em; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; transition: opacity .15s ease; }
a:hover { opacity: .7; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
strong { font-weight: 500; color: var(--ink); }
small, .small { font-size: .9rem; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.container { width: 100%; max-width: var(--grid); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: var(--measure); }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--accent); padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Boutons et liens texte */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
}
.btn:hover { opacity: .85; }
.btn--line { background: transparent; color: var(--accent); }
.link { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }

/* En-tête */
.header { border-bottom: 1px solid var(--rule); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1.2; }
.brand:hover { opacity: 1; }
.brand small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.burger { background: none; border: 1px solid var(--rule); color: var(--ink); font: 500 .9rem var(--sans); padding: .5rem .85rem; cursor: pointer; }
.nav { display: none; width: 100%; padding-top: .75rem; }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.nav__list a { display: block; padding: .45rem 0; color: var(--text); text-decoration: none; font-size: 1rem; border-bottom: 1px solid var(--rule); }
.nav__list a.is-active { color: var(--accent); font-weight: 500; }
.nav__phone { display: inline-block; margin-top: .9rem; color: var(--accent); font-weight: 500; text-decoration: none; }

/* Sections */
.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section--tight { padding: 2.25rem 0; }
.section__title { margin-bottom: 1.4rem; }
.lead { font-size: 1.15rem; color: var(--text); max-width: var(--measure); }
.page-head { padding: 3.25rem 0 2.5rem; }
.page-head p { max-width: var(--measure); font-size: 1.15rem; margin-bottom: 0; }

/* Accueil : hero typographique */
.hero { padding: 3.75rem 0 3rem; }
.hero h1 { font-size: 3.2rem; margin-bottom: .5rem; }
.hero p { font-size: 1.2rem; max-width: 34em; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; font-weight: 500; }
.hero__actions a { font-size: 1.05rem; }
.hero__photo { margin: 2.75rem 0 0; }
.hero__photo img { width: 100%; height: 260px; object-fit: cover; object-position: center 40%; }
.hero__photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* Listes typographiques (domaines, guides) */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 1.1rem 0; border-top: 1px solid var(--rule); margin: 0; }
.list > li:last-child { border-bottom: 1px solid var(--rule); }
.list h3 { margin: 0 0 .25rem; }
.list h3 a { color: var(--ink); text-decoration: none; }
.list h3 a:hover { color: var(--accent); opacity: 1; }
.list p { margin: 0; }
.list .link { display: inline-block; margin-top: .4rem; font-size: .95rem; }
.cols { display: grid; grid-template-columns: 1fr; gap: 0 3rem; }
.cols .list + .list > li:first-child { border-top: 0; }

/* Bloc adresse / informations */
.facts { max-width: var(--measure); }
.facts dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: .4rem 0; }
.facts dt { font-weight: 500; color: var(--ink); margin-top: .8rem; }
.facts dd { margin: 0; }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.photo { margin: 2rem 0 0; }
.photo img { width: 100%; height: 300px; object-fit: cover; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
/* Photo en demi-colonne a cote d'un bloc texte */
.split-media { display: grid; grid-template-columns: 1fr; gap: 2rem 4rem; align-items: start; }
.split-media .photo { margin: 0; }
.split-media .photo img { height: 260px; }
.photo--side { margin: 2rem 0 0; }
.photo--side img { height: 220px; }
/* Bande photo pleine grille */
.band { padding: 2rem 0 3rem; }
.band .photo { margin: 0; }
.band .photo img { height: 220px; object-position: center 55%; }
.band--top { padding: 0 0 .5rem; }

/* Prose (pages intérieures, articles) */
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.prose blockquote cite { display: block; margin-top: .5rem; font-family: var(--sans); font-size: .9rem; font-style: normal; color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2rem; }
.anchors { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 2.25rem; font-size: .95rem; }
.crumb { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a { color: var(--muted); }
.domaine { padding: 2rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.domaine h2 { margin-bottom: .3rem; }
.domaine ul { margin-top: 1rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: var(--measure); }
.steps li { counter-increment: step; padding: 1rem 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step) ". "; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.steps strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.steps p { margin: .3rem 0 0; }
.faq details { border-top: 1px solid var(--rule); padding: .9rem 0; max-width: var(--measure); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.faq p { margin: .6rem 0 0; }

/* Formulaire */
.form { max-width: var(--measure); }
.form__row { margin-bottom: 1.25rem; }
.form label { display: block; font-weight: 500; color: var(--ink); margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #c9c9c5; border-radius: 0; padding: .7rem .8rem;
}
.form textarea { resize: vertical; min-height: 9rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form__row--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__check { display: flex; gap: .7rem; align-items: flex-start; }
.form__check input { width: auto; margin-top: .35rem; }
.form__check label { font-weight: 400; color: var(--text); }
.form__error { color: #9b1c1c; font-size: .92rem; margin: .35rem 0 0; }
.alert { padding: .9rem 1rem; border: 1px solid var(--rule); border-left: 2px solid var(--accent); margin-bottom: 1.5rem; }
.alert--error { border-left-color: #9b1c1c; }
.map { border: 1px solid var(--rule); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.map__consent { padding: 1.5rem; }
.map__consent p { margin-bottom: 1rem; }

/* Pied de page */
.footer { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; font-size: .92rem; color: var(--muted); }
.footer__line { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer__line p { margin: 0; }
.footer a { color: var(--muted); }
.footer__credits { margin-top: 1.25rem; font-size: .82rem; }

@media (min-width: 760px) {
  body { font-size: 17px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .container { padding-left: 32px; padding-right: 32px; }
  .header__inner { flex-wrap: nowrap; padding-top: 1.4rem; padding-bottom: 1.4rem; }
  .burger { display: none; }
  .nav { display: flex !important; width: auto; padding-top: 0; align-items: center; gap: 1.75rem; }
  .nav__list { flex-direction: row; gap: 1.5rem; }
  .nav__list a { padding: 0; border: 0; font-size: .97rem; }
  .nav__phone { margin: 0; }
  .section { padding: 4.5rem 0; }
  .page-head { padding: 5rem 0 3.5rem; }
  .hero { padding: 6rem 0 4.5rem; }
  .hero h1 { font-size: 5rem; }
  .hero__photo { margin-top: 4rem; }
  .hero__photo img { height: 420px; }
  .photo img { height: 380px; }
  .split-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-media .photo img { height: 380px; }
  .photo--side img { height: 260px; }
  .band { padding: 3rem 0 4.5rem; }
  .band .photo img { height: 340px; }
  .band--top { padding: 0 0 1rem; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols .list + .list > li:first-child { border-top: 1px solid var(--rule); }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .facts dl { grid-template-columns: 11rem 1fr; gap: .5rem 1rem; }
  .facts dt { margin-top: 0; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 4rem; align-items: start; }
  .split .facts { max-width: none; }
  .split .facts dl { grid-template-columns: 1fr; gap: .3rem; }
  .split .facts dt { margin-top: .8rem; }
  .prose blockquote { font-size: 1.3rem; }
}

/* Icône téléphone du menu : taille fixe */
.nav__phone svg{width:16px;height:16px;vertical-align:-2px;margin-right:.3rem}
