/* Riviera Mood Core 1.0.5 - rules that Elementor 4 Global Classes cannot hold.
   Everything else lives in the Elementor Global Classes (vd-*) and Variables. */

/* base page */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #17110D; color: #F4EDE2; font-family: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.vd-skip { position: absolute; left: -9999px; }
.vd-skip:focus { left: 16px; top: 16px; z-index: 200; background: #B8946A; color: #17110D; padding: 12px 16px; }

/* focus: keyboard only (Elementor classes turn :focus-visible into :focus) */
.vd-btn-primary:focus:not(:focus-visible), .vd-btn-secondary:focus:not(:focus-visible), .vd-link:focus:not(:focus-visible),
.vd-nav-link:focus:not(:focus-visible), .vd-menu-link:focus:not(:focus-visible), .vd-choice:focus:not(:focus-visible),
.vd-ucard:focus:not(:focus-visible), .vd-post-link:focus:not(:focus-visible) { outline: none; }

/* disabled button */
.vd-btn-primary:disabled { background: #3A2E26; border-color: #3A2E26; color: #A99D8F; cursor: not-allowed; }

/* film grain */
.vd-grain { position: fixed; inset: 0; z-index: 140; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* keyframes used by the classes */
@keyframes vd-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes vd-word-up { to { transform: none; } }
@keyframes vd-draw { to { stroke-dashoffset: 0; } }
.vd-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.vd-word-inner { display: inline-block; transform: translateY(105%); animation: vd-word-up 900ms cubic-bezier(0.16,1,0.3,1) forwards; }

/* header: the full menu needs about 1190px, so it folds to the burger below 1200 */
@media (max-width: 1199px) {
  .vd-header-nav { display: none !important; }
  .vd-burger { display: inline-flex !important; }
}

/* home chapters stack as full-screen scenes only where they surely fit */
@media (min-width: 1025px) and (min-height: 720px) {
  body .elementor .vd-chapter { position: sticky; top: 0; }   /* beats Elementor's .elementor .vd-chapter { position:relative } */
}

/* FR / EN switch ([rm_lang] via Elementor shortcode tag - classes are stripped, so style by structure) */
.vd-header-lang > span { display: inline-flex; align-items: center; gap: 12px; }
.vd-header-lang > span > span { color: #F4EDE2; font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.vd-header-lang a { color: #A99D8F; font-size: 13px; letter-spacing: .12em; text-decoration: none; transition: color 150ms; }
.vd-header-lang a:hover { color: #DCC6A2; }
.vd-header-lang a:focus-visible { outline: 2px solid #DCC6A2; outline-offset: 4px; }

/* the logo's wave: drawn into any .vd-wave block by rm-motion.js */
.vd-wave svg { display: block; width: 100%; height: 100%; }
.vd-wave .vd-wave-path { fill: none; stroke: #B8946A; stroke-width: 1.25; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: vd-draw 2000ms cubic-bezier(0.65,0,0.35,1) 600ms forwards; }

/* mobile menu: closed until opened (no flash before JS runs) */
body .vd-menu:not(.vd-menu-open) { display: none !important; }

/* current page in the menus (marked by rm-motion.js) */
.vd-nav-link.is-current { color: #B8946A; border-bottom-color: #B8946A; }
.vd-menu-link.is-current { color: #B8946A; border-bottom-color: #B8946A; padding-left: 12px; }

/* FAQ (native details) */
.vd-faq-q::-webkit-details-marker { display: none; }

/* reduced motion: nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vd-hero-bg { animation: none !important; }
  .vd-word-inner { animation: none !important; transform: none !important; }
  .vd-wave .vd-wave-path { animation: none !important; stroke-dashoffset: 0 !important; }
  body .elementor .vd-chapter { position: relative !important; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}


/* ---------- article body: the Post Content widget inside the .vd-prose block, styled by structure ---------- */
.vd-prose .elementor-widget-theme-post-content { font-family: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif; font-size: 19px; line-height: 1.75; color: #17110D; }
.vd-prose .elementor-widget-theme-post-content p { margin: 0 0 24px; }
.vd-prose .elementor-widget-theme-post-content :is(.elementor-widget-container, .elementor-widget-theme-post-content) > p:first-child,
.vd-prose .elementor-widget-theme-post-content > p:first-child { margin-bottom: 40px; font-family: "Noto Serif Display", Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.5; }
.vd-prose .elementor-widget-theme-post-content h2 { margin: 64px 0 24px; font-family: "Noto Serif Display", Georgia, serif; font-weight: 300; font-size: 40px; line-height: 1.15; color: #17110D; }
.vd-prose .elementor-widget-theme-post-content h3 { margin: 40px 0 16px; font-family: "Noto Serif Display", Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.3; color: #17110D; }
.vd-prose .elementor-widget-theme-post-content :is(ul, ol) { margin: 0 0 24px; padding-left: 24px; }
.vd-prose .elementor-widget-theme-post-content li { margin-bottom: 8px; }
.vd-prose .elementor-widget-theme-post-content blockquote { margin: 48px 0; padding: 0 0 0 32px; border-left: 1px solid #B8946A; font-family: "Noto Serif Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 1.35; }
.vd-prose .elementor-widget-theme-post-content blockquote p { margin: 0; font-size: inherit; }
.vd-prose .elementor-widget-theme-post-content figure { margin: 48px 0; }
.vd-prose .elementor-widget-theme-post-content img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.vd-prose .elementor-widget-theme-post-content figcaption { margin-top: 12px; font-size: 15px; color: #5E5249; }
.vd-prose .elementor-widget-theme-post-content a { color: #17110D; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #B8946A; }
.vd-prose .elementor-widget-theme-post-content a:hover { text-decoration-color: #17110D; }
@media (max-width: 767px) {
  .vd-prose .elementor-widget-theme-post-content { font-size: 18px; }
  .vd-prose .elementor-widget-theme-post-content > p:first-child { font-size: 20px; }
  .vd-prose .elementor-widget-theme-post-content h2 { font-size: 30px; }
  .vd-prose .elementor-widget-theme-post-content blockquote { font-size: 24px; padding-left: 24px; }
}

/* ===================== 1.0.5 - UI audit fixes (measured against the approved HTML design) ===================== */

/* A. Elementor's default 10px padding on blocks the design does not pad */
body .elementor .e-collection-loop-base, body .elementor .vd-posts, body .elementor .vd-posts > *,
body .elementor [data-element_type="e-collection-loop"], body .elementor [data-element_type="e-collection-loop-item"],
body .elementor .vd-faq-item > [data-element_type="e-accordion-item-content"],
body .elementor .vd-faq-q > [data-element_type="e-accordion-item-title"],
body .elementor .vd-footer-bottom, body .elementor .vd-prose, body .elementor :has(> .vd-prose) { padding-left: 0; padding-right: 0; }
body .elementor .vd-posts { column-gap: 32px; row-gap: 48px; }
@media (max-width: 767px) { body .elementor .vd-posts { row-gap: 40px; } }
body .elementor .vd-footer-bottom { padding-bottom: 0; }
body .elementor [data-element_type="e-collection-loop"], body .elementor [data-element_type="e-collection-loop-item"] { padding: 0; }
body .elementor .vd-contact-item { padding: 0 0 24px; }

/* B. line heights: the design lets these inherit the 1.65 body leading */
body .elementor :is(.vd-step-title, .vd-member-name, .vd-label, .vd-footer-heading) { line-height: 1.65; }
/* inline links: the design's <a> boxes are content height + 8px padding */
body .elementor :is(.vd-link, .vd-link-on-light) { display: inline-block; align-self: flex-start; }
body .elementor :is(.vd-chapter-body, .vd-chapter-body-flip, .vd-split-body, .vd-split-body-flip) > .vd-link { line-height: 1.3; }
body .elementor .vd-nav-link { line-height: 18px; }

/* C. full-width sections stack their children (Elementor makes them a row) */
body .elementor section:is(.vd-section, .vd-section-surface, .vd-section-light) { flex-direction: column; }

/* D. FAQ: the design's round + / x icon, answer spacing */
body .elementor .vd-faq-q { list-style: none; }
body .elementor .vd-faq-q::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid #B8946A; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; color: #B8946A; font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 18px; line-height: 1; transition: transform 250ms cubic-bezier(0.16,1,0.3,1); }
body .elementor .vd-faq-item[open] > .vd-faq-q::after { transform: rotate(45deg); }
body .elementor .vd-faq-q > [data-element_type="e-accordion-item-title"] { flex: 1 1 auto; }

/* E. footer */
body .elementor .vd-footer-link { align-self: flex-start; }
body .elementor .vd-footer-list > .vd-footer-link { line-height: 28px; }
body .elementor .vd-footer-small { gap: 0; }
body .elementor .vd-footer-small .vd-footer-link + .vd-footer-link { margin-left: 9px; }

/* F. enquiry note */
body .elementor .vd-note-link { font-size: 15px; line-height: 1.65; }

/* G. article head: centred breadcrumb + meta, share row */
body .elementor .vd-article-head-inner > .vd-breadcrumb { align-self: center; width: auto; justify-content: center; }
body .elementor .vd-article-head-inner > .vd-meta { align-self: center; width: auto; }
.vd-share-row { max-width: 760px; margin: 64px auto 0; padding-top: 24px; border-top: 1px solid #D8CDBD; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.vd-share-row > span:first-child { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #5E5249; }
.vd-share-row a { color: #17110D; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 8px 0;
  background-image: linear-gradient(currentColor,currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 100% 100%;
  transition: background-size 400ms cubic-bezier(0.65,0,0.35,1); }
.vd-share-row a:hover { background-size: 0 1px; }
.vd-share-row a:focus-visible { outline: 2px solid #17110D; outline-offset: 4px; }
/* the shortcode sits in a paragraph widget: let the row take the full width */
body .elementor :is(p, span):has(> .vd-share-row) { width: 100%; }

/* H. phone: photos do not scale past their frame */
@media (max-width: 767px) {
  body .elementor .vd-split-img { transform: none !important; }
  body .elementor .vd-article-cover-img { transform: none !important; aspect-ratio: 4 / 3; }
}

/* I. journal: current tab, featured first post */
body .elementor .vd-tab.is-current { background: #17110D; border-color: #17110D; color: #F4EDE2; }
body .elementor .vd-tab.is-current a { color: #F4EDE2; }
@media (min-width: 768px) {
  body.rm-journal-first .vd-posts > :first-child { grid-column: 1 / -1; margin-bottom: 48px; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-link { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 16px; align-items: center; align-content: center; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-frame { grid-column: 1 / span 7; grid-row: 1 / span 4; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-img { aspect-ratio: 3 / 2; height: auto; }
  body.rm-journal-first .vd-posts > :first-child :is(.vd-meta-on-light, .vd-post-title, .vd-post-excerpt) { grid-column: 9 / span 4; margin: 0; }
  body.rm-journal-first .vd-posts > :first-child .vd-meta-on-light { align-self: end; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-excerpt { align-self: start; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-title { font-style: italic; font-weight: 400; font-size: 56px; line-height: 1.1; text-transform: none; letter-spacing: 0;
    display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; max-height: none; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-excerpt::after { content: "Lire l'article"; display: inline-block; margin-top: 16px; padding: 8px 0;
    color: #17110D; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    background-image: linear-gradient(currentColor,currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 100% 100%;
    transition: background-size 400ms cubic-bezier(0.65,0,0.35,1); }
  html[lang^="en"] body.rm-journal-first .vd-posts > :first-child .vd-post-excerpt::after { content: "Read the article"; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-link:hover .vd-post-excerpt::after { background-size: 0 1px; }
  body.rm-journal-first .vd-posts > :first-child .vd-post-excerpt { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.rm-journal-first .vd-posts > :first-child :is(.vd-post-frame, .vd-meta-on-light, .vd-post-title, .vd-post-excerpt) { grid-column: 1 / span 12; grid-row: auto; }
}

/* J. header: each side spreads, so the menus hug the logo as designed */
body .elementor :is(.vd-header-side, .vd-header-side-end) { justify-content: space-between; }

/* burger: 44px square, thin border, two 18px lines */
body .elementor .vd-burger { width: 44px; height: 44px; min-width: 44px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  border: 1px solid #3A2E26; border-radius: 4px; background: transparent; cursor: pointer; }
body .elementor .vd-burger .vd-burger-line { display: block; width: 18px; min-width: 0; height: 1px; padding: 0; background: #F4EDE2; }

/* K. forms: native checkbox in bronze, label details */
body .elementor .vd-check-box { -webkit-appearance: auto; appearance: auto; flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; padding: 0; border: 0; accent-color: #B8946A; }
body .elementor .vd-label em, body .elementor .vd-check label em { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: #A99D8F; }
body .elementor .vd-label span { color: #B8946A; }
body .elementor .vd-check { gap: 12px; align-items: flex-start; }
body .elementor .vd-check label { font-size: 15px; line-height: 1.65; }
body .elementor .vd-check label a { color: #B8946A; text-decoration: underline; text-underline-offset: 3px; }

/* section heads: the link sits on the heading's baseline */
body .elementor .vd-section-head { align-items: flex-end; }
@media (max-width: 767px) { body .elementor .vd-section-head { align-items: flex-start; } }

/* card meta from [rm_post_meta]: first span = "Category, date"; second = the featured line, shown on the journal feature only */
.vd-meta-on-light > span + span { display: none; }
@media (min-width: 768px) {
  body.rm-journal-first .vd-posts > :first-child .vd-meta-on-light > span:first-child { display: none; }
  body.rm-journal-first .vd-posts > :first-child .vd-meta-on-light > span + span { display: inline; }
}

/* share row, added to the end of the article text by the plugin */
.vd-prose .elementor-widget-theme-post-content .vd-share-row a { color: #17110D; text-decoration: none; font-family: "Hanken Grotesk", system-ui, sans-serif; }
.vd-prose .elementor-widget-theme-post-content .vd-share-row > span:first-child { font-family: "Hanken Grotesk", system-ui, sans-serif; line-height: 1.65; }
.vd-prose .elementor-widget-theme-post-content .vd-share-row { font-size: 14px; line-height: 1.3; }

/* motion 5: header turns solid with blur after the first screen */
body .elementor .vd-header { transition: padding 400ms cubic-bezier(0.16,1,0.3,1), background-color 400ms cubic-bezier(0.16,1,0.3,1); }
body .elementor .vd-header.vd-header-solid { padding-top: 12px; padding-bottom: 12px; background-color: rgba(23,17,13,.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid #3A2E26; }
@media (max-width: 767px) { body .elementor .vd-header.vd-header-solid { padding-top: 8px; padding-bottom: 8px; } }

/* motion 1: hero photo settles from 1.14 to 1 */
body .elementor .vd-hero-bg { animation: vd-settle 2400ms cubic-bezier(0.16,1,0.3,1) both; will-change: transform; }
@media (prefers-reduced-motion: reduce) { body .elementor .vd-hero-bg { animation: none !important; } }

/* tap targets: the link inside each wrapper gets the full touch height, with no visual change */
body .elementor :is(.vd-link, .vd-link-on-light, .vd-nav-link, .vd-breadcrumb-link, .vd-note-link) > a { display: inline-block; padding: 10px 0; margin: -10px 0; }
body .elementor .vd-footer-link > a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.vd-header-lang a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
