@charset "utf-8";

:root {
  --ink: #292929;
  --muted: #686868;
  --cream: #f1f1f1;
  --paper: #ffffff;
  --wine: #7f0000;
  --wine-dark: #580000;
  --charcoal: #3c3c3c;
  --charcoal-deep: #272b28;
  --line: #d7d7d7;
  --soft-line: #e8e8e8;
  --shadow: 0 24px 70px rgba(35, 35, 35, .14);
  --shadow-soft: 0 16px 45px rgba(35, 35, 35, .09);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, .wrapper { min-width: 0; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--wine-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); font-family: var(--serif); font-weight: 400; }
p { margin-top: 0; }
.clear::after { display: table; clear: both; content: ""; }
.wrapper { width: 100%; }
.row1 { display: none !important; }
.row3 { background: var(--paper); }
.row5 { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--charcoal); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* En-tête commun au site et au Journal. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 4px solid var(--wine);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}
.header-inner {
  position: relative;
  width: min(var(--content), calc(100% - 48px));
  min-height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 216px; height: 70px; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.site-nav > a,
.nav-menu > summary {
  position: relative;
  padding: 12px 10px;
  color: #4d4d4d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { display: inline-block; margin-left: 6px; content: "⌄"; font-size: 11px; transition: transform .2s ease; }
.nav-menu[open] > summary::after { transform: rotate(180deg); }
.site-nav > a:not(.nav-cta):hover,
.nav-menu > summary:hover,
.site-nav > .is-active,
.nav-menu.is-active > summary { color: var(--wine); background: #f7eded; }
.site-nav .nav-cta {
  min-height: 44px;
  margin-left: 5px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 8px 22px rgba(39, 43, 40, .17);
}
.site-nav .nav-cta:hover { color: #fff; background: var(--wine-dark); }
.nav-menu { position: relative; }
.nav-popover {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  padding: 23px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px 28px 3px 3px;
  background: #fff;
  box-shadow: var(--shadow);
}
.nav-popover::before { position: absolute; top: -19px; right: 0; left: 0; height: 19px; content: ""; }
.nav-popover-small { width: 250px; }
.nav-mega { width: min(720px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; }
.nav-popover-title { display: block; margin-bottom: 11px; color: var(--wine); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nav-popover a { display: block; padding: 5px 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-decoration: none; }
.nav-popover a:hover { color: var(--wine-dark); transform: translateX(2px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--charcoal); }

/* Composants éditoriaux. */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: 2.2px; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 1px; content: ""; background: currentColor; }
.eyebrow-light { color: rgba(255, 255, 255, .76); }
.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 10px 28px rgba(127, 0, 0, .16);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { color: #fff; background: var(--wine-dark); box-shadow: 0 14px 32px rgba(88, 0, 0, .22); transform: translateY(-2px); }
.button-secondary { color: var(--ink); border: 1px solid var(--line); background: #fff; box-shadow: none; }
.button-secondary:hover { color: var(--wine); border-color: #c9a8a8; background: #fff; box-shadow: none; }
.button-light { color: var(--charcoal); background: #fff; }
.button-light:hover { color: var(--charcoal); background: var(--cream); }

main.container {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 90px;
}
main.container > h1,
main.container > h2,
main.container > h3 { line-height: 1.16; }
main.container > h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -2.2px; }
main.container > h2 { margin: 58px auto 20px; font-size: clamp(31px, 3.5vw, 43px); letter-spacing: -1.2px; }
main.container > h3 { margin: 37px auto 13px; font-size: 27px; }
main.container > p { color: var(--muted); font-size: 16px; }
main.container > p,
main.container > ul { max-width: 790px; margin-right: auto; margin-left: auto; }
main.container > ul { padding: 26px 30px 19px 52px; border: 1px solid var(--line); border-radius: 3px 28px 3px 3px; background: #fafafa; }
main.container > ul li { margin-bottom: 9px; color: var(--muted); }
.sectiontitle {
  width: min(1030px, 100%);
  margin: 72px auto 38px !important;
  padding-bottom: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px) !important;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.12;
  text-align: left !important;
}
.sectiontitle::after { display: block; width: 52px; height: 2px; margin-top: 18px; content: ""; background: var(--wine); }

/* Accueil : structure pensée pour la conversion, sans toucher au formulaire injecté. */
.page-home main.container { width: 100%; max-width: none; padding: 0; }
.home-hero { overflow: hidden; background: var(--cream); }
.home-hero-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 650px;
  margin: auto;
  padding: 60px 0 70px;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(275px, .68fr) minmax(330px, .76fr);
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
}
.home-hero-copy { position: relative; z-index: 2; }
.home-hero h1 { max-width: 560px; margin: 19px 0 24px; font-size: clamp(45px, 4.7vw, 67px); letter-spacing: -2.7px; line-height: 1.01; }
.home-hero h1 em { display: block; color: var(--wine); font-style: italic; }
.home-lead { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.home-actions { margin-bottom: 29px; display: flex; flex-wrap: wrap; gap: 12px; }
.home-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #565656; font-size: 12px; font-weight: 700; }
.home-proof span { display: inline-flex; align-items: center; gap: 7px; }
.home-proof span::before { color: var(--wine); content: "✓"; }
.home-visual-frame { height: 520px; margin: 0; overflow: hidden; border-radius: 4px 56px 4px 4px; box-shadow: var(--shadow); }
.home-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.signup-panel {
  width: 100%;
  min-height: 430px;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: 4px 36px 4px 4px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.signup-panel .eyebrow { margin-bottom: 11px; }
.signup-panel h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.7px; line-height: 1.12; }
.signup-panel > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.home-section { width: min(1030px, calc(100% - 48px)); margin: auto; padding: 100px 0; }
.home-section-heading { max-width: 750px; margin-bottom: 48px; }
.home-section-heading h2 { margin: 13px 0 12px; font-size: clamp(36px, 4.5vw, 55px); letter-spacing: -1.8px; line-height: 1.08; }
.home-section-heading p { margin: 0; color: var(--muted); }
.members-section { width: min(var(--content), calc(100% - 48px)); padding-top: 90px; padding-bottom: 82px; }
.members-shell { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 4px 42px 4px 4px; background: #fff; box-shadow: var(--shadow-soft); }
.home-story { background: #fff; }
.home-story-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 105px); }
.home-story-title { position: sticky; top: 132px; align-self: start; }
.home-story-title h2 { margin: 13px 0 22px; font-size: clamp(39px, 4.7vw, 57px); letter-spacing: -1.8px; line-height: 1.06; }
.home-story-title p { color: var(--muted); }
.home-story-copy section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.home-story-copy section:last-child { border-bottom: 0; }
.home-story-copy h3 { margin: 0 0 17px; font-size: 30px; line-height: 1.18; }
.home-story-copy p { color: var(--muted); font-size: 15.5px; }
.benefits-band { color: #fff; background: var(--charcoal); }
.benefits-band .home-section-heading h2 { color: #fff; }
.benefits-band .home-section-heading p { color: rgba(255,255,255,.68); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.benefit-card { min-height: 260px; padding: 34px; background: var(--charcoal); }
.benefit-number { display: block; margin-bottom: 50px; color: #d9b9b9; font-family: var(--serif); font-size: 13px; letter-spacing: .15em; }
.benefit-card h3 { margin: 0 0 12px; color: #fff; font-size: 25px; }
.benefit-card p { margin: 0; color: rgba(255,255,255,.64); font-size: 13px; }
.home-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.home-journal-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px 38px 4px 4px; background: #fff; }
.home-journal-card > a { display: block; height: auto; overflow: hidden; aspect-ratio: 16 / 9; }
.home-journal-card-large > a { height: 335px; }
.home-journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-journal-card:hover img { transform: scale(1.025); }
.home-journal-card > div { padding: 27px 29px 31px; }
.home-journal-card h3 { margin: 14px 0 11px; font-size: 25px; line-height: 1.17; }
.home-journal-card h3 a { color: var(--ink); text-decoration: none; }
.home-journal-card h3 a:hover { color: var(--wine); }
.home-journal-card p { margin: 0; color: var(--muted); font-size: 14px; }
.home-journal-link { margin-top: 30px; }

/* Pages Villes, Pays et Affinités : même structure, personnalité visuelle distincte. */
.page-directory .row3 { background: #fff; }
.page-directory main.container { padding-top: 48px; }
.directory-hero {
  min-height: 515px;
  margin-bottom: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  overflow: hidden;
  border: 0;
  border-radius: 5px 58px 5px 5px;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.directory-hero-copy {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.directory-hero-copy::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(25,25,25,.08) 5%, rgba(25,25,25,.82) 100%); }
.page-city .directory-hero-copy,
.page-country .directory-hero-copy { background-image: url('/blog/assets/images/premier-rendez-vous.webp'); }
.page-affinity .directory-hero-copy { background-image: url('/blog/assets/images/lien-ame.webp'); }
.directory-hero-copy .eyebrow { margin-bottom: 18px; color: #fff; }
.directory-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(39px, 4.4vw, 58px); letter-spacing: -2px; line-height: 1.04; text-align: left !important; }
.directory-hero-copy h1 img { display: none; }
.directory-hero-copy p { max-width: 540px; margin: 19px 0 0; color: rgba(255,255,255,.77); font-size: 14px; }
.directory-signup { padding: 47px 42px; align-self: center; }
.directory-signup .eyebrow { margin-bottom: 13px; }
.directory-signup h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.8px; line-height: 1.12; }
.directory-signup > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.page-directory main.container > p,
.page-directory main.container > h2,
.page-directory main.container > h3,
.page-directory main.container > ul { max-width: 790px; }
.page-directory main.container > p:first-of-type { padding: 30px 0 30px 27px; color: #4c4c4c; border-left: 2px solid var(--wine); font-family: var(--serif); font-size: 21px; line-height: 1.65; }
.page-directory main.container > h2 { padding-top: 8px; }
.page-directory main.container > h2:not(.sectiontitle)::after { display: block; width: 46px; height: 2px; margin-top: 20px; content: ""; background: var(--wine); }
.page-directory main.container > h3 { color: var(--charcoal); }
.seo-content-pro { width: min(1030px, 100%); margin: 82px auto 95px; }
.seo-content-intro { max-width: 810px; margin-bottom: 48px; }
.seo-content-intro h2 { margin: 14px 0 20px; font-size: clamp(39px, 4.8vw, 57px); letter-spacing: -1.9px; line-height: 1.06; }
.seo-content-intro > p { margin: 0; padding: 0 0 0 25px; color: var(--muted); border-left: 2px solid #c59d9d; font-family: var(--serif); font-size: 20px; line-height: 1.65; }
.seo-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.seo-content-grid article { min-height: 375px; padding: 34px 30px; border: 1px solid var(--line); border-radius: 3px 32px 3px 3px; background: #fff; }
.seo-content-grid h3 { margin: 0 0 17px; color: var(--wine); font-size: 27px; line-height: 1.14; }
.seo-content-grid p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.seo-content-grid p:last-child { margin-bottom: 0; }
.seo-content-grid a { color: var(--wine); font-weight: 800; }
.seo-content-tip { margin: 20px 0 80px; padding: 31px 35px; display: grid; grid-template-columns: .36fr 1fr; align-items: center; gap: 30px; color: #fff; background: var(--charcoal); }
.seo-content-tip strong { color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.seo-content-tip p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.seo-content-tip a { color: #fff; font-weight: 800; }
.seo-faq { max-width: 850px; margin: auto; }
.seo-faq h2 { margin: 0 0 30px; font-size: clamp(35px, 4vw, 48px); letter-spacing: -1.5px; line-height: 1.08; }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq details:last-child { border-bottom: 1px solid var(--line); }
.seo-faq summary { position: relative; padding: 23px 45px 23px 0; color: var(--ink); cursor: pointer; font-family: var(--serif); font-size: 20px; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { position: absolute; top: 20px; right: 4px; color: var(--wine); content: "+"; font-family: var(--sans); font-size: 23px; }
.seo-faq details[open] summary::after { content: "−"; }
.seo-faq details p { max-width: 720px; margin: 0; padding: 0 0 25px; color: var(--muted); font-size: 14px; }

/* Profils Femmes, Hommes et Seniors : codes d'une plateforme de rencontre. */
.page-profiles main.container { width: 100%; max-width: none; padding: 0; }
.profile-hero {
  width: min(var(--content), calc(100% - 48px));
  min-height: 590px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .72fr);
  overflow: hidden;
  border-radius: 5px 58px 5px 5px;
  background: var(--charcoal-deep);
  box-shadow: var(--shadow);
}
.profile-hero-copy { position: relative; isolation: isolate; padding: 70px 64px 66px; display: flex; flex-direction: column; justify-content: center; }
.profile-hero-copy::after { position: absolute; z-index: -1; right: -120px; bottom: -250px; width: 510px; height: 510px; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.018); }
.profile-hero .eyebrow { color: #dcbcbc; }
.profile-hero h1 { max-width: 700px; margin: 18px 0 23px; color: #fff; font-size: clamp(46px, 5vw, 68px); letter-spacing: -2.6px; line-height: 1.01; }
.profile-lead { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.68; }
.profile-actions { margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.profile-actions .button-secondary { color: #fff; border-color: rgba(255,255,255,.28); background: transparent; }
.profile-actions .button-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.profile-trust { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-trust span { padding: 7px 10px; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.profile-signup { margin: 18px; padding: 37px 29px 29px; align-self: stretch; border-radius: 4px 42px 4px 4px; background: #fff; }
.profile-status { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.profile-status i { width: 8px; height: 8px; border-radius: 50%; background: #36a565; box-shadow: 0 0 0 4px rgba(54,165,101,.13); }
.profile-signup h2 { margin: 17px 0 9px; font-size: 31px; letter-spacing: -.8px; line-height: 1.1; }
.profile-signup > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.profile-browse { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 83px 0 90px; }
.profile-browse-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.profile-browse h2 { margin: 13px 0 0; font-size: clamp(35px, 4vw, 51px); letter-spacing: -1.6px; line-height: 1.08; }
.profile-text-link { flex: 0 0 auto; padding-bottom: 5px; color: var(--wine); border-bottom: 1px solid #d8bebe; font-size: 12px; font-weight: 800; text-decoration: none; }
.profile-carousel-shell { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 4px 42px 4px 4px; background: #fff; box-shadow: var(--shadow-soft); }
.profile-guide { padding: 90px max(24px, calc((100% - 1030px) / 2)); display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(50px, 8vw, 100px); background: var(--cream); }
.profile-guide-intro { align-self: start; }
.profile-guide h2 { margin: 15px 0 25px; font-size: clamp(36px, 4.3vw, 53px); letter-spacing: -1.7px; line-height: 1.07; }
.profile-guide-copy { counter-reset: profile-step; }
.profile-guide-copy p { position: relative; margin: 0; padding: 0 0 25px 42px; color: var(--muted); border-left: 1px solid #d8cccc; font-size: 15px; }
.profile-guide-copy p + p { padding-top: 25px; border-top: 1px solid rgba(127,0,0,.1); }
.profile-guide-copy p::before { position: absolute; top: 2px; left: -13px; width: 25px; height: 25px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--wine); counter-increment: profile-step; content: counter(profile-step); font-size: 9px; font-weight: 900; }
.profile-guide-copy p + p::before { top: 27px; }

/* Les pages Pays conservent leur texte, mais adoptent un véritable hero visuel. */
.page-country #position_cadre_homeG,
.page-country #position_cadre_homeD { display: inline-block; vertical-align: top; }
.page-country #position_cadre_homeG { width: calc(61% - 15px); }
.page-country #position_cadre_homeD { width: calc(39% - 15px); margin-left: 25px; }
.page-country #position_cadre_homeG .fieldset_home2 { min-height: 550px; padding: 43px; color: rgba(255,255,255,.78); border: 0; border-radius: 4px 44px 4px 4px; background: linear-gradient(180deg, rgba(25,25,25,.28), rgba(25,25,25,.88)), url('/blog/assets/images/premier-rendez-vous.webp') center / cover; }
.page-country #position_cadre_homeG h1 { margin-bottom: 27px; color: #fff; font-size: clamp(40px, 4.5vw, 57px); letter-spacing: -1.9px; line-height: 1.05; }
.page-country #position_cadre_homeG p { color: rgba(255,255,255,.76); font-size: 14px; }
.page-country #position_cadre_homeG small { font-size: inherit; }
.page-country #position_cadre_homeG .fleft { display: none; }
.page-country #position_cadre_homeD .fieldset_home2 { min-height: 550px; padding: 41px 31px; border: 1px solid var(--line); border-radius: 4px 38px 4px 4px; background: #fff; box-shadow: var(--shadow-soft); }
.page-country #position_cadre_homeD h2 { font-size: 31px; line-height: 1.12; }

/* Tchat : l’outil reste natif, seule la structure autour est éditorialisée. */
.page-chat main.container { width: 100%; max-width: none; padding: 0; }
.chat-hero { color: #fff; background: var(--charcoal-deep); }
.chat-hero-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 72px 0 78px; display: grid; grid-template-columns: minmax(410px, .88fr) minmax(0, 1.12fr); align-items: center; gap: 60px; }
.chat-hero-copy h1 { margin: 17px 0 23px; color: #fff; font-size: clamp(45px, 4.4vw, 62px); letter-spacing: -2.2px; line-height: 1.02; }
.chat-hero-copy > p { color: rgba(255,255,255,.69); font-size: 16px; }
.chat-points { margin: 27px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-points span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; }
.chat-frame-shell { padding: 10px; overflow: hidden; border-radius: 4px 42px 4px 4px; background: #fff; box-shadow: 0 28px 75px rgba(0,0,0,.35); }
.chat-content { width: min(1030px, calc(100% - 48px)); margin: auto; padding: 95px 0; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 100px); }
.chat-content h2 { position: sticky; top: 132px; margin: 0; align-self: start; font-size: clamp(37px, 4.2vw, 53px); letter-spacing: -1.6px; line-height: 1.07; }
.chat-content-copy p { margin: 0 0 20px; padding: 0 0 20px 20px; color: var(--muted); border-bottom: 1px solid var(--soft-line); border-left: 2px solid #cdaaaa; font-size: 15.5px; }

/* Guides, pages éditoriales et pages utilitaires. */
.page-editorial main.container,
.page-utility main.container { width: min(1030px, calc(100% - 48px)); }
.page-editorial main.container > div[align="center"],
.page-utility main.container > div[align="center"] { text-align: left !important; }
.page-editorial main.container h1,
.page-utility main.container h1 { max-width: 850px; margin: 0 auto 36px; font-size: clamp(43px, 5.5vw, 68px); letter-spacing: -2.3px; line-height: 1.04; text-align: left !important; }
.page-editorial main.container h1.sectiontitle { width: 100%; max-width: 850px; margin-top: 0 !important; }
.page-editorial main.container p,
.page-editorial main.container h2,
.page-editorial main.container h3,
.page-editorial main.container ul { max-width: 790px; margin-right: auto; margin-left: auto; }
.page-editorial main.container p { color: var(--muted); }
.page-editorial main.container h2 { margin-top: 64px; font-size: clamp(33px, 3.8vw, 45px); letter-spacing: -1.2px; line-height: 1.14; text-align: left !important; }
.page-editorial main.container h3 { margin-top: 38px; font-size: 27px; text-align: left !important; }
.page-editorial main.container img:not(.brand-logo) { width: min(1030px, 100%); max-height: 570px; object-fit: cover; border-radius: 4px 55px 4px 4px; box-shadow: var(--shadow); }
.page-utility main.container > div:first-child { max-width: 720px; margin: auto; padding: 52px; border: 1px solid var(--line); border-radius: 4px 44px 4px 4px; background: var(--cream); }
.page-utility main.container > div:first-child p { color: var(--muted); }

/* Éléments historiques conservés pour les profils injectés. */
.fleft, .fl_left { float: left; }
.fl_right { float: right; }
.theuser { background: #f4f4f4; }
.theuser img { border: 1px solid var(--line); background: #f4f4f4; }
.listmbr { margin: 6px; border: 1px solid var(--wine); border-radius: 2px; }
.sprofil3, .sprofils2, .sprofils1 { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.spseudo3, .spseudo2, .spseudo1 { color: var(--wine); font-weight: 700; }

/* Confiance, sécurité et transparence. */
.page-trust main.container { width: 100%; max-width: none; padding: 0; }
.trust-hero { width: min(var(--content), calc(100% - 48px)); margin: 48px auto 0; padding: 85px 70px; color: #fff; border-radius: 5px 58px 5px 5px; background: var(--charcoal-deep); box-shadow: var(--shadow); }
.trust-hero .eyebrow { color: #dcbcbc; }
.trust-hero h1 { max-width: 900px; margin: 18px 0 24px; color: #fff; font-size: clamp(48px, 6vw, 76px); letter-spacing: -3px; line-height: 1.01; }
.trust-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.75; }
.trust-hero-about { background: linear-gradient(135deg, rgba(36,36,36,.94), rgba(74,25,25,.93)), url('/blog/assets/images/lien-ame.webp') center / cover; }
.trust-principles, .about-values { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 92px 0; }
.trust-section-heading { max-width: 760px; margin-bottom: 43px; }
.trust-section-heading h2 { margin: 13px 0 0; font-size: clamp(38px, 4.7vw, 56px); letter-spacing: -1.8px; line-height: 1.06; }
.trust-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.trust-principles-grid article { min-height: 310px; padding: 36px; background: #fff; }
.trust-principles-grid article > span { display: block; margin-bottom: 58px; color: var(--wine); font-family: var(--serif); font-size: 12px; }
.trust-principles-grid h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.15; }
.trust-principles-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.trust-content, .about-manifesto { padding: 95px max(24px, calc((100% - 1030px) / 2)); display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(55px, 8vw, 105px); background: var(--cream); }
.trust-content h2, .about-manifesto h2 { margin: 14px 0 0; font-size: clamp(38px, 4.7vw, 55px); letter-spacing: -1.8px; line-height: 1.07; }
.trust-content p, .about-manifesto p { margin: 0 0 24px; padding: 0 0 24px 22px; color: var(--muted); border-bottom: 1px solid #ded7d7; border-left: 2px solid #caa4a4; }
.trust-alerts { width: min(900px, calc(100% - 48px)); margin: auto; padding: 92px 0; }
.trust-alerts ul { padding: 0; list-style: none; }
.trust-alerts li { position: relative; padding: 21px 25px 21px 54px; border-top: 1px solid var(--line); color: var(--muted); }
.trust-alerts li::before { position: absolute; top: 24px; left: 18px; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--wine); content: "!"; font-size: 10px; font-weight: 900; }
.trust-note { width: min(900px, calc(100% - 48px)); margin: 0 auto 95px; padding: 45px 50px; border: 1px solid #d6c3c3; border-radius: 4px 38px 4px 4px; background: #fff8f8; }
.trust-note h2 { margin: 0 0 13px; font-size: 32px; }
.trust-note p { margin: 0; color: var(--muted); }
.about-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-values-grid article { min-height: 205px; padding: 34px; border: 1px solid var(--line); border-radius: 3px 30px 3px 3px; background: #fff; }
.about-values-grid h3 { margin: 0 0 12px; color: var(--wine); font-size: 27px; }
.about-values-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.about-editorial { width: min(var(--content), calc(100% - 48px)); margin: 0 auto 95px; padding: 58px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 65px; color: #fff; border-radius: 5px 48px 5px 5px; background: var(--charcoal); }
.about-editorial .eyebrow { color: #dcbcbc; }
.about-editorial h2 { margin: 14px 0; color: #fff; font-size: clamp(37px, 4.5vw, 52px); letter-spacing: -1.6px; line-height: 1.07; }
.about-editorial p { color: rgba(255,255,255,.68); }
.about-editorial .button-secondary { color: #fff; border-color: rgba(255,255,255,.28); background: transparent; }
.about-editorial-card { padding: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.about-editorial-card strong { color: #fff; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.about-editorial-card p { margin: 15px 0 0; font-size: 13px; }

/* CTA final et pied de page identiques au Journal. */
.site-reassurance { border-top: 1px solid var(--line); background: #fff; }
.site-reassurance-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 76px 0 80px; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px, 7vw, 90px); }
.site-reassurance-heading h2 { margin: 14px 0 0; font-size: clamp(34px, 4vw, 49px); letter-spacing: -1.5px; line-height: 1.07; }
.site-reassurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.site-reassurance-grid article { padding: 27px 24px; background: #fff; }
.site-reassurance-grid article > span { display: block; margin-bottom: 32px; color: var(--wine); font-family: var(--serif); font-size: 11px; }
.site-reassurance-grid h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.15; }
.site-reassurance-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-reassurance-grid a { color: var(--wine); font-weight: 800; }
.site-cta { position: relative; overflow: hidden; color: #fff; background: var(--wine-dark); }
.site-cta-inner { position: relative; z-index: 2; width: min(880px, calc(100% - 48px)); margin: auto; padding: 92px 0 96px; text-align: center; }
.site-cta h2 { margin: 17px 0; color: #fff; font-size: clamp(38px, 5vw, 58px); letter-spacing: -1.8px; line-height: 1.07; }
.site-cta p { max-width: 680px; margin: 0 auto 29px; color: rgba(255,255,255,.74); }
.site-cta-orbit { position: absolute; right: -130px; bottom: -230px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.site-cta-orbit::before, .site-cta-orbit::after { position: absolute; inset: 70px; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.site-cta-orbit::after { inset: 145px; }
.site-footer { color: rgba(255,255,255,.64); background: var(--charcoal-deep); }
.footer-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 68px 0 55px; display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 55px; }
.brand-logo-footer { filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin: 20px 0 0; font-family: var(--serif); font-size: 15px; line-height: 1.6; }
.footer-inner nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-inner nav strong { margin-bottom: 7px; color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.footer-inner nav a { color: rgba(255,255,255,.62); font-size: 12px; text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }
.footer-bottom { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 21px 0 29px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.back-to-top { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--wine); box-shadow: 0 10px 25px rgba(0,0,0,.18); opacity: 0; pointer-events: none; text-decoration: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: #fff; background: var(--wine-dark); }

@media (max-width: 1080px) {
  .header-inner { width: min(100% - 32px, var(--content)); min-height: 86px; }
  .brand-logo { width: 190px; height: auto; }
  .site-nav > a, .nav-menu > summary { padding-right: 7px; padding-left: 7px; font-size: 11px; }
  .home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr) minmax(320px, .78fr); gap: 24px; }
  .directory-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); }
}

@media (max-width: 930px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: -16px; left: -16px; display: none; max-height: calc(100vh - 88px); padding: 18px 16px 25px; overflow: auto; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.is-open { display: block; }
  .site-nav > a, .nav-menu > summary { width: 100%; padding: 13px 15px; display: flex; justify-content: space-between; border-radius: 3px; font-size: 13px; }
  .site-nav .nav-cta { margin: 12px 0 0; justify-content: center; }
  .nav-menu { width: 100%; }
  .nav-popover { position: static; width: 100%; padding: 12px 18px 19px; border: 0; border-radius: 0; background: #f8f8f8; box-shadow: none; }
  .nav-popover::before { display: none; }
  .nav-mega { grid-template-columns: repeat(3, 1fr); }
  .home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); padding-top: 65px; }
  .home-hero-copy { grid-column: 1 / -1; max-width: 720px; }
  .home-visual-frame { height: 440px; }
  .home-story-grid, .chat-content { grid-template-columns: 1fr; gap: 35px; }
  .home-story-title, .chat-content h2 { position: static; }
  .benefits-grid { grid-template-columns: 1fr; }
  .home-journal-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .benefit-number { margin-bottom: 25px; }
  .directory-hero { grid-template-columns: 1fr; }
  .directory-hero-copy { min-height: 420px; }
  .directory-signup { width: 100%; max-width: 620px; margin: auto; }
  .seo-content-grid { grid-template-columns: 1fr; }
  .seo-content-grid article { min-height: 0; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero-copy { min-height: 500px; }
  .profile-signup { margin-top: 0; }
  .profile-guide { grid-template-columns: 1fr; gap: 42px; }
  .trust-principles-grid { grid-template-columns: 1fr; }
  .trust-principles-grid article { min-height: 0; }
  .trust-principles-grid article > span { margin-bottom: 26px; }
  .trust-content, .about-manifesto, .about-editorial, .site-reassurance-inner { grid-template-columns: 1fr; }
  .site-reassurance-grid { grid-template-columns: 1fr; }
  .page-country #position_cadre_homeG, .page-country #position_cadre_homeD { width: 100%; margin: 0 0 25px; }
  .chat-hero-inner { grid-template-columns: 1fr; }
  .chat-hero-copy { max-width: 720px; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-inner nav:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .header-inner, main.container, .home-hero-inner, .home-section, .members-section, .profile-hero, .profile-browse, .trust-hero, .trust-principles, .about-values, .about-editorial, .chat-hero-inner, .chat-content, .site-reassurance-inner, .site-cta-inner, .footer-inner, .footer-bottom { width: min(100% - 32px, var(--content)); }
  .header-inner { min-height: 78px; }
  .brand-logo { width: 170px; }
  .nav-mega { grid-template-columns: 1fr; gap: 20px; }
  .home-hero-inner { grid-template-columns: 1fr; padding: 52px 0 55px; gap: 28px; }
  .home-hero-copy { grid-column: auto; }
  .home-hero h1 { font-size: 47px; letter-spacing: -1.9px; }
  .home-lead { font-size: 16px; }
  .home-actions { display: grid; }
  .home-actions .button { width: 100%; }
  .home-visual-frame { width: 100%; height: 360px; }
  .signup-panel { width: 100%; min-height: 365px; padding: 24px 20px; }
  .home-section { padding: 75px 0; }
  .home-section-heading { margin-bottom: 35px; }
  .home-story-title h2, .home-section-heading h2 { font-size: 39px; }
  .directory-hero { margin-bottom: 64px; border-radius: 4px 34px 4px 4px; }
  .directory-hero-copy { min-height: 365px; padding: 32px 25px; }
  .directory-hero-copy h1 { font-size: 40px; }
  .directory-signup { padding: 35px 20px 31px; }
  .page-directory main.container > p:first-of-type { padding: 24px 0 24px 20px; font-size: 19px; }
  .seo-content-pro { margin: 64px auto 72px; }
  .seo-content-intro > p { padding-left: 18px; font-size: 18px; }
  .seo-content-grid article { padding: 29px 23px; }
  .seo-content-tip { margin-bottom: 65px; padding: 28px 24px; grid-template-columns: 1fr; gap: 12px; }
  .seo-faq summary { font-size: 18px; }
  .profile-hero { min-height: 0; margin-top: 24px; border-radius: 4px 34px 4px 4px; }
  .profile-hero-copy { min-height: 0; padding: 50px 25px 44px; }
  .profile-hero h1 { font-size: 43px; letter-spacing: -1.7px; }
  .profile-lead { font-size: 15px; }
  .profile-actions { display: grid; }
  .profile-actions .button { width: 100%; }
  .profile-signup { margin: 0 10px 10px; padding: 31px 20px 24px; }
  .profile-browse { padding: 70px 0; }
  .profile-browse-heading { display: grid; align-items: start; }
  .profile-browse h2 { font-size: 38px; }
  .profile-text-link { width: fit-content; }
  .profile-carousel-shell { padding: 15px; }
  .profile-guide { padding: 70px 25px; }
  .profile-guide h2 { font-size: 39px; }
  .profile-guide-copy p { padding-left: 32px; }
  .trust-hero { margin-top: 24px; padding: 55px 25px; border-radius: 4px 34px 4px 4px; }
  .trust-hero h1 { font-size: 44px; letter-spacing: -1.9px; }
  .trust-hero p { font-size: 15px; }
  .trust-principles, .about-values { padding: 72px 0; }
  .trust-principles-grid article { padding: 30px 24px; }
  .trust-content, .about-manifesto { padding: 72px 25px; gap: 36px; }
  .trust-content h2, .about-manifesto h2 { font-size: 39px; }
  .trust-alerts { width: calc(100% - 32px); padding: 72px 0; }
  .trust-note { width: calc(100% - 32px); margin-bottom: 72px; padding: 34px 24px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-editorial { margin-bottom: 72px; padding: 38px 24px; gap: 35px; }
  .site-reassurance-inner { padding: 65px 0; }
  .site-reassurance-heading h2 { font-size: 38px; }
  .site-reassurance-grid article { padding: 22px; display: grid; grid-template-columns: 28px 1fr; gap: 5px 11px; }
  .site-reassurance-grid article > span { grid-row: 1 / 3; margin: 3px 0 0; }
  .site-reassurance-grid h3, .site-reassurance-grid p { grid-column: 2; }
  .page-country #position_cadre_homeG .fieldset_home2, .page-country #position_cadre_homeD .fieldset_home2 { min-height: 0; padding: 32px 23px; }
  .chat-hero-inner { padding: 55px 0; gap: 40px; }
  .chat-hero-copy h1 { font-size: 44px; }
  .chat-content { padding: 72px 0; }
  .chat-content h2 { font-size: 38px; }
  .page-editorial main.container h1, .page-utility main.container h1 { font-size: 43px; }
  .page-utility main.container > div:first-child { padding: 33px 23px; }
  .sectiontitle { margin-top: 58px !important; font-size: 34px !important; }
  .site-cta-inner { padding: 72px 0 76px; }
  .site-cta h2 { font-size: 39px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-top: 55px; gap: 40px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-inner nav:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
