:root {
  --color-bg: #f4f5f7;
  --color-bg-alt: #ffffff;
  --color-primary: #0b2c4d;
  --color-primary-soft: #163d63;
  --color-accent: #d9a441;
  --color-accent-soft: #f3e3b8;
  --color-text: #25313c;
  --color-muted: #6b7a89;
  --color-border: #dde2e7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 45px rgba(11, 44, 77, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 226, 231, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), #1b4a78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.logo-text {
  font-size: 0.98rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.25rem 0;
  color: var(--color-muted);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #e0ecfa 0, #f4f5f7 45%, #f4f5f7 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.8rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 420px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 44, 77, 0.06);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--color-primary);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-card-note {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 44, 77, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(11, 44, 77, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border-color: rgba(11, 44, 77, 0.16);
}

.btn-outline:hover {
  background: #fff;
  border-color: rgba(11, 44, 77, 0.26);
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.section {
  padding: 3rem 0;
  background: var(--color-bg-alt);
}

.section-alt {
  background: var(--color-bg);
}

.section h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.section-intro {
  margin-top: 0;
  margin-bottom: 1.8rem;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.section-intro.small {
  font-size: 0.9rem;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.dot,
.check {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.35rem;
}

.dot {
  background: var(--color-accent-soft);
}

.dot-warning {
  background: #ffcf8a;
}

.check {
  background: var(--color-primary);
  display: inline-block;
  position: relative;
}

.check::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

.cards .card {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid rgba(221, 226, 231, 0.85);
  box-shadow: 0 12px 28px rgba(11, 44, 77, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1.2rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.faq {
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 44, 77, 0.06);
  padding: 0.6rem 0.9rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.4rem;
  border: none;
  background: none;
  font: inherit;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-weight: 600;
  color: var(--color-muted);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 0.4rem 0.8rem;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.audit-form {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.4rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 32px rgba(11, 44, 77, 0.08);
}

.form-row {
  margin-bottom: 0.8rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.55rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(11, 44, 77, 0.08);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.form-feedback {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #1f8a4d;
}

.form-feedback.error {
  color: #b5473b;
}

.site-footer {
  padding: 1.6rem 0 1.4rem;
  background: #0b253f;
  color: #c3d0dd;
  font-size: 0.88rem;
}

.footer-inner {
  text-align: center;
}

.footer-meta {
  margin-top: 0.25rem;
  color: #8ea0b3;
}

.notaires-hero {
  padding: 3rem 0 2.4rem;
  background: radial-gradient(circle at top left, #e0ecfa 0, #f4f5f7 45%, #f4f5f7 100%);
}

.notaires-hero h1 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

.notaires-hero p {
  max-width: 640px;
  color: var(--color-muted);
  font-size: 0.96rem;
  margin: 0.2rem 0 0;
}

.notaires-nav-villes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.notaires-nav-villes a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.notaires-nav-villes a:hover {
  color: var(--color-primary);
  border-color: rgba(11, 44, 77, 0.3);
  text-decoration: none;
}

.notaires-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.notaire-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 1rem 1rem 0.9rem;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(11, 44, 77, 0.05);
}

.notaire-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--color-primary);
}

.notaire-zone {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef2f7;
  margin-bottom: 0.4rem;
}

.notaire-card p {
  margin: 0.12rem 0;
}

.notaire-card small {
  color: var(--color-muted);
}

.notaires-note {
  font-size: 0.86rem;
  color: var(--color-muted);
  margin-top: 0.9rem;
}

@media (max-width: 880px) {
  .notaires-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: stretch;
  }

  .section {
    padding: 2.4rem 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

