/*
Theme Name: RENTIVOX
Theme URI: https://m3hosting.ma
Author: M3Hosting
Author URI: https://m3hosting.ma
Description: Thème vitrine du logiciel de location automobile RENTIVOX. Thème à blocs (éditeur de site) : couleurs, polices, sections et pages modifiables depuis l'administration. Trois styles inclus : Riad (par défaut), Marine et Nuit.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rentivox
Tags: full-site-editing, block-patterns, block-styles, rtl-language-support, translation-ready, custom-colors, editor-style
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
:where(body) { -webkit-font-smoothing: antialiased; }
:where(img) { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--wp--preset--color--primaire); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Logos (le style actif choisit la version claire ou sombre) ---------- */
.rv-logo-clair { display: var(--wp--custom--logo--clair, block); }
.rv-logo-sombre { display: var(--wp--custom--logo--sombre, none); }
.rv-logo img { height: 40px; width: auto; }
.rv-logo-footer img { height: 36px; width: auto; }

/* ---------- En-tête ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.rv-header-inner { border-bottom: 1px solid var(--wp--preset--color--ligne); }
.rv-topbar p { margin: 0; font-size: 0.875rem; }
.rv-topbar a { color: inherit; text-decoration: none; }
.rv-topbar a:hover { text-decoration: underline; }
.rv-header .wp-block-navigation a { text-decoration: none; }
.rv-header .wp-block-navigation a:hover { text-decoration: underline; }
.is-style-rv-contour .wp-block-button__link { background: transparent; color: inherit; border: 2px solid var(--wp--preset--color--texte); padding-top: calc(0.9rem - 2px); padding-bottom: calc(0.9rem - 2px); }
.is-style-rv-contour .wp-block-button__link:hover { background: var(--wp--preset--color--texte); color: var(--wp--preset--color--fond); }
.has-sombre-background-color .is-style-rv-contour .wp-block-button__link,
.has-sombre-profond-background-color .is-style-rv-contour .wp-block-button__link,
.rv-card--sombre .is-style-rv-contour .wp-block-button__link { border-color: var(--wp--preset--color--sur-sombre); }
.has-sombre-background-color .is-style-rv-contour .wp-block-button__link:hover,
.rv-card--sombre .is-style-rv-contour .wp-block-button__link:hover { background: var(--wp--preset--color--sur-sombre); color: var(--wp--preset--color--sombre); }

/* ---------- Mise en page ---------- */
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }
.rv-intro > * { max-width: 760px; }
.rv-intro--center > * { margin-inline: auto !important; }

/* ---------- Typo utilitaires ---------- */
.rv-eyebrow { font-family: var(--wp--preset--font-family--titres); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent-texte); }
.has-sombre-background-color .rv-eyebrow, .has-sombre-profond-background-color .rv-eyebrow { color: var(--wp--preset--color--sur-sombre-doux); }
.rv-lead { font-size: var(--wp--preset--font-size--moyen); line-height: 1.6; color: var(--wp--preset--color--texte-doux); }
.has-sombre-background-color .rv-lead { color: var(--wp--preset--color--sur-sombre-doux); }
.rv-muted { color: var(--wp--preset--color--texte-doux); }

/* ---------- Cartes ---------- */
.rv-card, .is-style-rv-carte { background: var(--wp--preset--color--carte); border: 1px solid var(--wp--preset--color--ligne); border-radius: var(--wp--custom--radius--carte); padding: clamp(1.25rem, 2.5vw, 1.75rem); height: 100%; box-sizing: border-box; }
.rv-card > * { margin-block: 0; }
.rv-card > * + * { margin-block-start: 0.75rem; }
.rv-card h3 { font-size: 1.25rem; }
.rv-card p { color: var(--wp--preset--color--texte-doux); font-size: 0.975rem; }
.rv-card--sombre { background: var(--wp--preset--color--sombre); color: var(--wp--preset--color--sur-sombre); border-color: transparent; }
.rv-card--sombre p { color: var(--wp--preset--color--sur-sombre-doux); }
a.rv-card-link, .rv-card a.rv-more { font-family: var(--wp--preset--font-family--titres); font-weight: 700; color: var(--wp--preset--color--primaire); text-decoration: none; }
.rv-card a.rv-more:hover { text-decoration: underline; }

/* ---------- Images produit ---------- */
.rv-shot img, .rv-shot.wp-block-image img { border-radius: var(--wp--custom--radius--image); box-shadow: var(--wp--preset--shadow--douce); border: 1px solid var(--wp--preset--color--ligne); background: #fff; }
.rv-hero-shot { position: relative; }
.rv-hero-shot .wp-block-image { margin: 0; }
.rv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--wp--preset--color--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
.rv-play::after { content: ""; width: 0; height: 0; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--wp--preset--color--sur-accent); margin-inline-start: 6px; }
.rv-play svg { display: none;  width: 34px; height: 34px; fill: var(--wp--preset--color--sur-accent); margin-inline-start: 4px; }
.rv-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.rv-phone { text-align: center; }
.rv-phone img { max-width: min(100%, 300px); border-radius: 28px; border: 6px solid #0B1220; box-shadow: var(--wp--preset--shadow--douce); }
.wp-block-media-text .rv-shot img, .wp-block-media-text__media img { border-radius: var(--wp--custom--radius--image); box-shadow: var(--wp--preset--shadow--douce); border: 1px solid var(--wp--preset--color--ligne); }

/* ---------- Icônes ---------- */
.rv-icon { width: 56px; height: 56px; min-height: 56px; border-radius: var(--wp--custom--radius--icone); background-color: var(--wp--preset--color--primaire-clair); position: relative; flex: none; margin: 0 !important; }
.rv-icon::after { content: ""; position: absolute; inset: 14px; background: var(--wp--preset--color--primaire); -webkit-mask: var(--rv-i) center / contain no-repeat; mask: var(--rv-i) center / contain no-repeat; }
.rv-i-voiture { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14M6 17l1.5-6h9L18 17M7 17v2M17 17v2M8 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.rv-i-calendrier { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v14H4zM4 10h16M8 3v5M16 3v5M8 14h3'/%3E%3C/svg%3E"); }
.rv-i-lieu { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E"); }
.rv-i-chauffeur { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E"); }
.rv-i-avion { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 13.5 3 11l1.5-1.5 7 1 4-4.5c1-1 2.5-1.5 3.5-.5s.5 2.5-.5 3.5l-4.5 4 1 7L13.5 21l-2.5-7.5M7 17l-2 2'/%3E%3C/svg%3E"); }
.rv-i-entreprise { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V7l8-4 8 4v14M9 21v-6h6v6M9 10h.01M15 10h.01'/%3E%3C/svg%3E"); }
.rv-i-signature { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7zM14 3v4h4M8 17c2-3 3 1 4-1s2-1 3 1'/%3E%3C/svg%3E"); }
.rv-i-photo { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h3l2-3h8l2 3h3v12H3zM12 9a4 4 0 1 0 0 8 4 4 0 0 0 0-8z'/%3E%3C/svg%3E"); }
.rv-i-papiers { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM8 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM13 10h5M13 14h3'/%3E%3C/svg%3E"); }
.rv-i-carte { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h20v12H2zM2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.rv-i-facture { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2zM9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E"); }
.rv-i-mobile { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2h10v20H7zM11 18h2'/%3E%3C/svg%3E"); }
.rv-i-message { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.8 7L3 21l2-6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.rv-i-graphique { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.rv-i-planning { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18M8 3v18'/%3E%3C/svg%3E"); }
.rv-i-boucle { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7M21 4v5h-5'/%3E%3C/svg%3E"); }
.rv-i-langue { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.rv-i-bouclier { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6zM9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.rv-i-cle { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 15a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 11h10M18 11v3M15 11v2'/%3E%3C/svg%3E"); }
.rv-i-code { --rv-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5M13 5l-2 14'/%3E%3C/svg%3E"); }

/* ---------- Listes à coches ---------- */
.rv-check-list { list-style: none; padding-inline-start: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.rv-check-list li { position: relative; padding-inline-start: 2rem; }
.rv-check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; background: var(--wp--preset--color--primaire); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.has-sombre-background-color .rv-check-list li::before, .rv-card--sombre .rv-check-list li::before { background: var(--wp--preset--color--accent); }

/* ---------- Étapes ---------- */
.rv-step-num { width: 44px; height: 44px; border-radius: var(--wp--custom--radius--icone); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--sur-accent); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--titres); font-weight: 700; font-size: 1.125rem; }

/* ---------- Chiffres ---------- */
.rv-stat-num { font-family: var(--wp--preset--font-family--titres); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; }

/* ---------- Tarifs ---------- */
.rv-card .rv-plan-price, .rv-plan-price { color: inherit; font-family: var(--wp--preset--font-family--titres); font-weight: 800; font-size: 2.25rem; line-height: 1.1; }
.rv-plan-price small { font-size: 1rem; font-weight: 500; opacity: 0.8; }
.rv-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--wp--preset--color--accent-clair); color: var(--wp--preset--color--accent-texte); font-size: 0.8125rem; font-weight: 700; }
.rv-card--sombre .rv-badge { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--sur-accent); }
.rv-table table { border-collapse: collapse; width: 100%; font-size: 0.975rem; }
.rv-table th, .rv-table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--ligne); padding: 0.85rem 0.75rem; text-align: start; }
.rv-table thead th { font-family: var(--wp--preset--font-family--titres); border-bottom: 2px solid var(--wp--preset--color--texte); }
.rv-table td:not(:first-child), .rv-table th:not(:first-child) { text-align: center; }
.rv-table { overflow-x: auto; }

/* ---------- FAQ ---------- */
.wp-block-details summary { font-family: var(--wp--preset--font-family--titres); font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; position: relative; padding-inline-end: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: -0.1em; font-size: 1.6rem; font-weight: 400; color: var(--wp--preset--color--primaire); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > p { color: var(--wp--preset--color--texte-doux); }
.rv-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--ligne); }

/* ---------- Formulaire de démo ---------- */
.rv-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; background: var(--wp--preset--color--carte); color: var(--wp--preset--color--texte); border: 1px solid var(--wp--preset--color--ligne); border-radius: var(--wp--custom--radius--carte); padding: clamp(1.25rem, 3vw, 2rem); }
.rv-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; font-size: 0.9375rem; }
.rv-form input, .rv-form select, .rv-form textarea { font: inherit; font-weight: 400; min-height: 48px; padding: 0.6rem 0.9rem; border-radius: min(var(--wp--custom--radius--bouton), 14px); border: 1px solid var(--wp--preset--color--ligne); background: var(--wp--preset--color--fond); color: var(--wp--preset--color--texte); box-sizing: border-box; width: 100%; }
.rv-form textarea { min-height: 110px; }
.rv-form .rv-full { grid-column: 1 / -1; }
.rv-form button { font-family: var(--wp--preset--font-family--titres); font-weight: 700; font-size: 1.0625rem; min-height: 52px; border: 0; cursor: pointer; border-radius: var(--wp--custom--radius--bouton); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--sur-accent); }
.rv-form button:hover { background: var(--wp--preset--color--primaire); color: var(--wp--preset--color--sur-sombre); }
.rv-form .rv-hp { position: absolute; left: -9999px; }
.rv-form-ok, .rv-form-err { grid-column: 1 / -1; padding: 0.9rem 1rem; border-radius: 10px; font-weight: 600; }
.rv-form-ok { background: var(--wp--preset--color--primaire-clair); color: var(--wp--preset--color--texte); }
.rv-form-err { background: var(--wp--preset--color--accent-clair); color: var(--wp--preset--color--texte); }
.rv-form small { font-weight: 400; color: var(--wp--preset--color--texte-doux); }

/* ---------- Défilement horizontal (modules) sur mobile ---------- */
@media (max-width: 781px) {
  .rv-header .wp-block-buttons .rv-hide-mobile { display: none; }
  .rv-topbar .rv-hide-mobile { display: none; }
}

/* ---------- Pied de page ---------- */
.rv-footer a { color: inherit; text-decoration: none; }
.rv-footer a:hover { text-decoration: underline; }
.rv-footer h2 { font-size: 1rem; letter-spacing: 0.04em; }

/* ---------- Articles ---------- */
.rv-post-card .wp-block-post-featured-image img { border-radius: var(--wp--custom--radius--image); }

/* ---------- Promotion (Black Friday) ---------- */
.rv-promo-ribbon { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 0.9rem; padding: 0.55rem 1rem; background: #111418; color: #fff; text-decoration: none; font-size: 0.9375rem; text-align: center; }
.rv-promo-ribbon strong { font-family: var(--wp--preset--font-family--titres); text-transform: uppercase; letter-spacing: 0.12em; color: #111418; background: var(--wp--preset--color--accent); padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 0.8125rem; }
.rv-promo-ribbon .rv-promo-ribbon__cta { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rv-promo-ribbon:hover .rv-promo-ribbon__cta { text-decoration: none; }
.rv-promo-open { overflow: hidden; }
.rv-promo[hidden] { display: none; }
.rv-promo { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.rv-promo__overlay { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.72); backdrop-filter: blur(3px); animation: rvFade .3s ease-out; }
.rv-promo__card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 2rem); overflow: auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); background: #111418; color: #F3EEE7; border-radius: var(--wp--custom--radius--carte); box-shadow: 0 30px 80px rgba(0,0,0,0.5); animation: rvPop .35s cubic-bezier(.2,.9,.3,1.2); }
.rv-promo__close { position: absolute; top: 0.6rem; inset-inline-end: 0.6rem; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.rv-promo__close:hover { background: rgba(255,255,255,0.18); }
.rv-promo__deal { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--sur-accent); padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; position: relative; overflow: hidden; }
.rv-promo__deal::before { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -90px; top: -90px; border-radius: 50%; border: 36px solid rgba(255,255,255,0.12); }
.rv-promo__tag { align-self: flex-start; background: #111418; color: #fff; font-family: var(--wp--preset--font-family--titres); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.875rem; padding: 0.45rem 0.8rem; border-radius: 6px; }
.rv-promo__pct { font-family: var(--wp--preset--font-family--titres); font-weight: 800; font-size: clamp(4.5rem, 11vw, 7.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.rv-promo__pct small { font-size: 0.5em; margin-inline-start: 0.05em; }
.rv-promo__plus { font-family: var(--wp--preset--font-family--titres); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.rv-promo__body { padding: 2.25rem 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.rv-promo__body > * { margin: 0; }
.rv-promo__eyebrow { font-family: var(--wp--preset--font-family--titres); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8125rem; color: #F2A07F; }
.rv-promo__title { font-family: var(--wp--preset--font-family--titres); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: #fff; }
.rv-promo__text { color: #C9C2B8; line-height: 1.55; }
.rv-promo__count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.rv-promo__count span { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.55rem 0.3rem; text-align: center; font-size: 0.75rem; color: #C9C2B8; text-transform: uppercase; letter-spacing: 0.06em; }
.rv-promo__count b { display: block; font-family: var(--wp--preset--font-family--titres); font-size: 1.6rem; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rv-promo__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; }
.rv-promo__bar span { display: block; height: 100%; background: var(--wp--preset--color--accent); border-radius: 999px; min-width: 6%; }
.rv-promo__places p { margin: 0.45rem 0 0; font-size: 0.9375rem; color: #C9C2B8; }
.rv-promo__places strong { color: #fff; }
.rv-promo__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.rv-promo__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem; border-radius: var(--wp--custom--radius--bouton); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--sur-accent); font-family: var(--wp--preset--font-family--titres); font-weight: 800; font-size: 1.0625rem; text-decoration: none; }
.rv-promo__cta:hover { filter: brightness(1.08); }
.rv-promo__later { min-height: 52px; padding: 0 1.2rem; border: 0; background: transparent; color: #C9C2B8; font: inherit; text-decoration: underline; cursor: pointer; }
.rv-promo__fine { font-size: 0.75rem; line-height: 1.5; color: #8F887F; }
.rv-form-offre { padding: 0.9rem 1rem; border-radius: 10px; background: #111418; color: #fff; margin: 0; }
@keyframes rvPop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rvFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 720px) {
  .rv-promo { align-items: flex-end; padding: 0; }
  .rv-promo__card { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 92vh; }
  .rv-promo__deal { padding: 1.5rem 1.25rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
  .rv-promo__pct { font-size: 4rem; }
  .rv-promo__plus { flex-basis: 100%; font-size: 1.05rem; }
  .rv-promo__body { padding: 1.25rem 1.25rem 1.5rem; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .rv-promo__card, .rv-promo__overlay { animation: none; } }
@media (max-width: 720px) {
  .rv-promo__deal { padding-inline-end: 3.75rem; }
  .rv-promo-ribbon > span:not(.rv-promo-ribbon__cta) { display: none; }
}
