/*
Theme Name:   Le Ramoneur de Séglien
Theme URI:    https://leramoneurdeseglien.bzh/
Description:  Thème enfant d'Astra pour Le Ramoneur de Séglien — artisan ramoneur-fumiste, Morbihan (56). Design system « enseigne d'artisan » : Fraunces + Inter + Caveat, palette brique/suie/crème.
Author:       Julien — Le Ramoneur de Séglien
Author URI:   https://leramoneurdeseglien.bzh/
Template:     astra
Version:      1.1.0
Text Domain:  ramoneur-seglien
*/

/* =========================================================
   1. Design tokens — couleurs, typo, espacements, rayons
   Source : design system Le Ramoneur de Séglien
   ========================================================= */

:root {
  /* -------- Orange (primaire) -------- */
  --orange-900: #3D1F05;
  --orange-800: #6B3910;
  --orange-700: #9A541A;
  --orange-600: #CB7420;
  --orange-500: #ED8A1E;
  --orange-400: #F4A74A;
  --orange-300: #F8C685;
  --orange-100: #FCE7CB;

  /* -------- Navy (suie / texte / fonds sombres) -------- */
  --navy-950: #050C1A;
  --navy-900: #0B1730;
  --navy-800: #13244A;
  --navy-700: #1F3668;
  --navy-500: #3A568E;
  --navy-300: #8497B8;
  --navy-200: #C4CEDE;
  --navy-100: #E6EBF3;

  /* -------- Ciel breton -------- */
  --sky-900: #1E3A52;
  --sky-700: #2E5A7A;
  --sky-500: #5B8BAE;
  --sky-300: #A8C5DB;
  --sky-100: #DCE8F1;

  /* -------- Ocre (braise / lumière chaude) -------- */
  --ochre-700: #B8701C;
  --ochre-500: #E69227;
  --ochre-300: #F3BF7B;
  --ochre-100: #FBEBCE;

  /* -------- Papier / crème -------- */
  --cream-50: #FAF6F1;
  --cream-100: #F3ECE2;
  --paper-0: #FFFFFF;

  /* -------- Tokens sémantiques -------- */
  --bg: var(--cream-50);
  --bg-elev: var(--paper-0);
  --bg-muted: var(--cream-100);
  --bg-inverse: var(--navy-950);

  --fg-1: var(--navy-900);
  --fg-2: var(--navy-700);
  --fg-3: var(--navy-500);
  --fg-inverse: var(--cream-50);
  --fg-on-brand: var(--cream-50);

  --brand: var(--orange-500);
  --brand-hover: var(--orange-600);
  --brand-press: var(--orange-700);
  --brand-soft: var(--orange-100);
  --brand-on-soft: var(--orange-800);

  --accent: var(--ochre-500);
  --accent-soft: var(--ochre-100);

  --ink: var(--navy-950);
  --ink-soft: var(--navy-800);

  --border: var(--navy-200);
  --border-strong: var(--navy-300);
  --divider: var(--navy-100);

  /* -------- Typographie -------- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Caveat', 'Brush Script MT', cursive;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 40px;
  --fs-4xl: 52px;
  --fs-5xl: 68px;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-loose: 1.7;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;

  /* -------- Espacements (base 4px) -------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;
  --sp-10: 72px;
  --sp-11: 96px;

  /* -------- Rayons -------- */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* -------- Ombres (tintées brique-navy, pas noires pures) -------- */
  --sh-1: 0 1px 2px rgba(11, 23, 48, 0.06);
  --sh-2: 0 2px 6px rgba(11, 23, 48, 0.08), 0 1px 2px rgba(11, 23, 48, 0.04);
  --sh-3: 0 8px 20px rgba(11, 23, 48, 0.10), 0 2px 6px rgba(11, 23, 48, 0.05);
  --sh-4: 0 20px 40px rgba(11, 23, 48, 0.20), 0 6px 12px rgba(11, 23, 48, 0.08);

  /* -------- Motion -------- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* =========================================================
   2. Reset léger + typographie de base
   ========================================================= */

body.ast-theme-transparent-header,
body {
  font-family: var(--font-text);
  color: var(--fg-1);
  background: var(--bg);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Surcharge agressive d'Astra : Fraunces pour les titres partout */
h1, h2, h3, h4, h5, h6,
.entry-title, .site-title,
.ast-separate-container h1,
.ast-separate-container h2,
.ast-separate-container h3 {
  font-family: var(--font-display) !important;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  font-variation-settings: "opsz" 96;
}

h1 { font-size: var(--fs-5xl); font-weight: 900; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); font-weight: 600; }
h4 { font-size: var(--fs-xl); font-weight: 600; }

p {
  color: var(--fg-1);
  line-height: var(--lh-loose);
  font-family: var(--font-text);
}

strong, b { color: var(--ink); font-weight: 700; }

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--brand-hover); }

/* --- classes utilitaires --- */
.rs-eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}

.rs-hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--brand);
}

/* =========================================================
   3. Header Astra : MASQUÉ — on utilise notre menu flottant
   ========================================================= */

/* On cache complètement le header Astra et ses variantes.
   Le menu flottant artisan est injecté à la place via functions.php. */
.site-header,
#masthead,
.ast-main-header-wrap,
.main-header-bar-wrap,
.ast-mobile-header-wrap,
.ast-desktop-header,
.ast-mobile-header {
  display: none !important;
}

/* Décaler légèrement le contenu pour laisser respirer le menu flottant en haut */
#page, .site-content {
  padding-top: 0;
}

/* =========================================================
   3bis. Menu flottant artisan
   ========================================================= */

.rs-nav-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  transition: transform 350ms var(--ease-out),
              opacity 250ms ease-out;
  opacity: 1;
  max-width: calc(100% - 32px);
}
.rs-nav-wrap.is-hidden {
  transform: translateX(-50%) translateY(-140%);
  opacity: 0;
  pointer-events: none;
}
.rs-nav-card {
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(31, 54, 104, 0.12);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow:
    0 4px 12px rgba(11, 23, 48, 0.06),
    0 12px 32px rgba(11, 23, 48, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.rs-nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy-900) !important;
  letter-spacing: -0.01em;
  padding-right: 14px;
  margin-right: 4px;
  border-right: 1px solid rgba(31, 54, 104, 0.15);
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1;
}
.rs-nav-brand em {
  color: var(--orange-500) !important;
  font-style: italic;
  font-weight: 700;
}
.rs-nav-brand:hover {
  color: var(--navy-900) !important;
}

.rs-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.rs-nav-links a {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700) !important;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
  line-height: 1;
}
.rs-nav-links a:hover {
  background: rgba(237, 138, 30, 0.08);
  color: var(--orange-700) !important;
}

.rs-nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(31, 54, 104, 0.15);
  margin: 0 6px;
  flex-shrink: 0;
}

.rs-nav-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-700) !important;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
  font-family: var(--font-text);
}
.rs-nav-mail:hover {
  background: rgba(31, 54, 104, 0.06);
  color: var(--navy-900) !important;
}
.rs-nav-mail svg { flex-shrink: 0; }

.rs-nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-500);
  color: var(--cream-50) !important;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  margin-left: 4px;
  transition: background 180ms ease, transform 120ms ease;
  box-shadow: 0 2px 8px rgba(237, 138, 30, 0.35);
  white-space: nowrap;
  line-height: 1;
}
.rs-nav-tel:hover {
  background: var(--orange-600);
  color: var(--cream-50) !important;
}
.rs-nav-tel:active { transform: scale(0.97); }
.rs-nav-tel-dot {
  width: 8px;
  height: 8px;
  background: var(--ochre-300);
  border-radius: 50%;
  animation: rs-nav-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes rs-nav-pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 191, 123, 0.7); transform: scale(1); }
  70% { box-shadow: 0 0 0 10px rgba(243, 191, 123, 0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(243, 191, 123, 0); transform: scale(1); }
}

/* Étiquette manuscrite sous la barre */
.rs-nav-tag {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px) rotate(-2deg);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange-500);
  white-space: nowrap;
  opacity: 0.85;
  pointer-events: none;
}
/* Pour la cacher : ajouter la classe .rs-nav-no-tag sur le <body> */
body.rs-nav-no-tag .rs-nav-tag { display: none; }

/* Burger (mobile uniquement) */
.rs-nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0;
  flex-shrink: 0;
}
.rs-nav-burger:hover { background: rgba(31, 54, 104, 0.06); }
.rs-nav-burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--navy-900);
  position: relative;
}
.rs-nav-burger span::before,
.rs-nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.6px;
  background: var(--navy-900);
  transition: transform 200ms var(--ease-out);
}
.rs-nav-burger span::before { top: -6px; }
.rs-nav-burger span::after { top: 6px; }

/* Décalage global du contenu pour ne pas passer sous le menu */
body {
  padding-top: 72px; /* hauteur du menu + air */
}

/* =========================================================
   3ter. Menu mobile plein écran
   ========================================================= */

.rs-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream-50);
  z-index: 10000;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  padding: 32px 24px 40px;
}
.rs-mobile-menu.is-open {
  opacity: 1;
}
.rs-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  transition: background 180ms ease;
}
.rs-mobile-close:hover { background: var(--cream-100); }

.rs-mobile-inner {
  max-width: 560px;
  margin: 80px auto 0;
  padding: 0 8px;
}
.rs-mobile-eyebrow {
  display: block;
  margin-bottom: 24px;
}
.rs-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  border-top: 1px solid var(--border);
}
.rs-mobile-links li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  animation: rs-mobile-item-in 400ms var(--ease-out) forwards;
  animation-delay: var(--rs-delay, 0ms);
}
.is-open .rs-mobile-links li {
  animation-play-state: running;
}
@keyframes rs-mobile-item-in {
  to { opacity: 1; transform: translateY(0); }
}
.rs-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  transition: color 180ms ease, padding 180ms ease;
}
.rs-mobile-links a:hover,
.rs-mobile-links a:focus {
  color: var(--orange-500);
  padding-left: 16px;
}
.rs-mobile-links a span { font-size: 20px; color: var(--navy-300); }

.rs-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.rs-mobile-tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange-500);
  color: var(--cream-50) !important;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(237, 138, 30, 0.35);
}
.rs-mobile-tel:hover { background: var(--orange-600); color: var(--cream-50) !important; }
.rs-mobile-tel .rs-nav-tel-dot { width: 10px; height: 10px; }
.rs-mobile-mail {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--navy-700) !important;
  padding: 14px 8px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.rs-mobile-tag {
  display: block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 28px;
  color: var(--orange-500);
  transform: rotate(-2deg);
  margin-top: 16px;
}

/* =========================================================
   3.4. Responsive du menu flottant
   ========================================================= */

@media (max-width: 920px) {
  .rs-nav-mail-label { display: none; }
  .rs-nav-mail { padding: 9px 10px; }
}
@media (max-width: 780px) {
  body { padding-top: 68px; }
  .rs-nav-links { display: none; }
  .rs-nav-card { padding: 5px 5px 5px 16px; }
  .rs-nav-brand { padding-right: 10px; margin-right: 2px; font-size: 13px; }
  .rs-nav-burger { display: inline-flex; }
  .rs-nav-sep { display: none; }
  .rs-nav-tel { padding: 9px 14px; font-size: 12px; }
  .rs-nav-tag { font-size: 17px; }
}
@media (max-width: 480px) {
  .rs-nav-tel-label { display: none; }
  .rs-nav-tel { padding: 10px; width: 38px; height: 38px; justify-content: center; gap: 0; }
  .rs-nav-mail { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .rs-mobile-links a { font-size: 26px; padding: 20px 6px; }
}

/* =========================================================
   4. Boutons
   ========================================================= */

.rs-btn,
.wp-block-button__link,
input[type="submit"],
button.submit,
.ast-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-text) !important;
  font-weight: 600 !important;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.rs-btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--brand) !important;
  color: var(--fg-on-brand) !important;
}
.rs-btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--brand-hover) !important;
  color: var(--fg-on-brand) !important;
}
.rs-btn-primary:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:active {
  background: var(--brand-press) !important;
  transform: scale(0.98);
}

.rs-btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.rs-btn-secondary {
  background: var(--paper-0);
  color: var(--ink);
  border-color: var(--border-strong);
}
.rs-btn-secondary:hover { background: var(--cream-100); color: var(--ink); }

.rs-btn-ghost {
  background: transparent;
  color: var(--brand);
}
.rs-btn-ghost:hover {
  color: var(--brand-hover);
  background: var(--brand-soft);
}

/* =========================================================
   5. Bandeau cookies « 100 % sans cookies 🍃 »
   ========================================================= */

.rs-cookie-banner {
  background: var(--ochre-100);
  border-bottom: 1px solid var(--ochre-300);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.rs-cookie-banner strong { color: var(--ink); }
.rs-cookie-banner .rs-hand-cool {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin-left: var(--sp-2);
}

/* =========================================================
   6. Section Hero
   ========================================================= */

.rs-hero {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.rs-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rs-hero-copy h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 14px 0 20px;
  line-height: 1.05;
}
.rs-hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
  font-family: var(--font-hand);
  font-weight: 700;
}
.rs-hero-copy .rs-lead {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 58ch;
  margin-bottom: 28px;
  line-height: var(--lh-loose);
}
.rs-hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rs-hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rs-hero-art { position: relative; }
.rs-hero-art img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  border: 1px solid var(--border);
  display: block;
}
.rs-hero-note {
  position: absolute;
  top: -18px;
  right: -8px;
  font-size: 44px;
  transform: rotate(-8deg);
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--brand);
  background: var(--cream-50);
  padding: 4px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-2);
}

/* =========================================================
   7. Badges
   ========================================================= */

.rs-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.rs-badge--brand { background: var(--brand-soft); color: var(--brand-on-soft); }
.rs-badge--info  { background: var(--sky-100); color: var(--sky-900); }
.rs-badge--ember { background: var(--ochre-100); color: var(--ochre-700); }

/* =========================================================
   8. Sections génériques + head de section
   ========================================================= */

.rs-section { padding: 72px 24px; }
.rs-section--paper { background: var(--paper-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rs-section--cream { background: var(--cream-100); }
.rs-section--dark  { background: var(--navy-950); color: var(--cream-50); }
.rs-section--dark h2, .rs-section--dark h3 { color: var(--cream-50); }
.rs-section--dark .rs-eyebrow { color: var(--ochre-300); }
.rs-section--dark p { color: var(--navy-300); }

.rs-section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.rs-section-head h2 {
  margin: 8px 0 12px;
}
.rs-section-head .rs-lead {
  font-size: 18px;
  color: var(--fg-2);
  line-height: var(--lh-loose);
}

/* =========================================================
   9. Services (grille 3 × 2)
   ========================================================= */

.rs-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rs-service-card {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.rs-service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
  text-decoration: none;
}
.rs-service-bullet {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--brand);
}
.rs-service-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
}
.rs-service-card p {
  font-size: 15px;
  color: var(--fg-2);
  margin: 0 0 14px;
  line-height: 1.6;
  flex-grow: 1;
}
.rs-service-link {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-top: auto;
}
.rs-service-link:hover { color: var(--brand-hover); text-decoration: underline; }

/* =========================================================
   10. Trust strip (bandeau sombre avec chiffres)
   ========================================================= */

.rs-trust-strip {
  background: var(--navy-950);
  color: var(--cream-50);
  padding: 56px 24px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.rs-trust-item { text-align: center; min-width: 140px; }
.rs-trust-big {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--ochre-300);
  letter-spacing: var(--tracking-tight);
}
.rs-trust-sub {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--navy-300);
  margin-top: 10px;
  line-height: 1.4;
}

/* =========================================================
   11. About (Julien + zone d'intervention)
   ========================================================= */

.rs-about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.rs-about-copy h2 { margin: 12px 0 20px; }
.rs-about-copy p {
  font-size: 16px;
  color: var(--fg-2);
  margin-bottom: 16px;
  line-height: var(--lh-loose);
}
.rs-about-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rs-meta-card {
  background: var(--paper-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--sh-1);
}
.rs-meta-k {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.rs-meta-v {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}
.rs-meta-x {
  font-size: 12.5px;
  color: var(--fg-3);
  margin-top: 8px;
  line-height: 1.7;
}

/* =========================================================
   12. Témoignages
   ========================================================= */

.rs-testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rs-testimonial-card {
  background: var(--paper-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  margin: 0;
  box-shadow: var(--sh-1);
}
.rs-testimonial-stars {
  color: var(--ochre-500);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.rs-testimonial-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: transparent;
}
.rs-testimonial-card figcaption {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 600;
}
.rs-testimonial-card figcaption em {
  font-style: normal;
  color: var(--navy-500);
  font-weight: 400;
}

/* =========================================================
   13. Bloc contact (fond sombre)
   ========================================================= */

.rs-contact-block {
  background: var(--navy-950);
  color: var(--cream-50);
  padding: 72px 24px;
}
.rs-contact-block h2 { color: var(--cream-50); }
.rs-contact-block .rs-eyebrow { color: var(--ochre-300); }
.rs-contact-block .rs-lead {
  color: var(--navy-300);
  font-size: 17px;
  line-height: var(--lh-loose);
}
.rs-contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.rs-contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rs-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}
.rs-contact-list a {
  color: var(--cream-50);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rs-contact-list a:hover { color: var(--ochre-300); }
.rs-contact-list em {
  color: var(--navy-300);
  font-size: 13px;
  font-style: normal;
}

.rs-contact-form {
  background: var(--paper-0);
  border-radius: var(--r-xl);
  padding: 32px;
  color: var(--fg-1);
  box-shadow: var(--sh-4);
}
.rs-contact-form .rs-field { margin-bottom: 14px; }
.rs-contact-form label {
  display: block;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.rs-contact-form input,
.rs-contact-form select,
.rs-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-family: var(--font-text);
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--paper-0);
  color: var(--ink);
}
.rs-contact-form input:focus,
.rs-contact-form select:focus,
.rs-contact-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--brand);
}
.rs-contact-form small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-3);
}

/* =========================================================
   14. Footer Astra restylé
   ========================================================= */

.site-footer,
footer[role="contentinfo"],
.ast-small-footer,
.ast-footer-overlay {
  background: var(--cream-100) !important;
  border-top: 1px solid var(--border);
  color: var(--fg-2);
}

.site-footer a,
footer[role="contentinfo"] a {
  color: var(--fg-2) !important;
  text-decoration: none;
}
.site-footer a:hover,
footer[role="contentinfo"] a:hover {
  color: var(--brand) !important;
}

/* =========================================================
   15. Pages détaillées (Réglementation, À propos…)
   ========================================================= */

.rs-page-hero {
  padding: 72px 24px 24px;
  background: var(--bg);
  text-align: center;
}
.rs-page-hero h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin: var(--sp-3) 0 var(--sp-4);
}
.rs-page-hero .rs-lead {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: var(--lh-loose);
}

.rs-prose {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-text);
  color: var(--fg-1);
  font-size: 17px;
  line-height: 1.75;
}
.rs-prose p { margin-bottom: 1.2em; }
.rs-prose h2 { margin-top: 1.8em; margin-bottom: 0.6em; font-size: var(--fs-2xl); }
.rs-prose h3 { margin-top: 1.4em; margin-bottom: 0.5em; font-size: var(--fs-xl); }
.rs-prose ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.rs-prose ul li { margin-bottom: 0.5em; }
.rs-prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  border-left: 4px solid var(--brand);
  padding: 12px 0 12px 24px;
  margin: 1.6em 0;
  line-height: 1.5;
  background: transparent;
}

/* Liste « 🔸 » (puces manuelles du site) */
.rs-diamond-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
}
.rs-diamond-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.rs-diamond-list li::before {
  content: '🔸';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
}

/* Cartes « règle » (DTU, ramonage annuel, etc.) */
.rs-rule-card {
  background: var(--paper-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  box-shadow: var(--sh-1);
  margin-bottom: 16px;
}
.rs-rule-card--accent {
  background: linear-gradient(135deg, var(--brand-soft), var(--paper-0));
  border-color: var(--brand);
}
.rs-rule-tag {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.rs-rule-card--accent .rs-rule-tag { background: var(--paper-0); }

/* =========================================================
   16. Responsive
   ========================================================= */

@media (max-width: 960px) {
  .rs-hero-grid,
  .rs-about-grid,
  .rs-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rs-services-grid,
  .rs-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .rs-section { padding: 56px 20px; }
  .rs-hero { padding: 40px 20px 64px; }
  .rs-trust-strip { gap: 32px; padding: 40px 20px; }
  .rs-trust-big { font-size: 26px; }
}

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .rs-hero-copy h1 { font-size: 36px; }
  .rs-contact-form { padding: 24px; }
  .rs-service-card { padding: 22px 20px; }
}
