/* ═══════════════════════════════════════════════════════
   MAISON OR & BIJOUX — PAGE STYLES v3.1
   Fichier CSS séparé — chargé via functions.php
   Bypasse le cache FSE de WordPress
   ═══════════════════════════════════════════════════════ */

/* ── RESET WP CONSTRAINTS (full-width outer shell only) ── */
body:not(.home) .wp-site-blocks,
body:not(.home) .is-layout-constrained,
body:not(.home) .has-global-padding {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
body:not(.home) .wp-site-blocks { gap: 0 !important; }
body:not(.home) .wp-site-blocks > .wp-block-group,
body:not(.home) .wp-site-blocks > .wp-block-html {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── LAYOUT FULL-WIDTH (sans sidebar) ── */
body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 80px 80px 100px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Masquer la sidebar */
body:not(.home) .mob-page-sidebar {
  display: none !important;
}
/* Contenu centré pour lisibilité */
body:not(.home) .mob-page-content {
  max-width: 70% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* ── BREAKOUT full-width pour sections avec fond ── */
body:not(.home) .mob-page-content .mob-highlight,
body:not(.home) .mob-page-content .mob-faq {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* ── Ré-activer le padding sur les composants content ── */
body:not(.home) .mob-page-content .mob-info-card { padding: 2.5rem 3rem !important; }
body:not(.home) .mob-page-content .mob-highlight { padding: 52px 80px !important; }
body:not(.home) .mob-page-content .mob-step { padding: 36px 30px !important; }
body:not(.home) .mob-page-content .mob-type-card { padding: 30px 26px !important; }
body:not(.home) .mob-page-content .mob-guarantee { padding: 26px 24px !important; }
body:not(.home) .mob-page-content .mob-faq { padding: 80px 80px !important; }
body:not(.home) .mob-page-content .mob-faq-q { padding: 22px 28px !important; }
body:not(.home) .mob-page-content .mob-faq-a-inner { padding: 0 28px 24px !important; }
body:not(.home) .mob-page-content table th { padding: 18px 22px !important; }
body:not(.home) .mob-page-content table td { padding: 16px 22px !important; }
body:not(.home) .mob-page-content blockquote { padding: 2.5rem 3rem !important; }

/* Hide WP title (hero displays it instead) */
.mob-wp-page-title { display: none !important; }

/* ═══════ PAGE HERO ═══════ */
.mob-page-hero {
  position: relative;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0D0D;
  overflow: hidden;
}
.mob-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mob-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.85);
}
.mob-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
.mob-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 40px 48px;
  max-width: 860px;
}
.mob-page-breadcrumb {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245,240,232,0.45);
  margin-bottom: 16px;
}
.mob-page-breadcrumb a {
  color: #C5A55A;
  text-decoration: none;
  transition: color 0.3s;
}
.mob-page-breadcrumb a:hover { color: #D4BC8A; }
.mob-page-breadcrumb span { margin: 0 10px; color: rgba(245,240,232,0.25); }
.mob-page-label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #C5A55A;
  margin-bottom: 14px;
  padding: 6px 20px;
  border: 1px solid rgba(197,165,90,0.25);
  border-radius: 9999px;
}
.mob-page-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.mob-page-hero h1 em { font-style: italic; color: #C5A55A; }
.mob-page-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════ TRUST BAR ═══════ */
.mob-page-trust {
  background: #0D0D0D;
  border-top: 1px solid rgba(197,165,90,0.1);
  border-bottom: 1px solid rgba(197,165,90,0.1);
  padding: 24px 40px;
}
.mob-page-trust-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mob-page-trust-item {
  text-align: center;
  color: #C5A55A;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.5;
}
.mob-page-trust-item svg {
  width: 20px; height: 20px; fill: #C5A55A;
  margin-bottom: 6px; display: block;
  margin-left: auto; margin-right: auto;
  opacity: 0.8;
}

/* ═══════ MAIN CONTENT AREA (full-width, single column) ═══════ */
.mob-page-main {
  display: block;
  max-width: none;
  margin: 0;
  padding: 80px 80px 100px;
  width: 100%;
  box-sizing: border-box;
}

/* ═══════ CONTENT TYPOGRAPHY ═══════ */
.mob-page-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: #1A1A1A;
  margin: 4rem 0 1.8rem;
  padding-bottom: 20px;
  position: relative;
}
.mob-page-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #C5A55A, rgba(197,165,90,0.2));
  border-radius: 2px;
}
.mob-page-content h2:first-child { margin-top: 0; }
.mob-page-content h2 em { font-style: italic; color: #C5A55A; }

.mob-page-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1A1A1A;
  margin: 3rem 0 1.2rem;
  padding-left: 18px;
  border-left: 3px solid #C5A55A;
}

.mob-page-content h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1A1A1A;
  margin: 2rem 0 0.8rem;
}

.mob-page-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.95;
  color: #555;
  margin: 0 0 1.6rem;
}
.mob-page-content strong { font-weight: 600; color: #1A1A1A; }
.mob-page-content a {
  color: #C5A55A;
  text-decoration: none;
  border-bottom: 1px solid rgba(197,165,90,0.25);
  transition: all 0.3s;
}
.mob-page-content a:hover { color: #A8893E; border-bottom-color: #A8893E; }

/* Lists */
.mob-page-content ul, .mob-page-content ol {
  padding-left: 0;
  list-style: none;
  margin: 2rem 0;
}
.mob-page-content ul li, .mob-page-content ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}
.mob-page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #C5A55A, #A8893E);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(197,165,90,0.1);
}
.mob-page-content ol { counter-reset: item; }
.mob-page-content ol li { counter-increment: item; padding-left: 42px; }
.mob-page-content ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #C5A55A;
  background: rgba(197,165,90,0.06);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blockquote */
.mob-page-content blockquote {
  border-left: 3px solid #C5A55A;
  margin: 3rem 0;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, #FAF7F2, #F5F0E8);
  border-radius: 0 20px 20px 0;
  position: relative;
}
.mob-page-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: rgba(197,165,90,0.2);
  line-height: 1;
}
.mob-page-content blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: #6B6355;
  margin: 0;
  line-height: 1.85;
}

.mob-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 3rem 0;
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}

/* ═══════ TABLE PREMIUM ═══════ */
.mob-page-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 3rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(197,165,90,0.1);
}
.mob-page-content table th {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  color: #C5A55A;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 18px 22px;
  text-align: left;
}
.mob-page-content table td {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(197,165,90,0.06);
  color: #555;
  font-weight: 300;
  background: #FFFFFF;
}
.mob-page-content table tr:last-child td { border-bottom: none; }
.mob-page-content table tr:hover td { background: #FDFBF7; }
.mob-page-content table td:first-child { font-weight: 500; color: #1A1A1A; }

/* ═══════ INFO CARD ═══════ */
/* ══ MOB-AVIS: Testimonials Page (clean beige theme, no dark blocks) ══ */
.mob-avis {
  background: #FFFFFF;
}
.mob-avis h2 {
  color: #0D0D0D;
  margin-bottom: 1.2rem;
}
.mob-avis h3 {
  color: #0D0D0D;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.mob-avis h4 {
  color: #0D0D0D;
  font-weight: 600;
}
.mob-avis p {
  color: #555;
}

/* Override dark highlight in avis: use light beige instead */
.mob-avis .mob-highlight {
  background: linear-gradient(135deg, #FAF7F2, #F5F0E8) !important;
  border: 1px solid rgba(197,165,90,0.15) !important;
  border-left: 4px solid #C5A55A !important;
  border-radius: 12px !important;
  padding: 2rem 2.5rem !important;
  margin: 1.5rem 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.mob-avis .mob-highlight h4 {
  color: #0D0D0D !important;
}
.mob-avis .mob-highlight p {
  color: #555 !important;
}

/* FAQ styling for avis */
.mob-avis .mob-faq {
  background: #FFFFFF;
}
.mob-avis .mob-faq-item {
  border-bottom: 1px solid rgba(197,165,90,0.15);
}
.mob-avis .mob-faq-q {
  color: #0D0D0D;
}
.mob-avis .mob-faq-a {
  color: #555;
}

.mob-info-card {
  background: linear-gradient(135deg, #FDFBF7, #F8F4ED);
  border: 1px solid rgba(197,165,90,0.12);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.mob-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #C5A55A, #D4BC8A);
  border-radius: 4px 0 0 4px;
}
.mob-info-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 14px;
}
.mob-info-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
}
/* ── Highlight INSIDE info-card = inline callout (not dark breakout) ── */
body:not(.home) .mob-page-content .mob-info-card .mob-highlight,
body:not(.home) .mob-page-content .mob-info-card p.mob-highlight,
.mob-info-card .mob-highlight,
.mob-info-card p.mob-highlight {
  all: unset !important;
  display: block !important;
  background: rgba(197,165,90,0.08) !important;
  border-left: 3px solid #C5A55A !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 16px 20px !important;
  margin: 16px 0 8px !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.8 !important;
  color: #5C5340 !important;
  width: auto !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
body:not(.home) .mob-page-content .mob-info-card .mob-highlight::before,
.mob-info-card .mob-highlight::before {
  display: none !important;
}

/* ═══════ PRIX TABLEAU (dans info-card) ═══════ */
.mob-prix-tableau {
  margin: 1.2rem 0 1.5rem;
}
.mob-prix-tableau table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(197,165,90,0.10);
}
.mob-prix-tableau table tr td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(197,165,90,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: #555;
  background: #FFFFFF;
  vertical-align: middle;
}
.mob-prix-tableau table tr:last-child td {
  border-bottom: none;
}
.mob-prix-tableau table tr:hover td {
  background: #FDFBF7;
}
.mob-prix-tableau table tr td:first-child {
  font-weight: 500;
  color: #1A1A1A;
  width: 60%;
}
.mob-prix-tableau table tr td:last-child {
  text-align: right;
  white-space: nowrap;
}
.mob-prix-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #C5A55A;
  transition: color 0.3s ease;
}
.mob-prix-val.mob-prix-loaded {
  color: #C5A55A;
}
.mob-prix-val.mob-prix-up {
  color: #27ae60;
}
.mob-prix-val.mob-prix-down {
  color: #c0392b;
}
.mob-info-card .mob-prix-tableau + p {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #999;
}

/* ═══════ PAGE HEADER (intro des pages outils/cours) ═══════ */
.mob-page-header {
  margin-bottom: 3rem;
}
.mob-page-header h2 {
  margin-top: 0;
}
.mob-page-header p {
  font-size: 1.05rem;
  max-width: 720px;
}

/* ═══════ CALCULATEURS & OUTILS (.mob-calc-*) ═══════ */
.mob-calc-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mob-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(197,165,90,0.08);
  gap: 20px;
}
.mob-calc-row:last-child {
  border-bottom: none;
}
.mob-calc-row label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1A1A1A;
  white-space: nowrap;
  min-width: 180px;
  flex-shrink: 0;
}
.mob-calc-row input[type="number"],
.mob-calc-row select {
  flex: 1;
  max-width: 320px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  -moz-appearance: textfield;
  appearance: textfield;
}
.mob-calc-row input[type="number"]::-webkit-inner-spin-button,
.mob-calc-row input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mob-calc-row input[type="number"]:focus,
.mob-calc-row select:focus {
  border-color: #C5A55A;
  box-shadow: 0 0 0 3px rgba(197,165,90,0.12);
}
.mob-calc-row input[type="number"]::placeholder {
  color: #B0A89C;
  font-weight: 300;
}
.mob-calc-row select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5A55A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Resultats des calculateurs */
.mob-calc-resultat,
.mob-calc-ttc,
.mob-calc-milliemes,
.mob-calc-pourcentage,
.mob-calc-prix-g,
.mob-calc-resultat-pv {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #C5A55A;
  min-width: 160px;
  text-align: right;
  flex: 1;
  max-width: 320px;
}
.mob-calc-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #999;
  font-weight: 300;
  text-align: right;
  margin-top: 4px;
}
.mob-calc-resultat-pv {
  font-size: 1rem;
  line-height: 1.7;
}
.mob-calc-resultat-pv strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: #C5A55A;
}

/* Info card contenant un calculateur */
.mob-info-card[data-mob-calc] {
  padding: 0;
  overflow: hidden;
}
.mob-info-card[data-mob-calc] h4 {
  padding: 24px 28px 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.mob-info-card[data-mob-calc] > p {
  padding: 0 28px 20px;
  font-size: 0.8rem;
  color: #999;
  margin: 0;
}
.mob-info-card[data-mob-calc] .mob-calc-form {
  border-top: 1px solid rgba(197,165,90,0.08);
}

/* ═══════ STEP CARDS ═══════ */
.mob-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 3rem 0;
}
.mob-step {
  background: #FFFFFF;
  border: 1px solid rgba(197,165,90,0.08);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.mob-step:hover {
  border-color: rgba(197,165,90,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}
.mob-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #C5A55A, #D4BC8A);
  color: #0D0D0D;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(197,165,90,0.25);
}
.mob-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 10px;
}
.mob-step p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #777;
  margin: 0;
}

/* ═══════ HIGHLIGHT SECTION ═══════ */
.mob-highlight {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  border-radius: 24px;
  padding: 52px 48px;
  margin: 4rem 0;
  color: #F5F0E8;
  position: relative;
  overflow: hidden;
}
.mob-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197,165,90,0.08), transparent 70%);
}
.mob-highlight h3 {
  color: #FFFFFF;
  border-left-color: #C5A55A;
  margin-top: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.mob-highlight h4 {
  color: #FFFFFF;
  margin-top: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.mob-highlight p { color: rgba(245,240,232,0.65); }
.mob-highlight strong { color: #C5A55A; }
.mob-highlight ul li { color: rgba(245,240,232,0.65); }
.mob-highlight ul li::before { box-shadow: none; }

/* ═══════ GUARANTEE GRID ═══════ */
.mob-guarantees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 3rem 0;
}
.mob-guarantee {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  background: #FDFBF7;
  border-radius: 16px;
  border: 1px solid rgba(197,165,90,0.06);
  transition: all 0.3s;
}
.mob-guarantee:hover {
  border-color: rgba(197,165,90,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.mob-guarantee svg {
  width: 24px;
  height: 24px;
  fill: #C5A55A;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}
.mob-guarantee h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  margin: 0 0 6px;
}
.mob-guarantee p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #777;
  margin: 0;
}

/* ═══════ TYPES GRID ═══════ */
.mob-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 3rem 0;
}
.mob-type-card {
  padding: 30px 26px;
  background: #FFFFFF;
  border: 1px solid rgba(197,165,90,0.06);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.mob-type-card:hover {
  border-color: rgba(197,165,90,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.mob-type-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197,165,90,0.1);
}
.mob-type-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #777;
  margin: 0;
}

/* ═══════ SECTION DIVIDER ═══════ */
.mob-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,165,90,0.25), transparent);
  margin: 4rem 0;
  border: none;
}

/* ═══════ SIDEBAR ═══════ */
.mob-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
  height: fit-content;
}
.mob-sidebar-card {
  background: #FDFBF7;
  border: 1px solid rgba(197,165,90,0.08);
  border-radius: 20px;
  padding: 32px;
}
.mob-sidebar-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(197,165,90,0.12);
}
.mob-sidebar-cta {
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
  border: 1px solid rgba(197,165,90,0.12);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mob-sidebar-cta::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(197,165,90,0.1), transparent 70%);
}
.mob-sidebar-cta h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 12px;
  border: none;
  padding: 0;
  position: relative;
}
.mob-sidebar-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  margin: 0 0 24px;
  line-height: 1.7;
  position: relative;
}
.mob-sidebar-cta-btn {
  display: block;
  background: linear-gradient(135deg, #C5A55A, #D4BC8A);
  color: #0D0D0D;
  padding: 16px 28px;
  border-radius: 9999px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 24px rgba(197,165,90,0.25);
  position: relative;
}
.mob-sidebar-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(197,165,90,0.4);
}
.mob-sidebar-trust { list-style: none; padding: 0; margin: 0; }
.mob-sidebar-trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(197,165,90,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #555;
}
.mob-sidebar-trust li:last-child { border-bottom: none; }
.mob-sidebar-trust li svg { width: 18px; height: 18px; fill: #C5A55A; flex-shrink: 0; opacity: 0.75; }
.mob-sidebar-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: none;
}
.mob-sidebar-contact a:hover { color: #C5A55A; }
.mob-sidebar-contact svg { width: 18px; height: 18px; fill: #C5A55A; flex-shrink: 0; opacity: 0.75; }

/* ═══════ CTA BOTTOM ═══════ */
.mob-page-cta {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mob-page-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197,165,90,0.06), transparent 70%);
}
.mob-page-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.mob-page-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.mob-page-cta h2 em { font-style: italic; color: #C5A55A; }
.mob-page-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  line-height: 1.85;
  margin: 0 0 40px;
}
.mob-page-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mob-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #C5A55A, #D4BC8A);
  color: #0D0D0D;
  padding: 18px 44px;
  border-radius: 9999px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 24px rgba(197,165,90,0.3);
}
.mob-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(197,165,90,0.45);
}

/* ═══════ FAQ ═══════ */
.mob-faq {
  background: linear-gradient(180deg, #F8F4ED, #F5F0E8);
  padding: 100px 40px;
}
.mob-faq-inner { max-width: 760px; margin: 0 auto; }
.mob-faq-header { text-align: center; margin-bottom: 56px; }
.mob-faq-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 10px;
}
.mob-faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(197,165,90,0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.mob-faq-item:hover { border-color: rgba(197,165,90,0.2); }
.mob-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #1A1A1A;
}
.mob-faq-q h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
  flex: 1;
  padding-left: 0;
  border-left: none;
}
.mob-faq-q .mob-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F5F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}
.mob-faq-q .mob-faq-icon svg { width: 14px; height: 14px; fill: #C5A55A; transition: transform 0.3s; }
.mob-faq-item.active .mob-faq-icon { background: #C5A55A; }
.mob-faq-item.active .mob-faq-icon svg { fill: #FFFFFF; transform: rotate(180deg); }
.mob-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
  /* Fallback direct text styling (pages sans mob-faq-a-inner) */
  padding: 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 300;
  color: #777;
  line-height: 1.85;
}
.mob-faq-item.active .mob-faq-a { max-height: 500px; padding-bottom: 24px; }
.mob-faq-a-inner {
  padding: 0 28px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 300;
  color: #777;
  line-height: 1.85;
}
/* Pages sans JS accordion (structure simple sans mob-faq-inner) : réponses toujours visibles */
.mob-faq > .mob-faq-item .mob-faq-a {
  max-height: none;
  overflow: visible;
  padding-bottom: 20px;
}

/* ═══════ IMAGE + TEXT ALTERNATING BLOCKS ═══════ */
.mob-img-text {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  margin: 4rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(197,165,90,0.08) !important;
  min-height: 360px !important;
  padding: 0 !important;
}
.mob-img-text.mob-reverse {
  direction: rtl !important;
}
.mob-img-text.mob-reverse > * {
  direction: ltr !important;
}
.mob-img-text-img {
  overflow: hidden !important;
  min-height: 360px !important;
  height: 100% !important;
}
.mob-page-content .mob-img-text-img img,
.mob-img-text-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s ease !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: none !important;
}
.mob-img-text:hover .mob-img-text-img img {
  transform: scale(1.04);
}
.mob-img-text-content {
  display: flex;
  align-items: center;
  padding: 48px 52px;
  background: #FDFBF7;
}
.mob-img-text-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 14px;
  padding-left: 0;
  border-left: none;
  line-height: 1.2;
}
.mob-img-text-content h3 em {
  font-style: italic;
  color: #C5A55A;
}
.mob-img-text-content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: #666;
  margin: 0 0 8px;
}
.mob-img-text-content p:last-child {
  margin-bottom: 0;
}
.mob-img-text.mob-dark .mob-img-text-content {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
}
.mob-img-text.mob-dark .mob-img-text-content h3 {
  color: #FFFFFF;
}
.mob-img-text.mob-dark .mob-img-text-content p {
  color: rgba(245,240,232,0.6);
}

/* ═══════ RESPONSIVE ═══════ */
@media(max-width: 768px) {
  .mob-page-hero { min-height: 20vh; }
  .mob-page-hero-content { padding: 40px 24px 32px; }
  .mob-page-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .mob-page-cta { padding: 72px 24px; }
  .mob-faq { padding: 72px 24px; }
  .mob-steps { grid-template-columns: 1fr; }
  .mob-guarantees { grid-template-columns: 1fr; }
  .mob-types-grid { grid-template-columns: 1fr; }
  .mob-highlight { padding: 36px 28px; }
  .mob-img-text { grid-template-columns: 1fr; min-height: auto; }
  .mob-img-text.mob-reverse { direction: ltr; }
  .mob-img-text-img { max-height: 280px; }
  .mob-img-text-content { padding: 32px 28px; }
  body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
    padding: 56px 24px 72px !important;
  }
  .mob-prix-tableau table tr td { padding: 12px 14px; font-size: 0.85rem; }
  .mob-prix-val { font-size: 1.05rem; }
  .mob-info-card { padding: 1.8rem 2rem; }
  /* Calculateurs responsive */
  .mob-calc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 20px;
  }
  .mob-calc-row label {
    min-width: unset;
    font-size: 0.82rem;
  }
  .mob-calc-row input[type="number"],
  .mob-calc-row select {
    max-width: 100%;
    width: 100%;
  }
  .mob-calc-resultat,
  .mob-calc-ttc,
  .mob-calc-milliemes,
  .mob-calc-pourcentage,
  .mob-calc-prix-g,
  .mob-calc-resultat-pv {
    text-align: left;
    font-size: 1.4rem;
    max-width: 100%;
  }
  .mob-info-card[data-mob-calc] h4 {
    padding: 20px 20px 0;
  }
  .mob-info-card[data-mob-calc] > p {
    padding: 0 20px 16px;
  }
}
@media(max-width: 480px) {
  .mob-page-hero h1 { font-size: 1.9rem; }
  .mob-page-trust-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
    padding: 40px 18px 56px !important;
  }
  .mob-step { padding: 28px 22px; }
  .mob-type-card { padding: 24px 20px; }
  .mob-info-card { padding: 2rem; }
  .mob-highlight { padding: 28px 20px; border-radius: 16px; }
}

/* ═══════ TOOLS GRID (index page) ═══════ */
.mob-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 3rem 0;
}
.mob-tools-card {
  background: #FFFFFF;
  border: 1px solid rgba(197,165,90,0.08);
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.mob-tools-card:hover {
  border-color: rgba(197,165,90,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}
.mob-tools-icon {
  font-size: 2rem;
  margin: 0 0 12px;
  line-height: 1;
}
.mob-tools-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 8px;
  padding: 0;
  border: none;
}
.mob-tools-card h3 a {
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s;
}
.mob-tools-card h3 a:hover {
  color: #C5A55A;
}
.mob-tools-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: #777;
  margin: 0;
}
@media(max-width: 768px) {
  .mob-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 480px) {
  .mob-tools-grid { grid-template-columns: 1fr; }
}

/* ═══════ CALCULATOR PRICE DISPLAY (graphique pages) ═══════ */
.mob-calc-price-display {
  text-align: center;
  padding: 32px 24px;
  margin: 0 24px 24px;
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.mob-calc-price-display::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(197,165,90,0.1), transparent 70%);
}
.mob-calc-price-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(245,240,232,0.5);
  margin: 0 0 12px;
  position: relative;
}
.mob-calc-price-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #C5A55A;
  margin: 0 0 8px;
  position: relative;
}
.mob-calc-price-update {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(245,240,232,0.4);
  margin: 0;
  position: relative;
}

/* ═══════ CALCULATOR BUTTON ═══════ */
.mob-calc-btn {
  display: block;
  width: calc(100% - 48px);
  margin: 8px 24px 24px;
  background: linear-gradient(135deg, #C5A55A, #D4BC8A);
  color: #0D0D0D;
  padding: 16px 28px;
  border: none;
  border-radius: 9999px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 24px rgba(197,165,90,0.25);
}
.mob-calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(197,165,90,0.4);
}

/* ═══════ CALCULATOR RESULT BOX ═══════ */
.mob-calc-result-box {
  margin: 0 24px 24px;
  padding: 28px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(197,165,90,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.mob-calc-result-box h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 16px;
  padding: 0;
}
.mob-calc-result-box table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(197,165,90,0.10);
  margin: 0 0 16px;
}
.mob-calc-result-box table th {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  color: #C5A55A;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 18px;
  text-align: left;
}
.mob-calc-result-box table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(197,165,90,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  background: #FFFFFF;
}
.mob-calc-result-box table tr:last-child td { border-bottom: none; }
.mob-calc-result-box table td:first-child { font-weight: 500; color: #1A1A1A; }
.mob-calc-result-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C5A55A;
  margin: 0;
}
.mob-calc-result-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #999;
  font-weight: 300;
  margin: 6px 0 0;
}
.mob-calc-summary {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.mob-calc-summary::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(197,165,90,0.1), transparent 70%);
}
.mob-calc-summary h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #C5A55A;
  margin: 0 0 10px;
  position: relative;
}
.mob-calc-summary p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  margin: 6px 0 0;
  line-height: 1.7;
  position: relative;
}
.mob-calc-summary strong {
  color: #C5A55A;
  font-weight: 600;
}
.mob-calc-result-tax {
  color: #D32F2F;
  font-weight: 600;
}
.mob-calc-result-gain {
  color: #0D7D39;
  font-weight: 600;
}
.mob-calc-best {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #C5A55A;
  margin: 16px 0 0;
}
.mob-calc-cours {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #999;
  margin: 2rem 0 0;
}
.mob-calc-cours span[data-mob-cours] {
  color: #C5A55A;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   OVERRIDE INLINE STYLES — Pages pièces/contenu auto-généré
   Ces pages utilisent style="" inline qu'il faut écraser
   ═══════════════════════════════════════════════════════ */

/* Container principal : retirer le fond beige inline */
.mob-container[style] {
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  padding: 0 !important;
}
.mob-container {
  background: #FFFFFF;
  padding: 0;
}

/* H2 dans mob-container : utiliser le style page-content */
.mob-container > h2,
.mob-container > h2[style] {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #1A1A1A !important;
  margin: 3.5rem 7% 1.5rem !important;
  padding: 0 0 16px !important;
  text-align: left !important;
  position: relative !important;
  border-bottom: 1px solid rgba(197,165,90,0.12) !important;
}

/* Info cards : style premium au lieu de bordure gauche basique */
.mob-container .mob-info-card,
.mob-container .mob-info-card[style] {
  background: #FAFAF8 !important;
  border: 1px solid rgba(197,165,90,0.1) !important;
  border-left: 3px solid #C5A55A !important;
  border-radius: 12px !important;
  padding: 32px 36px !important;
  margin: 20px 7% 24px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03) !important;
}

/* H3 dans cards */
.mob-container .mob-info-card h3,
.mob-container .mob-info-card h3[style],
.mob-container .mob-prix-tableau h3,
.mob-container .mob-prix-tableau h3[style],
.mob-container .mob-highlight h3,
.mob-container .mob-highlight h3[style],
.mob-container .mob-faq h3,
.mob-container .mob-faq h3[style] {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #C5A55A !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
}

/* Paragraphes : nettoyer les styles inline */
.mob-container p,
.mob-container p[style] {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  color: #555 !important;
  margin: 0 0 14px !important;
}
.mob-container > p[style] {
  margin-left: 7% !important;
  margin-right: 7% !important;
}
.mob-container p:last-child {
  margin-bottom: 0 !important;
}
.mob-container p strong,
.mob-container p strong[style] {
  font-weight: 600 !important;
  color: #1A1A1A !important;
}

/* Prix tableau */
.mob-container .mob-prix-tableau,
.mob-container .mob-prix-tableau[style] {
  background: #FAFAF8 !important;
  border: 1px solid rgba(197,165,90,0.1) !important;
  border-left: 3px solid #C5A55A !important;
  border-radius: 12px !important;
  padding: 32px 36px !important;
  margin: 20px 7% 24px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03) !important;
}

/* Highlight : fond sombre au lieu de #FFF8F0 */
.mob-container .mob-highlight,
.mob-container .mob-highlight[style] {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 52px 7% !important;
  margin: 40px 0 !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.mob-container .mob-highlight h3,
.mob-container .mob-highlight h3[style] {
  color: #FFFFFF !important;
}
.mob-container .mob-highlight p,
.mob-container .mob-highlight p[style] {
  color: rgba(245,240,232,0.65) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.mob-container .mob-highlight strong {
  color: #C5A55A !important;
}

/* FAQ section */
.mob-container .mob-faq,
.mob-container .mob-faq[style] {
  background: #FAFAF8 !important;
  border: 1px solid rgba(197,165,90,0.1) !important;
  border-left: 3px solid #C5A55A !important;
  border-radius: 12px !important;
  padding: 32px 36px !important;
  margin: 20px 7% 24px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03) !important;
}

/* Liens dans les containers */
.mob-container a {
  color: #C5A55A;
  text-decoration: none;
  transition: color 0.3s;
}
.mob-container a:hover {
  color: #A8893E;
  text-decoration: underline;
}

/* Responsive */
@media(max-width: 768px) {
  .mob-container > h2,
  .mob-container > h2[style] {
    margin: 2.5rem 5% 1.2rem !important;
    font-size: 1.6rem !important;
  }
  .mob-container .mob-info-card,
  .mob-container .mob-info-card[style],
  .mob-container .mob-prix-tableau,
  .mob-container .mob-prix-tableau[style],
  .mob-container .mob-faq,
  .mob-container .mob-faq[style] {
    margin: 16px 5% 20px !important;
    padding: 24px 22px !important;
  }
  .mob-container .mob-highlight,
  .mob-container .mob-highlight[style] {
    padding: 36px 5% !important;
  }
  .mob-container > p[style] {
    margin-left: 5% !important;
    margin-right: 5% !important;
  }
}

/* Calculator responsive additions */
@media(max-width: 768px) {
  .mob-calc-btn {
    width: calc(100% - 40px);
    margin: 8px 20px 20px;
    padding: 14px 20px;
  }
  .mob-calc-result-box {
    margin: 0 20px 20px;
    padding: 20px;
  }
  .mob-calc-result-value {
    font-size: 1.6rem;
  }
  .mob-calc-summary {
    padding: 20px;
  }
}
@media(max-width: 480px) {
  .mob-calc-btn {
    width: calc(100% - 32px);
    margin: 8px 16px 16px;
  }
  .mob-calc-result-box {
    margin: 0 16px 16px;
    padding: 16px;
  }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED RESPONSIVE RULES FOR MOB-CONTAINER
   Applies to 1100+ pages with critical mobile optimization
   ═══════════════════════════════════════════════════════ */

/* 1024px — iPad Landscape */
@media(max-width: 1024px) {
  body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
    padding: 70px 60px 90px !important;
  }
  body:not(.home) .mob-page-content {
    max-width: 75% !important;
  }
  .mob-container > h2,
  .mob-container > h2[style] {
    margin: 3rem 6% 1.4rem !important;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem) !important;
  }
  .mob-container .mob-info-card,
  .mob-container .mob-info-card[style],
  .mob-container .mob-prix-tableau,
  .mob-container .mob-prix-tableau[style],
  .mob-container .mob-faq,
  .mob-container .mob-faq[style] {
    margin: 18px 6% 22px !important;
    padding: 28px 32px !important;
  }
  .mob-container .mob-highlight,
  .mob-container .mob-highlight[style] {
    padding: 48px 6% !important;
  }
  .mob-container .mob-info-card h3,
  .mob-container .mob-prix-tableau h3,
  .mob-container .mob-faq h3,
  .mob-container .mob-highlight h3 {
    font-size: 1.2rem !important;
  }
  .mob-container > p[style] {
    margin-left: 6% !important;
    margin-right: 6% !important;
    font-size: 0.93rem !important;
  }
  .mob-prix-tableau table tr td { padding: 14px 16px; font-size: 0.9rem; }
}

/* 768px — Tablets */
@media(max-width: 768px) {
  body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
    padding: 50px 20px 70px !important;
    max-width: 100% !important;
  }
  body:not(.home) .mob-page-content {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .mob-container,
  .mob-container[style] {
    padding: 0 !important;
  }

  .mob-container > h2,
  .mob-container > h2[style] {
    margin: 2.2rem 4% 1rem !important;
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    padding: 0 0 12px !important;
  }

  .mob-container .mob-info-card,
  .mob-container .mob-info-card[style],
  .mob-container .mob-prix-tableau,
  .mob-container .mob-prix-tableau[style],
  .mob-container .mob-faq,
  .mob-container .mob-faq[style] {
    margin: 14px 4% 16px !important;
    padding: 20px 20px !important;
    border-radius: 10px !important;
  }

  .mob-container .mob-info-card h3,
  .mob-container .mob-prix-tableau h3,
  .mob-container .mob-faq h3,
  .mob-container .mob-highlight h3 {
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
  }

  .mob-container .mob-highlight,
  .mob-container .mob-highlight[style] {
    padding: 32px 4% !important;
    margin: 28px 0 !important;
    border-radius: 12px !important;
  }

  .mob-container > p[style] {
    margin-left: 4% !important;
    margin-right: 4% !important;
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
  }

  .mob-container p,
  .mob-container p[style] {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
  }

  .mob-prix-tableau table { width: 100%; overflow-x: auto; }
  .mob-prix-tableau table tr td {
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
  }
  .mob-prix-val { font-size: 0.95rem !important; }

  .mob-info-card[data-mob-calc] h4 {
    padding: 0 !important;
    margin-bottom: 14px !important;
  }
  .mob-info-card[data-mob-calc] > p {
    padding: 0 0 12px !important;
    font-size: 0.88rem !important;
  }

  .mob-container .mob-faq-q {
    padding: 16px 20px !important;
  }
  .mob-container .mob-faq-a-inner {
    padding: 0 20px 16px !important;
  }
}

/* 480px — Mobile Phones */
@media(max-width: 480px) {
  body:not(.home) .wp-site-blocks .wp-block-group.mob-page-main {
    padding: 40px 14px 50px !important;
  }
  body:not(.home) .mob-page-content {
    max-width: 100% !important;
  }

  .mob-container,
  .mob-container[style] {
    background: #FFFFFF !important;
    padding: 0 !important;
  }

  .mob-container > h2,
  .mob-container > h2[style] {
    margin: 1.8rem 3% 0.8rem !important;
    font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
    padding: 0 0 10px !important;
    line-height: 1.2 !important;
  }

  .mob-container .mob-info-card,
  .mob-container .mob-info-card[style],
  .mob-container .mob-prix-tableau,
  .mob-container .mob-prix-tableau[style],
  .mob-container .mob-faq,
  .mob-container .mob-faq[style] {
    margin: 12px 3% 14px !important;
    padding: 16px 18px !important;
    border-radius: 8px !important;
    border-left: 3px solid #C5A55A !important;
  }

  .mob-container .mob-info-card h3,
  .mob-container .mob-prix-tableau h3,
  .mob-container .mob-faq h3 {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
  }

  .mob-container .mob-highlight,
  .mob-container .mob-highlight[style] {
    padding: 24px 3% !important;
    margin: 20px 0 !important;
    border-radius: 10px !important;
  }

  .mob-container .mob-highlight h3 {
    font-size: 1rem !important;
    color: #FFFFFF !important;
  }

  .mob-container .mob-highlight p,
  .mob-container .mob-highlight p[style] {
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
  }

  .mob-container > p[style],
  .mob-container p,
  .mob-container p[style] {
    margin-left: 3% !important;
    margin-right: 3% !important;
    font-size: 0.85rem !important;
    line-height: 1.75 !important;
    margin-bottom: 10px !important;
  }

  .mob-container > p[style]:first-of-type {
    margin-top: 0 !important;
  }

  /* Price table on mobile - horizontal scroll fallback */
  .mob-prix-tableau table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mob-prix-tableau table tr {
    display: table;
    width: 100%;
  }
  .mob-prix-tableau table tr td {
    padding: 10px 10px !important;
    font-size: 0.78rem !important;
    border-bottom: 1px solid rgba(197,165,90,0.08) !important;
  }
  .mob-prix-tableau table tr:first-child td {
    font-weight: 600;
    background: rgba(197,165,90,0.05);
  }
  .mob-prix-val { font-size: 0.9rem !important; }

  /* FAQ responsive */
  .mob-container .mob-faq-item {
    margin-bottom: 10px !important;
  }
  .mob-container .mob-faq-q {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
    cursor: pointer;
  }
  .mob-container .mob-faq-a {
    display: none;
  }
  .mob-container .mob-faq-a-inner {
    padding: 0 16px 12px !important;
    font-size: 0.82rem !important;
  }

  /* Calculator responsive */
  .mob-info-card[data-mob-calc] {
    padding: 14px 16px !important;
  }
  .mob-info-card[data-mob-calc] h4 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }
  .mob-info-card[data-mob-calc] > p {
    font-size: 0.82rem !important;
    padding: 0 0 10px !important;
  }

  .mob-calc-form {
    padding: 12px 0 !important;
  }
  .mob-calc-row {
    padding: 10px 0 !important;
    margin-bottom: 8px !important;
  }
  .mob-calc-row label {
    font-size: 0.78rem !important;
    min-width: auto !important;
    margin-bottom: 6px !important;
  }
  .mob-calc-row input[type="number"],
  .mob-calc-row select {
    font-size: 0.85rem !important;
    padding: 9px 11px !important;
    width: 100% !important;
  }
  .mob-calc-resultat,
  .mob-calc-ttc,
  .mob-calc-milliemes,
  .mob-calc-pourcentage,
  .mob-calc-prix-g,
  .mob-calc-resultat-pv {
    font-size: 1.2rem !important;
    text-align: left !important;
  }

  .mob-calc-price-display {
    padding: 20px 16px !important;
    margin: 0 12px 16px !important;
  }
  .mob-calc-price-label {
    font-size: 0.62rem !important;
  }
  .mob-calc-price-value {
    font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  }

  .mob-calc-result-box {
    margin: 0 12px 16px !important;
    padding: 16px !important;
  }
  .mob-calc-result-box h4 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
  }
  .mob-calc-result-box table {
    font-size: 0.8rem !important;
  }
  .mob-calc-result-box table th {
    font-size: 0.62rem !important;
    padding: 10px 12px !important;
  }
  .mob-calc-result-box table td {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }
  .mob-calc-result-value {
    font-size: 1.4rem !important;
  }

  .mob-calc-summary {
    padding: 16px !important;
    margin-top: 12px !important;
  }
  .mob-calc-summary h4 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }
  .mob-calc-summary p {
    font-size: 0.8rem !important;
    margin-top: 4px !important;
  }

  /* Links in containers */
  .mob-container a {
    display: inline-block;
    word-break: break-word;
  }
}
