/* ==========================================================================
   IvoireStay — pont entre Elementor et la charte
   Mise en page (largeurs, colonnes, marges, fonds, photos) : réglée dans
   Elementor, donc modifiable dans l'éditeur. Ce fichier ne porte que la
   typographie et les finitions des classes de charte posées sur les widgets
   (onglet Avancé → Classes CSS). Toute retouche faite dans Elementor l'emporte.
   ========================================================================== */

.ivs { font-family: var(--font); }
.ivs .elementor-widget-text-editor, .ivs .elementor-widget-heading .elementor-heading-title,
.ivs .elementor-button, .ivs .elementor-icon-box-title, .ivs .elementor-icon-box-description,
.ivs .elementor-accordion, .ivs .elementor-icon-list-text { font-family: var(--font); }
.ivs .elementor-widget:not(:last-child) { margin-block-end: 0; }
.ivs .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.ivs .elementor-widget-text-editor p { margin: 0 0 14px; }
.ivs-page { min-height: 40vh; }

/* ---------- Titres ---------- */
.ivs .ivs-eyebrow .elementor-heading-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); line-height: 1.3; }
.ivs .ivs-h1 .elementor-heading-title { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.ivs .ivs-h2 .elementor-heading-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.ivs .ivs-h3 .elementor-heading-title { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.ivs .ivs-h4 .elementor-heading-title { font-size: 18.5px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.ivs .ivs-row-title .elementor-heading-title { font-size: 23px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.ivs .ivs-num .elementor-heading-title { font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: .05em; }
.ivs .ivs-on-dark .elementor-heading-title { color: #fff; }
.ivs .ivs-on-dark.ivs-eyebrow .elementor-heading-title { color: #FFB38A; }

/* ---------- Textes ---------- */
.ivs .ivs-lead { font-size: 18.5px; line-height: 1.6; color: #3F3F3F; }
.ivs .ivs-text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ivs .ivs-prose { font-size: 16px; line-height: 1.7; color: #3F3F3F; }
.ivs .ivs-small { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ivs .ivs-on-dark, .ivs .ivs-on-dark p { color: #CFCFCF; }
.ivs .ivs-quote { border-inline-start: 4px solid var(--accent); padding: 6px 0; padding-inline-start: 24px; font-size: 21px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.ivs .ivs-text a, .ivs .ivs-prose a, .ivs .ivs-small a { text-decoration: underline; font-weight: 600; color: var(--ink); }

/* ---------- Boutons ---------- */
.ivs .elementor-button { border-radius: 10px; padding: 14px 24px; font-weight: 700; font-size: 16px; line-height: 1.2; transition: transform .1s, box-shadow .15s, background .15s; }
.ivs .ivs-btn-primary .elementor-button { background: var(--accent-grad); color: #fff; }
.ivs .ivs-btn-primary .elementor-button:hover { box-shadow: 0 6px 18px rgba(226,69,31,.3); color: #fff; }
.ivs .ivs-btn-dark .elementor-button { background: var(--ink); color: #fff; }
.ivs .ivs-btn-dark .elementor-button:hover { background: #000; }
.ivs .ivs-btn-outline .elementor-button { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.ivs .ivs-btn-outline .elementor-button:hover { background: var(--bg-soft); }
.ivs .ivs-btn-ghost-dark .elementor-button { background: transparent; color: #fff; border: 1px solid #fff; }
.ivs .ivs-btn-ghost-dark .elementor-button:hover { background: rgba(255,255,255,.08); }
.ivs .ivs-chip .elementor-button { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; }
.ivs .ivs-chip .elementor-button:hover { border-color: var(--ink); }
.ivs .ivs-chip .elementor-button-icon svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Photos ---------- */
.ivs .elementor-widget-image img { display: block; }
.ivs .ivs-img-hero img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: 28px; }
.ivs .ivs-img-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.ivs .ivs-img-round img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }

/* ---------- Boîtes d'icône (atouts, critères, catégories d'aide) ---------- */
.ivs .ivs-feature .elementor-icon-box-wrapper { text-align: start; }
.ivs .ivs-feature .elementor-icon { width: 48px; height: 48px; border-radius: 14px; background: #FFF1EA; color: var(--accent); display: grid; place-items: center; font-size: 22px; padding: 0; }
.ivs .ivs-feature .elementor-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.ivs .ivs-feature .elementor-icon-box-icon { margin-bottom: 18px !important; display: inline-block; }
.ivs .ivs-feature .elementor-icon-box-title { font-size: 18.5px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.ivs .ivs-feature .elementor-icon-box-description { color: var(--ink-2); line-height: 1.6; font-size: 15px; margin: 0; }
.ivs .ivs-helpcat .elementor-icon-box-wrapper { display: flex; gap: 16px; text-align: start; align-items: flex-start; }
.ivs .ivs-helpcat .elementor-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.ivs .ivs-helpcat .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.ivs .ivs-helpcat .elementor-icon-box-title { font-size: 16.5px; font-weight: 700; margin: 0 0 4px; }
.ivs .ivs-helpcat .elementor-icon-box-title a { color: var(--ink); }
.ivs .ivs-helpcat .elementor-icon-box-description { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; }
.ivs .e-con.ivs-hover-card { transition: box-shadow .15s; }
.ivs .e-con.ivs-hover-card:hover { box-shadow: var(--shadow); }

/* ---------- Liste à puces cochées ---------- */
.ivs .ivs-checks .elementor-icon-list-item { align-items: flex-start; }
.ivs .ivs-checks .elementor-icon-list-icon svg { width: 16px; height: 16px; fill: var(--green); margin-top: 3px; }
.ivs .ivs-checks .elementor-icon-list-text { font-size: 14.5px; color: var(--ink); line-height: 1.45; }

/* ---------- Pastilles ---------- */
.ivs .ivs-pill .elementor-heading-title { display: inline-flex; background: #FFF1EA; color: var(--accent-dark); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.ivs .ivs-pill-green .elementor-heading-title { background: var(--green-soft); color: var(--green); }
.ivs .ivs-pill-grey .elementor-heading-title { background: #EFEFEF; color: #444; }

/* ---------- Destinations (conteneurs à photo de fond) ---------- */
.ivs .e-con.ivs-dest-tile { aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; transition: transform .3s; }
.ivs .e-con.ivs-dest-tile:hover { transform: translateY(-3px); }
.ivs .ivs-dest-tile .elementor-heading-title { color: #fff; }
.ivs .ivs-dest-tile .ivs-dest-name .elementor-heading-title { font-size: 18px; font-weight: 700; }
.ivs .ivs-dest-tile .ivs-dest-sub .elementor-heading-title { font-size: 13px; font-weight: 500; opacity: .9; }

/* ---------- Accordéons (FAQ, informations légales) ---------- */
.ivs .ivs-faq .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.ivs .ivs-faq .elementor-tab-title { padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--ink); border: 0; }
.ivs .ivs-faq .elementor-tab-title a { color: var(--ink); }
.ivs .ivs-faq .elementor-tab-content { padding: 0 0 22px; border: 0; color: #3F3F3F; line-height: 1.7; font-size: 15.5px; }
.ivs .ivs-faq .elementor-accordion-icon svg { width: 14px; fill: var(--ink); }

/* ---------- Tableau comparatif (dans un widget Texte) ---------- */
.ivs .compare-table { box-shadow: var(--shadow-sm); margin: 0; }
.ivs .elementor-widget-text-editor .compare-table p { margin: 0; }

/* ---------- Cartes d'information (conteneurs) ---------- */
.ivs .e-con.ivs-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; }
.ivs .e-con.ivs-profile { background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; overflow: hidden; }
.ivs .e-con.ivs-timeline-dot .elementor-heading-title { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #fff; color: var(--ink); }
.ivs .ivs-now .elementor-heading-title { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.ivs .ivs-tl-dot .elementor-heading-title { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #fff; color: var(--ink); }
.ivs .ivs-tl-when .elementor-heading-title { color: var(--accent-dark); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Étapes : pastilles de documents ---------- */
.ivs .ivs-docpill { display: inline-block; background: var(--bg-soft); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; margin: 0 4px 6px 0; color: var(--ink); }
.ivs .ivs-docpills p { margin: 6px 0 0; }

/* ---------- Feuille de route (frise) ---------- */
.ivs .e-con.ivs-timeline { position: relative; }
.ivs .e-con.ivs-timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); z-index: 0; }
.ivs .ivs-timeline > .e-con { position: relative; z-index: 1; }
@media (max-width: 1100px) { .ivs .e-con.ivs-timeline::after { display: none; } .ivs .ivs-timeline > .e-con { padding-bottom: 22px !important; } }

/* ---------- Bandeaux sombres ---------- */
.ivs .e-con.ivs-dark { border-radius: 28px; overflow: hidden; }
.ivs .e-con.ivs-hero-photo { border-radius: 28px; overflow: hidden; min-height: 420px; }

/* ---------- Modules IvoireStay ---------- */
.ivs .ivs-mod { width: 100%; min-width: 0; }
.ivs .ivs-mod:empty { min-height: 80px; }
.elementor-editor-active .ivs .ivs-mod:empty::before, .elementor-editor-preview .ivs .ivs-mod:empty::before { content: "IvoireStay"; display: grid; place-items: center; height: 80px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-3); }
.ivs .ivs-mod .row-block { margin-bottom: 0; }
.ideas-in h2 { font-size: 25px; margin-bottom: 14px; }
.map-toggle { position: absolute; inset-inline-start: 62px; top: 14px; z-index: 500; background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.map-toggle input { width: 16px; height: 16px; accent-color: var(--ink); }
.results-grid .card-body { font-size: 14px; }
.card-row { display: flex; justify-content: space-between; gap: 8px; }
.card-row .r { white-space: nowrap; font-size: 13.5px; }
.card-desc { color: var(--ink-2); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-total { margin-top: 4px; font-size: 14px; }
.card-total b { text-decoration: underline; font-weight: 600; }
.results-layout { padding-inline-start: var(--gutter); padding-inline-end: 0; }
.fav-block { display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin: 26px 0 0; }
.fav-block .laurel { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 17px; line-height: 1.1; text-align: center; }
.fav-block .laurel svg { width: 26px; height: 42px; }
.fav-block .big { text-align: center; font-weight: 700; font-size: 20px; line-height: 1.1; }
.fav-block .big small { display: block; font-size: 11px; font-weight: 600; }
.verif-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.deposit { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.deposit svg { width: 26px; height: 26px; flex: none; }
.gallery-modal .modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-modal img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.gallery-modal img:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16/10; }
.amen-modal .amen { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.amen.off { color: var(--ink-3); text-decoration: line-through; }
.review .who .avatar { width: 48px; height: 48px; border-radius: 50%; background: #F2E6DC; color: #7A3B16; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.ivs-edit-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; background: #FFF6E0; color: #6B4E00; }
.ivs-edit-link svg { width: 16px; height: 16px; }
.obs-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.obs-filters select { height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: #fff; font-weight: 600; font-size: 14px; }
.seg-ctl { display: inline-flex; background: #EFEFEF; border-radius: 999px; padding: 4px; }
.seg-ctl button { padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.seg-ctl button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.method { font-size: 13px; color: var(--ink-2); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.ivs-dash-page .proto-banner + .site-header { border-bottom: 1px solid var(--line-soft); }
.mobile-tabs { display: none; }
.site-header .mobile-tabs { display: none; }

@media (max-width: 950px) {
  .fav-block { grid-template-columns: 1fr 1fr; }
  .site-header .mobile-tabs { display: flex !important; justify-content: space-around; overflow-x: auto; margin: -6px -8px 6px; }
  .results-layout { padding-inline: var(--gutter); }
}

/* ---------- Barre d'administration WordPress ---------- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

/* ==========================================================================
   ARABE (droite à gauche)
   ========================================================================== */
[dir="rtl"] .badge-fav, [dir="rtl"] .badge-orig { left: auto; right: 12px; }
[dir="rtl"] .heart { right: auto; left: 12px; }
[dir="rtl"] .user-menu { right: auto; left: 0; }
[dir="rtl"] .search-go { right: auto; left: 9px; }
[dir="rtl"] .seg-last { padding-right: 36px; padding-left: 76px; }
[dir="rtl"] .seg + .seg::before { left: auto; right: 0; }
[dir="rtl"] .cal-nav.prev { left: auto; right: 0; transform: scaleX(-1); }
[dir="rtl"] .cal-nav.next { right: auto; left: 0; transform: scaleX(-1); }
[dir="rtl"] .pop-guests { right: auto; left: 0; }
[dir="rtl"] .pop-dest { left: auto; right: 0; }
[dir="rtl"] .gallery .show-all { right: auto; left: 22px; }
[dir="rtl"] .faq summary { padding: 22px 0 22px 40px; }
[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
[dir="rtl"] .filter-pop { left: auto; right: 0; }
[dir="rtl"] .row-title .arrow svg, [dir="rtl"] .btn-ghost svg { transform: scaleX(-1); }
[dir="rtl"] .ivs .elementor-icon-box-wrapper, [dir="rtl"] .ivs .ivs-feature .elementor-icon-box-wrapper { text-align: right; }
[dir="rtl"] .card-row .r, [dir="rtl"] .book-lines span, [dir="rtl"] .price-marker { unicode-bidi: plaintext; }
[dir="rtl"] body, [dir="rtl"] .ivs { font-family: "Plus Jakarta Sans", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
[lang^="zh"] body, [lang^="zh"] .ivs { font-family: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
