﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@700;800&display=swap");

/* RYM Holding local V2 */
:root {
  --rym-navy: #0b1e43;
  --rym-blue: #3f76b5;
  --rym-blue-soft: #dce9f7;
  --rym-ink: #1d2939;
  --rym-muted: #667085;
  --rym-slate: #475467;
  --rym-line: #d9e2ef;
  --rym-bg: #f7f9fc;
  --rym-white: #ffffff;
  --rym-teal: #159a8a;
  --rym-champagne: #c8a96a;
  --color-sos-sinistre: #e81820;
  --color-batirym: #f89830;
  --color-hb-assurance: #003078;
  --color-rym-partners: #007c38;
  --color-clean-net: #58a420;
  --color-acaderim: #0ca4a0;
  --color-assistancia: #087070;
  --rym-radius: 8px;
  --rym-shadow: 0 18px 50px rgba(11, 30, 67, 0.13);
  --rym-trans: all 0.25s ease;
  --rym-font-title: "Manrope", "Aptos Display", "Segoe UI", Arial, sans-serif;
  --rym-font-body: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.wow {
  visibility: visible !important;
}

body {
  color: var(--rym-ink);
  background: var(--rym-white);
  font-family: var(--rym-font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body,
p,
a,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rym-navy);
  font-family: var(--rym-font-title);
  font-weight: 800;
  letter-spacing: 0;
}

p {
  color: var(--rym-muted);
  font-size: 16px;
  line-height: 1.75;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(63, 118, 181, 0.35);
  outline-offset: 3px;
}

.preloader {
  background-color: var(--rym-navy);
}

.preloader .lds-ellipsis div {
  background: var(--rym-blue);
}

.ve-section {
  padding: 96px 0;
}

.ve-section-header {
  margin-bottom: 44px;
}

.ve-section-header h2 {
  color: var(--rym-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.ve-section-header p {
  max-width: 760px;
  margin: 0 auto;
}

.rym-left-header {
  text-align: left;
  margin-bottom: 24px;
}

.rym-left-header p {
  margin-left: 0;
}

.ve-section-tag,
.ve-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(63, 118, 181, 0.28);
  background: rgba(63, 118, 181, 0.1);
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.ve-btn-primary,
.ve-cta-btn,
.ve-btn-white,
.rym-mini-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--rym-radius);
  background: var(--rym-navy);
  color: var(--rym-white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: var(--rym-trans);
}

.ve-btn-primary:hover,
.ve-cta-btn:hover,
.rym-mini-form button:hover {
  background: var(--rym-blue);
  color: var(--rym-white);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(63, 118, 181, 0.28);
}

.ve-btn-white {
  background: var(--rym-white);
  color: var(--rym-navy);
}

.ve-btn-white:hover {
  background: var(--rym-blue-soft);
  color: var(--rym-navy);
  transform: translateY(-2px);
}

.ve-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--rym-radius);
  color: var(--rym-white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--rym-trans);
}

.ve-btn-ghost:hover {
  border-color: var(--rym-white);
  background: rgba(255, 255, 255, 0.16);
  color: var(--rym-white);
}

/* Header */
.rym-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 239, 0.75);
  box-shadow: 0 4px 30px rgba(11, 30, 67, 0.08);
  backdrop-filter: blur(12px);
}

.rym-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.ve-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 34px;
}

.rym-logo img {
  display: block;
  width: 194px;
  height: auto;
}

.ve-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.ve-nav ul li a {
  display: block;
  padding: 10px 13px;
  border-radius: 7px;
  color: var(--rym-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--rym-trans);
}

.ve-nav ul li a:hover,
.ve-nav ul li a.active {
  background: var(--rym-blue-soft);
  color: var(--rym-navy);
}

.ve-nav-cta .ve-cta-btn {
  min-height: 44px;
  padding: 11px 18px;
  background: var(--rym-navy);
  color: var(--rym-white);
  font-size: 14px;
}

.ve-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
}

.ve-toggler span {
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: var(--rym-navy);
}

.ve-mobile-menu {
  display: none;
  background: var(--rym-white);
  border-top: 1px solid var(--rym-line);
}

.ve-mobile-menu.open {
  display: block;
}

.ve-mobile-menu ul {
  margin: 0;
  padding: 10px 24px 18px;
}

.ve-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--rym-navy);
  font-size: 15px;
  border-bottom: 1px solid rgba(217, 226, 239, 0.75);
}

/* Hero */
.rym-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--rym-navy);
}

.rym-hero picture,
.rym-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rym-hero picture img {
  object-fit: cover;
  object-position: center;
}

.rym-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 22, 50, 0.92) 0%, rgba(7, 22, 50, 0.76) 38%, rgba(7, 22, 50, 0.22) 72%, rgba(7, 22, 50, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 22, 50, 0.32) 0%, rgba(7, 22, 50, 0.16) 58%, rgba(7, 22, 50, 0.65) 100%);
}

.rym-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 72px;
}

.rym-hero h1 {
  max-width: 780px;
  margin: 26px 0 22px;
  color: var(--rym-white);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.rym-hero p {
  max-width: 710px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.rym-hero .ve-hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--rym-white);
}

.ve-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.rym-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rym-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.rym-trust-bar {
  background: var(--rym-white);
  border-bottom: 1px solid var(--rym-line);
  padding: 15px 0;
  overflow: hidden;
  max-width: 100%;
}

.rym-trust-bar .ve-trust-inner {
  display: inline-flex;
  gap: 54px;
  width: max-content;
  animation: ve-marquee 28s linear infinite;
}

.rym-trust-bar span {
  color: var(--rym-navy);
  font-size: 13px;
  font-weight: 800;
}

.rym-trust-bar i {
  color: var(--rym-blue);
}

@keyframes ve-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Group */
.rym-group-section {
  background: var(--rym-white);
}

.rym-lead {
  margin: 0;
  color: var(--rym-ink);
  font-size: 18px;
}

.rym-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.rym-pillar-card,
.rym-direction-card,
.rym-review-panel,
.rym-mini-form {
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-pillar-card {
  padding: 30px;
  min-height: 248px;
}

.rym-pillar-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: var(--rym-radius);
  background: var(--rym-blue-soft);
  color: var(--rym-blue);
  font-size: 22px;
}

.rym-pillar-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.rym-pillar-card p {
  margin: 0;
}

/* Subsidiaries */
.rym-subsidiaries-section {
  background: var(--rym-bg);
}

.rym-subsidiary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rym-subsidiary-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  transition: var(--rym-trans);
}

.rym-subsidiary-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rym-shadow);
}

.rym-subsidiary-card picture,
.rym-subsidiary-card img {
  display: block;
  width: 100%;
}

.rym-subsidiary-card img {
  height: 210px;
  object-fit: cover;
}

.rym-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.rym-card-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.rym-card-body h3 {
  min-height: 54px;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
}

.rym-card-body p {
  flex: 1;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
}

.rym-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rym-card-actions a,
.rym-doc-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  color: var(--rym-navy);
  background: var(--rym-white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: var(--rym-trans);
}

.rym-card-actions a:first-child {
  background: var(--rym-navy);
  border-color: var(--rym-navy);
  color: var(--rym-white);
}

.rym-card-actions a:hover,
.rym-doc-grid a:hover {
  border-color: var(--rym-blue);
  background: var(--rym-blue);
  color: var(--rym-white);
}

/* Direction */
.rym-direction-section {
  background: var(--rym-white);
}

.rym-direction-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-left: 4px solid var(--rym-blue);
  background: var(--rym-bg);
}

.rym-direction-note i {
  color: var(--rym-blue);
  font-size: 26px;
}

.rym-direction-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.rym-direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rym-direction-card {
  padding: 26px;
  min-height: 310px;
}

.rym-direction-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--rym-navy);
  color: var(--rym-white);
  font-weight: 900;
}

.rym-direction-card h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.rym-direction-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--rym-blue);
  font-size: 14px;
}

.rym-direction-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* Reviews */
.rym-reviews-section {
  background: linear-gradient(180deg, var(--rym-bg) 0%, #ffffff 100%);
}

.rym-review-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.rym-review-label {
  color: var(--rym-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-review-panel h3 {
  margin: 10px 0;
  font-size: 28px;
}

.rym-review-panel p {
  max-width: 780px;
  margin: 0;
}

.rym-review-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.rym-review-sources span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--rym-radius);
  background: var(--rym-blue-soft);
  color: var(--rym-navy);
  font-weight: 900;
}

/* Documents */
.rym-documents-section {
  background: var(--rym-white);
}

.rym-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rym-doc-grid a {
  justify-content: flex-start;
  min-height: 54px;
}

.rym-doc-grid i {
  color: #b42318;
}

.rym-doc-grid a:hover i {
  color: var(--rym-white);
}

.rym-doc-note {
  margin: 18px 0 0;
  font-size: 14px;
}

/* Career */
.rym-career-band {
  padding: 74px 0;
  background: var(--rym-navy);
}

.rym-career-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.rym-career-inner h2,
.rym-career-inner p {
  color: var(--rym-white);
}

.rym-career-inner h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 46px);
}

.rym-career-inner p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Contact */
.rym-contact-section {
  background: var(--rym-bg);
}

.rym-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: start;
}

.rym-contact-grid h2 {
  margin: 18px 0;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
}

.rym-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.rym-text-link {
  color: var(--rym-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(63, 118, 181, 0.35);
  text-underline-offset: 5px;
}

.rym-text-link:hover {
  color: var(--rym-blue);
}

.rym-mini-form {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.rym-mini-form label {
  margin: 0;
  color: var(--rym-navy);
  font-size: 13px;
  font-weight: 900;
}

.rym-mini-form input,
.rym-mini-form textarea,
.rym-mini-form select {
  width: 100%;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  color: var(--rym-ink);
  font-size: 15px;
  padding: 12px 13px;
  transition: var(--rym-trans);
}

.rym-mini-form input:focus,
.rym-mini-form textarea:focus,
.rym-mini-form select:focus {
  border-color: var(--rym-blue);
}

.rym-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.rym-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.rym-checkbox span {
  color: var(--rym-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

/* FAQ */
.rym-faq-section {
  background: var(--rym-white);
}

.rym-faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--rym-line);
}

.ve-faq-item {
  border-bottom: 1px solid var(--rym-line);
}

.ve-faq-q {
  width: 100%;
  padding: 22px 4px;
  border: 0;
  background: transparent;
  color: var(--rym-navy);
  text-align: left;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.ve-faq-q::after {
  content: "+";
  float: right;
  color: var(--rym-blue);
  font-size: 24px;
}

.ve-faq-item.open .ve-faq-q::after {
  content: "−";
}

.ve-faq-a {
  display: none;
  padding: 0 4px 24px;
  color: var(--rym-muted);
  font-size: 16px;
  line-height: 1.75;
}

.ve-faq-item.open .ve-faq-a {
  display: block;
}

/* Footer */
.rym-footer {
  background: var(--rym-navy);
  color: rgba(255, 255, 255, 0.76);
  padding-top: 72px;
}

.rym-footer-logo {
  display: inline-block;
  max-width: 230px;
  margin-bottom: 20px;
}

.rym-footer-logo img {
  width: 100%;
}

.rym-footer p,
.rym-footer li,
.rym-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.rym-footer a:hover {
  color: var(--rym-white);
}

.ve-footer-title {
  margin-bottom: 20px;
  color: var(--rym-white);
  font-size: 16px;
}

.ve-footer-links li,
.ve-footer-contact li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.ve-footer-contact i {
  width: 18px;
  color: var(--rym-blue-soft);
}

.ve-footer-bottom {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ve-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.ve-footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.ve-footer-bottom ul,
.ve-footer-bottom-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ve-footer-bottom a,
.ve-footer-bottom-inner a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Inner pages */
.rym-page-hero {
  padding: 160px 0 76px;
  background: var(--rym-navy);
}

.rym-page-hero h1 {
  max-width: 920px;
  margin: 20px 0 16px;
  color: var(--rym-white);
  font-size: clamp(38px, 5.6vw, 66px);
}

.rym-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.rym-page-content {
  padding: 86px 0;
  background: var(--rym-bg);
}

.rym-content-card {
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  padding: 34px;
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-content-card + .rym-content-card {
  margin-top: 22px;
}

.rym-content-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.rym-content-card p:last-child {
  margin-bottom: 0;
}

.rym-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rym-form-wide {
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1199px) {
  .ve-nav {
    display: none;
  }

  .ve-toggler {
    display: inline-flex;
  }

  .ve-nav-cta {
    display: none;
  }

  .ve-nav-wrap {
    padding: 0 22px;
  }

  .rym-direction-grid,
  .rym-subsidiary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ve-section {
    padding: 74px 0;
  }

  .rym-pillar-grid,
  .rym-doc-grid,
  .rym-contact-grid,
  .rym-career-inner,
  .rym-review-panel {
    grid-template-columns: 1fr;
  }

  .rym-review-sources {
    justify-content: flex-start;
  }

  .rym-career-inner {
    align-items: start;
  }

  .rym-contact-grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .rym-logo img {
    width: 160px;
  }

  .ve-nav-wrap {
    min-height: 70px;
  }

  .rym-hero {
    min-height: 820px;
  }

  .rym-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 22, 50, 0.86) 0%, rgba(7, 22, 50, 0.82) 52%, rgba(7, 22, 50, 0.78) 100%);
  }

  .rym-hero-content {
    padding-top: 112px;
  }

  .rym-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .rym-subsidiary-grid,
  .rym-direction-grid,
  .rym-form-grid {
    grid-template-columns: 1fr;
  }

  .rym-subsidiary-card img {
    height: 230px;
  }

  .rym-card-body h3 {
    min-height: auto;
  }

  .rym-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rym-contact-actions .ve-btn-primary,
  .rym-contact-actions .rym-text-link {
    width: 100%;
  }

  .rym-text-link {
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    align-items: center;
    border: 1px solid var(--rym-line);
    border-radius: var(--rym-radius);
    background: var(--rym-white);
    text-decoration: none;
  }

  .rym-mini-form,
  .rym-content-card {
    padding: 24px;
  }

  .ve-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .rym-logo img {
    width: 140px;
  }

  .ve-section {
    padding: 62px 0;
  }

  .rym-hero {
    min-height: 760px;
  }

  .ve-btn-primary,
  .ve-btn-ghost,
  .ve-btn-white {
    width: 100%;
  }

  .rym-review-panel,
  .rym-pillar-card,
  .rym-direction-card,
  .rym-card-body {
    padding: 22px;
  }
}

/* V2 refinement layer */
.rym-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rym-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.rym-hero-v2 {
  min-height: 94vh;
}

.rym-hero-v2 .rym-hero-content {
  max-width: 920px;
}

.rym-hero-v2 h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

.rym-hero-v2 p {
  max-width: 740px;
}

.rym-hero-brand-panel {
  position: absolute;
  right: clamp(18px, 4vw, 70px);
  bottom: 42px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, minmax(74px, 1fr));
  gap: 10px;
  width: min(720px, 56vw);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rym-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.rym-hero-brand-panel img {
  width: 100%;
  height: 58px;
  padding: 8px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.rym-pillar-grid-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rym-pillar-card {
  position: relative;
  overflow: hidden;
}

.rym-pillar-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 18px solid rgba(63, 118, 181, 0.1);
}

.rym-pillar-emphasis {
  background: linear-gradient(135deg, var(--rym-navy), #123a72);
}

.rym-pillar-emphasis strong {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--rym-font-title);
  font-size: 78px;
  line-height: 0.82;
}

.rym-pillar-emphasis h3,
.rym-pillar-emphasis p {
  color: var(--rym-white);
}

.rym-subsidiary-grid-v2 {
  align-items: stretch;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card {
  border-top: 4px solid var(--entity, var(--rym-blue));
  box-shadow: 0 12px 36px rgba(11, 30, 67, 0.08);
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:hover {
  border-color: var(--entity, var(--rym-blue));
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card > picture img {
  height: 238px;
}

.rym-card-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin: -6px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 226, 239, 0.9);
  border-left: 5px solid var(--entity, var(--rym-blue));
  border-radius: var(--rym-radius);
  background: #fff;
}

.rym-card-logo-row img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 38px;
  object-fit: contain;
}

.rym-dual-logo img {
  max-width: 48%;
}

.rym-subsidiary-grid-v2 .rym-card-kicker {
  color: var(--entity, var(--rym-blue));
}

.rym-subsidiary-grid-v2 .rym-card-actions a:first-child {
  border-color: var(--entity, var(--rym-navy));
  background: var(--entity, var(--rym-navy));
}

.rym-subsidiary-grid-v2 .rym-card-actions a:hover {
  border-color: var(--rym-navy);
  background: var(--rym-navy);
}

.rym-scenario-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.rym-scenario-stage {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: var(--rym-radius);
  box-shadow: var(--rym-shadow);
  isolation: isolate;
}

.rym-scenario-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: rym-slow-zoom 15s ease-in-out infinite alternate;
}

.rym-scenario-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 30, 67, 0.08) 0%, rgba(11, 30, 67, 0.72) 100%);
}

.rym-scenario-progress {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 102px;
  z-index: 2;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
}

.rym-scenario-progress::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--rym-white);
  animation: rym-scenario-flow 5s ease-in-out infinite;
}

.rym-scenario-steps {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rym-scenario-steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--rym-radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--rym-white);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(8px);
}

@keyframes rym-slow-zoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}

@keyframes rym-scenario-flow {
  0% { transform: translateX(-108%); }
  45% { transform: translateX(55%); }
  100% { transform: translateX(230%); }
}

.rym-direction-grid-v2 .rym-direction-card {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}

.rym-direction-grid-v2 .rym-direction-card img {
  display: block;
  width: 100%;
  height: 238px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 4px solid var(--rym-blue);
}

.rym-direction-grid-v2 .rym-direction-card h3,
.rym-direction-grid-v2 .rym-direction-card strong,
.rym-direction-grid-v2 .rym-direction-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.rym-direction-grid-v2 .rym-direction-card h3 {
  margin-top: 22px;
}

.rym-direction-grid-v2 .rym-direction-card p {
  margin-bottom: 24px;
}

.rym-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rym-proof-grid article,
.rym-social-card {
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-proof-grid article {
  padding: 30px;
}

.rym-proof-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rym-blue);
  font-family: var(--rym-font-title);
  font-size: 40px;
  line-height: 1;
}

.rym-proof-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.rym-social-section {
  background: #f9fbff;
}

.rym-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rym-social-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  transition: var(--rym-trans);
}

.rym-social-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rym-shadow);
}

.rym-social-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 16px;
}

.rym-social-card span {
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-social-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.rym-social-card p {
  flex: 1;
  margin-bottom: 18px;
  font-size: 15px;
}

.rym-social-card a,
.rym-social-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--rym-radius);
  background: var(--rym-navy);
  color: var(--rym-white);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rym-social-status {
  background: var(--rym-blue-soft);
  color: var(--rym-navy);
}

.rym-social-card .rym-social-status {
  color: var(--rym-navy);
  font-size: 13px;
  text-transform: none;
}

.rym-doc-grid-v2 a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta action"
    "title action";
  gap: 4px 14px;
  min-height: 74px;
  padding: 16px 18px;
  border-left: 4px solid var(--rym-blue);
}

.rym-doc-grid-v2 a span {
  grid-area: meta;
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-doc-grid-v2 a strong {
  grid-area: title;
  color: var(--rym-navy);
  font-size: 15px;
  line-height: 1.25;
}

.rym-doc-grid-v2 a em {
  grid-area: action;
  align-self: center;
  color: var(--rym-muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.rym-doc-grid-v2 a:hover strong,
.rym-doc-grid-v2 a:hover span,
.rym-doc-grid-v2 a:hover em {
  color: var(--rym-white);
}

.rym-career-inner-v2 {
  position: relative;
}

.rym-career-inner-v2::before {
  content: "rymholding.com/emploi";
  position: absolute;
  right: 0;
  top: -42px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--rym-font-title);
  font-size: clamp(38px, 8vw, 86px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.rym-contact-grid-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.rym-contact-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-contact-map iframe {
  display: block;
  width: 100%;
  height: 310px;
  border: 0;
}

.rym-map-fallback {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  min-height: 134px;
  padding: 18px;
  border: 1px solid rgba(63, 118, 181, 0.28);
  border-radius: var(--rym-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 252, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(63, 118, 181, 0.14) 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(63, 118, 181, 0.14) 29px 30px);
  color: var(--rym-navy);
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(11, 30, 67, 0.14);
}

.rym-map-fallback::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--rym-blue);
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(63, 118, 181, 0.34);
}

.rym-map-fallback span {
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-map-fallback strong {
  color: var(--rym-navy);
  font-size: 20px;
  line-height: 1.2;
}

.rym-map-fallback em {
  color: var(--rym-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.rym-contact-map div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
}

.rym-contact-map strong {
  color: var(--rym-navy);
  font-size: 16px;
}

.rym-contact-map span {
  color: var(--rym-muted);
  font-size: 14px;
}

.rym-contact-card-strong {
  border-left: 5px solid var(--rym-blue);
}

.rym-appointment-panel {
  background: linear-gradient(135deg, #ffffff 0%, #eef5fd 100%);
}

.rym-appointment-panel .ve-section-tag {
  margin-bottom: 14px;
}

.rym-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.rym-contact-page-map {
  margin-top: 22px;
}

.rym-career-hero {
  background:
    linear-gradient(90deg, rgba(11, 30, 67, 0.96), rgba(11, 30, 67, 0.76)),
    url("../img/rym-generated/v2-acaderim-training.jpg") center / cover;
}

.rym-job-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.rym-job-intro .rym-content-card {
  display: flex;
  flex-direction: column;
}

.rym-job-intro .ve-btn-primary {
  margin-top: auto;
}

.rym-job-portal {
  overflow: hidden;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: var(--rym-shadow);
}

.rym-job-portal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rym-line);
}

.rym-job-portal-head h2 {
  margin: 10px 0 0;
  font-size: 30px;
}

.rym-job-portal-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--rym-radius);
  background: var(--rym-navy);
  color: var(--rym-white);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rym-job-portal iframe {
  display: block;
  width: 100%;
  height: min(76vh, 860px);
  min-height: 620px;
  border: 0;
  background: #ffffff;
}

@media (max-width: 1199px) {
  .rym-pillar-grid-v2,
  .rym-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-hero-brand-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 44px);
    margin: -88px auto 30px;
  }
}

@media (max-width: 991px) {
  .rym-contact-grid-v2,
  .rym-proof-grid,
  .rym-job-intro {
    grid-template-columns: 1fr;
  }

  .rym-hero-brand-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rym-hero-v2 {
    min-height: 780px;
  }

  .rym-hero-brand-panel {
    display: none;
  }

  .rym-pillar-grid-v2,
  .rym-social-grid {
    grid-template-columns: 1fr;
  }

  .rym-scenario-stage {
    min-height: 420px;
  }

  .rym-scenario-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-doc-grid-v2 a {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "action";
  }

  .rym-job-portal-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rym-job-portal iframe {
    min-height: 560px;
  }
}

/* V3 institutional direction */
.rym-hero-v2 {
  min-height: 94vh;
}

.rym-hero-v2 picture {
  z-index: 0;
}

.rym-hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.rym-hero-motion span {
  position: absolute;
  inset: 0;
  background-image: var(--frame);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: rym-hero-motion 28s infinite;
  will-change: opacity, transform;
}

.rym-hero-motion span:nth-child(2) { animation-delay: 7s; }
.rym-hero-motion span:nth-child(3) { animation-delay: 14s; }
.rym-hero-motion span:nth-child(4) { animation-delay: 21s; }

.rym-hero-v2 picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(63, 118, 181, 0.18), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(7, 22, 50, 0.26) 100%);
  pointer-events: none;
}

@keyframes rym-hero-motion {
  0% { opacity: 0; transform: scale(1.04) translateX(0); }
  5% { opacity: 1; }
  24% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.12) translateX(-1.5%); }
  100% { opacity: 0; transform: scale(1.12) translateX(-1.5%); }
}

.rym-hero-film-card {
  position: absolute;
  right: clamp(18px, 4vw, 70px);
  top: 128px;
  z-index: 3;
  display: grid;
  gap: 6px;
  width: min(360px, calc(100% - 36px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--rym-radius);
  background: rgba(7, 22, 50, 0.54);
  color: var(--rym-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.rym-hero-film-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rym-hero-film-card strong {
  color: var(--rym-white);
  font-family: var(--rym-font-title);
  font-size: 18px;
  line-height: 1.25;
}

.rym-hero-film-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.rym-ecosystem-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
}

.rym-ecosystem-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.rym-ecosystem-tabs button,
.rym-contact-router-actions button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  color: var(--rym-navy);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: var(--rym-trans);
}

.rym-ecosystem-tabs button:hover,
.rym-ecosystem-tabs button.active,
.rym-contact-router-actions button:hover,
.rym-contact-router-actions button.active {
  border-color: var(--rym-blue);
  background: var(--rym-navy);
  color: var(--rym-white);
  transform: translateY(-2px);
}

.rym-ecosystem-board {
  position: relative;
  min-height: 700px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,245,253,0.96)),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(63, 118, 181, 0.08) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(63, 118, 181, 0.08) 59px 60px);
  box-shadow: var(--rym-shadow);
}

.rym-ecosystem-board::before,
.rym-ecosystem-board::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(63, 118, 181, 0.26);
  border-radius: 50%;
  animation: rym-map-pulse 9s linear infinite;
}

.rym-ecosystem-board::after {
  inset: 23%;
  animation-duration: 12s;
  animation-direction: reverse;
}

.rym-ecosystem-center {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 210px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(63, 118, 181, 0.22);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: 0 18px 45px rgba(11, 30, 67, 0.14);
  transform: translate(-50%, -50%);
}

.rym-ecosystem-center img {
  max-width: 168px;
  height: auto;
}

.rym-ecosystem-center span {
  color: var(--rym-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-ecosystem-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 154px;
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(217, 226, 239, 0.9);
  border-top: 5px solid var(--entity, var(--rym-blue));
  border-radius: var(--rym-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(11, 30, 67, 0.1);
  transition: var(--rym-trans);
}

.rym-ecosystem-node img {
  max-width: 118px;
  max-height: 42px;
  object-fit: contain;
}

.rym-ecosystem-node strong {
  color: var(--rym-navy);
  font-size: 13px;
  text-align: center;
}

.rym-ecosystem-board[data-active-ecosystem="renover"] [data-node="renover"],
.rym-ecosystem-board[data-active-ecosystem="assurer"] [data-node="assurer"],
.rym-ecosystem-board[data-active-ecosystem="sinistre"] [data-node="sinistre"],
.rym-ecosystem-board[data-active-ecosystem="financer"] [data-node="financer"],
.rym-ecosystem-board[data-active-ecosystem="entretenir"] [data-node="entretenir"],
.rym-ecosystem-board[data-active-ecosystem="former"] [data-node="former"] {
  transform: translateY(-8px);
  border-color: var(--entity, var(--rym-blue));
  box-shadow: 0 24px 55px rgba(11, 30, 67, 0.18);
}

.node-renover { left: 9%; top: 10%; }
.node-assurer { right: 9%; top: 9%; }
.node-sinistre { right: 4%; top: 36%; }
.node-financer { right: 16%; bottom: 210px; }
.node-entretenir { left: 16%; bottom: 210px; }
.node-former { left: 4%; top: 36%; }

.rym-ecosystem-insight {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  width: min(460px, calc(100% - 44px));
  padding: 18px 20px;
  border: 1px solid rgba(63, 118, 181, 0.2);
  border-radius: var(--rym-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(11, 30, 67, 0.12);
  transform: translateX(-50%);
}

.rym-ecosystem-insight span {
  color: var(--rym-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-ecosystem-insight strong {
  display: block;
  margin-top: 5px;
  color: var(--rym-navy);
  font-family: var(--rym-font-title);
  font-size: 20px;
  line-height: 1.2;
}

.rym-ecosystem-insight p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes rym-map-pulse {
  from { transform: rotate(0deg) scale(1); opacity: 0.78; }
  50% { opacity: 0.42; }
  to { transform: rotate(360deg) scale(1.02); opacity: 0.78; }
}

.rym-subsidiary-grid-v2 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: stretch;
}

.rym-method-section {
  background: var(--rym-white);
}

.rym-method-note {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-left: 5px solid var(--rym-blue);
  border-radius: var(--rym-radius);
  background: #f3f8fd;
}

.rym-method-note strong {
  color: var(--rym-navy);
  font-family: var(--rym-font-title);
  font-size: 20px;
  line-height: 1.2;
}

.rym-method-note span {
  color: var(--rym-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rym-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.rym-method-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-method-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(63, 118, 181, 0.08);
  border-radius: 50%;
}

.rym-method-grid span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--rym-blue);
  font-family: var(--rym-font-title);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.rym-method-grid h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.rym-method-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card {
  position: relative;
  grid-column: span 4;
  border-top: 5px solid var(--entity, var(--rym-blue));
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1),
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3) {
  grid-column: span 8;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(5) {
  grid-column: span 5;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(6) {
  grid-column: span 3;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(7) {
  grid-column: span 4;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1) img,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3) img {
  height: 310px;
}

.rym-card-logo-row {
  min-height: 56px;
}

.rym-card-logo-row img,
.rym-dual-logo img {
  width: auto;
  max-width: 220px;
  height: auto !important;
  max-height: 64px;
  object-fit: contain;
}

.rym-dual-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rym-dual-logo img {
  max-width: 142px;
}

.rym-case-use {
  display: grid;
  gap: 4px;
  margin: 14px 0 18px;
  padding: 14px;
  border-left: 4px solid var(--entity, var(--rym-blue));
  border-radius: var(--rym-radius);
  background: color-mix(in srgb, var(--entity, var(--rym-blue)) 9%, white);
}

.rym-case-use strong {
  color: var(--rym-navy);
  font-size: 12px;
  text-transform: uppercase;
}

.rym-case-use span {
  color: var(--rym-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rym-scenario-stage {
  border: 1px solid var(--rym-line);
  box-shadow: var(--rym-shadow);
}

.rym-scenario-steps span {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-height: 76px;
  text-align: left;
}

.rym-scenario-steps span strong {
  color: var(--rym-blue);
  font-family: var(--rym-font-title);
  font-size: 12px;
}

.rym-scenario-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.rym-scenario-flow article {
  padding: 24px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: var(--rym-white);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-scenario-flow span {
  color: var(--rym-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-scenario-flow h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}

.rym-scenario-flow p {
  margin: 0;
  font-size: 14px;
}

.rym-direction-grid-v2 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rym-direction-grid-v2 .rym-direction-card {
  grid-column: span 1;
}

.rym-direction-grid-v2 .rym-president-card {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,245,253,0.86));
}

.rym-direction-grid-v2 .rym-president-card img {
  height: 322px;
}

.rym-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rym-proof-grid article {
  position: relative;
  overflow: hidden;
}

.rym-proof-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(63, 118, 181, 0.08);
  border-radius: 50%;
}

.rym-social-card {
  display: flex;
  flex-direction: column;
}

.rym-social-card a {
  margin-top: auto;
}

.rym-social-feed {
  display: grid;
  gap: 5px;
  margin: 16px 0 18px;
  padding: 14px;
  border: 1px solid rgba(63, 118, 181, 0.16);
  border-radius: var(--rym-radius);
  background: #f8fbff;
}

.rym-social-feed strong {
  color: var(--rym-navy);
  font-size: 13px;
}

.rym-social-feed small {
  color: var(--rym-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rym-social-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.rym-social-directory article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-social-directory h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.rym-social-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(63, 118, 181, 0.16);
  border-radius: var(--rym-radius);
  color: var(--rym-navy);
  background: var(--rym-white);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: var(--rym-trans);
}

.rym-social-directory a::after {
  content: "\f08e";
  color: var(--rym-blue);
  font-family: FontAwesome;
  font-size: 12px;
}

.rym-social-directory a:hover {
  border-color: var(--rym-blue);
  background: var(--rym-navy);
  color: var(--rym-white);
}

.rym-social-directory a:hover::after {
  color: var(--rym-white);
}

.rym-contact-qualifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 22px;
}

.rym-contact-qualifiers span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(63, 118, 181, 0.22);
  border-radius: 999px;
  color: var(--rym-navy);
  background: var(--rym-white);
  font-size: 13px;
  font-weight: 800;
}

.rym-contact-router {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
  padding: 26px;
  border: 1px solid var(--rym-line);
  border-radius: var(--rym-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,245,253,0.92));
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-contact-router h2 {
  margin: 12px 0 8px;
  font-size: 28px;
}

.rym-contact-router p {
  margin: 0;
}

.rym-contact-router-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Cohesion pass - accueil et cartographie */
.rym-hero-v2 {
  min-height: min(880px, 94vh);
}

.rym-hero-v2 picture img {
  object-position: center right;
}

.rym-hero-v2 .rym-hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 48, 0.94) 0%, rgba(5, 20, 48, 0.82) 34%, rgba(5, 20, 48, 0.34) 62%, rgba(5, 20, 48, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 20, 48, 0.12) 0%, rgba(5, 20, 48, 0.58) 100%);
}

.rym-hero-v2 .rym-hero-content {
  width: 100%;
  max-width: 1170px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.rym-hero-v2 h1 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(52px, 7vw, 90px);
  line-height: 0.96;
}

.rym-hero-v2 p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.rym-hero-brand-panel {
  right: clamp(20px, 4vw, 72px);
  bottom: clamp(24px, 5vh, 58px);
  grid-template-columns: repeat(7, 72px);
  gap: 12px;
  width: auto;
  max-width: min(640px, 54vw);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.rym-hero-brand-panel a {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transition: var(--rym-trans);
}

.rym-hero-brand-panel a:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.24);
}

.rym-hero-brand-panel img {
  width: 58px;
  height: 42px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.rym-ecosystem-selection {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(63, 118, 181, 0.2);
  border-left: 5px solid var(--rym-blue);
  border-radius: var(--rym-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(11, 30, 67, 0.08);
}

.rym-ecosystem-selection span {
  color: var(--rym-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-ecosystem-selection strong {
  color: var(--rym-navy);
  font-family: var(--rym-font-title);
  font-size: 21px;
  line-height: 1.2;
}

.rym-ecosystem-selection p {
  margin: 0;
  color: var(--rym-muted);
  font-size: 15px;
  line-height: 1.58;
}

.rym-ecosystem-board {
  min-height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 1) 0 21%, rgba(242, 247, 253, 0.94) 22% 100%),
    repeating-radial-gradient(circle at center, transparent 0 118px, rgba(63, 118, 181, 0.12) 119px 120px);
}

.rym-ecosystem-board::before {
  inset: 8%;
}

.rym-ecosystem-board::after {
  inset: 25%;
}

.rym-ecosystem-center {
  top: 50%;
  width: 220px;
  min-height: 150px;
  border-radius: 16px;
  box-shadow: 0 22px 52px rgba(11, 30, 67, 0.18);
}

.rym-ecosystem-node {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: 148px;
  min-height: 108px;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit, 235px)) rotate(calc(var(--angle) * -1));
  animation: rym-node-drift 6.8s ease-in-out infinite;
}

.node-renover { --angle: -92deg; --orbit: 244px; }
.node-assurer { --angle: -30deg; --orbit: 248px; animation-delay: -1.1s; }
.node-sinistre { --angle: 34deg; --orbit: 246px; animation-delay: -2.2s; }
.node-financer { --angle: 96deg; --orbit: 242px; animation-delay: -3.3s; }
.node-entretenir { --angle: 158deg; --orbit: 244px; animation-delay: -4.4s; }
.node-former { --angle: 214deg; --orbit: 246px; animation-delay: -5.5s; }

.rym-ecosystem-board[data-active-ecosystem="renover"] [data-node="renover"],
.rym-ecosystem-board[data-active-ecosystem="assurer"] [data-node="assurer"],
.rym-ecosystem-board[data-active-ecosystem="sinistre"] [data-node="sinistre"],
.rym-ecosystem-board[data-active-ecosystem="financer"] [data-node="financer"],
.rym-ecosystem-board[data-active-ecosystem="entretenir"] [data-node="entretenir"],
.rym-ecosystem-board[data-active-ecosystem="former"] [data-node="former"] {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit, 235px)) rotate(calc(var(--angle) * -1));
}

@keyframes rym-node-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.rym-group-section p,
.rym-ecosystem-section p,
.rym-method-section p,
.rym-subsidiaries-section p,
.rym-scenario-section p,
.rym-direction-section p,
.rym-proof-section p,
.rym-social-section p,
.rym-documents-section p,
.rym-career-band p,
.rym-contact-section p,
.rym-page-content p,
.rym-footer p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.rym-ecosystem-selection p,
.rym-pillar-card p,
.rym-subsidiary-card p,
.rym-case-use span,
.rym-scenario-flow p,
.rym-direction-card p,
.rym-proof-grid p,
.rym-social-card p {
  text-align: left;
  text-align-last: left;
}

@media (max-width: 1199px) {
  .rym-hero-film-card {
    top: auto;
    bottom: 190px;
  }

  .rym-subsidiary-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-social-directory {
    grid-template-columns: 1fr;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card,
  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1),
  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3),
  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(5),
  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(6),
  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(7) {
    grid-column: span 1;
  }

  .rym-direction-grid-v2,
  .rym-method-grid,
  .rym-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-direction-grid-v2 .rym-president-card {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .rym-ecosystem-board {
    margin-top: 30px;
  }

  .rym-contact-router {
    grid-template-columns: 1fr;
  }

  .rym-contact-router-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .rym-hero-film-card {
    display: none;
  }

  .rym-hero-content {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .rym-hero-v2 .rym-hero-content {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-right: 16px;
    margin-left: 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .rym-hero h1 {
    width: min(100%, 340px);
    max-width: 100%;
    font-size: 34px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .rym-hero p {
    width: min(100%, 340px);
    max-width: 100%;
    font-size: 16px;
    line-height: 1.62;
  }

  .rym-hero .ve-hero-badge {
    width: min(100%, 340px);
    max-width: 100%;
    white-space: normal;
  }

  .ve-hero-btns,
  .rym-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    max-width: 100%;
  }

  .ve-hero-btns a,
  .rym-hero-proof span {
    width: 100%;
  }

  .rym-trust-bar .ve-trust-inner {
    gap: 30px;
  }

  .rym-ecosystem-board {
    min-height: auto;
    padding: 20px;
    border-radius: var(--rym-radius);
  }

  .rym-ecosystem-board::before,
  .rym-ecosystem-board::after {
    display: none;
  }

  .rym-ecosystem-center,
  .rym-ecosystem-node,
  .rym-ecosystem-insight {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: auto;
    margin-bottom: 12px;
    transform: none !important;
  }

  .rym-ecosystem-node {
    display: flex;
    justify-content: space-between;
    animation: none;
    translate: 0 0;
  }

  .rym-ecosystem-insight {
    margin-bottom: 0;
  }

  .rym-subsidiary-grid-v2,
  .rym-method-grid,
  .rym-scenario-flow,
  .rym-direction-grid-v2,
  .rym-proof-grid {
    grid-template-columns: 1fr;
  }

  .rym-direction-grid-v2 .rym-president-card {
    grid-column: span 1;
  }

  .rym-direction-grid-v2 .rym-president-card img,
  .rym-direction-grid-v2 .rym-direction-card img {
    height: 250px;
  }

  .rym-page-hero .container,
  .rym-page-content .container {
    width: min(358px, calc(100vw - 32px));
    max-width: min(358px, calc(100vw - 32px));
    margin-right: auto;
    margin-left: 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .rym-page-hero h1 {
    width: min(100%, 340px);
    max-width: 100%;
    font-size: 36px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .rym-page-hero p,
  .rym-contact-router p {
    width: min(100%, 340px);
    max-width: 100%;
  }

  .rym-page-content .row {
    margin-right: 0;
    margin-left: 0;
  }

  .rym-page-content [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rym-hero-motion span,
  .rym-ecosystem-node,
  .rym-ecosystem-board::before,
  .rym-ecosystem-board::after,
  .rym-trust-bar .ve-trust-inner {
    animation: none !important;
  }

  .rym-hero-motion span:first-child {
    opacity: 1;
    transform: none;
  }
}

/* V5 - direction institutionnelle coherente */
.ve-section {
  padding: 92px 0;
}

.ve-section-header {
  margin-bottom: 42px;
}

.ve-section-header.text-center p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  text-align-last: center;
}

.rym-trust-bar {
  position: relative;
  z-index: 5;
  overflow: visible;
  padding: 0 0 24px;
  border-bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.rym-trust-bar .ve-trust-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: min(1170px, calc(100% - 48px));
  margin: -34px auto 0;
  padding: 12px;
  border: 1px solid rgba(217, 226, 239, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 55px rgba(11, 30, 67, 0.13);
  animation: none;
}

.rym-trust-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f8fc;
  color: var(--rym-navy);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.rym-group-section,
.rym-method-section,
.rym-scenario-section,
.rym-documents-section {
  background: #ffffff;
}

.rym-ecosystem-section,
.rym-subsidiaries-section,
.rym-direction-section,
.rym-reviews-section,
.rym-social-section,
.rym-contact-section {
  background: #f5f8fc;
}

.rym-pillar-grid-v2 {
  gap: 16px;
}

.rym-pillar-card {
  display: grid;
  align-content: start;
  min-height: auto;
  padding: 26px;
  border-radius: 12px;
}

.rym-pillar-card::after {
  display: none;
}

.rym-pillar-card i {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: 19px;
}

.rym-pillar-card h3 {
  font-size: 21px;
}

.rym-pillar-emphasis strong {
  margin-bottom: 10px;
  font-size: 56px;
}

.rym-ecosystem-section .row {
  row-gap: 32px;
}

.rym-ecosystem-board {
  width: min(640px, 100%);
  min-height: 640px;
  margin-left: auto;
  margin-right: auto;
}

.rym-method-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--rym-line);
  border-radius: 14px;
  background: var(--rym-white);
  box-shadow: 0 14px 40px rgba(11, 30, 67, 0.08);
}

.rym-method-grid article {
  min-height: auto;
  padding: 28px 26px;
  border: 0;
  border-right: 1px solid var(--rym-line);
  border-radius: 0;
  background: var(--rym-white);
  box-shadow: none;
}

.rym-method-grid article:last-child {
  border-right: 0;
}

.rym-method-grid article::after {
  display: none;
}

.rym-method-grid span {
  margin-bottom: 22px;
  font-size: 30px;
}

.rym-method-grid h3 {
  font-size: 21px;
}

.rym-subsidiary-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1),
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3),
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(5),
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(6),
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(7) {
  grid-column: auto;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card > picture img,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1) img,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3) img {
  height: 216px;
}

.rym-card-body {
  padding: 22px;
}

.rym-card-logo-row {
  min-height: 62px;
  margin: -4px 0 14px;
}

.rym-card-body h3 {
  min-height: 0;
  font-size: 22px;
}

.rym-card-body p {
  margin-bottom: 16px;
}

.rym-case-use {
  margin-top: auto;
}

.rym-scenario-stage {
  border-radius: 14px;
}

.rym-scenario-flow {
  gap: 16px;
}

.rym-scenario-flow article {
  border-radius: 12px;
}

.rym-direction-grid-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rym-direction-grid-v2 .rym-direction-card,
.rym-direction-grid-v2 .rym-president-card {
  grid-column: auto;
}

.rym-direction-grid-v2 .rym-direction-card img,
.rym-direction-grid-v2 .rym-president-card img {
  height: 252px;
}

.rym-direction-grid-v2 .rym-direction-card {
  border-radius: 12px;
}

.rym-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rym-proof-grid article {
  padding: 24px;
  border-radius: 12px;
}

.rym-proof-grid article::after {
  display: none;
}

.rym-proof-grid span {
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--rym-blue-soft);
  color: var(--rym-blue);
  font-family: var(--rym-font-body);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.rym-proof-grid h3 {
  font-size: 20px;
}

.rym-social-grid {
  gap: 16px;
}

.rym-social-card {
  min-height: 100%;
  padding: 22px;
  border-radius: 12px;
}

.rym-social-directory article,
.rym-doc-grid-v2 a,
.rym-contact-map,
.rym-contact-router {
  border-radius: 12px;
}

@media (max-width: 1199px) {
  .rym-trust-bar .ve-trust-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rym-direction-grid-v2,
  .rym-proof-grid,
  .rym-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ve-section {
    padding: 76px 0;
  }

  .rym-subsidiary-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-method-grid article:nth-child(2) {
    border-right: 0;
  }

  .rym-method-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rym-line);
  }
}

@media (max-width: 767px) {
  .ve-section {
    padding: 62px 0;
  }

  .rym-hero-v2 {
    min-height: 760px;
  }

  .rym-trust-bar {
    padding-bottom: 10px;
  }

  .rym-trust-bar .ve-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 28px);
    margin-top: -22px;
    padding: 8px;
  }

  .rym-trust-bar span {
    min-height: 48px;
    padding: 9px 8px;
    font-size: 12px;
  }

  .rym-group-section p,
  .rym-ecosystem-section p,
  .rym-method-section p,
  .rym-subsidiaries-section p,
  .rym-scenario-section p,
  .rym-direction-section p,
  .rym-reviews-section p,
  .rym-social-section p,
  .rym-documents-section p,
  .rym-career-band p,
  .rym-contact-section p,
  .rym-page-content p,
  .rym-footer p {
    text-align: left;
    text-align-last: left;
  }

  .ve-section-header.text-center p {
    text-align: center;
    text-align-last: center;
  }

  .rym-subsidiary-grid-v2,
  .rym-method-grid,
  .rym-scenario-flow,
  .rym-direction-grid-v2,
  .rym-proof-grid,
  .rym-social-grid {
    grid-template-columns: 1fr;
  }

  .rym-method-grid article,
  .rym-method-grid article:nth-child(2),
  .rym-method-grid article:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--rym-line);
  }

  .rym-method-grid article:last-child {
    border-bottom: 0;
  }
}

/* V6 - References and trust carousel */
.rym-trust-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 96px;
  background:
    radial-gradient(circle at 12% 16%, rgba(34, 126, 191, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f4f8fc 100%);
}

.rym-trust-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.rym-trust-head .ve-section-header {
  max-width: 780px;
  margin: 0;
}

.rym-trust-head .ve-section-header p {
  text-align: left;
  text-align-last: left;
}

.rym-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.rym-reference-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 37, 77, 0.12);
  border-top: 5px solid var(--entity, var(--rym-blue));
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 37, 77, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rym-reference-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--entity, var(--rym-blue)) 55%, rgba(10, 37, 77, 0.12));
  box-shadow: 0 24px 48px rgba(10, 37, 77, 0.14);
}

.rym-reference-logo {
  min-height: 122px;
  display: grid;
  place-items: center;
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(10, 37, 77, 0.08);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--entity, var(--rym-blue)) 8%, #ffffff) 0%, #ffffff 100%);
}

.rym-reference-logo img {
  max-width: 168px;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rym-reference-logo--subsidiary img {
  max-width: 152px;
  max-height: 70px;
}

.rym-reference-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.rym-reference-body span {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--entity, var(--rym-blue)) 11%, #ffffff);
  color: color-mix(in srgb, var(--entity, var(--rym-blue)) 82%, #0b1e43);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.rym-reference-body h3 {
  margin: 0 0 10px;
  color: var(--rym-navy);
  font-size: 20px;
  line-height: 1.22;
}

.rym-reference-body p {
  margin: 0 0 16px;
  color: var(--rym-slate);
  font-size: 14px;
  line-height: 1.62;
  text-align: left;
  text-align-last: left;
}

.rym-reference-body small {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 37, 77, 0.10);
  color: #60758c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.rym-trust-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.rym-trust-controls button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 37, 77, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: var(--rym-navy);
  box-shadow: 0 14px 30px rgba(10, 37, 77, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rym-trust-controls button:hover,
.rym-trust-controls button:focus-visible {
  background: var(--rym-navy);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

.rym-trust-carousel {
  display: flex;
  gap: 24px;
  margin: 0 -4px;
  padding: 4px 4px 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rym-trust-carousel::-webkit-scrollbar {
  display: none;
}

.rym-trust-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  min-height: 548px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(10, 37, 77, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(10, 37, 77, 0.10);
}

.rym-trust-card.is-featured {
  border-color: rgba(34, 126, 191, 0.32);
}

.rym-trust-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  background: #e9f1f8;
}

.rym-trust-media > img:not(.rym-trust-logo) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rym-trust-card:hover .rym-trust-media > img:not(.rym-trust-logo) {
  transform: scale(1.045);
}

.rym-trust-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 55, 0.06) 0%, rgba(4, 24, 55, 0.54) 100%);
}

.rym-trust-media span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 92px);
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rym-navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rym-trust-logo {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  width: 58px;
  height: 42px;
  object-fit: contain;
  padding: 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(4, 24, 55, 0.18);
}

.rym-trust-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.rym-trust-body h3 {
  margin: 0 0 12px;
  color: var(--rym-navy);
  font-size: 20px;
  line-height: 1.22;
}

.rym-trust-body p {
  margin: 0 0 18px;
  color: var(--rym-slate);
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
  text-align-last: left;
}

.rym-trust-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 37, 77, 0.10);
}

.rym-trust-meta strong,
.rym-trust-meta small {
  display: block;
}

.rym-trust-meta strong {
  color: var(--rym-navy);
  font-size: 14px;
  line-height: 1.3;
}

.rym-trust-meta small {
  margin-top: 5px;
  color: #60758c;
  font-size: 12px;
  line-height: 1.35;
}

.rym-trust-body a {
  align-self: flex-start;
  margin-top: 18px;
  color: var(--rym-blue);
  font-weight: 900;
  line-height: 1.25;
}

.rym-trust-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
  margin-top: 8px;
}

.rym-trust-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 37, 77, 0.22);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.rym-trust-dots button.active {
  width: 28px;
  background: var(--rym-blue);
}

.rym-trust-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.rym-trust-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(10, 37, 77, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--rym-slate);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.rym-trust-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1199px) {
  .rym-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rym-trust-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 991px) {
  .rym-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-trust-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rym-trust-controls {
    margin-bottom: 0;
  }

  .rym-trust-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .rym-reference-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rym-reference-logo {
    min-height: 108px;
  }

  .rym-trust-section p {
    text-align: left;
    text-align-last: left;
  }

  .rym-trust-head {
    gap: 18px;
    margin-bottom: 24px;
  }

  .rym-trust-card {
    flex-basis: calc(100% - 4px);
    min-height: 0;
  }

  .rym-trust-body {
    padding: 20px;
  }

  .rym-trust-media {
    min-height: 196px;
  }

  .rym-trust-note {
    justify-content: flex-start;
  }

  .rym-trust-more {
    justify-content: flex-start;
  }
}

/* Queue correction pass - brand colors, scenarios, social feeds and native routes */
.rym-direction-grid-v2 .rym-direction-card,
.rym-direction-grid-v2 .rym-president-card {
  background: #ffffff;
  color: var(--rym-navy);
}

.node-renover { --angle: -90deg; --orbit: 248px; }
.node-assurer { --angle: -38deg; --orbit: 250px; animation-delay: -1s; }
.node-sinistre { --angle: 15deg; --orbit: 248px; animation-delay: -2s; }
.node-financer { --angle: 68deg; --orbit: 246px; animation-delay: -3s; }
.node-entretenir { --angle: 122deg; --orbit: 248px; animation-delay: -4s; }
.node-former { --angle: 176deg; --orbit: 246px; animation-delay: -5s; }
.node-investir { --angle: 230deg; --orbit: 248px; animation-delay: -6s; }

.rym-ecosystem-board[data-active-ecosystem="renover"] [data-node="renover"],
.rym-ecosystem-board[data-active-ecosystem="assurer"] [data-node="assurer"],
.rym-ecosystem-board[data-active-ecosystem="sinistre"] [data-node="sinistre"],
.rym-ecosystem-board[data-active-ecosystem="financer"] [data-node="financer"],
.rym-ecosystem-board[data-active-ecosystem="entretenir"] [data-node="entretenir"],
.rym-ecosystem-board[data-active-ecosystem="former"] [data-node="former"],
.rym-ecosystem-board[data-active-ecosystem="investir"] [data-node="investir"] {
  border-color: var(--entity, var(--rym-blue));
  box-shadow: 0 22px 50px rgba(11, 30, 67, 0.18);
}

.rym-career-inner-v2::before {
  content: "rymholding.com/emploi";
}

.rym-job-intro {
  align-items: stretch;
}

.rym-job-intro .rym-content-card {
  height: 100%;
}

.rym-native-route-grid,
.rym-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.rym-route-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--rym-line);
  border-left: 5px solid var(--rym-blue);
  border-radius: var(--rym-radius);
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(11, 30, 67, 0.07);
}

.rym-route-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rym-route-card p {
  margin: 0 0 18px;
}

.rym-route-card a {
  margin-top: auto;
}

.rym-scenario-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.rym-scenario-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.rym-scenario-controls button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(63, 118, 181, 0.2);
  border-radius: 50%;
  background: #ffffff;
  color: var(--rym-navy);
  box-shadow: 0 10px 24px rgba(11, 30, 67, 0.08);
  transition: var(--rym-trans);
}

.rym-scenario-controls button:hover {
  border-color: var(--rym-blue);
  background: var(--rym-navy);
  color: #ffffff;
}

.rym-scenario-carousel {
  position: relative;
  overflow: hidden;
  outline: none;
}

.rym-scenario-slide {
  display: none;
  min-height: 640px;
}

.rym-scenario-slide.active {
  display: block;
  animation: rym-scenario-fade 420ms ease both;
}

.rym-scenario-slide .ve-section-tag {
  color: var(--entity, var(--rym-blue));
}

.rym-scenario-slide h3 {
  margin: 14px 0 14px;
  color: var(--rym-navy);
  font-family: var(--rym-font-title);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.02;
}

.rym-scenario-slide .rym-scenario-stage {
  border-top: 5px solid var(--entity, var(--rym-blue));
}

.rym-scenario-slide .rym-scenario-progress::after {
  background: var(--entity, #ffffff);
}

.rym-scenario-flow article {
  border-top: 4px solid var(--entity, var(--rym-blue));
}

.rym-scenario-flow span {
  color: var(--entity, var(--rym-blue));
}

.rym-scenario-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.rym-scenario-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(63, 118, 181, 0.25);
}

.rym-scenario-dots button.active {
  width: 30px;
  border-radius: 999px;
  background: var(--rym-blue);
}

@keyframes rym-scenario-fade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.rym-social-feed-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rym-social-feed-card {
  --network-accent: var(--rym-blue);
  --network-soft: rgba(24, 96, 170, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border-top: 4px solid var(--network-accent);
}

.rym-social-platform-linkedin {
  --network-accent: #0a66c2;
  --network-soft: rgba(10, 102, 194, 0.11);
}

.rym-social-platform-facebook {
  --network-accent: #1877f2;
  --network-soft: rgba(24, 119, 242, 0.11);
}

.rym-social-platform-instagram {
  --network-accent: #e4405f;
  --network-soft: rgba(228, 64, 95, 0.12);
}

.rym-social-platform-youtube {
  --network-accent: #ff0000;
  --network-soft: rgba(255, 0, 0, 0.1);
}

.rym-social-platform-x {
  --network-accent: #111827;
  --network-soft: rgba(17, 24, 39, 0.09);
}

.rym-social-feed-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin-bottom: 16px;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(63, 118, 181, 0.12);
  min-width: 0;
}

.rym-social-feed-head--linkedin {
  --network-accent: #0a66c2;
  --network-soft: rgba(10, 102, 194, 0.11);
}

.rym-social-feed-head--facebook {
  --network-accent: #1877f2;
  --network-soft: rgba(24, 119, 242, 0.11);
}

.rym-social-feed-head--instagram {
  --network-accent: #e4405f;
  --network-soft: rgba(228, 64, 95, 0.12);
}

.rym-social-feed-head--youtube {
  --network-accent: #ff0000;
  --network-soft: rgba(255, 0, 0, 0.1);
}

.rym-social-feed-head--x {
  --network-accent: #111827;
  --network-soft: rgba(17, 24, 39, 0.09);
}

.rym-social-feed-head .rym-social-icon-wrap {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--network-accent);
  box-shadow: 0 8px 18px var(--network-soft);
}

.rym-social-feed-head--instagram .rym-social-icon-wrap {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
}

.rym-social-feed-card .rym-social-feed-head img {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.rym-social-head-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rym-social-feed-head .rym-social-platform {
  color: var(--network-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.rym-social-feed-card .rym-social-feed-head h3 {
  margin: 0;
  color: var(--rym-navy);
  font-size: 17px;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rym-social-feed-head small {
  display: block;
  max-width: 100%;
  color: var(--rym-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rym-social-feed-head .rym-social-handle {
  color: var(--network-accent);
  font-weight: 800;
}

.rym-social-live-list {
  display: grid;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.rym-social-live-list article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 136px;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(63, 118, 181, 0.14);
  border-radius: var(--rym-radius);
  background: #f8fbff;
}

.rym-social-live-list article > img {
  width: 100%;
  height: 72px;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
}

.rym-social-live-list article > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rym-social-live-list strong {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: var(--rym-navy);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rym-social-live-list small {
  display: -webkit-box;
  min-height: 31px;
  margin: 0;
  overflow: hidden;
  color: var(--rym-muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rym-social-live-list a {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--network-accent);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.rym-social-card .rym-social-main-link {
  margin-top: 16px;
  border-color: var(--network-accent);
  background: var(--network-accent);
  color: #fff;
}

@media (max-width: 1399px) {
  .rym-social-feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .rym-native-route-grid,
  .rym-route-grid,
  .rym-social-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-scenario-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rym-scenario-slide {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .rym-native-route-grid,
  .rym-route-grid,
  .rym-social-feed-grid,
  .rym-scenario-flow {
    grid-template-columns: 1fr;
  }

  .rym-scenario-stage {
    min-height: 340px;
  }

  .rym-scenario-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-scenario-slide h3 {
    font-size: 30px;
  }
}

/* Millimetric subsidiary card alignment */
.rym-subsidiary-grid-v2 {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card {
  height: 100%;
}

.rym-subsidiary-grid-v2 .rym-card-body {
  display: grid;
  grid-template-rows: 96px 24px 52px 126px 108px minmax(46px, auto);
  gap: 0;
  height: 100%;
}

.rym-subsidiary-grid-v2 .rym-card-logo-row {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 82px;
  min-height: 82px;
  max-height: 82px;
  margin: 0 0 14px;
  padding: 10px 14px;
}

.rym-subsidiary-grid-v2 .rym-card-logo-row img,
.rym-subsidiary-grid-v2 .rym-dual-logo img {
  width: auto;
  max-width: 230px;
  height: auto !important;
  max-height: 58px;
  object-fit: contain;
}

.rym-sos-logo-stack {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
}

.rym-sos-logo-stack .rym-logo-main {
  max-width: min(210px, calc(100% - 82px));
  max-height: 58px;
}

.rym-sos-logo-stack .rym-logo-secondary-text {
  position: absolute;
  right: 14px;
  bottom: 9px;
  max-width: 92px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.rym-subsidiary-grid-v2 .rym-card-kicker {
  display: flex;
  align-items: center;
  min-height: 20px;
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 18px;
}

.rym-subsidiary-grid-v2 .rym-card-body h3 {
  display: flex;
  align-items: flex-start;
  min-height: 42px;
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.rym-subsidiary-grid-v2 .rym-card-body > p {
  flex: none;
  min-height: 0;
  height: 112px;
  margin: 0 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-height: 1.58;
}

.rym-subsidiary-grid-v2 .rym-case-use {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 92px;
  height: 92px;
  margin: 0 0 18px;
  padding: 14px 14px 12px;
  overflow: hidden;
}

.rym-subsidiary-grid-v2 .rym-case-use strong {
  min-height: 17px;
  line-height: 17px;
}

.rym-subsidiary-grid-v2 .rym-case-use span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.42;
}

.rym-subsidiary-grid-v2 .rym-card-actions {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.rym-subsidiary-grid-v2 .rym-card-actions a {
  min-width: 128px;
  min-height: 44px;
  padding: 10px 14px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .rym-subsidiary-grid-v2 .rym-card-body {
    grid-template-rows: 96px 24px 54px 132px 112px minmax(46px, auto);
  }
}

@media (max-width: 767px) {
  .rym-subsidiary-grid-v2 .rym-card-body {
    display: flex;
    height: auto;
  }

  .rym-subsidiary-grid-v2 .rym-card-logo-row {
    height: 78px;
    min-height: 78px;
  }

  .rym-subsidiary-grid-v2 .rym-card-body h3,
  .rym-subsidiary-grid-v2 .rym-card-body > p,
  .rym-subsidiary-grid-v2 .rym-case-use {
    height: auto;
    min-height: 0;
  }

  .rym-subsidiary-grid-v2 .rym-card-actions {
    margin-top: 16px;
  }
}

/* RYM AI chatbot */
.rym-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--rym-navy);
  color: #ffffff;
  font-size: 25px;
  box-shadow: 0 18px 45px rgba(7, 27, 62, 0.28);
  cursor: pointer;
  transition: var(--rym-trans);
}

.rym-chat-launcher:hover {
  transform: translateY(-4px);
  background: var(--rym-blue);
}

.rym-chat-launcher.hidden {
  display: none;
}

.rym-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: none;
  overflow: hidden;
  width: min(420px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 32px));
  border: 1px solid rgba(63, 118, 181, 0.22);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(7, 27, 62, 0.26);
}

.rym-chat-panel.open {
  display: flex;
  flex-direction: column;
  animation: rym-chat-open 220ms ease both;
}

.rym-chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--rym-navy), var(--rym-blue));
  color: #ffffff;
}

.rym-chat-panel header span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rym-chat-panel header strong {
  display: block;
  font-size: 17px;
}

.rym-chat-panel header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.rym-chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  max-height: 360px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fbff;
}

.rym-chat-message {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 14px;
  color: var(--rym-navy);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 30, 67, 0.07);
  font-size: 14px;
  line-height: 1.45;
}

.rym-chat-message.user {
  align-self: flex-end;
  background: var(--rym-navy);
  color: #ffffff;
}

.rym-chat-message.loading {
  color: var(--rym-muted);
  font-style: italic;
}

.rym-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.rym-chat-actions a,
.rym-chat-quick button,
.rym-chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(63, 118, 181, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rym-navy);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.rym-chat-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px;
  border-top: 1px solid rgba(63, 118, 181, 0.12);
  background: #ffffff;
}

.rym-chat-quick button {
  flex: 0 0 auto;
  cursor: pointer;
}

.rym-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(63, 118, 181, 0.12);
  background: #ffffff;
}

.rym-chat-form input {
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(63, 118, 181, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--rym-navy);
}

.rym-chat-form button {
  min-height: 42px;
  border-color: var(--rym-blue);
  background: var(--rym-blue);
  color: #ffffff;
  cursor: pointer;
}

.rym-chat-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(63, 118, 181, 0.18);
  border-radius: 16px;
  background: #ffffff;
}

.rym-chat-lead-form label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--rym-muted);
  font-size: 11px;
  font-weight: 800;
}

.rym-chat-lead-form input,
.rym-chat-lead-form select,
.rym-chat-lead-form textarea {
  width: 100%;
  border: 1px solid rgba(63, 118, 181, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--rym-navy);
  font-size: 13px;
}

.rym-chat-lead-form .wide,
.rym-chat-lead-form button {
  grid-column: 1 / -1;
}

.rym-chat-lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.rym-chat-lead-form .consent input {
  width: auto;
  margin-top: 2px;
}

.rym-chat-lead-form button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--rym-blue);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.rym-chat-privacy {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--rym-muted);
  background: #ffffff;
  font-size: 11px;
  line-height: 1.35;
}

@keyframes rym-chat-open {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575px) {
  .rym-chat-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .rym-chat-launcher {
    right: 16px;
    bottom: 16px;
  }

  .rym-chat-lead-form {
    grid-template-columns: 1fr;
  }
}

/* V12 - balanced grids, readable case blocks and WhatsApp contact module */
.rym-subsidiary-grid-v2 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rym-subsidiary-grid-v2 .rym-subsidiary-card > picture img,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(1) img,
.rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(3) img {
  height: 184px;
}

.rym-subsidiary-grid-v2 .rym-card-body {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 20px;
}

.rym-subsidiary-grid-v2 .rym-card-logo-row {
  flex: 0 0 82px;
  height: 82px;
  min-height: 82px;
  margin: 0 0 12px;
}

.rym-subsidiary-grid-v2 .rym-card-logo-row img,
.rym-subsidiary-grid-v2 .rym-dual-logo img {
  max-width: 100%;
  max-height: 54px;
}

.rym-sos-logo-stack .rym-logo-main {
  max-width: min(178px, calc(100% - 72px));
  max-height: 54px;
}

.rym-sos-logo-stack .rym-logo-secondary-text {
  right: 12px;
  bottom: 10px;
  max-width: 76px;
  font-size: 9px;
}

.rym-subsidiary-grid-v2 .rym-card-kicker {
  flex: 0 0 24px;
  min-height: 24px;
  margin: 0;
}

.rym-subsidiary-grid-v2 .rym-card-body h3 {
  flex: 0 0 auto;
  min-height: 48px;
  margin: 0 0 10px;
  font-size: 21px;
}

.rym-subsidiary-grid-v2 .rym-card-body > p {
  display: block;
  height: auto;
  min-height: 132px;
  margin: 0 0 14px;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

.rym-subsidiary-grid-v2 .rym-case-use {
  height: auto;
  min-height: 136px;
  margin: 0 0 16px;
  padding: 13px 13px 12px;
  overflow: visible;
}

.rym-subsidiary-grid-v2 .rym-case-use span {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
  font-size: 12.5px;
  line-height: 1.42;
}

.rym-subsidiary-grid-v2 .rym-card-actions {
  margin-top: auto;
}

.rym-subsidiary-grid-v2 .rym-card-actions a {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 11px;
  text-align: center;
}

@media (min-width: 1200px) {
  .rym-subsidiary-grid-v2 .rym-subsidiary-card {
    flex: 0 1 calc((100% - 54px) / 4);
    max-width: calc((100% - 54px) / 4);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rym-subsidiary-grid-v2 .rym-subsidiary-card {
    flex: 0 1 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 767px) {
  .rym-subsidiary-grid-v2 .rym-subsidiary-card {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .rym-subsidiary-grid-v2 .rym-card-body > p,
  .rym-subsidiary-grid-v2 .rym-case-use {
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .rym-social-feed-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rym-social-feed-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .rym-social-feed-card {
    grid-column: span 2;
  }

  .rym-social-feed-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .rym-social-feed-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 767px) {
  .rym-social-feed-grid {
    grid-template-columns: 1fr !important;
  }
}

.rym-social-feed-card {
  min-height: 100%;
}

.rym-social-directory {
  display: grid;
  gap: 18px;
}

@media (min-width: 992px) {
  .rym-social-directory {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .rym-social-directory article:nth-child(-n + 4) {
    grid-column: span 3;
  }

  .rym-social-directory article:nth-child(n + 5) {
    grid-column: span 4;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .rym-social-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rym-social-directory article:nth-child(7) {
    width: calc((100% - 18px) / 2);
    justify-self: center;
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .rym-social-directory {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 992px) {
  .rym-documents-section .row {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.55fr);
    gap: 34px;
  }

  .rym-documents-section .col-lg-5,
  .rym-documents-section .col-lg-7 {
    width: auto;
    max-width: none;
    flex: none;
  }
}

.rym-doc-grid-v2 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rym-doc-grid-v2 a {
  flex: 0 1 calc((100% - 24px) / 3);
  max-width: calc((100% - 24px) / 3);
  min-width: 0;
}

@media (max-width: 991px) {
  .rym-doc-grid-v2 a {
    flex-basis: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 575px) {
  .rym-doc-grid-v2 a {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.rym-chat-logo {
  flex: 0 0 auto;
  width: 82px;
  max-width: 26%;
  height: 34px;
  object-fit: contain;
}

.rym-chat-panel header div {
  min-width: 0;
  flex: 1;
}

.rym-chat-channel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
  background: #ffffff;
}

.rym-chat-channel-tabs button {
  min-height: 38px;
  border: 1px solid rgba(63, 118, 181, 0.18);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--rym-navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.rym-chat-channel-tabs button.active {
  border-color: var(--rym-blue);
  background: var(--rym-navy);
  color: #ffffff;
}

.rym-chat-actions button.rym-chat-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: 999px;
  background: #25d366;
  color: #062412;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.rym-chat-whatsapp-box {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 16px;
  background: #f1fff6;
  color: var(--rym-navy);
}

.rym-chat-whatsapp-box strong {
  font-size: 14px;
}

.rym-chat-whatsapp-box p {
  margin: 0;
  color: var(--rym-muted);
  font-size: 12px;
  line-height: 1.4;
}

.rym-chat-whatsapp-box label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--rym-navy);
  font-size: 12px;
  line-height: 1.35;
}

.rym-chat-whatsapp-box input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.rym-chat-whatsapp-box button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #062412;
  font-weight: 900;
  cursor: pointer;
}

/* V12 - mathematically balanced 3D ecosystem orbit */
.rym-ecosystem-board[data-orbit-system] {
  --orbit-radius: 258px;
  --orbit-ratio-y: 0.82;
  --orbit-perspective: 920px;
  min-height: 690px;
  overflow: visible;
  perspective: var(--orbit-perspective);
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.98) 0 19%, rgba(240,247,253,0.95) 20% 100%),
    repeating-radial-gradient(ellipse at center, transparent 0 118px, rgba(63, 118, 181, 0.14) 119px 120px);
}

.rym-ecosystem-board[data-orbit-system]::before {
  inset: 8%;
  border-style: solid;
  opacity: 0.8;
}

.rym-ecosystem-board[data-orbit-system]::after {
  inset: 23%;
  opacity: 0.7;
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-center {
  left: 50%;
  top: 50%;
  z-index: 80;
  transform: translate(-50%, -50%) translateZ(28px);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: 148px;
  min-height: 108px;
  will-change: transform;
  animation: none;
  transform: translate(-50%, -50%);
}

.rym-ecosystem-board[data-orbit-system]:hover .rym-ecosystem-node,
.rym-ecosystem-board[data-orbit-system].is-paused .rym-ecosystem-node {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="renover"] [data-node="renover"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="assurer"] [data-node="assurer"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="sinistre"] [data-node="sinistre"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="financer"] [data-node="financer"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="entretenir"] [data-node="entretenir"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="former"] [data-node="former"],
.rym-ecosystem-board[data-orbit-system][data-active-ecosystem="investir"] [data-node="investir"] {
  border-color: var(--entity, var(--rym-blue));
}

@media (max-width: 1199px) {
  .rym-ecosystem-board[data-orbit-system] {
    --orbit-radius: 188px;
    min-height: 640px;
  }

  .rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node {
    width: 132px;
    min-height: 98px;
    padding: 12px;
  }
}

@media (max-width: 767px) {
  .rym-ecosystem-board[data-orbit-system] {
    min-height: auto;
    overflow: hidden;
    perspective: none;
  }

  .rym-ecosystem-board[data-orbit-system] .rym-ecosystem-center,
.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node {
    left: auto;
    top: auto;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* V12b - final grid balance requested by client */
@media (min-width: 1200px) {
  .rym-subsidiary-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card {
    max-width: none;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(-n + 4) {
    grid-column: span 3;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(n + 5) {
    grid-column: span 4;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rym-subsidiary-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card {
    max-width: none;
  }

  .rym-subsidiary-grid-v2 .rym-subsidiary-card:nth-child(7) {
    width: calc((100% - 18px) / 2);
    justify-self: center;
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .rym-subsidiary-grid-v2 {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}

.rym-subsidiary-grid-v2 .rym-card-actions {
  display: grid;
  grid-template-columns: minmax(112px, 1.2fr) minmax(86px, 0.8fr);
  gap: 8px;
  width: 100%;
}

.rym-subsidiary-grid-v2 .rym-card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 10px 8px;
  overflow: visible;
  line-height: 1.12;
  white-space: nowrap;
}

.rym-subsidiary-grid-v2 .rym-card-actions a i {
  flex: 0 0 auto;
  margin-left: 2px;
}

.rym-doc-grid-v2 {
  justify-content: center;
}

@media (min-width: 1200px) {
  .rym-doc-grid-v2 a {
    flex-basis: calc((100% - 36px) / 4);
    max-width: calc((100% - 36px) / 4);
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  .rym-doc-grid-v2 a {
    flex-basis: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 575px) {
  .rym-doc-grid-v2 a {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.rym-whatsapp-link .fa-whatsapp,
.rym-contact-card-strong .fa-whatsapp,
.ve-footer-contact .fa-whatsapp {
  color: #25d366;
}

/* V12d - final typography, orbit, brochures and chat polish */
.rym-balanced-title {
  display: block;
  max-width: 100%;
  text-wrap: normal;
}

.rym-balanced-title span {
  display: block;
  white-space: nowrap;
}

.rym-group-section .rym-left-header h2.rym-balanced-title {
  max-width: 560px;
  font-size: clamp(32px, 3.25vw, 44px);
  line-height: 1.05;
}

.rym-documents-section .rym-left-header h2.rym-balanced-title {
  max-width: 420px;
  font-size: clamp(34px, 3.15vw, 42px);
  line-height: 1.06;
}

.rym-documents-section .rym-left-header p {
  max-width: 410px;
}

@media (min-width: 992px) {
  .rym-documents-section .row {
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.75fr);
    gap: 28px;
  }
}

.rym-subsidiary-grid-v2 .rym-card-kicker {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  font-size: 10.8px;
}

.rym-subsidiary-grid-v2 .rym-entity-proxi .rym-card-kicker {
  font-size: 9.7px;
  letter-spacing: -0.01em;
}

.rym-subsidiary-grid-v2 .rym-entity-proxi .rym-card-body h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rym-doc-grid-v2 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  justify-content: stretch;
  align-items: stretch;
}

.rym-doc-grid-v2 a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta action"
    "title action";
  align-items: center;
  gap: 4px 8px;
  width: 100%;
  max-width: none !important;
  min-height: 88px;
  padding: 15px 12px;
  border-left-width: 4px;
}

.rym-doc-grid-v2 a span {
  align-self: end;
  white-space: nowrap;
  font-size: 9.5px;
  line-height: 1.1;
}

.rym-doc-grid-v2 a strong {
  align-self: start;
  min-width: 0;
  overflow: visible;
  color: var(--rym-navy);
  font-size: 12.2px;
  line-height: 1.15;
  text-overflow: clip;
  white-space: nowrap;
}

.rym-doc-grid-v2 a em {
  justify-self: end;
  align-self: center;
  width: auto;
  color: var(--rym-muted);
  font-size: 10.5px;
  line-height: 1;
  text-align: right;
}

@media (max-width: 1199px) {
  .rym-doc-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .rym-balanced-title span {
    white-space: normal;
  }

  .rym-doc-grid-v2 {
    grid-template-columns: 1fr;
  }
}

.rym-ecosystem-board[data-orbit-system] {
  overflow: visible;
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 140;
  animation: none !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node.is-highlighted {
  border-color: var(--entity, var(--rym-blue)) !important;
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node.is-highlighted::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid var(--entity, var(--rym-blue));
  border-radius: 16px;
  pointer-events: none;
  animation: rym-orbit-highlight-ring 1.4s ease-out;
}

@keyframes rym-orbit-highlight-ring {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  22% {
    opacity: 0.72;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-center {
  z-index: 80;
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(1) {
  transform: translate(-50%, -50%) translate3d(0, -226px, 0) scale(0.98);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(2) {
  transform: translate(-50%, -50%) translate3d(219px, -141px, 0) scale(0.98);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(3) {
  transform: translate(-50%, -50%) translate3d(273px, 50px, 0) scale(1);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(4) {
  transform: translate(-50%, -50%) translate3d(122px, 203px, 0) scale(1);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(5) {
  transform: translate(-50%, -50%) translate3d(-122px, 203px, 0) scale(1);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(6) {
  transform: translate(-50%, -50%) translate3d(-273px, 50px, 0) scale(1);
}

.rym-ecosystem-board[data-orbit-system] .rym-ecosystem-node:nth-of-type(7) {
  transform: translate(-50%, -50%) translate3d(-219px, -141px, 0) scale(0.98);
}

/* Ecosystem Design 2 - transparent glossy filial cards. Set data-ecosystem-style="design-1" to use the original cards. */
.rym-ecosystem-board[data-ecosystem-style="design-2"] {
  perspective: 1200px;
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--entity, var(--rym-blue)) 34%, rgba(255,255,255,0.38));
  border-top-color: var(--entity, var(--rym-blue));
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--entity, var(--rym-blue)) 10%, transparent) 0%,
      rgba(255,255,255,0.055) 42%,
      color-mix(in srgb, var(--entity, var(--rym-blue)) 5%, transparent) 100%);
  box-shadow:
    0 20px 42px rgba(10, 37, 77, 0.16),
    0 6px 14px rgba(10, 37, 77, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.46),
    inset 0 -18px 32px color-mix(in srgb, var(--entity, var(--rym-blue)) 7%, transparent);
  backdrop-filter: blur(7px) saturate(1.14);
  -webkit-backdrop-filter: blur(7px) saturate(1.14);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.025) 38%, rgba(255,255,255,0) 58%),
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.32), rgba(255,255,255,0) 34%);
  opacity: 0.62;
  pointer-events: none;
  mix-blend-mode: screen;
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node img,
.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node strong {
  position: relative;
  z-index: 1;
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node img {
  filter: drop-shadow(0 6px 10px rgba(10, 37, 77, 0.1));
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node strong {
  color: #071d44;
  text-shadow: 0 1px 0 rgba(255,255,255,0.42);
}

.rym-ecosystem-board[data-ecosystem-style="design-2"] .rym-ecosystem-node.is-highlighted {
  box-shadow:
    0 26px 58px rgba(10, 37, 77, 0.2),
    0 0 0 1px color-mix(in srgb, var(--entity, var(--rym-blue)) 56%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

.rym-chat-launcher {
  right: 24px;
  bottom: 96px;
  overflow: visible;
}

#scrollUp,
.scrollUp {
  right: 22px !important;
  bottom: 22px !important;
}

.rym-chat-whatsapp-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(3, 32, 18, 0.22);
}

.rym-chat-panel header span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 1.25;
}

.rym-chat-whatsapp-flow {
  display: grid;
  gap: 12px;
  border-color: rgba(37, 211, 102, 0.35);
  background: #f0fff6;
}

.rym-chat-whatsapp-flow > p {
  margin: 0;
  color: #35516e;
  font-size: 13px;
  line-height: 1.45;
}

.rym-whatsapp-choice-grid,
.rym-whatsapp-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rym-whatsapp-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 64, 126, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--rym-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.rym-whatsapp-choice.active {
  border-color: #25d366;
  background: #25d366;
  color: #062412;
}

.rym-whatsapp-detail-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(15, 64, 126, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.rym-whatsapp-detail-panel > span,
.rym-whatsapp-note,
.rym-whatsapp-consent {
  color: #35516e;
  font-size: 12.5px;
  line-height: 1.35;
}

.rym-whatsapp-note {
  display: grid;
  gap: 7px;
  margin: 0;
  font-weight: 800;
}

.rym-whatsapp-note textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid rgba(15, 64, 126, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--rym-navy);
  font: inherit;
  font-weight: 500;
}

.rym-whatsapp-preview {
  padding: 10px 12px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 14px;
  background: #fff;
  color: var(--rym-navy);
  font-size: 12px;
  line-height: 1.45;
}

.rym-whatsapp-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
}

.rym-whatsapp-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.25);
}

@media (max-width: 575px) {
  .rym-chat-launcher {
    right: 18px;
    bottom: 90px;
  }

  .rym-chat-panel {
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 24px);
  }
}

/* V12c - cartography left-column composition */
.rym-ecosystem-section .rym-left-header {
  max-width: 510px;
}

.rym-ecosystem-section .rym-left-header h2 {
  max-width: 510px;
  font-size: clamp(36px, 3.55vw, 50px);
  line-height: 1.08;
  text-wrap: normal;
}

.rym-ecosystem-section .rym-left-header h2 span {
  display: inline-block;
  white-space: nowrap;
}

.rym-ecosystem-section .rym-left-header p {
  max-width: 510px;
}

.rym-ecosystem-tabs {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  max-width: 510px;
  margin-top: 26px;
  align-items: stretch;
}

.rym-ecosystem-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: span 2;
  min-height: 46px;
  min-width: 0;
  overflow: visible;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
}

.rym-ecosystem-tabs button[data-ecosystem="sinistre"],
.rym-ecosystem-tabs button.rym-long-label {
  flex-direction: column;
  gap: 1px;
  white-space: normal;
  line-height: 1.08;
  padding-inline: 12px;
}

.rym-ecosystem-tabs button.rym-long-label span {
  display: block;
  width: auto;
  white-space: nowrap;
}

.rym-ecosystem-tabs button:nth-child(5) {
  grid-column: 2 / span 2;
}

.rym-ecosystem-tabs button:nth-child(6) {
  grid-column: 4 / span 2;
}

.rym-ecosystem-tabs button:nth-child(7) {
  grid-column: 6 / span 2;
}

.rym-ecosystem-selection {
  max-width: 510px;
}

@media (max-width: 1199px) {
  .rym-ecosystem-section .rym-left-header,
  .rym-ecosystem-section .rym-left-header h2,
  .rym-ecosystem-section .rym-left-header p,
  .rym-ecosystem-tabs,
  .rym-ecosystem-selection {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .rym-ecosystem-section .rym-left-header h2 {
    font-size: 34px;
  }

  .rym-ecosystem-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rym-ecosystem-tabs button,
  .rym-ecosystem-tabs button:nth-child(5),
  .rym-ecosystem-tabs button:nth-child(6),
  .rym-ecosystem-tabs button:nth-child(7) {
    grid-column: auto;
  }

  .rym-ecosystem-tabs button:nth-child(7) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 12px) / 2);
  }
}

/* V12e - stable group columns and contact/footer coordinates */
@media (min-width: 992px) {
  .rym-group-section .row.align-items-center {
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    column-gap: 76px;
    align-items: start !important;
  }

  .rym-group-section .row.align-items-center > [class*="col-"] {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: initial;
  }
}

.rym-group-section .rym-left-header {
  max-width: 430px;
}

.rym-group-section .rym-left-header h2.rym-balanced-title {
  max-width: 430px;
  margin: 0;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1.06;
  overflow-wrap: normal;
}

.rym-group-section .rym-group-balanced-title span {
  white-space: normal;
}

.rym-group-section .rym-lead {
  max-width: 780px;
  padding-top: 10px;
}

/* V12f - keep the group title compact without column overlap */
@media (min-width: 1200px) {
  .rym-group-section .row.align-items-center {
    grid-template-columns: minmax(540px, 560px) minmax(0, 1fr);
    column-gap: 64px;
  }

  .rym-group-section .rym-left-header,
  .rym-group-section .rym-left-header h2.rym-balanced-title {
    max-width: 560px;
  }

  .rym-group-section .rym-left-header h2.rym-balanced-title {
    font-size: clamp(36px, 3vw, 40px);
    line-height: 1.07;
  }

  .rym-group-section .rym-group-balanced-title span {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .rym-group-section .row.align-items-center {
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1fr);
    column-gap: 48px;
  }

  .rym-group-section .rym-left-header,
  .rym-group-section .rym-left-header h2.rym-balanced-title {
    max-width: 500px;
  }

  .rym-group-section .rym-left-header h2.rym-balanced-title {
    font-size: clamp(30px, 3vw, 36px);
  }
}

.rym-contact-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}

.rym-contact-coordinate-lines {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.rym-contact-coordinate-lines .rym-text-link,
.rym-contact-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transform: none !important;
}

.rym-contact-coordinate-lines .rym-text-link:hover,
.rym-contact-coordinate-lines .rym-text-link:focus-visible {
  color: var(--rym-blue);
  transform: none !important;
}

.rym-contact-line span,
.rym-contact-line strong {
  white-space: nowrap;
}

.rym-contact-line i,
.ve-footer-contact i {
  flex: 0 0 auto;
}

.rym-email-link i,
.rym-footer-email i {
  color: var(--rym-blue);
}

.ve-footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ve-footer-contact li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-bottom: 0;
  line-height: 1.45;
}

.ve-footer-contact .rym-footer-fixed-phone,
.ve-footer-contact .rym-footer-phone,
.ve-footer-contact .rym-footer-email {
  align-items: center;
}

.rym-footer-icon-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 34px;
}

.rym-footer-fixed-phone a,
.rym-footer-phone a,
.rym-footer-email a,
.rym-footer-siret {
  white-space: nowrap;
}

.rym-footer-siret {
  display: block !important;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .rym-group-section .rym-left-header,
  .rym-group-section .rym-left-header h2.rym-balanced-title,
  .rym-group-section .rym-lead {
    max-width: 100%;
  }

  .rym-group-section .rym-lead {
    padding-top: 0;
  }
}

/* V12g - hero editorial alignment */
.rym-hero-v2 .rym-hero-content > p {
  max-width: 760px;
  text-align: justify;
  text-align-last: left;
  line-height: 1.55;
  hyphens: none;
}

@media (max-width: 768px) {
  .rym-hero-v2 .rym-hero-content > p {
    text-align: left;
    text-align-last: left;
  }
}

@media (max-width: 575px) {
  .rym-contact-coordinate-lines .rym-text-link,
  .rym-contact-line {
    width: 100%;
  }
}

/* V12h - subsidiary logo centering */
.rym-subsidiary-grid-v2 .rym-card-logo-row {
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
}

.rym-subsidiary-grid-v2 .rym-card-logo-row img,
.rym-subsidiary-grid-v2 .rym-dual-logo img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto !important;
  max-width: 90%;
  max-height: 64px;
  margin: 0 auto;
  object-fit: contain;
}

.rym-subsidiary-grid-v2 .rym-sos-logo-stack {
  justify-content: center !important;
}

/* V13 - mobile containment after references and SEO cleanup */
@media (max-width: 575px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .row > [class*="col-"] {
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .rym-hero-v2 .rym-hero-content {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .rym-hero-v2 h1 {
    width: 100%;
    max-width: 330px;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .rym-hero-v2 .rym-hero-content > p {
    width: 100%;
    max-width: 330px;
    font-size: 16px;
    line-height: 1.56;
    overflow-wrap: anywhere;
  }

  .rym-trust-bar .ve-trust-inner {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: calc(100% - 24px);
    padding: 8px;
    box-sizing: border-box;
  }

  .rym-trust-bar span {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .rym-reference-body h3,
  .rym-social-feed-card h3,
  .rym-doc-grid-v2 strong,
  .rym-footer-title {
    overflow-wrap: anywhere;
  }

  .ve-section p,
  .ve-section-header p,
  .rym-group-section .rym-lead {
    width: 100%;
    max-width: 330px;
    overflow-wrap: anywhere;
  }
}

.rym-subsidiary-grid-v2 .rym-sos-logo-stack .rym-logo-main {
  max-width: min(205px, calc(100% - 86px));
  margin: 0 auto;
}
