/*
Theme Name: ChiwaCore Child
Theme URI: https://chiwacloud.com/
Description: Official customization layer for ChiwaCore — Provence Étoile Chauffeurs (Grande Remise & Conciergerie VIP).
Author: ChiwaCloud
Author URI: https://chiwacloud.com/
Template: chiwacore
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: chiwacore-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==============================================================================
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/wp-content/fonts/cinzel/8vIJ7ww63mVu7gt79mT7.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/wp-content/fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
}
 * PROVENCE ÉTOILE CHAUFFEURS — DESIGN SYSTEM NOIR ONYX & OR JOAILLERIE
 * Pure ChiwaCore / ChiwaBuilder Responsive Layer
 * Typography: Cinzel (Titres & Prestige) & Inter (Corps & Contrôles)
 * ============================================================================== */


:root {
  --ride-onyx: #0b1320;
  --ride-nuit-fond: #060b11;
  --ride-card-bg: #111c2d;
  --ride-gold: #d4af37;
  --ride-gold-light: #fef08a;
  --ride-cyan: #38bdf8;
  --ride-texte: #f8fafc;
  --ride-texte-muted: #94a3b8;
  --pec-border-gold: rgba(212, 175, 55, 0.28);
}

/* Global resets & typography */
html, body {
  background-color: var(--ride-nuit-fond) !important;
  color: var(--ride-texte) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
}

#wrapper, #main, #content, .content-area {
  background-color: var(--ride-nuit-fond) !important;
  overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6, .heading-font, .alt-font {
  font-family: 'Cinzel', Georgia, serif !important;
  letter-spacing: 1px !important;
  color: #ffffff;
}

/* ==============================================================================
 * TOPBAR DÉMONSTRATION OFFICIELLE
 * ============================================================================== */
#top-bar {
  background-color: #05080e !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
  min-height: 36px !important;
}

.chiwa-demo-banner {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 11px !important;
  color: #cbd5e1 !important;
  line-height: 1.4 !important;
}

.chiwa-demo-badge {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  color: #070c14 !important;
  font-weight: 800 !important;
  font-size: 9.5px !important;
  letter-spacing: 0.08em !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

.chiwa-demo-banner a {
  color: #fef08a !important;
  text-decoration: underline !important;
  white-space: nowrap !important;
}

/* ==============================================================================
 * HEADER NAVIGATION AÉRÉE & DISPOSITION DESKTOP / MOBILE
 * ============================================================================== */
#masthead {
  background-color: var(--ride-onyx) !important;
  border-bottom: 1px solid var(--pec-border-gold) !important;
  height: 80px !important;
}

.stuck #masthead {
  height: 65px !important;
}

/* Elimination of duplicate light/dark image rendering */
#logo img.header-logo-dark {
  display: none !important;
}

#logo img.header_logo {
  display: block !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
}

/* Desktop layout (>= 850px) */
@media (min-width: 850px) {
  .show-for-medium,
  .header-main .show-for-medium {
    display: none !important;
  }
  .hide-for-medium,
  .header-main .hide-for-medium {
    display: flex !important;
  }
  .header-main .flex-right.hide-for-medium {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  #masthead .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    height: 100% !important;
  }
  #logo {
    flex: 0 0 210px !important;
    width: 210px !important;
    max-width: 210px !important;
    margin: 0 !important;
  }
  .header-main .flex-left.flex-grow {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  .header-nav-main {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .header-nav-main > li {
    display: inline-block !important;
    white-space: nowrap !important;
  }
  .header-nav-main > li > a {
    font-family: 'Cinzel', serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 8px 12px !important;
    color: #e2e8f0 !important;
    white-space: nowrap !important;
    transition: color 0.25s ease !important;
  }
  .header-nav-main > li > a:hover,
  .header-nav-main > li.active > a,
  .header-nav-main > li.current-menu-item > a {
    color: var(--ride-gold) !important;
  }
}

/* Tablet & Mobile layout (< 850px) */
@media (max-width: 849px) {
  .hide-for-medium,
  .header-main .hide-for-medium {
    display: none !important;
  }
  .show-for-medium,
  .header-main .show-for-medium {
    display: flex !important;
  }
  .header-main .flex-right.show-for-medium {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  #masthead {
    height: 70px !important;
  }
  #masthead .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 15px !important;
    height: 100% !important;
    width: 100% !important;
  }
  #logo {
    flex: 0 1 auto !important;
    max-width: 180px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  #logo img.header_logo {
    max-height: 40px !important;
    margin: 0 auto !important;
  }
  .mobile-nav .nav-icon a {
    color: var(--ride-gold) !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    padding: 6px !important;
  }
}

@media (max-width: 550px) {
  #masthead {
    height: 64px !important;
  }
  #logo {
    max-width: 170px !important;
  }
  #logo img.header_logo {
    max-height: 38px !important;
  }
  .header-main .flex-right .html_top_right_text a.pec-btn-gold,
  .header-main .flex-right .html_top_right_text a {
    padding: 7px 11px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .header-main .flex-right .pec-btn-extra {
    display: none !important;
  }
}

.mobile-sidebar .pec-btn-extra {
  display: inline !important;
}

/* generic .header-main .flex-right scoped inside media queries */

.html_top_right_text {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.html_top_right_text a.pec-btn-gold,
.html_top_right_text a {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  color: #070c14 !important;
  font-family: 'Cinzel', serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 9px 18px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.html_top_right_text a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

/* ==============================================================================
 * MOBILE DRAWER & BURGER
 * ============================================================================== */
.mobile-sidebar {
  background-color: #070c14 !important;
  border-right: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.mobile-sidebar .nav-sidebar > li > a {
  font-family: 'Cinzel', serif !important;
  font-size: 14px !important;
  color: #f8fafc !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.mobile-sidebar .nav-sidebar > li > a:hover,
.mobile-sidebar .nav-sidebar > li.active > a {
  color: var(--ride-gold) !important;
}

.mobile-sidebar .html_top_right_text {
  padding: 20px !important;
}

.mobile-sidebar .html_top_right_text a {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ==============================================================================
 * HERO & BANNER CHIWACORE PROPORTIONS
 * ============================================================================== */
.chiwa-ride-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--ride-gold);
  border-radius: 40px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--ride-gold-light);
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.chiwa-ride-hero-title {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
  line-height: 1.15 !important;
  margin: 12px 0 16px 0 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 4px 25px rgba(0,0,0,0.8);
  word-break: break-word;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #ffffff !important;
}

.chiwa-ride-hero-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem) !important;
  max-width: 720px;
  margin: 0 auto 24px auto !important;
  line-height: 1.6 !important;
  font-weight: 300 !important;
  color: #cbd5e1 !important;
}

.chiwa-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chiwa-ride-btn-gold {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  color: #060b11 !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35) !important;
  transition: all 0.25s ease !important;
}

.chiwa-ride-btn-gold:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55) !important;
}

.chiwa-btn-outline {
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: #ffffff !important;
  font-family: 'Cinzel', serif !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px);
}

.chiwa-btn-outline:hover {
  border-color: var(--ride-gold) !important;
  background-color: rgba(212, 175, 55, 0.15) !important;
}

/* Bandeau réassurance */
.chiwa-ride-reassurance-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.chiwa-ride-reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
  background: rgba(11, 19, 32, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

.chiwa-ride-reassurance-item i {
  color: var(--ride-gold);
}

/* En-têtes sections */
.chiwa-ride-eyebrow {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ride-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.chiwa-ride-section-heading {
  font-family: 'Cinzel', serif !important;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
  line-height: 1.25 !important;
}

.chiwa-ride-section-heading.light {
  color: #ffffff !important;
}

.chiwa-ride-divider {
  width: 50px;
  height: 3px;
  background: var(--ride-gold);
  margin: 0 auto 18px;
  border-radius: 2px;
}

.chiwa-section-lead.light {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Cartes Flotte */
.chiwa-ride-card {
  background: var(--ride-card-bg);
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.chiwa-ride-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
  border-color: var(--ride-gold);
}

.chiwa-ride-card.highlighted {
  border: 1.5px solid var(--ride-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.chiwa-ride-card-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.chiwa-ride-card-badge.gold {
  background: var(--ride-gold);
  color: #060b11;
  border: none;
}

.chiwa-ride-card-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.chiwa-ride-card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ride-gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 6px;
}

.chiwa-ride-card-price .unit {
  font-size: 0.8rem;
  color: var(--ride-texte-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.chiwa-ride-meta-cap {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.chiwa-ride-card-desc {
  font-size: 0.88rem;
  color: var(--ride-texte-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.chiwa-ride-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.84rem;
  color: #cbd5e1;
  flex-grow: 1;
}

.chiwa-ride-card-features li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chiwa-ride-card-features li::before {
  content: "✦";
  color: var(--ride-gold);
  font-size: 0.8rem;
}

/* Tableau liaisons régulières */
.chiwa-ride-board {
  background: var(--ride-card-bg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 36px 28px;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.chiwa-ride-board-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  color: var(--ride-gold);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 12px;
}

.chiwa-ride-board-item {
  margin-bottom: 18px;
}

.chiwa-ride-board-item strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.chiwa-ride-board-item span {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Features Box */
.chiwa-ride-feature-box {
  background: var(--ride-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  height: 100%;
}

.chiwa-ride-feature-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.chiwa-ride-feature-box p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.chiwa-ride-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--ride-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Booking container & Widget */
.chiwa-ride-booking-container {
  background: var(--ride-card-bg);
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(212, 175, 55, 0.25);
  max-width: 720px;
  margin: 0 auto;
}

.chiwaty-ride-booking {
  --cr-bg: var(--ride-onyx) !important;
  --cr-card-bg: #070c14 !important;
  --cr-border: var(--pec-border-gold) !important;
  --cr-text: #ffffff !important;
  --cr-text-muted: var(--ride-texte-muted) !important;
  --cr-accent: var(--ride-gold) !important;
  --cr-accent-hover: var(--ride-gold-light) !important;
  --cr-accent-text: #070c14 !important;

  font-family: 'Inter', sans-serif !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 100% !important;
}

.chiwaty-ride-booking__title {
  font-family: 'Cinzel', serif !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
}

.chiwaty-ride-booking input,
.chiwaty-ride-booking select,
.chiwaty-ride-booking textarea {
  background-color: #070c14 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #f8fafc !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  font-family: 'Inter', sans-serif !important;
}

.chiwaty-ride-booking button[type="submit"],
.chiwaty-ride-booking .chiwaty-ride-booking__submit {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  color: #070c14 !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
}

/* Reviews */
.chiwa-ride-review {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
  color: #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chiwa-ride-review .stars {
  color: var(--ride-gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.chiwa-ride-review p {
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.chiwa-ride-review .author strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

.chiwa-ride-review .author span {
  color: var(--ride-gold);
  font-size: 0.78rem;
}

/* Accordion */
.accordion .accordion-item .accordion-title {
  font-family: 'Cinzel', serif !important;
  font-size: 0.98rem !important;
  color: #ffffff !important;
  background-color: var(--ride-card-bg) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
  padding: 14px 20px !important;
}

.accordion .accordion-item.active .accordion-title {
  color: var(--ride-gold) !important;
  border-color: var(--ride-gold) !important;
}

.accordion .accordion-inner {
  padding: 16px 20px !important;
  color: #cbd5e1 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

/* Footer Overrides */
#footer, .absolute-footer {
  background-color: #05080e !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
  color: var(--ride-texte-muted) !important;
  font-size: 12px !important;
}

@media (max-width: 849px) {
  .chiwa-ride-hero-title {
    font-size: 1.9rem !important;
    letter-spacing: 1.5px !important;
  }
  .chiwa-ride-hero-sub {
    font-size: 1rem !important;
    margin-bottom: 18px !important;
  }
  .chiwa-ride-reassurance-bar {
    gap: 10px !important;
  }
  .chiwa-ride-reassurance-item {
    font-size: 0.8rem !important;
    padding: 5px 12px !important;
  }
  .chiwa-ride-booking-container {
    padding: 20px 14px !important;
  }
  .chiwa-ride-board {
    padding: 24px 18px !important;
  }
}

@media (max-width: 550px) {
  .chiwa-demo-banner {
    font-size: 9.5px !important;
    gap: 6px !important;
  }
  .chiwa-demo-badge {
    font-size: 8.5px !important;
    padding: 2px 6px !important;
  }
  .chiwa-ride-hero-title {
    font-size: 1.55rem !important;
    letter-spacing: 1px !important;
    margin: 8px 0 12px 0 !important;
  }
  .chiwa-ride-hero-sub {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
  .chiwa-ride-badge-pill {
    font-size: 0.72rem !important;
    padding: 4px 12px !important;
    letter-spacing: 1px !important;
  }
  .chiwa-hero-cta {
    flex-direction: column !important;
    align-items: center !important;
  }
  .chiwa-hero-cta a {
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .chiwa-ride-reassurance-bar {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .chiwa-ride-reassurance-item {
    font-size: 0.78rem !important;
    width: 100% !important;
    max-width: 290px !important;
    justify-content: center !important;
  }
  .chiwa-ride-section-heading {
    font-size: 1.6rem !important;
  }
}

/* ==============================================================================
 * PURGE DES WIDGETS PAR DÉFAUT WORDPRESS
 * ============================================================================== */
.footer-widgets.footer-1,
.footer-widgets.footer-2,
.footer-widgets {
  display: none !important;
}

/* ==============================================================================
 * RÈGLE SOUVERAINE DE JAKE : TOP BAR STRICTE MONO-LIGNE SUR TOUS LES ÉCRANS
 * ============================================================================== */
#top-bar {
  white-space: nowrap !important;
  overflow: hidden !important;
}

#top-bar .nav,
#top-bar .nav > li,
#top-bar .html_topbar_left,
#top-bar .mobile-nav,
#top-bar .mobile-nav > li {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  max-width: 100% !important;
}

@media (max-width: 549px) {
  #top-bar {
    height: 30px !important;
    min-height: 30px !important;
    line-height: 30px !important;
    font-size: 0.72rem !important;
    padding: 0 8px !important;
  }
  #top-bar .container {
    padding: 0 !important;
    justify-content: center !important;
  }
  #top-bar .mobile-nav {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .chiwa-demo-banner,
  #chiwa-demo-banner {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.68rem !important;
    line-height: 24px !important;
    padding: 0 6px !important;
    text-align: center !important;
    display: block !important;
  }
}

/* ==============================================================================
 * GARANTIR LOGO UNIQUE (PAS DE DOUBLON DARK/LIGHT)
 * ============================================================================== */
#logo .header-logo-dark,
.header-inner .header-logo-dark {
  display: none !important;
}

/* ==============================================================================
 * CORRECTIFS AUDIT FORENSIQUE UX & ACCESSIBILITÉ WCAG 2.1 — PROVENCE ÉTOILE CHAUFFEURS
 * ============================================================================== */

/* 1. [P0] CONTRASTE BOUTONS DORÉS : TEXTE NOIR ONYX POUR RATIO AAA (9.41:1) */
.chiwa-ride-btn-gold,
.chiwa-ride-btn-gold span,
.button.primary.chiwa-ride-btn-gold,
.button.primary.chiwa-ride-btn-gold span,
a.button.chiwa-ride-btn-gold,
a.button.chiwa-ride-btn-gold span,
.button.primary,
.button.primary span,
a.button.primary,
a.button.primary span {
  color: #070c14 !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

.chiwa-ride-btn-gold,
.button.primary.chiwa-ride-btn-gold,
a.button.chiwa-ride-btn-gold,
.button.primary,
a.button.primary {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35) !important;
  border: none !important;
}

.chiwa-ride-btn-gold:hover,
.chiwa-ride-btn-gold:hover span,
.button.primary.chiwa-ride-btn-gold:hover,
.button.primary.chiwa-ride-btn-gold:hover span,
a.button.chiwa-ride-btn-gold:hover,
a.button.chiwa-ride-btn-gold:hover span,
.button.primary:hover,
.button.primary:hover span,
a.button.primary:hover,
a.button.primary:hover span {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 35%, #d4af37 100%) !important;
  color: #070c14 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55) !important;
}

/* 2. [P0] BOUTON CTA RÉSERVATION TIROIR MOBILE & HEADER MOBILE */
.mobile-sidebar .html_top_right_text a.pec-btn-gold,
.mobile-sidebar .nav-sidebar > li.html_top_right_text > a,
.mobile-sidebar .nav-sidebar > li > a.pec-btn-gold,
.mobile-sidebar .pec-btn-gold span {
  color: #070c14 !important;
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  border-bottom: none !important;
  border-radius: 6px !important;
  margin: 10px 15px !important;
  padding: 14px 20px !important;
  text-align: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35) !important;
}

/* 3. [P0] SKIP LINK ACCESSIBILITÉ CLAVIER (FOCUS BANDEAU OR) */
.skip-link.screen-reader-text:focus {
  background-color: #d4af37 !important;
  color: #070c14 !important;
  top: 10px !important;
  left: 10px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  outline: 2px solid #ffffff !important;
  z-index: 999999 !important;
}

/* 4. [P1] WIDGET CHIWARIDE_BOOKING — BOUTON ESTIMATION & CATÉGORIES */
.chiwaty-ride-booking .chiwaty-ride-booking__btn,
.chiwaty-ride-booking button[type="submit"],
.chiwaty-ride-booking .chiwaty-ride-booking__submit {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #996515 100%) !important;
  color: #070c14 !important;
  font-family: 'Cinzel', serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  min-height: 52px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.chiwaty-ride-booking .chiwaty-ride-booking__btn:hover,
.chiwaty-ride-booking button[type="submit"]:hover,
.chiwaty-ride-booking .chiwaty-ride-booking__submit:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 40%, #d4af37 100%) !important;
  color: #070c14 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55) !important;
}

/* État actif sublimé pour les boutons de catégories de véhicules */
.chiwaty-ride-booking .chiwaty-ride-booking__category-btn.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%) !important;
  border-color: #fef08a !important;
  color: #fef08a !important;
  font-weight: 700 !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 0 12px rgba(212, 175, 55, 0.15) !important;
}

/* Placeholders explicites et contrastés (WCAG AAA 7.7:1) */
::placeholder,
.chiwaty-ride-booking input::placeholder,
.chiwaty-ride-booking textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 0.95 !important;
}

/* 5. [P1] INPUTS FORMULAIRES ANTI-ZOOM IOS (FONT-SIZE >= 16PX & MIN-HEIGHT 46PX) */
.chiwaty-ride-booking input,
.chiwaty-ride-booking select,
.chiwaty-ride-booking textarea,
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea,
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form input[type="search"],
form input[type="number"],
form select,
form textarea {
  font-size: 16px !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  background-color: #070c14 !important;
  color: #f8fafc !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

.chiwaty-ride-booking input:focus,
.chiwaty-ride-booking select:focus,
.chiwaty-ride-booking textarea:focus,
form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--ride-gold) !important;
  outline: none !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35) !important;
}

/* 6. [P1] ACCORDÉONS FAQ ÉTAT ACTIF & FLÈCHE DORÉE */
.accordion .accordion-item .accordion-title.active,
.accordion .accordion-item .accordion-title[aria-expanded="true"],
.accordion-title.active,
.accordion-title[aria-expanded="true"] {
  color: var(--ride-gold) !important;
  border-color: var(--ride-gold) !important;
  background-color: #162236 !important;
}

.accordion .accordion-item .accordion-title.active .toggle i,
.accordion .accordion-item .accordion-title[aria-expanded="true"] .toggle i,
.accordion-title.active .toggle i,
.accordion-title[aria-expanded="true"] .toggle i {
  color: var(--ride-gold) !important;
}

/* 7. [P1] CIBLES TACTILES MOBILES (TOUCH TARGETS >= 44PX À 48PX) */
@media (max-width: 550px) {
  .header-main .flex-right .html_top_right_text a.pec-btn-gold,
  .header-main .flex-right .html_top_right_text a {
    min-height: 44px !important;
    padding: 10px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .chiwa-hero-cta a.button {
    min-height: 48px !important;
    font-size: 13.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  .chiwa-ride-card .button {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  #masthead .mobile-nav .nav-icon a {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mfp-close {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* 8. [P2] FOOTER & NAVIGATION BAS DE PAGE */
#footer, .absolute-footer {
  background-color: #05080e !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
  color: var(--ride-texte-muted) !important;
  font-size: 13px !important;
}

#footer a, .absolute-footer a {
  font-size: 12.5px !important;
  color: #cbd5e1 !important;
  padding: 8px 10px !important;
  display: inline-block !important;
  letter-spacing: 0.05em !important;
  transition: color 0.2s ease !important;
}

#footer a:hover, .absolute-footer a:hover {
  color: var(--ride-gold) !important;
}

/* 9. [P2] CHARTE DE PRESTIGE : PUCES LOSANGES NOBLES ✦ DORÉES */
.chiwa-ride-card-features li::before {
  content: "✦" !important;
  color: var(--ride-gold) !important;
  font-size: 0.85rem !important;
  margin-right: 6px !important;
}

/* 10. [P2] RESPIRATION SPATIALE SUR DESKTOP (PADDING VERTICAL 60PX) */
@media (min-width: 850px) {
  .section:not(.banner),
  section.section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* Enhance text readability over photos */
.chiwa-ride-hero-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 4px 24px rgba(0, 0, 0, 0.95) !important;
}
.chiwa-ride-hero-sub {
  color: #f8fafc !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.95) !important;
}
