/* BJP Conseils — design system (from the Lovable source, src/styles.css) */

:root {
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;

  --radius: 0.25rem;

  --navy-deep: oklch(0.14 0.03 258);
  --anthracite: oklch(0.22 0.008 260);
  --institutional: oklch(0.52 0.09 252);
  --gold: oklch(0.78 0.1 82);
  --gold-soft: oklch(0.78 0.1 82 / 14%);

  --background: oklch(0.17 0.032 257);
  --foreground: oklch(0.95 0.008 85);
  --card: oklch(0.205 0.03 257);
  --primary: var(--gold);
  --primary-foreground: oklch(0.16 0.03 257);
  --muted: oklch(0.24 0.025 257);
  --muted-foreground: oklch(0.72 0.02 255);
  --accent: oklch(0.26 0.04 255);
  --destructive: oklch(0.65 0.19 25);
  --border: oklch(0.95 0.008 85 / 10%);
  --input: oklch(0.95 0.008 85 / 16%);
  --ring: var(--gold);

  --gradient-hero: linear-gradient(
    100deg,
    oklch(0.14 0.03 258 / 55%) 0%,
    oklch(0.14 0.03 258 / 22%) 42%,
    oklch(0.14 0.03 258 / 0%) 100%
  );
  --gradient-fade: linear-gradient(180deg, transparent 70%, var(--background) 100%);
  --gradient-gold: linear-gradient(90deg, transparent, var(--gold), transparent);
  --shadow-panel: 0 30px 80px -30px oklch(0.05 0.02 258 / 80%);

  --max: 80rem;
  --pad: 1.25rem;
}

@media (min-width: 1024px) {
  :root {
    --pad: 2rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Lining figures so step/stat numbers stay readable (01, 8 500, 99,9 %). */
.expertise-n,
.step-n,
.stat-v {
  font-variant-numeric: lining-nums;
}

p,
ul,
ol,
figure,
address {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--primary-foreground);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule-gold {
  height: 1px;
  background-image: var(--gradient-gold);
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.icon-4 {
  width: 1rem;
  height: 1rem;
}
.icon-5 {
  width: 1.25rem;
  height: 1.25rem;
}
.icon-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.icon-8 {
  width: 2rem;
  height: 2rem;
}
.icon-thin {
  stroke-width: 1.25;
}

/* Buttons — gold / ghostGold variants from the source button.tsx */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon {
  width: 1rem;
  height: 1rem;
}
.btn-gold {
  border-radius: 0.125rem;
  background: var(--gold);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: var(--shadow-panel);
}
.btn-gold:hover {
  background: oklch(0.78 0.1 82 / 90%);
}
.btn-ghost {
  border-radius: 0.125rem;
  background: transparent;
  border-color: oklch(0.78 0.1 82 / 50%);
  color: var(--gold);
  font-weight: 500;
}
.btn-ghost:hover {
  background: oklch(0.78 0.1 82 / 10%);
}
.btn-lg {
  height: 2.5rem;
  padding: 0 2rem;
}
.btn-xl {
  height: 3rem;
  padding: 0 2rem;
}
.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: oklch(0.14 0.03 258 / 85%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  height: 3rem;
  width: auto;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--foreground);
}
.logo-tag {
  margin-top: 0.375rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-desktop a:not(.btn) {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-desktop a:not(.btn):hover {
  color: var(--gold);
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  color: var(--foreground);
  cursor: pointer;
}
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--navy-deep);
  padding: 0 var(--pad) 1.5rem;
}
.nav-mobile.is-open {
  display: block;
}
.nav-mobile a:not(.btn) {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.nav-mobile .btn {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle,
  .nav-mobile,
  .nav-mobile.is-open {
    display: none;
  }
}

/* Hero
   The skyline JPEG was rebuilt from the official 1920×1080 screenshot (the
   unpublished preview blocked the original file). The baked-in atmosphere is
   already in the image, so the CSS overlay is lighter than the source — just
   enough to keep the headline readable when the photo is cropped on small screens. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay,
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-overlay {
  background-image: var(--gradient-hero);
}
.hero-fade {
  background-image: var(--gradient-fade);
}
.hero-inner {
  position: relative;
  padding-block: 6rem;
}
.hero-copy {
  max-width: 48rem;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: 3rem;
  line-height: 1.02;
  color: var(--foreground);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-lead {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-facts {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.hero-fact .icon {
  color: var(--gold);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-actions {
    flex-direction: row;
  }
  .hero-facts {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
}
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared section heading */
.section {
  scroll-margin-top: 5rem;
  padding-block: 6rem;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}
.section-head {
  max-width: 42rem;
}
.section-head h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--foreground);
}
.section-head .intro {
  margin-top: 1.25rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .section-head h2 {
    font-size: 3rem;
    line-height: 1.15;
  }
}

/* Expertises */
.expertise-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.expertise {
  display: flex;
  flex-direction: column;
  background: var(--background);
  padding: 2rem;
  transition: background-color 0.2s;
}
.expertise:hover {
  background: var(--card);
}
.expertise-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.expertise-top .icon {
  color: var(--gold);
}
.expertise-n {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: oklch(0.72 0.02 255 / 40%);
}
.expertise h3 {
  margin-top: 2.5rem;
  font-size: 1.875rem;
  color: var(--foreground);
}
.expertise > p {
  margin-top: 1rem;
  flex: 1;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.expertise ul {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  list-style: none;
  padding-left: 0;
}
.expertise li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.95 0.008 85 / 85%);
}
.expertise li + li {
  margin-top: 0.5rem;
}
.expertise li::before {
  content: "";
  width: 1rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .expertise {
    padding: 2.5rem;
  }
}

/* Méthode */
.method {
  border-block: 1px solid var(--border);
  background: var(--anthracite);
}
.method-grid {
  display: grid;
  gap: 4rem;
}
.steps {
  display: grid;
  gap: 1px;
  background: var(--border);
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  background: var(--anthracite);
  padding: 2rem;
}
.step-n {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.steps h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: var(--foreground);
}
.steps p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .method-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

/* Cabinet / chiffres */
.stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--border);
}
.stat {
  min-width: 0;
  padding: 2.5rem 0.5rem;
  text-align: center;
}
.stat:nth-child(even) {
  border-left: 1px solid var(--border);
}
.stat:nth-child(n + 3) {
  border-top: 1px solid var(--border);
}
.stat-v {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--gold);
}
.stat-l {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .stat {
    padding-inline: 1rem;
  }
  .stat-v {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat:nth-child(n + 2) {
    border-left: 1px solid var(--border);
  }
  .stat:nth-child(n + 3) {
    border-top: 0;
  }
}
@media (min-width: 1280px) {
  .stat-v {
    font-size: 3.75rem;
  }
}

.credentials {
  margin-top: 4rem;
  display: grid;
  gap: 1.25rem;
}
.credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem 1.5rem;
  text-align: center;
}
.credential-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid oklch(0.78 0.1 82 / 50%);
  color: var(--gold);
}
.credential p:first-of-type {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foreground);
}
.credential p:last-of-type {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .credentials {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .credentials {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--navy-deep);
}
.contact-grid {
  display: grid;
  gap: 3.5rem;
}
.contact-points {
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: oklch(0.95 0.008 85 / 90%);
}
.contact-tick {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.78 0.1 82 / 50%);
  color: var(--gold);
}
.contact-meta {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-meta p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-meta .icon {
  color: var(--gold);
  margin-top: 0.125rem;
}
.contact-meta a {
  color: var(--foreground);
}
.contact-meta a:hover {
  color: var(--gold);
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
  }
}

/* Form */
.form-panel {
  position: relative;
  border: 1px solid var(--border);
  background: oklch(0.205 0.03 257 / 80%);
  padding: 1.5rem;
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(8px);
}
.form-panel > .rule-gold {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  top: -1px;
}
.form-kicker {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-kicker .icon {
  color: var(--gold);
}
.form-grid {
  display: grid;
  gap: 1.25rem;
}
.form-span-2 {
  grid-column: 1 / -1;
}
.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.field {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: oklch(0.14 0.03 258 / 70%);
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field::placeholder {
  color: oklch(0.72 0.02 255 / 60%);
}
.field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field[aria-invalid="true"] {
  border-color: var(--destructive);
}
.field.resize-y {
  resize: vertical;
  min-height: 8rem;
}
.phone-row {
  display: flex;
  gap: 0.5rem;
}
.phone-row select {
  width: 8rem;
  flex-shrink: 0;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.consent input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.field-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--destructive);
}
.field-error:empty {
  display: none;
}
.form-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-lock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.form-lock .icon {
  color: var(--gold);
  width: 0.875rem;
  height: 0.875rem;
}
.form-status {
  margin-top: 1.5rem;
  border: 1px solid oklch(0.78 0.1 82 / 40%);
  background: oklch(0.78 0.1 82 / 10%);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.form-status[hidden] {
  display: none;
}
.form-status a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 640px) {
  .form-panel {
    padding: 2.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .phone-row select {
    width: 11rem;
  }
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Map */
.map-block {
  margin-top: 4rem;
}
.map-head {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.map-head p:last-child {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.map-frame {
  width: 100%;
  height: 20rem;
  border: 1px solid var(--border);
  background: var(--muted);
  display: block;
}
@media (min-width: 640px) {
  .map-frame {
    height: 24rem;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy-deep);
  padding-block: 4rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
}
.footer-logo {
  height: 8rem;
  width: auto;
  display: block;
}
.footer-blurb {
  margin-top: 1.5rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.footer-grid address,
.footer-grid ul {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.625;
  color: var(--muted-foreground);
  list-style: none;
  padding: 0;
}
.footer-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-grid li + li {
  margin-top: 0.75rem;
}
.footer-grid .icon {
  color: var(--gold);
}
.footer-grid a:hover {
  color: var(--gold);
}
.copyright {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: oklch(0.72 0.02 255 / 60%);
}
.site-footer .rule-gold {
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* 404 */
.not-found {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.not-found h1 {
  font-family: var(--font-sans);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--foreground);
}
.not-found h2 {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}
.not-found p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.not-found .btn {
  margin-top: 1.5rem;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 0.375rem;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--gold);
  color: var(--primary-foreground);
  box-shadow: 0 1px 3px oklch(0.05 0.02 258 / 40%);
}
.not-found .btn:hover {
  background: oklch(0.78 0.1 82 / 90%);
}
