/* Rivebois — nouvelle vitrine, pensée pour le site public et l’application web. */
:root {
  --rb-paper: #f5f3eb;
  --rb-white: #fffefa;
  --rb-ink: #19251d;
  --rb-muted: #58655b;
  --rb-pine: #214a35;
  --rb-pine-deep: #173a29;
  --rb-leaf: #94a46d;
  --rb-sand: #e9e4d5;
  --rb-line: #d9d8c9;
  --rb-blue: #3e7584;
  --rb-radius: 24px;
  --rb-shadow: 0 24px 72px rgba(28, 48, 34, .14);
}


/* En-tête partagé */
.rb-site-header { position: relative; z-index: 20; background: rgba(255, 254, 250, .96); border-bottom: 1px solid rgba(33, 74, 53, .1); }
.rb-header-inner { width: min(1320px, calc(100% - 64px)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.rb-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 204px; color: var(--rb-pine-deep); text-decoration: none; }
.rb-brand .logo-img { width: 48px; height: 40px; object-fit: contain; }
.rb-brand .logo-clair { display: block; }
.rb-brand .logo-sombre { display: none; }
.rb-brand-word { display: block; font: 600 26px/1 'Fraunces', Georgia, serif; letter-spacing: -.035em; }
.rb-brand-word span { display: block; margin-top: 5px; font: 500 15px/1.2 'Inter', sans-serif; letter-spacing: .015em; color: #677467; }
.rb-main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 34px); flex: 1; }
.rb-main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; color: #455449; font-size: 15px; font-weight: 560; text-decoration: none; }
.rb-main-nav a::after { position: absolute; right: 0; bottom: 8px; left: 0; height: 1px; background: var(--rb-pine); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.rb-main-nav a:hover::after, .rb-main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.rb-header-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 19px; border-radius: 7px; color: #fffefa; background: var(--rb-pine); font-size: 15px; font-weight: 650; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.rb-header-cta:hover { background: #153a29; transform: translateY(-1px); }
.rb-mobile-menu { display: none; }

/* Accueil */
.rb-home { overflow: clip; }
.rb-eyebrow, .rb-overline { margin: 0; color: #5b704d; font-size: 15px; font-weight: 700; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
.rb-eyebrow { display: flex; align-items: center; gap: 10px; }
.rb-eyebrow-mark { width: 8px; height: 8px; border-radius: 50%; background: #829658; box-shadow: 0 0 0 5px rgba(130, 150, 88, .13); }
.rb-hero { min-height: 660px; display: grid; grid-template-columns: minmax(390px, .85fr) minmax(0, 1.15fr); gap: clamp(42px, 6.5vw, 100px); align-items: center; width: min(1460px, 100%); margin-inline: auto; padding: 45px clamp(32px, 5.6vw, 84px) 76px; }
.rb-hero-copy { position: relative; z-index: 2; max-width: 590px; padding: 28px 0; }
.rb-hero h1 { max-width: 650px; margin: 24px 0 23px; color: #203a2b; font: 400 clamp(58px, 6.1vw, 88px)/.99 'Fraunces', Georgia, serif; letter-spacing: -.055em; }
.rb-home h1 em, .rb-home h2 em { color: #75864e; font-weight: 400; }
.rb-home h1 em { white-space: nowrap; }
.rb-lead { max-width: 475px; margin: 0; color: #4e5d52; font-size: 20px; line-height: 1.65; }
.rb-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rb-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 21px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 650; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.rb-button:hover { transform: translateY(-2px); }
.rb-button-primary { color: #fffefa; background: var(--rb-pine); }
.rb-button-primary:hover { background: #153a29; }
.rb-button-quiet { color: #344c3a; border-color: #c6c9b9; background: transparent; }
.rb-button-quiet:hover { border-color: var(--rb-pine); background: rgba(255,255,255,.45); }
.rb-hero-note { display: flex; align-items: flex-start; gap: 9px; max-width: 480px; margin: 25px 0 0; color: #6b7169; font-size: 15px; line-height: 1.55; }
.rb-hero-note span { color: #9c7b38; font-size: 18px; line-height: 1.2; }
.rb-hero-visual { position: relative; min-width: 0; height: clamp(480px, 45vw, 630px); border-radius: 10px 34px 10px 10px; background: #d5d8c5; }
.rb-hero-photo { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 52% center; }
.rb-photo-shade { position: absolute; inset: 35% 0 0; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, transparent, rgba(14, 33, 24, .48)); pointer-events: none; }
.rb-photo-caption { position: absolute; bottom: 31px; left: 32px; display: flex; align-items: center; gap: 10px; color: #fffefa; font: 400 20px/1.35 'Fraunces', Georgia, serif; }
.rb-live-dot { width: 8px; height: 8px; border: 1px solid #fffefa; border-radius: 50%; background: #a5be7b; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.rb-photo-index { position: absolute; right: 29px; bottom: 33px; color: rgba(255,255,255,.92); font-size: 15px; letter-spacing: .12em; }
.rb-photo-index i { display: inline-block; width: 30px; height: 1px; margin: 0 8px 4px; background: rgba(255,255,255,.72); }
.rb-hero-card { position: absolute; top: 32px; left: -38px; width: min(302px, 53%); padding: 16px 17px 18px; border: 1px solid rgba(255,255,255,.76); border-radius: 12px; background: rgba(255,254,250,.96); box-shadow: var(--rb-shadow); }
.rb-card-topline { display: flex; align-items: center; gap: 9px; color: #637065; font-size: 15px; }
.rb-mini-mark { width: 23px; height: 23px; display: inline-grid; place-items: center; border-radius: 7px; color: white; background: var(--rb-pine); font: 600 15px 'Fraunces', Georgia, serif; }
.rb-card-arrow { margin-left: auto; color: #778b61; }
.rb-card-content { display: flex; align-items: center; gap: 13px; margin-top: 17px; }
.rb-card-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 10px; color: #427185; background: #e8f0ed; }
.rb-card-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rb-card-content strong, .rb-card-content span { display: block; }
.rb-card-content strong { color: #26382b; font: 500 18px/1.25 'Fraunces', Georgia, serif; }
.rb-card-content span { margin-top: 4px; color: #68756a; font-size: 15px; }

.rb-trust { width: min(1240px, calc(100% - 64px)); display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; gap: 20px; margin: 0 auto; padding: 26px 0 32px; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); }
.rb-trust-intro { display: flex; flex-direction: column; gap: 3px; }
.rb-trust-intro strong { color: var(--rb-pine-deep); font: 400 24px/1.15 'Fraunces', Georgia, serif; }
.rb-trust-intro .rb-overline { font-size: 15px; }
.rb-trust-item { min-height: 53px; display: flex; align-items: flex-start; gap: 12px; padding-left: 18px; border-left: 1px solid var(--rb-line); }
.rb-trust-number { color: #829658; font: 400 15px/1.45 'Fraunces', Georgia, serif; }
.rb-trust-item strong, .rb-trust-item small { display: block; }
.rb-trust-item strong { color: #304338; font-size: 15px; line-height: 1.45; }
.rb-trust-item small { margin-top: 3px; color: #68736a; font-size: 15px; line-height: 1.45; }

.rb-activities { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 108px 0 112px; }
.rb-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 37px; }
.rb-section-heading h2, .rb-map-copy h2, .rb-notebook-copy h2, .rb-safety h2, .rb-final-cta h2 { margin: 15px 0 0; color: #203a2b; font: 400 clamp(42px, 4.3vw, 61px)/1.04 'Fraunces', Georgia, serif; letter-spacing: -.045em; }
.rb-section-heading > p { width: min(400px, 38%); margin: 0 0 3px; color: var(--rb-muted); font-size: 17px; line-height: 1.65; }
.rb-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.rb-activity-card { min-height: 337px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 21px 21px; border: 1px solid rgba(31,61,43,.08); border-radius: 9px 22px 9px 9px; color: var(--rb-ink); text-decoration: none; transition: transform .24s ease, box-shadow .24s ease; }
.rb-activity-card:hover { transform: translateY(-5px); box-shadow: 0 15px 36px rgba(26,48,34,.12); }
.rb-activity-fishing { background: #e4eeee; }
.rb-activity-forest { background: #e6e8dc; }
.rb-activity-walk { background: #eee9dc; }
.rb-activity-picking { background: #e7eadf; }
.rb-activity-icon { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(33,74,53,.18); border-radius: 12px; color: var(--rb-pine); background: rgba(255,254,250,.56); }
.rb-activity-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rb-card-kicker { color: #607060; font-size: 15px; line-height: 1.35; }
.rb-activity-card > strong { margin-top: 4px; color: #253b2b; font: 400 28px/1.15 'Fraunces', Georgia, serif; }
.rb-activity-copy { max-width: 255px; margin-top: 12px; color: #536057; font-size: 15px; line-height: 1.62; }
.rb-card-link { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: auto; padding-top: 23px; color: #2d4d38; font-size: 15px; font-weight: 650; }
.rb-card-link b { font-size: 19px; font-weight: 400; }

.rb-map-section { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(44px, 8vw, 120px); padding: 94px max(32px, calc((100% - 1240px) / 2)); color: #f6f4eb; background: #1e3c2d; }
.rb-map-copy { max-width: 430px; }
.rb-map-copy .rb-eyebrow { color: #c2ce9f; }
.rb-map-copy h2 { color: #f7f5ed; }
.rb-map-copy h2 em { color: #bfcd92; }
.rb-map-copy > p:not(.rb-eyebrow) { margin: 22px 0 0; color: #d1d9cd; font-size: 17px; line-height: 1.7; }
.rb-text-link { display: inline-flex; align-items: center; gap: 17px; min-height: 48px; margin-top: 19px; color: #f4f1e5; border-bottom: 1px solid #aabb82; font-size: 15px; font-weight: 650; text-decoration: none; }
.rb-map-disclaimer { max-width: 350px; padding-left: 13px; border-left: 2px solid #9eae79; color: #c5d0c3 !important; font-size: 15px !important; }
.rb-map-demo { min-width: 0; overflow: hidden; border: 1px solid rgba(241,239,225,.4); border-radius: 12px; color: #24392b; background: #f7f6ef; box-shadow: 0 28px 65px rgba(0,0,0,.2); transform: rotate(.6deg); }
.rb-map-toolbar { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 19px; border-bottom: 1px solid #dedfce; }
.rb-map-logo { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.rb-map-logo img { display: block; width: 30px; height: 24px; }
.rb-demo-tag { padding: 6px 10px; border: 1px dashed #817c65; border-radius: 5px; color: #4b5144; background: #eeeadd; font-size: 15px; font-weight: 650; }
.rb-map-canvas { position: relative; height: clamp(290px, 33vw, 410px); overflow: hidden; background-color: #e8eadb; background-image: radial-gradient(ellipse at 20% 25%, rgba(175,193,151,.38) 0 13%, transparent 13.5%), radial-gradient(ellipse at 77% 17%, rgba(175,193,151,.35) 0 18%, transparent 18.5%), radial-gradient(ellipse at 82% 78%, rgba(175,193,151,.35) 0 18%, transparent 18.5%), linear-gradient(143deg, transparent 30%, rgba(211,220,199,.55) 30.2% 41%, transparent 41.2%); }
.rb-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.rb-contour { stroke: #c6cbb3; stroke-width: 1.3; stroke-dasharray: 1 0; opacity: .72; }
.rb-road { stroke: #fbfaf4; stroke-width: 8; stroke-linecap: round; }
.rb-road-line { stroke: #d0cbb9; stroke-width: 1; stroke-dasharray: 8 7; }
.rb-river { stroke: #81b6c5; stroke-width: 15; stroke-linecap: round; }
.rb-river-core { stroke: #b7d8d9; stroke-width: 5; stroke-linecap: round; }
.rb-trail { stroke: #a78d64; stroke-width: 2; stroke-dasharray: 6 6; }
.rb-map-label { position: absolute; color: #6c745f; font: italic 16px 'Fraunces', Georgia, serif; }
.rb-map-label-one { top: 16%; right: 15%; }
.rb-map-label-two { top: 53%; left: 28%; transform: rotate(-74deg); }
.rb-map-pin { position: absolute; width: 23px; height: 23px; display: grid; place-items: center; border: 2px solid #fffefa; border-radius: 50% 50% 50% 4px; background: #426947; box-shadow: 0 2px 6px rgba(24,46,30,.25); transform: rotate(-45deg); }
.rb-map-pin i { width: 6px; height: 6px; border-radius: 50%; background: #fffefa; }
.rb-map-pin-one { top: 30%; left: 56%; }
.rb-map-pin-two { top: 61%; left: 75%; background: #477a87; }
.rb-map-info { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e0ddcf; border-radius: 9px; background: rgba(255,254,250,.96); box-shadow: 0 9px 25px rgba(40,54,39,.12); }
.rb-map-info-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fffefa; background: #477789; font: 600 16px Georgia, serif; }
.rb-map-info strong, .rb-map-info small { display: block; }
.rb-map-info strong { color: #28382d; font-size: 15px; }
.rb-map-info small { margin-top: 3px; color: #667167; font-size: 15px; }
.rb-map-open { margin-left: auto; color: #537257; font-size: 19px; }
.rb-map-legend { min-height: 44px; display: flex; align-items: center; gap: 24px; padding: 0 18px; color: #657064; font-size: 15px; }
.rb-map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rb-map-legend i { width: 16px; height: 4px; display: inline-block; border-radius: 4px; background: #81b6c5; }
.rb-map-legend .rb-legend-path { height: 0; border-top: 2px dashed #a78d64; background: transparent; }
.rb-map-legend .rb-legend-point { width: 9px; height: 9px; border-radius: 50%; background: #426947; }

.rb-notebook { width: min(1240px, calc(100% - 64px)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(52px, 9vw, 132px); margin: 0 auto; padding: 112px 0; }
.rb-notebook-image { position: relative; height: 450px; }
.rb-notebook-photo { display: block; width: 100%; height: 100%; border-radius: 10px 28px 10px 10px; object-fit: cover; }
.rb-notebook-stamp { position: absolute; right: -32px; bottom: -24px; width: 175px; min-height: 195px; display: flex; flex-direction: column; justify-content: center; padding: 20px 23px; color: #f5f3eb; background: #446444; box-shadow: 0 16px 40px rgba(21,43,28,.2); transform: rotate(2deg); }
.rb-notebook-stamp > span:first-child { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.rb-notebook-stamp strong { margin-top: 8px; font: 400 31px/.98 'Fraunces', Georgia, serif; }
.rb-stamp-line { width: 34px; height: 1px; margin: 14px 0 11px; background: #c3ce9d; }
.rb-notebook-stamp small { color: #e0e6d4; font-size: 15px; }
.rb-notebook-copy { max-width: 520px; }
.rb-notebook-copy h2 { font-size: clamp(39px, 4.1vw, 59px); }
.rb-notebook-copy > p:not(.rb-eyebrow) { max-width: 470px; margin: 21px 0 0; color: var(--rb-muted); font-size: 17px; line-height: 1.75; }
.rb-notebook-copy .rb-text-link { color: #284a34; border-color: #9ba984; }

.rb-safety { display: grid; grid-template-columns: 58px minmax(240px, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(22px, 4vw, 55px); padding: 56px max(32px, calc((100% - 1240px) / 2)) 62px; color: #f7f5ed; background: #293f31; }
.rb-safety-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(227,235,212,.55); border-radius: 50%; color: #e4ca83; font: 400 25px 'Fraunces', Georgia, serif; }
.rb-safety .rb-eyebrow { color: #c4cf9d; }
.rb-safety h2 { margin-top: 12px; color: #fffefa; font-size: clamp(35px, 3.5vw, 49px); }
.rb-safety h2 em { color: #c5d09f; }
.rb-safety-copy { max-width: 620px; padding-top: 2px; }
.rb-safety-copy p { margin: 0 0 13px; color: #e0e5da; font-size: 16px; line-height: 1.7; }
.rb-safety-link { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; margin-top: 4px; color: #fffefa; border-bottom: 1px solid #afbd8d; font-size: 15px; font-weight: 650; text-decoration: none; }

.rb-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 76px max(32px, calc((100% - 1240px) / 2)) 84px; background: #e5e8d7; }
.rb-final-cta .rb-eyebrow { color: #607348; }
.rb-final-cta h2 { margin-top: 12px; font-size: clamp(39px, 4.1vw, 58px); }
.rb-button-light { color: #fffefa; background: var(--rb-pine); }
.rb-button-light:hover { background: #153a29; }

/* Pied de page partagé */
.rb-site-footer { padding: 53px max(32px, calc((100% - 1240px) / 2)) 0; color: #e8eadd; background: #142b20; }
.rb-footer-inner { display: grid; grid-template-columns: minmax(230px, 1.6fr) minmax(130px, .8fr) minmax(170px, .9fr) auto; gap: clamp(30px, 5vw, 82px); padding-bottom: 43px; }
.rb-footer-brand > a { display: inline-flex; align-items: center; gap: 10px; color: #fffefa; text-decoration: none; }
.rb-footer-brand .logo-img { width: 42px; height: 36px; object-fit: contain; }
.rb-footer-brand strong { font: 500 26px/1 'Fraunces', Georgia, serif; }
.rb-footer-brand p { max-width: 335px; margin: 16px 0 0; color: #c0cbbb; font-size: 15px; line-height: 1.6; }
.rb-footer-brand .rb-footer-disclaimer { margin-top: 12px; color: #aab8a9; }
.rb-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rb-footer-column h2 { margin: 3px 0 11px; color: #fffefa; font: 500 19px/1.3 'Fraunces', Georgia, serif; }
.rb-footer-column a, .rb-footer-back { display: inline-flex; align-items: center; min-height: 42px; color: #c5d0c2; font-size: 15px; text-decoration: none; }
.rb-footer-column a:hover, .rb-footer-back:hover { color: #fffefa; text-decoration: underline; }
.rb-footer-back { align-self: start; gap: 8px; white-space: nowrap; }
.rb-footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 19px 0 22px; border-top: 1px solid rgba(222,231,216,.18); color: #a9b6a8; font-size: 15px; line-height: 1.5; }

/* Cohérence typographique des pages d'information existantes */

/* Pages de présentation et d’accès */

@media (max-width: 1100px) {
  .rb-header-inner { width: calc(100% - 44px); gap: 22px; }
  .rb-brand { min-width: 178px; }
  .rb-brand-word { font-size: 24px; }
  .rb-brand-word span { font-size: 15px; }
  .rb-main-nav { gap: 18px; }
  .rb-main-nav a, .rb-header-cta { font-size: 15px; }
  .rb-hero { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); gap: 45px; }
  .rb-hero h1 { font-size: clamp(56px, 6.4vw, 74px); }
  .rb-trust, .rb-activities, .rb-notebook { width: calc(100% - 56px); }
  .rb-trust { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .rb-trust-intro { padding-left: 18px; border-left: 1px solid var(--rb-line); }
  .rb-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-activity-card { min-height: 300px; }
  .rb-map-section { grid-template-columns: minmax(245px, .7fr) minmax(0, 1.3fr); gap: 42px; }
  .rb-footer-inner { grid-template-columns: 1.4fr .75fr 1fr; }
  .rb-footer-back { grid-column: 3; }
}

@media (max-width: 760px) {
  .rb-header-inner { position: relative; width: calc(100% - 36px); min-height: 76px; gap: 12px; }
  .rb-brand { min-width: 0; margin-right: auto; gap: 8px; }
  .rb-brand .logo-img { width: 40px; height: 34px; }
  .rb-brand-word { font-size: 23px; }
  .rb-brand-word span { display: none; }
  .rb-main-nav { display: none; }
  .rb-header-cta { min-height: 44px; gap: 8px; padding: 0 13px; font-size: 15px; }
  .rb-mobile-menu { position: relative; display: block; }
  .rb-mobile-menu summary { min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 5px; color: #304b38; cursor: pointer; list-style: none; font-size: 15px; font-weight: 650; }
  .rb-mobile-menu summary::-webkit-details-marker { display: none; }
  .rb-menu-lines { width: 18px; height: 12px; display: inline-block; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .rb-menu-lines::after { position: absolute; top: 4px; right: 0; left: 0; border-top: 2px solid currentColor; content: ''; }
  .rb-mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; width: min(300px, calc(100vw - 32px)); display: flex; flex-direction: column; padding: 10px; border: 1px solid #e0e2d5; border-radius: 12px; background: #fffefa; box-shadow: 0 15px 35px rgba(26,48,34,.17); }
  .rb-mobile-menu nav a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 7px; color: #344a3a; font-size: 15px; text-decoration: none; }
  .rb-mobile-menu nav a:hover { background: #eef0e6; }
  .rb-mobile-menu nav a:last-child { margin-top: 5px; color: #fffefa; background: var(--rb-pine); }

  .rb-hero { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding: 43px 22px 50px; }
  .rb-hero-copy { max-width: 600px; padding: 0; }
  .rb-eyebrow, .rb-overline { font-size: 15px; }
  .rb-hero h1 { margin: 19px 0 16px; font-size: clamp(53px, 12vw, 72px); }
  .rb-lead { max-width: 520px; font-size: 18px; line-height: 1.6; }
  .rb-hero-actions { gap: 9px; margin-top: 24px; }
  .rb-button { min-height: 50px; gap: 12px; padding: 0 15px; }
  .rb-hero-note { margin-top: 18px; }
  .rb-hero-visual { height: clamp(330px, 93vw, 490px); margin-left: 13px; border-radius: 8px 24px 8px 8px; }
  .rb-hero-card { top: 17px; left: -13px; width: min(278px, 78%); padding: 12px; }
  .rb-card-topline { font-size: 15px; }
  .rb-card-content { margin-top: 12px; }
  .rb-card-content strong { font-size: 17px; }
  .rb-photo-caption { bottom: 22px; left: 18px; max-width: 72%; font-size: 18px; }
  .rb-photo-index { right: 15px; bottom: 24px; font-size: 15px; }
  .rb-photo-index i { width: 18px; margin-inline: 3px; }

  .rb-trust, .rb-activities, .rb-notebook { width: calc(100% - 44px); }
  .rb-trust { grid-template-columns: 1fr; gap: 17px; padding: 24px 0; }
  .rb-trust-intro, .rb-trust-item { min-height: 0; padding: 0 0 0 14px; border-left: 1px solid var(--rb-line); }
  .rb-trust-intro strong { font-size: 22px; }
  .rb-trust-item small { font-size: 15px; }
  .rb-activities { padding: 73px 0 76px; }
  .rb-section-heading { display: block; margin-bottom: 26px; }
  .rb-section-heading h2, .rb-map-copy h2, .rb-notebook-copy h2 { font-size: clamp(40px, 10vw, 54px); }
  .rb-section-heading > p { width: auto; max-width: 480px; margin-top: 15px; font-size: 16px; }
  .rb-activity-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rb-activity-card { min-height: 315px; padding: 17px 15px 15px; border-radius: 8px 17px 8px 8px; }
  .rb-activity-icon { width: 43px; height: 43px; margin-bottom: 19px; }
  .rb-activity-card > strong { font-size: 25px; }
  .rb-activity-copy { font-size: 15px; line-height: 1.5; }
  .rb-card-link { align-items: flex-end; gap: 4px; font-size: 15px; line-height: 1.35; }

  .rb-map-section { grid-template-columns: 1fr; gap: 29px; padding: 66px 22px 72px; }
  .rb-map-copy { max-width: 570px; }
  .rb-map-copy > p:not(.rb-eyebrow) { font-size: 16px; }
  .rb-map-demo { transform: none; }
  .rb-map-canvas { height: 330px; }
  .rb-map-info { right: 10px; bottom: 10px; left: 10px; gap: 9px; padding: 10px; }
  .rb-map-info strong, .rb-map-info small { font-size: 15px; }
  .rb-map-legend { flex-wrap: wrap; gap: 8px 16px; padding: 10px 12px; }
  .rb-map-legend span { font-size: 15px; }

  .rb-notebook { grid-template-columns: 1fr; gap: 43px; padding: 72px 0 78px; }
  .rb-notebook-image { height: 330px; margin-right: 16px; }
  .rb-notebook-stamp { right: -15px; bottom: -17px; width: 145px; min-height: 163px; padding: 16px; }
  .rb-notebook-stamp strong { font-size: 28px; }
  .rb-notebook-copy { max-width: 590px; }
  .rb-notebook-copy > p:not(.rb-eyebrow) { font-size: 16px; }

  .rb-safety { grid-template-columns: 42px 1fr; gap: 15px; padding: 38px 22px 42px; }
  .rb-safety-mark { width: 36px; height: 36px; font-size: 21px; }
  .rb-safety-main { grid-column: 2; }
  .rb-safety h2 { font-size: 39px; }
  .rb-safety-copy { grid-column: 2; }
  .rb-safety-copy p { font-size: 15px; }

  .rb-final-cta { display: block; padding: 59px 22px 64px; }
  .rb-final-cta h2 { font-size: clamp(39px, 9vw, 52px); }
  .rb-final-cta .rb-button { margin-top: 25px; }

  .rb-site-footer { padding: 39px 22px 0; }
  .rb-footer-inner { grid-template-columns: 1fr 1fr; gap: 27px 18px; padding-bottom: 28px; }
  .rb-footer-brand { grid-column: 1 / -1; }
  .rb-footer-brand p { max-width: 520px; }
  .rb-footer-column h2 { margin-bottom: 7px; }
  .rb-footer-column a { min-height: 42px; }
  .rb-footer-back { grid-column: 1 / -1; grid-row: 3; }
  .rb-footer-bottom { display: flex; flex-direction: column; gap: 7px; padding: 16px 0 20px; }
}

@media (max-width: 430px) {
  .rb-header-inner { width: calc(100% - 28px); }
  .rb-brand .logo-img { width: 35px; height: 31px; }
  .rb-brand-word { font-size: 21px; }
  .rb-header-cta { min-height: 42px; padding: 0 10px; font-size: 15px; }
  .rb-header-cta { display: none; }
  .rb-mobile-menu summary { gap: 5px; font-size: 15px; }
  .rb-hero { padding-inline: 18px; }
  .rb-hero h1 { font-size: 51px; }
  .rb-button { min-height: 48px; font-size: 15px; }
  .rb-activity-grid { grid-template-columns: 1fr; }
  .rb-activity-card { min-height: 263px; padding: 19px; }
  .rb-activity-icon { margin-bottom: 14px; }
  .rb-activity-copy { max-width: 310px; }
  .rb-map-toolbar { padding-inline: 12px; }
  .rb-demo-tag { font-size: 15px; }
  .rb-map-canvas { height: 295px; }
  .rb-map-label { font-size: 15px; }
  .rb-notebook-image { height: 285px; }
  .rb-notebook-stamp { width: 132px; min-height: 147px; }
  .rb-map-legend { gap: 7px 12px; }
}

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


/* ===== Adaptations pour le site statique (07_visuel_wordpress.py) ===== */
/* Réglages de base limités aux composants de la refonte : les autres pages gardent leurs règles. */
.rb-site-header, .rb-home, .rb-site-footer { font-family: 'Inter', system-ui, sans-serif; }
.rb-home { color: var(--rb-ink); background: var(--rb-paper); }
.rb-site-header a:focus-visible, .rb-site-header summary:focus-visible, .rb-home a:focus-visible, .rb-site-footer a:focus-visible { outline: 3px solid #4f7a3a; outline-offset: 3px; }
.rb-site-footer a:focus-visible, .rb-safety a:focus-visible, .rb-final-cta a:focus-visible { outline-color: #e7efc9; }
.rb-site-header a, .rb-home a, .rb-site-footer a { text-underline-offset: .2em; }
.rb-site-header { position: sticky; top: 0; }
.rb-header-links { display: flex; align-items: center; gap: 10px; }
.rb-header-login { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; color: #345240; font-size: 15px; font-weight: 650; text-decoration: none; }
.rb-header-login:hover { text-decoration: underline; }
.rb-site-header .rb-main-nav a, .rb-site-header .rb-header-login, .rb-site-header .rb-header-cta { min-height: 48px; }
.rb-site-footer .rb-footer-column a { min-height: 48px; }
.rb-footer-editor p { margin: 0; color: #c0cbbb; font-size: 15px; line-height: 1.6; }
.rb-footer-editor a { min-height: 48px; display: inline-flex; align-items: center; color: #fffefa; }
.rb-brand .logo-sombre { display: none; }
.rb-mobile-menu summary { min-height: 48px; }
.rb-mobile-menu nav a { display: flex; align-items: center; min-height: 48px; }

/* Sections ajoutées pour garder la précision de la version en ligne */
.rb-ready { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0 70px; }
.rb-ready-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.rb-ready-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border: 1px solid var(--rb-line); border-radius: 12px 26px 12px 12px; background: var(--rb-white); color: var(--rb-ink); text-decoration: none; box-shadow: 0 12px 36px rgba(28,48,34,.07); }
.rb-ready-card:hover { border-color: var(--rb-pine); }
.rb-ready-card strong { font: 500 28px/1.15 'Fraunces', Georgia, serif; color: #254532; }
.rb-ready-card p { margin: 0; color: #4e5d52; font-size: 16px; line-height: 1.65; }
.rb-count { font: 400 34px/1.1 'Fraunces', Georgia, serif; color: #3f6a34; }
.rb-ready h2, .rb-features h2, .rb-shots h2 { margin: 12px 0 0; max-width: 820px; color: #203a2b; font: 400 clamp(32px, 3.6vw, 48px)/1.1 'Fraunces', Georgia, serif; letter-spacing: -.035em; }
.rb-ready h2 em, .rb-features h2 em, .rb-shots h2 em { color: #75864e; font-weight: 400; }
.rb-ready-note { max-width: 780px; margin: 22px 0 0; color: #58655b; font-size: 15px; line-height: 1.6; }
.rb-features { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 10px 0 80px; }
.rb-features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rb-feature-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid var(--rb-line); border-radius: 10px 20px 10px 10px; background: var(--rb-white); }
.rb-feature-tile h3 { margin: 0; color: #254532; font: 500 22px/1.2 'Fraunces', Georgia, serif; }
.rb-feature-tile p { margin: 0; color: #566258; font-size: 15px; line-height: 1.65; }
.rb-feature-tile-later { background: #eeece3; }
.rb-status { display: inline-block; padding: 4px 9px; border: 1px dashed #797767; border-radius: 5px; color: #4d4f41; font: 650 15px/1.3 'Inter', sans-serif; }
.rb-shots { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 84px; }
.rb-shots-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.rb-shots-row li { margin: 0; }
.rb-phone { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; border: 1px solid var(--rb-line); border-radius: 22px; box-shadow: var(--rb-shadow); background: var(--rb-white); }
.rb-shots-note { max-width: 780px; margin: 24px 0 0; color: #58655b; font-size: 15px; line-height: 1.6; }
.rb-shots-note a { display: inline-flex; align-items: center; min-height: 48px; color: #245237; }
.rb-offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px max(32px, calc((100% - 1240px) / 2)); background: var(--rb-sand); }
.rb-offer h2 { margin: 0; color: #203a2b; font: 400 clamp(28px, 3vw, 38px)/1.15 'Fraunces', Georgia, serif; }
.rb-offer p { margin: 8px 0 0; color: #4e5d52; font-size: 16px; line-height: 1.6; max-width: 640px; }
.rb-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-button-outline { color: var(--rb-pine); border-color: var(--rb-pine); background: transparent; }
.rb-hero-note { color: #596157; }

@media (max-width: 1100px) {
  .rb-ready, .rb-features, .rb-shots { width: calc(100% - 56px); }
  .rb-features-grid, .rb-shots-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rb-ready, .rb-features, .rb-shots { width: calc(100% - 36px); }
  .rb-ready-grid { grid-template-columns: 1fr; }
  .rb-site-header { position: relative; }
  .rb-header-links .rb-header-login { display: none; }
  .rb-offer { padding: 36px 18px; }
}
@media (max-width: 480px) {
  .rb-features-grid { grid-template-columns: 1fr; }
  .rb-final-actions .rb-button { width: 100%; }
}

/* Mode sombre du système : en-tête sombre comme le reste du site ; l'accueil garde son thème clair éditorial. */
@media (prefers-color-scheme: dark) {
  :root:not(.clair) .rb-site-header { background: rgba(21, 32, 26, .97); border-bottom-color: #2f3e35; }
  :root:not(.clair) .rb-brand { color: #eef0e7; }
  :root:not(.clair) .rb-brand-word span { color: #b9c1b6; }
  :root:not(.clair) .rb-brand .logo-clair { display: none; }
  :root:not(.clair) .rb-brand .logo-sombre { display: block; }
  :root:not(.clair) .rb-main-nav a, :root:not(.clair) .rb-header-login, :root:not(.clair) .rb-mobile-menu summary { color: #d9dfd3; }
  :root:not(.clair) .rb-header-cta { color: #15201a; background: #a5be7b; }
  :root:not(.clair) .rb-main-nav a::after { background: #a5be7b; }
}
