/* =========================================================
   Jonathan Hercelin · Conseiller Immobilier
   Identité visuelle : épuré, haut de gamme, beige & gris bleu
   ========================================================= */

/* --- Variables --- */
:root {
  --beige-50:  #FBF8F2;
  --beige-100: #F5EFE4;
  --beige-200: #EBE2D0;
  --beige-300: #D9C9B0;
  --beige-400: #C2AC8A;
  --beige-500: #A18B68;

  --slate-50:  #F4F6F8;
  --slate-100: #E4E9EE;
  --slate-300: #A6B5C2;
  --slate-500: #5A7184;
  --slate-600: #475C6E;
  --slate-700: #3E556A;
  --slate-800: #2C3E4F;
  --slate-900: #1B2A36;

  --white: #FFFFFF;
  --ink:   #1A1A1A;
  --muted: #6B7884;

  --shadow-sm: 0 1px 2px rgba(27, 42, 54, 0.04), 0 1px 3px rgba(27, 42, 54, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 42, 54, 0.06), 0 12px 32px rgba(27, 42, 54, 0.08);
  --shadow-lg: 0 16px 48px rgba(27, 42, 54, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--beige-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }

/* --- Typography --- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--beige-400);
}

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 300;
}
h3, .h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
}
h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-700);
}
p { margin: 0 0 1rem; color: var(--slate-700); }
.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--slate-700);
  max-width: 60ch;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--beige { background: var(--beige-100); }
.section--slate {
  background: var(--slate-800);
  color: var(--beige-100);
}
.section--slate p,
.section--slate .lead { color: rgba(245, 239, 228, 0.78); }
.section--slate .eyebrow { color: var(--beige-300); }
.section--slate .eyebrow::before { background: var(--beige-400); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--slate-800);
  color: var(--beige-100);
}
.btn--primary:hover {
  background: var(--slate-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--slate-300);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--beige-100);
  border-color: var(--ink);
}
.btn--beige {
  background: var(--beige-300);
  color: var(--slate-900);
}
.btn--beige:hover {
  background: var(--beige-400);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--beige-100);
  color: var(--slate-900);
}
.btn--light:hover { background: var(--white); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(251, 248, 242, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(27, 42, 54, 0.06);
}
/* Au-dessus d'un hero sombre (page d'accueil) : on garde une teinte sombre translucide tant qu'on n'a pas scrollé,
   puis on passe au beige opaque dès que l'utilisateur descend. */
.site-header.is-light:not(.is-scrolled) {
  background: rgba(20, 32, 42, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-light:not(.is-scrolled) .nav-link,
.site-header.is-light:not(.is-scrolled) .brand {
  color: var(--white);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--slate-900);
  line-height: 1.1;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 0.2rem;
}
.brand__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: var(--slate-800);
  flex: 0 0 44px;
  box-shadow: 0 1px 4px rgba(27, 42, 54, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform .35s var(--ease);
}
.brand:hover .brand__avatar { transform: scale(1.06); }
.site-header.is-scrolled .brand__avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
.site-header.is-light:not(.is-scrolled) .brand__avatar {
  box-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.55) inset;
}
@media (max-width: 480px) {
  .brand small { display: none; }
  .brand { font-size: 1.15rem; gap: 0.6rem; }
  .brand__avatar { width: 38px; height: 38px; flex-basis: 38px; }
}
.site-header.is-light:not(.is-scrolled) .brand small {
  color: rgba(255,255,255,0.78);
}
.nav-list {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--slate-800);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .nav-list { gap: 1.5rem; }
  .nav-link { font-size: 0.8rem; letter-spacing: 0.04em; }
  .nav-cta { padding: 0.75rem 1.2rem; font-size: 0.78rem; }
}
@media (max-width: 1100px) {
  .brand small { display: none; }
  .nav-list { gap: 1.1rem; }
  .nav-link { font-size: 0.78rem; }
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--beige-100);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 6rem 1.5rem 4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    visibility: hidden;
    pointer-events: none;
    z-index: 105;
  }
  .nav-list.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .4s var(--ease), visibility 0s;
  }
  .nav-link {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    color: var(--slate-900) !important;
    white-space: normal;
  }
  .nav-cta { margin-top: 0.5rem; }
  .nav-list li { flex-shrink: 0; }
}
@media (max-width: 900px) and (max-height: 600px) {
  .nav-list { gap: 1rem; padding-top: 5rem; padding-bottom: 3rem; }
  .nav-link { font-size: 1.2rem; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 6rem;
  overflow: hidden;
  background: var(--slate-900);
}
.hero__media {
  position: absolute;
  top: -8%;
  left: 0;
  right: 0;
  height: 116%;
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(27, 42, 54, 0.55) 0%,
    rgba(27, 42, 54, 0.35) 40%,
    rgba(27, 42, 54, 0.75) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 4rem 0;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero .lead { color: rgba(255,255,255,0.85); font-size: 1.2rem; max-width: 50ch; margin-bottom: 2.5rem; }
.hero .eyebrow { color: var(--beige-300); }
.hero .eyebrow::before { background: var(--beige-300); }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
}

/* Page hero (smaller) */
.page-hero {
  background: var(--slate-800);
  color: var(--beige-100);
  padding: 9rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(217, 201, 176, 0.12), transparent 60%);
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero .lead {
  margin: 1.5rem auto 0;
  color: rgba(245, 239, 228, 0.78);
}

/* --- Split sections --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}
.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__media:hover img { transform: scale(1.04); }
.split__media--decor::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  z-index: 2;
  pointer-events: none;
}

/* --- Portrait éditorial (photo détourée) --- */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--beige-100) 0%, var(--beige-200) 100%);
  box-shadow: var(--shadow-md);
}
.portrait::before {
  /* Bandeau gris bleu en bas pour donner de la profondeur et faire ressortir le texte */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, rgba(27, 42, 54, 0.55) 35%, var(--slate-900) 100%);
  z-index: 1;
}
.portrait::after {
  /* Cadre intérieur subtil */
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 3;
  pointer-events: none;
}
.portrait__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  transition: transform 1.2s var(--ease);
}
.portrait:hover .portrait__img { transform: scale(1.03); }
.portrait__caption {
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  z-index: 4;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.portrait__caption strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.portrait__caption small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.92;
  display: block;
  margin-bottom: 0.35rem;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--beige-200);
  border-bottom: 1px solid var(--beige-200);
  margin-top: 3rem;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--slate-800);
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 0.6rem;
}

/* --- Cards (biens / videos / podcasts) --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--beige-200);
  position: relative;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media .card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--slate-800);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--slate-900);
}
.card__meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.card__desc { color: var(--slate-700); font-size: 0.95rem; flex: 1; }
.card__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--beige-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card__price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--slate-800);
}
.card__link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link:hover { color: var(--slate-900); }
.card__link .arrow { transition: transform .3s var(--ease); }
.card__link:hover .arrow { transform: translateX(3px); }

/* --- Zone d'intervention --- */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.zones span {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--beige-300);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--slate-700);
  background: var(--white);
  transition: all .3s var(--ease);
}
.zones span:hover {
  background: var(--slate-800);
  color: var(--beige-100);
  border-color: var(--slate-800);
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.quote {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--beige-300);
  line-height: 1;
}
.quote__text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--slate-800);
  font-style: italic;
  margin: 0 0 1.5rem;
  position: relative;
}
.quote__author {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* --- CTA Banner --- */
.cta-band {
  background: var(--slate-800);
  color: var(--beige-100);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(217, 201, 176, 0.18), transparent 70%);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 1.75rem; }
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { color: rgba(245, 239, 228, 0.78); margin: 1rem 0 0; }
.cta-band__action { text-align: right; }
@media (max-width: 800px) { .cta-band__action { text-align: left; } }

/* --- Embeds (YouTube / Podcast) --- */
.embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--slate-900);
  box-shadow: var(--shadow-md);
}
.embed iframe,
.embed object,
.embed embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed--podcast {
  padding-bottom: 0;
  height: auto;
  background: transparent;
  box-shadow: none;
}
.embed--frame {
  padding-bottom: 0;
  height: 78vh;
  min-height: 600px;
}

/* --- Social grid --- */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 700px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  position: relative;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.social-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--beige-100);
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}
.social-card__icon svg { width: 24px; height: 24px; }
.social-card h3 { margin-bottom: 0.5rem; }
.social-card p { font-size: 0.95rem; }
.social-card__handle {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1rem;
}
.social-card .arrow-circle {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-800);
  color: var(--beige-100);
  display: grid;
  place-items: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.social-card:hover .arrow-circle {
  transform: translate(4px, -4px);
  background: var(--slate-900);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info ul { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--beige-200);
  display: grid; place-items: center;
  color: var(--slate-800);
}
.contact-info .icon svg { width: 18px; height: 18px; }
.contact-info strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.contact-info a { color: var(--slate-900); font-size: 1.05rem; }
.contact-info a:hover { color: var(--slate-700); }

form.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
form.contact-form label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.4rem;
  display: block;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--beige-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--slate-700);
  box-shadow: 0 0 0 3px rgba(62, 85, 106, 0.1);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }

/* --- Footer --- */
.site-footer {
  background: var(--slate-900);
  color: rgba(245, 239, 228, 0.7);
  padding: 4.5rem 0 2rem;
}
.site-footer h4 {
  color: var(--beige-100);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid .brand { color: var(--beige-100); margin-bottom: 1rem; }
.footer-grid .brand small { color: var(--beige-300); }
.footer-grid p { color: rgba(245, 239, 228, 0.7); font-size: 0.92rem; }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-grid li a {
  font-size: 0.92rem;
  color: rgba(245, 239, 228, 0.7);
}
.footer-grid li a:hover { color: var(--beige-100); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 228, 0.2);
  display: grid; place-items: center;
  color: var(--beige-100);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.footer-socials a:hover {
  background: var(--beige-100);
  color: var(--slate-900);
  transform: translateY(-2px);
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 228, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(245, 239, 228, 0.5);
}
.footer-bottom a:hover { color: var(--beige-100); }

/* --- Reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* --- Utilities --- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 4rem; }
.max-w-prose { max-width: 65ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Articles --- */
.article-hero {
  background: var(--slate-800);
  color: var(--beige-100);
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(217, 201, 176, 0.12), transparent 60%);
}
.article-hero__inner { position: relative; max-width: 820px; }
.article-hero h1 { color: var(--white); margin: 1rem 0 1.5rem; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.article-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--beige-300); margin-top: 1.5rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.article-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--beige-400); }
.article-meta span:first-child::before { display: none; }

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin-top: -3rem;
  margin-bottom: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; }
  .hero__media,
  .article-cover { transform: none !important; transition: none !important; }
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--slate-700);
}
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  float: left;
  line-height: 0.9;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--slate-800);
}
.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--slate-900);
  margin: 3rem 0 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--slate-900);
  margin: 2.5rem 0 1rem;
  font-weight: 400;
}
.article-body p { margin: 0 0 1.25rem; }
.article-body strong { color: var(--slate-900); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.25rem; padding: 0; }
.article-body ul li, .article-body ol li { margin: 0 0 0.75rem; padding-left: 0.4rem; }
.article-body ul { list-style: none; }
.article-body ul li { position: relative; padding-left: 1.5rem; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7rem;
  width: 8px; height: 1px;
  background: var(--beige-400);
}
.article-body ol { list-style: none; counter-reset: art-step; }
.article-body ol li {
  counter-increment: art-step;
  position: relative;
  padding-left: 2.5rem;
  min-height: 1.8rem;
}
.article-body ol li::before {
  content: counter(art-step);
  position: absolute;
  left: 0; top: 0.1rem;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: var(--beige-200);
  color: var(--slate-800);
  font-family: var(--font-serif);
  font-size: 1rem;
  display: grid;
  place-items: center;
}
.article-body blockquote {
  border-left: 3px solid var(--beige-400);
  padding: 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--slate-800);
  line-height: 1.5;
}
.article-body a { color: var(--slate-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--slate-900); }

.article-author {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--beige-100);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin: 3rem auto;
  max-width: 720px;
}
.article-author__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: 0 0 72px;
  background: var(--slate-800);
}
.article-author__name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--slate-900); margin: 0 0 0.25rem; }
.article-author__role { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-500); margin: 0 0 0.6rem; }
.article-author__bio { margin: 0; font-size: 0.95rem; color: var(--slate-700); }

.article-card__category {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}
.article-card__date {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* --- Bandeau RGPD / cookies --- */
.rgpd-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--slate-900);
  color: var(--beige-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transform: translateY(150%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.rgpd-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.rgpd-banner__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.rgpd-banner__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.78);
}
.rgpd-banner__text a {
  color: var(--beige-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rgpd-banner__text a:hover { color: var(--white); }
.rgpd-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.rgpd-banner .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.rgpd-banner__refuse {
  background: transparent;
  color: var(--beige-100);
  border: 1px solid rgba(245, 239, 228, 0.35);
}
.rgpd-banner__refuse:hover {
  background: rgba(245, 239, 228, 0.08);
  border-color: var(--beige-100);
}
.rgpd-banner__accept {
  background: var(--beige-300);
  color: var(--slate-900);
}
.rgpd-banner__accept:hover {
  background: var(--beige-400);
}
@media (max-width: 640px) {
  .rgpd-banner {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .rgpd-banner__actions { width: 100%; }
  .rgpd-banner__actions .btn { flex: 1; justify-content: center; }
}

/* --- Formulaire d'estimation (multi-questions) --- */
.estim-form { display: grid; gap: 1.75rem; }
.estim-q { background: var(--white); border: 1px solid var(--beige-200); border-radius: var(--radius-md); padding: 1.5rem 1.75rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.estim-q:focus-within { border-color: var(--slate-700); box-shadow: 0 0 0 3px rgba(62, 85, 106, 0.08); }
.estim-q__num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--beige-100); color: var(--slate-800); font-family: var(--font-serif); font-size: 0.95rem; margin-right: 0.6rem; vertical-align: middle; }
.estim-q__label { display: inline; font-family: var(--font-serif); font-size: 1.2rem; color: var(--slate-900); font-weight: 400; }
.estim-q__hint { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.estim-q__field { margin-top: 1rem; }
.estim-q__field input[type="text"],
.estim-q__field input[type="email"],
.estim-q__field input[type="tel"],
.estim-q__field input[type="number"],
.estim-q__field input[type="date"],
.estim-q__field select,
.estim-q__field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--beige-300); border-radius: var(--radius-sm);
  background: var(--beige-50); font-family: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.estim-q__field input:focus, .estim-q__field select:focus, .estim-q__field textarea:focus {
  outline: none; border-color: var(--slate-700); background: var(--white);
}
.estim-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.5rem; }
.estim-radio { position: relative; }
.estim-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.estim-radio span {
  display: block; padding: 0.7rem 0.9rem; border: 1px solid var(--beige-300); border-radius: var(--radius-sm);
  background: var(--beige-50); font-size: 0.9rem; color: var(--slate-800); text-align: center;
  cursor: pointer; transition: all .2s var(--ease);
}
.estim-radio:hover span { border-color: var(--slate-500); background: var(--white); }
.estim-radio input:checked + span { background: var(--slate-800); color: var(--beige-100); border-color: var(--slate-800); font-weight: 500; }
.estim-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 600px) { .estim-row2 { grid-template-columns: 1fr; } }
.estim-consent {
  background: var(--beige-100); border: 1px solid var(--beige-300); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; font-size: 0.88rem; line-height: 1.6; color: var(--slate-700);
}
.estim-consent label { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; }
.estim-consent input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--slate-800); width: 18px; height: 18px; flex: 0 0 18px; }
.estim-mentions { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.estim-submit { margin-top: 1rem; }

/* --- SEO-only : contenu invisible aux visiteurs mais lu par Google et les IA --- */
.seo-only {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
