
:root {
  --bg-main: #f5f4ef;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-glass: rgba(245, 244, 239, 0.90);
  --primary: #325e7f;
  --primary-soft: #48789c;
  --primary-dark: #162f42;
  --gold: #dfc094;
  --gold-soft: #f7efe2;
  --gold-dark: #b89158;
  --accent: #f97320;
  --accent-hover: #ea580c;
  --accent-soft: #fff7ed;
  --text-main: #111827;
  --text-muted: #4b5563;
  --border: #e2dccd;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 6px 18px rgba(22, 47, 66, 0.06);
  --shadow-lg: 0 24px 48px -15px rgba(22, 47, 66, 0.12);
  --font-serif: "Baskerville", "Libre Baskerville", Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Animated Responsive Background (Using your Animation fond site.jpg + floating SVG clouds) */
.animated-site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 15% 15%, #ffffff 0%, #f5f4ef 60%, #ebe7dc 100%);
}
.animated-site-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: url("/assets/img/fond-nuage-parapluie.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.78;
  animation: floatCloudBg 22s ease-in-out infinite alternate;
}
.animated-site-bg::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 192, 148, 0.25) 0%, rgba(50, 94, 127, 0.06) 55%, transparent 75%);
  top: -180px;
  right: -120px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}
@keyframes floatCloudBg {
  0% { transform: scale(1) translate(0px, 0px); }
  50% { transform: scale(1.05) translate(-18px, 12px); }
  100% { transform: scale(1.08) translate(15px, -10px); }
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 50px) scale(1.15); }
}

/* Navbar with Prominent Logo */
.navbar-wrapper {
  position: sticky;
  top: 12px;
  z-index: 1000;
  max-width: 1280px;
  margin: 12px auto 0 auto;
  padding: 0 20px;
}
.navbar-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 34px -10px rgba(50, 94, 127, 0.14);
  border-radius: 999px;
  padding: 8px 24px 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo-round {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 6px 16px rgba(50, 94, 127, 0.18);
  border: 2px solid var(--gold);
  background: #f5f4ef;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.brand-link:hover .brand-logo-round {
  transform: scale(1.06) rotate(-3deg);
}
.brand-text-block strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text-block span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--gold-soft);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.google-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold-soft); border: 1.5px solid var(--gold);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; color: var(--primary-dark); text-decoration: none;
}
.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important; text-decoration: none !important;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 20px -4px rgba(50, 94, 127, 0.45);
  border: 1.5px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 25px -4px rgba(50, 94, 127, 0.6); }
.btn-gold {
  background: linear-gradient(135deg, #e5c89e 0%, #cfb486 100%);
  color: #162f42 !important; text-decoration: none !important;
  padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 8px 20px -4px rgba(223, 192, 148, 0.55);
  border: 1.5px solid #325e7f;
  transition: transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-outline {
  background: #ffffff; color: var(--primary-dark) !important; text-decoration: none !important;
  border: 1.5px solid var(--primary); padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px;
}
.container { max-width: 1260px; margin: 22px auto; padding: 0 20px; }

/* Hero Banner 2026 (With Transparent Cutout Portrait of Sébastien Pinchon & Charte Colors) */
.hero-banner-2026 {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,244,239,0.92) 55%, rgba(223,192,148,0.28) 100%);
  border-radius: 26px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 36px 44px 0 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.hero-left-content {
  padding-bottom: 36px;
}
.hero-top-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-big-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 8px 20px rgba(50, 94, 127, 0.15);
  background: #f5f4ef;
}
.scene-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.scene-title {
  font-family: var(--font-serif);
  font-size: 2.05rem;
  line-height: 1.2;
  color: var(--primary-dark);
  margin: 0 0 14px 0;
  border: none;
  padding: 0;
}
.scene-title span {
  color: var(--primary);
  border-bottom: 4px solid var(--gold);
}
.scene-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 10px 16px;
  font-size: 0.92rem;
  color: var(--text-main);
}
.scene-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gold-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.76rem;
  flex-shrink: 0;
}
.hero-boss-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-boss-stage::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, rgba(223, 192, 148, 0.15) 70%);
  border: 2px solid rgba(50, 94, 127, 0.25);
  bottom: 24px;
  z-index: 1;
}
.hero-boss-img {
  position: relative;
  z-index: 2;
  max-height: 335px;
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(22, 47, 66, 0.22));
}
.floating-card-name {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.floating-card-name strong { color: var(--gold); }

/* Compact Trust Header (For the 929 Inner Guide & Local Pages) */
.compact-trust-header {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.compact-left { display: flex; align-items: center; gap: 14px; }
.compact-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #f5f4ef 0%, var(--gold) 100%);
  flex-shrink: 0;
}
.compact-info strong { display: block; font-size: 0.96rem; color: var(--primary-dark); }
.compact-info span { font-size: 0.8rem; color: var(--text-muted); }

/* Visual Illustrations Strip (To brighten the site with custom SVG art in Charte colors!) */
.illustrations-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.illus-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border);
  border-bottom: 4px solid var(--gold);
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: var(--text-main);
}
.illus-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.illus-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-soft) 0%, #ffffff 100%);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.illus-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--primary-dark);
}
.illus-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.35;
}

/* Editorial Layout */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 32px;
  align-items: start;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  padding: 40px 46px;
}
.breadcrumb-list { list-style: none; padding: 0; margin: 0 0 14px 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb-list li+li::before { content: "›"; margin-right: 8px; color: var(--gold-dark); font-weight: bold; }
.breadcrumb-list a { color: var(--primary); text-decoration: none; font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--primary-dark); line-height: 1.28; }
h1 { font-size: 2.1rem; margin-top: 0; padding-bottom: 14px; border-bottom: 3px solid var(--gold); }
h2 { font-size: 1.52rem; margin-top: 1.8em; padding-bottom: 8px; border-bottom: 2px solid var(--gold-soft); color: var(--primary); }
h3 { font-size: 1.22rem; margin-top: 1.4em; }
.geo-summary-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-soft) 100%);
  border: 1.5px solid var(--gold);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 22px 0 30px 0;
}
.geo-summary-title { font-weight: 800; color: var(--primary-dark); font-size: 0.96rem; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.92rem; border-radius: 12px; overflow: hidden; }
th, td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
th { background: var(--primary); color: #fff; font-weight: 700; }
tr:nth-child(even) { background: var(--bg-main); }

/* Office / Bureau Showcase Section at bottom of pages */
.office-showcase-card {
  margin-top: 38px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: var(--shadow-lg);
}
.office-photo-wrap {
  position: relative;
  min-height: 270px;
}
.office-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.office-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(22, 47, 66, 0.9);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.office-details {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.office-details h3 {
  color: var(--gold);
  margin: 0 0 10px 0;
  font-size: 1.4rem;
}
.office-details p {
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  color: #f5f4ef;
  line-height: 1.6;
}

/* Sticky Sidebar */
.broker-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.broker-card, .silo-links-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  padding: 24px;
}
.silo-links-list { list-style: none; padding: 0; margin: 0; font-size: 0.86rem; }
.silo-links-list li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.silo-links-list a { color: var(--primary); text-decoration: none; font-weight: 600; }
.silo-links-list a:hover { color: var(--gold-dark); }
.site-footer {
  background: var(--primary-dark);
  color: #f5f4ef;
  border-top: 4px solid var(--gold);
  padding: 48px 20px 28px 20px;
  margin-top: 56px;
  font-size: 0.88rem;
}
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer-col h4 { color: var(--gold); margin-top: 0; border-bottom: 2px solid var(--gold); padding-bottom: 6px; display: inline-block; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #f5f4ef; text-decoration: none; }
@media (max-width: 960px) {
  .hero-banner-2026, .page-layout, .office-showcase-card { grid-template-columns: 1fr; }
  .illustrations-strip { grid-template-columns: repeat(2, 1fr); }
  .broker-sidebar { position: static; }
  .nav-links { display: none; }
  .article-card { padding: 24px 18px; }
}
@media (max-width: 560px) {
  .illustrations-strip { grid-template-columns: 1fr; }
  .brand-logo-round { width: 56px; height: 56px; }
}
