@view-transition { navigation: auto; }

:root {
  --ryn-nuit: #121613;
  --ryn-charbon: #1b211d;
  --ryn-bois: #232b26;
  --ryn-creme: #f2efe7;
  --ryn-blanc: #fbfaf6;
  --ryn-lichen: #a3bc42;
  --ryn-lichen-2: #87a02c;
  --ryn-lichen-txt: #66791f;
  --ryn-encre: #20241f;
  --ryn-gris: #59615a;
  --ryn-brume: #e6e2d6;
  --ryn-ligne: rgba(32, 36, 31, .14);
  --ryn-ligne-nuit: rgba(251, 250, 246, .14);
  --ryn-r: 14px;
  --ryn-expo: cubic-bezier(.16, 1, .3, 1);
  --ryn-pente: 4.5vw;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Schibsted Grotesk", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ryn-encre);
  background: var(--ryn-blanc);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, .ryn-titrage {
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1em; }

.ryn-cadre { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.ryn-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 110;
  font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; min-height: 50px;
  transition: transform .3s var(--ryn-expo), box-shadow .3s var(--ryn-expo), background .2s;
  position: relative; overflow: hidden;
}
.ryn-act--plein { background: var(--ryn-lichen); color: var(--ryn-nuit); }
.ryn-act--plein::after {
  content: ""; position: absolute; inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
}
.ryn-act--contour { background: transparent; color: var(--ryn-creme); box-shadow: inset 0 0 0 1.6px var(--ryn-ligne-nuit); }
@media (hover: hover) and (pointer: fine) {
  .ryn-act--plein:hover { background: var(--ryn-lichen-2); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(163, 188, 66, .55); }
  .ryn-act--plein:hover::after { transform: translateX(120%) skewX(-18deg); transition: transform .65s ease; }
  .ryn-act--contour:hover { box-shadow: inset 0 0 0 1.6px var(--ryn-lichen); color: var(--ryn-lichen); }
}

/* ---- tête de page ---- */
.ryn-tete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(18, 22, 19, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--ryn-ligne-nuit);
  view-transition-name: ryn-tete;
}
.ryn-tete__rang { max-width: 1140px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 18px; }
.ryn-sceau { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ryn-blanc); }
.ryn-sceau b { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 116; font-weight: 760; font-size: 1.06rem; letter-spacing: .01em; white-space: nowrap; }
.ryn-sceau svg { flex: none; }
.ryn-menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.ryn-menu a:not(.ryn-act) {
  color: rgba(251, 250, 246, .85); text-decoration: none; font-size: .95rem; font-weight: 500;
  background: linear-gradient(var(--ryn-lichen), var(--ryn-lichen)) no-repeat 0 100% / 0 2px;
  padding-bottom: 3px; transition: background-size .3s var(--ryn-expo), color .2s;
}
@media (hover: hover) { .ryn-menu a:not(.ryn-act):hover { color: var(--ryn-blanc); background-size: 100% 2px; } }
.ryn-tete .ryn-act { padding: 10px 20px; min-height: 42px; font-size: .92rem; }
.ryn-menu__cta { display: none; }
.ryn-ouvre { display: none; }

/* ---- héros ---- */
.ryn-heros {
  position: relative; color: var(--ryn-blanc); background: var(--ryn-nuit);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ryn-pente)), 0 100%);
  padding-bottom: var(--ryn-pente);
}
.ryn-heros__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ryn-heros::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(102deg, rgba(18, 22, 19, .93) 0%, rgba(18, 22, 19, .72) 44%, rgba(18, 22, 19, .28) 78%, rgba(18, 22, 19, .45) 100%);
}
.ryn-heros::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.ryn-heros__rang {
  position: relative; z-index: 2; max-width: 1140px; margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) 22px calc(clamp(40px, 7vw, 84px) + 1vw);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "texte carte" "points carte";
  gap: clamp(24px, 4vw, 56px); align-items: start;
  row-gap: 22px;
}
.ryn-heros__texte { grid-area: texte; }
.ryn-heros__carte { grid-area: carte; }
.ryn-heros__points { grid-area: points; }
.ryn-sur {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ryn-lichen); margin-bottom: 18px;
}
.ryn-sur::before { content: ""; width: 26px; height: 2px; background: var(--ryn-lichen); }
.ryn-heros h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-variation-settings: "wdth" 122;
  font-weight: 800;
  margin: 0 0 18px;
}
.ryn-heros h1 em { font-style: normal; color: var(--ryn-lichen); }
.ryn-heros__sous { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(251, 250, 246, .82); max-width: 54ch; }
.ryn-heros__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ryn-heros__points li { display: flex; gap: 10px; align-items: baseline; font-size: .98rem; color: rgba(251, 250, 246, .88); }
.ryn-heros__points svg { flex: none; color: var(--ryn-lichen); transform: translateY(2px); }

/* ---- carte devis (assistant) ---- */
.ryn-devis {
  background: rgba(251, 250, 246, .1);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid rgba(251, 250, 246, .2);
  border-radius: calc(var(--ryn-r) + 4px);
  padding: 22px 22px 18px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.ryn-devis__titre { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 114; font-weight: 740; font-size: 1.22rem; margin: 0 0 10px; color: var(--ryn-blanc); }
.ryn-devis__jauge { height: 5px; border-radius: 99px; background: rgba(251, 250, 246, .16); overflow: hidden; }
.ryn-devis__jauge-b { display: block; height: 100%; width: 16.7%; border-radius: 99px; background: var(--ryn-lichen); transition: width .45s var(--ryn-expo); }
.ryn-devis__etape { font-size: .82rem; color: rgba(251, 250, 246, .65); margin: 8px 0 14px; }
.ryn-ecran { border: 0; margin: 0; padding: 0; min-width: 0; }
.ryn-ecran legend { font-weight: 700; font-size: 1.05rem; color: var(--ryn-blanc); padding: 0; margin-bottom: 12px; }
.ryn-ecran__aide, .ryn-ecran__valeur { font-size: .88rem; color: rgba(251, 250, 246, .68); margin: 12px 0 0; }
.ryn-ecran__valeur { margin: 0 0 14px; color: rgba(251, 250, 246, .8); }
.ryn-ecran__q { font-weight: 600; font-size: .95rem; color: var(--ryn-blanc); margin: 16px 0 8px; }
.ryn-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ryn-choix--liste { grid-template-columns: 1fr; }
.ryn-choix__c {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px; cursor: pointer;
  background: rgba(251, 250, 246, .07); border: 1.5px solid rgba(251, 250, 246, .16);
  color: var(--ryn-blanc); font-weight: 500; font-size: .95rem; line-height: 1.3;
  transition: border-color .2s, background .2s, transform .25s var(--ryn-expo);
}
.ryn-choix__c svg { width: 26px; height: 26px; flex: none; color: var(--ryn-lichen); }
.ryn-choix__c input { position: absolute; opacity: 0; pointer-events: none; }
.ryn-choix__c:has(input:checked) { border-color: var(--ryn-lichen); background: rgba(163, 188, 66, .16); }
@media (hover: hover) { .ryn-choix__c:hover { border-color: rgba(163, 188, 66, .6); transform: translateY(-1px); } }
.ryn-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.ryn-pastille { position: relative; cursor: pointer; }
.ryn-pastille input { position: absolute; opacity: 0; pointer-events: none; }
.ryn-pastille span {
  display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: .88rem; font-weight: 500;
  background: rgba(251, 250, 246, .07); border: 1.5px solid rgba(251, 250, 246, .16); color: var(--ryn-blanc);
}
.ryn-pastille:has(input:checked) span { border-color: var(--ryn-lichen); background: rgba(163, 188, 66, .16); }
.ryn-champs { display: grid; gap: 12px; margin-bottom: 12px; }
.ryn-champs--deux { grid-template-columns: 1fr 1fr; }
.ryn-champs label, .ryn-consent { color: rgba(251, 250, 246, .85); font-size: .88rem; font-weight: 500; }
.ryn-champs input {
  display: block; width: 100%; margin-top: 5px;
  padding: 12px 13px; border-radius: 10px; font-size: 1rem; color: var(--ryn-blanc);
  background: rgba(18, 22, 19, .45); border: 1.5px solid rgba(251, 250, 246, .2);
}
.ryn-champs input:focus { outline: none; border-color: var(--ryn-lichen); }
.ryn-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; line-height: 1.45; }
.ryn-consent input { margin-top: 3px; accent-color: var(--ryn-lichen); width: 17px; height: 17px; flex: none; }
.ryn-consent a { color: var(--ryn-lichen); }
.ryn-nid { position: absolute; left: -9999px; }
.ryn-assist__envoi { width: 100%; }
.ryn-assist__nav { display: flex; gap: 10px; margin-top: 14px; }
.ryn-assist__nav[hidden] { display: none; }
.ryn-assist__nav .ryn-act { flex: 1; }
.ryn-assist__retour {
  background: transparent; border: 0; color: rgba(251, 250, 246, .7);
  font-size: .92rem; cursor: pointer; padding: 10px 12px;
}
.ryn-assist__retour[hidden] { display: none !important; }
.ryn-devis__note { font-size: .82rem; color: rgba(251, 250, 246, .68); text-align: center; margin: 12px 0 0; }
.ryn-devis__mention { font-size: .76rem; color: rgba(251, 250, 246, .5); line-height: 1.45; margin: 14px 0 0; }
.est-anime .ryn-ecran { display: none; }
.est-anime .ryn-ecran.est-la { display: block; animation: ryn-glisse .4s var(--ryn-expo); }
@keyframes ryn-glisse { from { opacity: 0; transform: translateX(26px); } }

/* ---- bandeau gages ---- */
.ryn-gages { background: var(--ryn-blanc); }
.ryn-gages__rang {
  max-width: 1140px; margin: 0 auto; padding: 16px 22px;
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
  font-size: .92rem; color: var(--ryn-gris);
}
.ryn-gages b { color: var(--ryn-encre); font-weight: 650; }

/* ---- sections ---- */
main { display: block; }
.ryn-sect { padding: clamp(44px, 7vw, 86px) 0; }
.ryn-sect--creme { background: var(--ryn-creme); }
.ryn-sect--nuit {
  background: var(--ryn-nuit); color: var(--ryn-creme);
  clip-path: polygon(0 var(--ryn-pente), 100% 0, 100% calc(100% - var(--ryn-pente)), 0 100%);
  padding: calc(clamp(44px, 7vw, 86px) + var(--ryn-pente)) 0;
}
.ryn-sect__entete { max-width: 720px; margin-bottom: clamp(24px, 4vw, 44px); }
.ryn-avant { font-size: 1.08rem; color: var(--ryn-gris); }
.ryn-sect--nuit .ryn-avant { color: rgba(242, 239, 231, .75); }

.ryn-prose { max-width: 760px; }
.ryn-prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.ryn-prose h2:first-child { margin-top: 0; }
.ryn-prose img { border-radius: var(--ryn-r); margin: 10px 0 18px; }
.ryn-prose a { color: var(--ryn-lichen-txt); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.ryn-tableau { overflow-x: auto; margin: 14px 0 20px; border-radius: var(--ryn-r); border: 1px solid var(--ryn-ligne); }
.ryn-tableau table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 440px; }
.ryn-tableau th { text-align: left; font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 112; font-weight: 700; background: var(--ryn-bois); color: var(--ryn-creme); padding: 11px 14px; }
.ryn-tableau td { padding: 11px 14px; border-top: 1px solid var(--ryn-ligne); }
.ryn-tableau tr:nth-child(even) td { background: rgba(32, 36, 31, .035); }
.ryn-tableau td:last-child { font-weight: 650; white-space: nowrap; }

dl.faq { margin: 0; }
dl.faq dt { font-weight: 700; font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 110; font-size: 1.04rem; margin: 18px 0 6px; }
dl.faq dd { margin: 0 0 8px; color: var(--ryn-gris); }

/* ---- fiches couvreurs ---- */
.ryn-etat { font-size: 1.02rem; }
.ryn-fiches { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ryn-fiche {
  background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne); border-radius: var(--ryn-r);
  padding: 15px 16px 13px; display: flex; flex-direction: column; gap: 3px; position: relative;
  transition: transform .35s var(--ryn-expo), box-shadow .35s var(--ryn-expo);
}
.ryn-sect--creme .ryn-fiche { background: var(--ryn-blanc); }
@media (hover: hover) and (pointer: fine) {
  .ryn-fiche:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(32, 36, 31, .35); }
}
.ryn-fiche__nom { font-weight: 700; font-size: .99rem; line-height: 1.3; }
.ryn-fiche__meta { font-size: .85rem; color: var(--ryn-gris); }
.ryn-fiche__lien { margin-top: 6px; font-size: .78rem; }
.ryn-fiche__lien a { color: var(--ryn-gris); }

/* ---- réassurance ---- */
.ryn-serment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ryn-serment__c {
  background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne); border-radius: var(--ryn-r);
  padding: 22px 20px; transition: transform .35s var(--ryn-expo), box-shadow .35s var(--ryn-expo);
}
@media (hover: hover) and (pointer: fine) {
  .ryn-serment__c:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -24px rgba(32, 36, 31, .3); }
}
.ryn-serment__i {
  display: inline-flex; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(163, 188, 66, .16); color: var(--ryn-lichen-txt);
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.ryn-serment__i svg { width: 24px; height: 24px; }
.ryn-serment__c p { font-size: .92rem; color: var(--ryn-gris); margin: 0; }

/* ---- étapes ---- */
.ryn-marche { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ryn-n; }
.ryn-marche__c { position: relative; background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne); border-radius: var(--ryn-r); padding: 26px 22px 20px; }
.ryn-marche__c::before {
  counter-increment: ryn-n; content: "0" counter(ryn-n);
  font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--ryn-lichen-2);
  display: block; margin-bottom: 12px;
}
.ryn-marche__c p { font-size: .93rem; color: var(--ryn-gris); margin: 0; }

/* ---- chiffres animés ---- */
.ryn-nombres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.ryn-nombre b {
  display: block; font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 122;
  font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--ryn-lichen);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.ryn-nombre span { font-size: .92rem; color: rgba(242, 239, 231, .7); }

/* ---- avant / après ---- */
.ryn-av { position: relative; border-radius: var(--ryn-r); overflow: hidden; user-select: none; aspect-ratio: 16 / 9; background: var(--ryn-bois); }
.ryn-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ryn-av__haut { clip-path: inset(0 calc(100% - var(--ryn-cut, 50%)) 0 0); }
.ryn-av__barre {
  position: absolute; top: 0; bottom: 0; left: var(--ryn-cut, 50%); width: 3px;
  background: var(--ryn-lichen); transform: translateX(-1.5px); pointer-events: none;
}
.ryn-av__barre::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--ryn-lichen); color: var(--ryn-nuit);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700;
}
.ryn-av input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ryn-av__tag { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 650; background: rgba(18, 22, 19, .72); color: var(--ryn-creme); pointer-events: none; }
.ryn-av__tag--a { left: 12px; }
.ryn-av__tag--b { right: 12px; }

/* ---- appel ---- */
.ryn-appel {
  background: var(--ryn-bois); color: var(--ryn-creme); border-radius: calc(var(--ryn-r) + 6px);
  position: relative; overflow: hidden;
}
.ryn-appel::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(520px 300px at 88% -20%, rgba(163, 188, 66, .35), transparent 70%);
}
.ryn-appel__rang { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(26px, 4vw, 44px); flex-wrap: wrap; }
.ryn-appel h2 { margin: 0 0 6px; }
.ryn-appel p { margin: 0; color: rgba(242, 239, 231, .78); max-width: 56ch; }

/* ---- maillage ---- */
.ryn-toile { margin: 26px 0 0; }
.ryn-toile__t { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 112; font-weight: 720; font-size: 1.05rem; margin: 0 0 10px; }
.ryn-toile__l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ryn-toile__l a {
  display: inline-block; padding: 6px 13px; border-radius: 99px; font-size: .85rem;
  text-decoration: none; color: var(--ryn-encre);
  background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne);
  transition: border-color .2s, background .2s;
}
@media (hover: hover) { .ryn-toile__l a:hover { border-color: var(--ryn-lichen-2); background: rgba(163, 188, 66, .12); } }

/* ---- tuiles guides / merci ---- */
.ryn-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.ryn-tuile { background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne); border-radius: var(--ryn-r); padding: 22px 20px; }
.ryn-tuile p { font-size: .93rem; color: var(--ryn-gris); }
.ryn-tuile a { color: var(--ryn-lichen-txt); font-weight: 600; }
.ryn-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ryn-guide {
  display: flex; flex-direction: column; border-radius: var(--ryn-r); overflow: hidden;
  background: var(--ryn-blanc); border: 1px solid var(--ryn-ligne); text-decoration: none;
  transition: transform .35s var(--ryn-expo), box-shadow .35s var(--ryn-expo);
}
@media (hover: hover) and (pointer: fine) {
  .ryn-guide:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -26px rgba(32, 36, 31, .38); }
  .ryn-guide:hover img { transform: scale(1.05); }
}
.ryn-guide figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.ryn-guide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ryn-expo); }
.ryn-guide div { padding: 18px 20px 20px; }
.ryn-guide h3 { margin-bottom: 6px; }
.ryn-guide p { font-size: .9rem; color: var(--ryn-gris); margin: 0; }

.ryn-spin, .ryn-alerte { background: var(--ryn-creme); border: 1px solid var(--ryn-ligne); border-radius: var(--ryn-r); padding: 24px 22px; margin: 22px 0; }
.ryn-spin h2, .ryn-alerte h2 { font-size: 1.3rem; }
.ryn-note { font-size: .88rem; color: var(--ryn-gris); }

/* ---- pages fixes ---- */
.ryn-note { background: rgba(163, 188, 66, .12); border-radius: var(--ryn-r); padding: 14px 16px; font-size: .95rem; }
.ryn-prose blockquote {
  margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--ryn-lichen);
  background: var(--ryn-creme); border-radius: 0 var(--ryn-r) var(--ryn-r) 0; font-size: 1.02rem;
}
.ryn-formulaire { max-width: 620px; display: grid; gap: 14px; }
.ryn-formulaire label { font-weight: 600; font-size: .92rem; }
.ryn-formulaire input, .ryn-formulaire textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit;
  padding: 12px 13px; border-radius: 10px; color: var(--ryn-encre);
  background: var(--ryn-blanc); border: 1.5px solid rgba(32, 36, 31, .25);
}
.ryn-formulaire input:focus, .ryn-formulaire textarea:focus { outline: none; border-color: var(--ryn-lichen-2); }
.ryn-formulaire .ryn-act { justify-self: start; }
.ryn-encart { background: var(--ryn-creme); border-left: 4px solid var(--ryn-lichen); border-radius: 0 var(--ryn-r) var(--ryn-r) 0; padding: 16px 18px; font-size: .95rem; }
.ryn-avis { display: flex; gap: 10px; align-items: center; background: rgba(163, 188, 66, .16); border: 1px solid var(--ryn-lichen-2); border-radius: var(--ryn-r); padding: 13px 16px; max-width: 620px; }
.ryn-avis span:first-child { color: var(--ryn-lichen-txt); font-weight: 800; }

/* ---- socle ---- */
.ryn-socle { background: var(--ryn-nuit); color: rgba(242, 239, 231, .78); margin-top: calc(var(--ryn-pente) * -1); padding-top: var(--ryn-pente); }
.ryn-socle__rang {
  max-width: 1140px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 22px 30px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px;
}
.ryn-socle h4 { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 112; color: var(--ryn-blanc); margin: 0 0 12px; font-size: .98rem; }
.ryn-socle__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ryn-socle__nav a { color: rgba(242, 239, 231, .78); text-decoration: none; }
@media (hover: hover) { .ryn-socle__nav a:hover { color: var(--ryn-lichen); } }
.ryn-socle__fin { border-top: 1px solid var(--ryn-ligne-nuit); }
.ryn-socle__fin p { max-width: 1140px; margin: 0 auto; padding: 18px 22px; font-size: .82rem; color: rgba(242, 239, 231, .5); }

/* ---- rappel mobile ---- */
.ryn-rappel {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; border-radius: 999px; text-decoration: none;
  font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 112; font-weight: 750; font-size: 1rem;
  background: var(--ryn-lichen); color: var(--ryn-nuit);
  box-shadow: 0 14px 34px -12px rgba(18, 22, 19, .55);
  transform: translateY(130%); transition: transform .45s var(--ryn-expo);
}
.ryn-rappel.est-vu { transform: none; }

/* ---- apparitions au défilement ---- */
[data-vague] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ryn-expo); transition-delay: calc(var(--i, 0) * 90ms); }
[data-vague].est-ne { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .ryn-heros__fond { animation: ryn-derive linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes ryn-derive { to { transform: translateY(9%) scale(1.06); } }
}

/* ---- responsive ---- */
@media (max-width: 960px) {
  .ryn-heros__rang { grid-template-columns: 1fr; grid-template-areas: "texte" "carte" "points"; padding-top: 26px; }
  .ryn-heros h1 { font-size: clamp(1.7rem, 7.2vw, 2.6rem); margin-bottom: 12px; }
  .ryn-heros__sous { font-size: .98rem; }
  .ryn-serment { grid-template-columns: 1fr 1fr; }
  .ryn-guides, .ryn-triple, .ryn-marche { grid-template-columns: 1fr; }
  .ryn-nombres { grid-template-columns: repeat(3, 1fr); }
  .ryn-socle__rang { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 820px) {
  .ryn-tete__cta { display: none; }
  .ryn-ouvre {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-left: auto; border-radius: 10px;
    background: transparent; border: 1.5px solid var(--ryn-ligne-nuit); color: var(--ryn-blanc); cursor: pointer;
  }
  .ryn-ouvre__x { display: none; }
  .est-ouvert .ryn-ouvre__x { display: block; }
  .est-ouvert .ryn-ouvre__barres { display: none; }
  .ryn-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(320px, 84vw); margin: 0; padding: 84px 28px 28px;
    background: var(--ryn-charbon); border-left: 1px solid var(--ryn-ligne-nuit);
    flex-direction: column; align-items: flex-start; gap: 20px;
    transform: translateX(105%); transition: transform .4s var(--ryn-expo);
  }
  .est-ouvert .ryn-menu { transform: none; }
  .ryn-menu__cta { display: inline-flex; }
  .est-ouvert .ryn-ouvre { position: relative; z-index: 70; }
  .ryn-menu a:not(.ryn-act) { font-size: 1.1rem; }
  .ryn-rappel { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .ryn-choix { grid-template-columns: 1fr; }
  .ryn-champs--deux { grid-template-columns: 1fr; }
  .ryn-fiches { grid-template-columns: 1fr; }
  .ryn-serment { grid-template-columns: 1fr; }
  .ryn-nombres { grid-template-columns: 1fr; gap: 22px; }
  .ryn-gages__rang { gap: 6px 18px; font-size: .84rem; }
  .ryn-appel__rang { flex-direction: column; align-items: flex-start; }
  .ryn-devis { padding: 18px 16px 14px; }
}

:focus-visible { outline: 2.5px solid var(--ryn-lichen-2); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-vague] { opacity: 1; transform: none; }
}
