/*
Theme Name: ChiwaCore Child
Theme URI: https://chiwacloud.com/
Description: Official customization layer for Pôle Santé Méditerranée — ChiwaCare.
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: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/wp-content/fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
}
/* ==============================================================================
 * CHARTE ÉDITORIALE & DESIGN SOUVERAIN — PÔLE SANTÉ MÉDITERRANÉE (CHIWACARE)
 * Couleurs : Cyan clinique #0e7490, Vert santé #059669, Fond #f8fafc
 * Typographie : Figtree (Titres) & Inter (Corps de texte)
 * ============================================================================== */

:root {
  --care-cyan: #0e7490;
  --care-cyan-dark: #155e75;
  --care-cyan-light: #e0f2fe;
  --care-cyan-soft: #f0fdfa;
  --care-emerald: #047857;
  --care-emerald-dark: #065f46;
  --care-emerald-light: #ecfdf5;
  --care-slate-900: #0f172a;
  --care-slate-800: #1e293b;
  --care-slate-700: #334155;
  --care-slate-600: #475569;
  --care-slate-500: #64748b;
  --care-slate-200: #e2e8f0;
  --care-slate-100: #f1f5f9;
  --care-bg: #f8fafc;
  --care-card-bg: #ffffff;
  --care-border: #e2e8f0;
  --font-heading: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==============================================================================
 * DÉBOXAGE DE PAGE-BLANK.PHP & BASE TYPOGRAPHIQUE
 * ============================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.page-template-page-blank #content,
.page-template-page-blank-php #content,
#content.content-area {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body, .chiwa-demo-root {
  font-family: var(--font-body);
  color: var(--care-slate-800);
  background-color: var(--care-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .care-heading, .care-section-heading, .chiwa-serif {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--care-slate-900);
}

/* ==============================================================================
 * TOPBAR BANNER OFFICIELLE & SÉCURISÉE
 * ============================================================================== */
#top-bar {
  height: auto !important;
  min-height: 44px;
  background: var(--care-slate-900) !important;
  border-bottom: 2px solid var(--care-cyan);
}

.chiwa-demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  color: #f8fafc;
  background: var(--care-slate-900);
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  text-align: center;
}

.chiwa-demo-badge {
  font-weight: 700;
  color: #38bdf8;
  background: rgba(14, 116, 144, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.chiwa-demo-banner a {
  color: #34d399;
  text-decoration: underline;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  transition: color 0.2s ease;
}

.chiwa-demo-banner a:hover {
  color: #6ee7b7;
}

@media (max-width: 550px) {
  .chiwa-demo-banner {
    font-size: 11.5px;
    padding: 0.4rem 0.5rem;
    gap: 0.3rem;
  }
  .chiwa-demo-badge {
    font-size: 10px;
    padding: 1px 6px;
  }
}

/* ==============================================================================
 * HEADER & NAVIGATION ÉPURÉE
 * ============================================================================== */
.header-main {
  background: #ffffff !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

#logo {
  max-width: 250px !important;
  width: auto !important;
}

#logo a {
  display: flex !important;
  align-items: center !important;
}

#logo img,
.header_logo,
.header-logo,
.header-logo-dark {
  max-width: 240px !important;
  width: 230px !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

.header-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.header-nav > li {
  white-space: nowrap !important;
}

.header-nav li a {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--care-slate-700) !important;
  letter-spacing: 0.2px !important;
  padding: 8px 11px !important;
  white-space: nowrap !important;
  transition: color 0.2s ease;
}

.header-nav li a:hover,
.header-nav li.current-menu-item a {
  color: var(--care-cyan) !important;
}

.header-button a {
  background: linear-gradient(135deg, var(--care-cyan) 0%, var(--care-emerald) 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  border: none !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.header-button a:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3) !important;
}

@media (max-width: 850px) {
  #logo img,
  .header_logo,
  .header-logo,
  .header-logo-dark {
    max-width: 210px !important;
    width: 200px !important;
    max-height: 46px !important;
  }
}

@media (max-width: 550px) {
  #logo {
    max-width: 185px !important;
  }
  #logo img,
  .header_logo,
  .header-logo,
  .header-logo-dark {
    max-width: 180px !important;
    width: 175px !important;
    max-height: 40px !important;
  }
}

/* ==============================================================================
 * ÉLÉMENTS UX BUILDER & SECTION HEADINGS
 * ============================================================================== */
.care-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--care-cyan);
  margin-bottom: 10px;
}

.care-section-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--care-slate-900) !important;
  margin-bottom: 12px;
  line-height: 1.25;
}

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

.care-divider {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, var(--care-cyan) 0%, var(--care-emerald) 100%);
  border-radius: 2px;
  margin: 14px auto;
}

.care-section-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--care-slate-600);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ==============================================================================
 * HERO CLINIQUE EN BANNER CHIVACORE
 * ============================================================================== */
.care-hero-badge-pill {
  background: rgba(14, 116, 144, 0.4) !important;
  border: 1px solid #38bdf8 !important;
  border-radius: 9999px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  display: inline-block;
  color: #ffffff !important;
  text-transform: uppercase;
}

.care-hero-h1,
.care-hero-title {
  font-family: var(--font-heading) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff !important;
  margin: 0 0 10px 0;
  word-wrap: break-word;
}

.care-hero-lead {
  color: #e2e8f0;
  margin: 0 auto;
  max-width: 780px;
}

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

.care-btn-cta {
  background: linear-gradient(135deg, #0e7490 0%, #059669 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.care-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.care-reassurance-item {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  color: #ffffff;
}

.care-reassurance-item strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 2px;
}

.care-reassurance-item span {
  font-size: 11px;
  color: #cbd5e1;
}

/* ==============================================================================
 * BANDEAU CA-01
 * ============================================================================== */
.care-ca01-bar {
  font-size: 12.5px;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  padding: 4px 12px;
}

.care-ca01-pill {
  background: #047857;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.care-ca01-bar a {
  color: #047857;
  font-weight: 600;
  text-decoration: underline;
}

/* ==============================================================================
 * CARTES DE SPÉCIALITÉS & SERVICES
 * ============================================================================== */
.care-card-box {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.care-card-box:hover {
  transform: translateY(-4px);
  border-color: var(--care-cyan);
  box-shadow: 0 16px 20px -5px rgba(14, 116, 144, 0.08);
}

.care-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.care-card-box h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.care-card-box .desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.care-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.84rem;
  color: #334155;
  text-align: left;
}

.care-checklist li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.care-checklist li::before {
  content: "✓";
  color: #047857;
  font-weight: 700;
}

/* ==============================================================================
 * CARTES PRATICIENS DIPLÔMÉS
 * ============================================================================== */
.care-practitioner-card {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.care-practitioner-card:hover {
  transform: translateY(-4px);
  border-color: var(--care-emerald);
  box-shadow: 0 16px 20px -5px rgba(5, 150, 105, 0.08);
}

.care-practitioner-header {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
  padding: 18px 14px;
  text-align: center;
  border-bottom: 1px solid var(--care-border);
}

.care-practitioner-avatar {
  font-size: 34px;
  margin-bottom: 6px;
}

.care-practitioner-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: #0f172a;
}

.care-practitioner-header .discipline {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0e7490;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.care-practitioner-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.care-practitioner-body p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.care-practitioner-body .tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.care-practitioner-body .tags span {
  font-size: 10.5px;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.care-practitioner-body .simulation-tag {
  font-size: 10.5px;
  color: #475569 !important;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ==============================================================================
 * CONTENEUR DE RÉSERVATION & SHORTCODE
 * ============================================================================== */
.care-booking-wrapper {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  padding: 36px 24px;
}

.care-steps-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--care-border);
}

.care-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.care-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0e7490;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.care-booking-sublinks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  padding-top: 16px;
  border-top: 1px solid var(--care-border);
}

.care-booking-sublinks a {
  color: #0e7490;
  text-decoration: underline;
  font-weight: 600;
}

/* ==============================================================================
 * VALEURS, AVIS & INFORMATIONS
 * ============================================================================== */
.care-value-card {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 12px;
  padding: 24px 18px;
  height: 100%;
}

.care-value-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.care-value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.care-value-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.care-review-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}

.care-review-card .stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 8px;
}

.care-review-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}

.care-review-card .author strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
}

.care-review-card .author span {
  font-size: 0.8rem;
  color: #475569 !important;
}

.care-info-card {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}

.care-info-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.care-info-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 8px;
}

.care-info-card .sub {
  font-size: 0.85rem;
  color: #64748b;
}

.care-info-card a {
  color: #0e7490;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: underline;
}

/* ==============================================================================
 * FOOTER SOUVERAIN ÉPURÉ
 * ============================================================================== */
#footer {
  background-color: var(--care-slate-900) !important;
  color: #cbd5e1 !important;
}

.footer-bottom {
  background-color: #090e17 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.absolute-footer {
  font-size: 13px !important;
  color: #cbd5e1 !important;
  padding: 16px 0 !important;
}

.absolute-footer a {
  color: #cbd5e1 !important;
  text-decoration: underline !important;
}

@media (prefers-reduced-motion: reduce) {
  .chiwa-demo-root * {
    transition: none !important;
  }
}

/* ==============================================================================
 * STYLES UX BUILDER COMPLÉMENTAIRES (PAGES SECONDAIRES)
 * ============================================================================== */
.care-practitioner-full-card {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.care-practitioner-full-card:hover {
  border-color: var(--care-cyan);
  box-shadow: 0 12px 20px -5px rgba(14, 116, 144, 0.08);
}

.care-practitioner-full-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border: 2px solid var(--care-cyan);
}

.care-practitioner-full-card .header-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.care-practitioner-full-card .header-line h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.care-practitioner-full-card .badge-dicipline {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.care-practitioner-full-card .badge-cab {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.care-practitioner-full-card .sub {
  color: #0e7490;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.care-practitioner-full-card .desc {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.care-practitioner-full-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.care-practitioner-full-card .tags span {
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.care-practitioner-full-card .cta-col {
  min-width: 170px;
  text-align: right;
}

.care-practitioner-full-card .cta-col .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.care-practitioner-full-card .cta-col .timing {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 12px;
}

.care-practitioner-full-card .cta-col .code {
  font-size: 10.5px;
  color: #475569 !important;
  margin-top: 6px;
  font-style: italic;
}

@media (max-width: 768px) {
  .care-practitioner-full-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .care-practitioner-full-card .avatar {
    margin: 0 auto;
  }
  .care-practitioner-full-card .header-line {
    justify-content: center;
  }
  .care-practitioner-full-card .tags {
    justify-content: center;
  }
  .care-practitioner-full-card .cta-col {
    text-align: center;
    width: 100%;
  }
}

.care-motif-card {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.care-motif-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.care-motif-card .top .code {
  font-size: 11px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.care-motif-card .top .price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.care-motif-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.care-motif-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.care-motif-card .meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: #334155;
}

.care-motif-card .meta li {
  margin-bottom: 4px;
}

.care-story-box {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.care-story-box h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.care-story-box p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
}

.care-story-box .quote-box {
  margin: 28px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.06) 0%, rgba(5, 150, 105, 0.06) 100%);
  border-left: 4px solid var(--care-cyan);
  border-radius: 0 10px 10px 0;
}

.care-story-box .quote-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--care-cyan);
  margin-bottom: 6px;
}

.care-story-box .quote-box p {
  font-size: 0.92rem;
  color: #334155;
  margin: 0;
}

.care-contact-box {
  background: #ffffff;
  border: 1px solid var(--care-border);
  border-radius: 14px;
  padding: 28px;
  height: 100%;
}

.care-contact-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.care-contact-box .item {
  margin-bottom: 16px;
}

.care-contact-box .item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--care-cyan);
  margin-bottom: 2px;
}

.care-contact-box .item p {
  color: #475569;
  margin: 0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.care-contact-box .access {
  padding-top: 14px;
  border-top: 1px solid var(--care-border);
}

.care-contact-box .access ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

.care-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
}

.care-info-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.care-info-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

/* Hero Title Strict Sizing */
.care-hero-h1,
.care-hero-title,
.chiwa-care-hero-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem) !important;
  line-height: 1.18 !important;
  margin: 12px auto 14px auto !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6) !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto;
  max-width: 860px !important;
  color: #ffffff !important;
}

@media (max-width: 849px) {
  .care-hero-h1,
  .care-hero-title,
  .chiwa-care-hero-title {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
    margin: 10px auto 12px auto !important;
  }
  .care-hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    max-width: 600px !important;
  }
}

@media (max-width: 550px) {
  .care-hero-h1,
  .care-hero-title,
  .chiwa-care-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin: 8px auto 10px auto !important;
  }
  .care-hero-lead {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    padding: 0 10px !important;
  }
  .care-hero-badge-pill {
    font-size: 11px !important;
    padding: 4px 12px !important;
  }
  .care-reassurance-item strong {
    font-size: 1.05rem !important;
  }
  .care-reassurance-item span {
    font-size: 9.5px !important;
  }
}
/* ==============================================================================
 * CHARTE PÔLE SANTÉ MÉDITERRANÉE — CABINETS MÉDICAUX & SOINS
 * ChiwaCore Sovereign Child Theme — Preset Médical Pluridisciplinaire
 * ============================================================================== */


:root {
  --care-cyan: #0e7490;
  --care-cyan-light: #38bdf8;
  --care-green: #047857;
  --care-orange: #f97316;
  --care-fond-pur: #f8fafc;
  --care-fond-brume: #eff6ff;
  --care-texte: #0f172a;
  --care-texte-muted: #64748b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--care-texte);
  background-color: var(--care-fond-pur);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .alt-font {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
  font-weight: 700;
}

/* Badge pilule Hero */
.chiwa-care-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(14, 116, 144, 0.4) !important;
  border: 1px solid #38bdf8 !important;
  border-radius: 40px;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Hero Title styled via strict sizing clamp section */

.chiwa-care-hero-sub {
  max-width: 780px;
  margin: 0 auto 25px;
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 300;
}

.chiwa-care-btn-cyan {
  background-color: var(--care-cyan) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4) !important;
  transition: all 0.3s ease !important;
}

.chiwa-care-btn-cyan:hover {
  background-color: #155e75 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.6) !important;
}

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

.chiwa-care-reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.75);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.chiwa-care-reassurance-item i {
  color: var(--care-cyan-light);
}

/* En-têtes */
.chiwa-care-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--care-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.chiwa-care-eyebrow.green {
  color: var(--care-green);
}

.chiwa-care-eyebrow.light {
  color: #ffffff;
}

.chiwa-care-section-heading {
  font-size: 2.7rem;
  color: var(--care-texte);
  margin-bottom: 15px;
}

.chiwa-care-section-heading.light {
  color: #ffffff;
}

.chiwa-care-divider {
  width: 60px;
  height: 3px;
  background: var(--care-cyan);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.chiwa-care-divider.green {
  background: var(--care-green);
}

.chiwa-care-divider.light {
  background: #ffffff;
}

/* Cartes Spécialités */
.chiwa-care-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s ease;
}

.chiwa-care-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(14, 116, 144, 0.12);
  border-color: var(--care-cyan);
}

.chiwa-care-card.highlighted {
  border: 2px solid var(--care-cyan);
  box-shadow: 0 8px 30px rgba(14, 116, 144, 0.15);
}

.chiwa-care-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--care-cyan);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.chiwa-care-card-badge.green {
  background: var(--care-green);
}

.chiwa-care-card-header h3 {
  font-size: 1.45rem;
  color: var(--care-texte);
  margin-bottom: 4px;
}

.chiwa-care-card-info {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--care-cyan);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.chiwa-care-card-desc {
  font-size: 0.92rem;
  color: var(--care-texte-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.chiwa-care-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  font-size: 0.88rem;
  color: var(--care-texte);
  flex-grow: 1;
}

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

.chiwa-care-card-features li::before {
  content: "✓";
  color: var(--care-green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Tableau déontologique */
.chiwa-care-charter-board {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--care-cyan);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.chiwa-care-charter-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--care-cyan);
  margin-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.chiwa-care-charter-item {
  margin-bottom: 18px;
}

.chiwa-care-charter-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--care-texte);
  margin-bottom: 4px;
}

.chiwa-care-charter-item span {
  font-size: 0.9rem;
  color: var(--care-texte-muted);
  line-height: 1.5;
}

/* Features */
.chiwa-care-feature-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  text-align: center;
  height: 100%;
}

.chiwa-care-icon {
  width: 60px;
  height: 60px;
  background: #e0f2fe;
  color: var(--care-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}

.chiwa-care-icon.green {
  background: #dcfce7;
  color: var(--care-green);
}

.chiwa-care-icon.orange {
  background: #ffedd5;
  color: var(--care-orange);
}

/* Booking container */
.chiwa-care-booking-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(14, 116, 144, 0.08);
  border: 1px solid #e2e8f0;
}

/* Reviews */
.chiwa-care-review {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  color: #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chiwa-care-review .stars {
  color: #fef08a;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.chiwa-care-review p {
  font-size: 0.98rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.chiwa-care-review .author strong {
  display: block;
  color: #ffffff;
}

.chiwa-care-review .author span {
  color: #bae6fd;
  font-size: 0.8rem;
}

/* Purge default WordPress widgets */
.footer-widgets.footer-1,
.footer-widgets.footer-2,
.footer-widgets {
  display: none !important;
}


/* ==============================================================================
 * TOP BAR SOUVERAINE DE JAKE — BANNIÈRE OFFICIELLE HOMOLOGUÉE
 * ============================================================================== */
#top-bar {
  height: auto !important;
  min-height: 44px !important;
  background: var(--care-slate-900) !important;
  border-bottom: 2px solid var(--care-cyan) !important;
}

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

.chiwa-demo-banner,
#chiwa-demo-banner {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 8px 12px !important;
  color: #f8fafc !important;
  background: var(--care-slate-900) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.chiwa-demo-banner a {
  color: #34d399 !important;
  text-decoration: underline !important;
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
}

@media (max-width: 550px) {
  #top-bar {
    height: auto !important;
    min-height: 44px !important;
    line-height: normal !important;
    padding: 0 !important;
  }
  .chiwa-demo-banner,
  #chiwa-demo-banner {
    font-size: 11.5px !important;
    padding: 6px 10px !important;
    gap: 0.35rem !important;
  }
  .chiwa-demo-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .chiwa-demo-banner a {
    min-height: 36px !important;
    font-size: 11.5px !important;
  }
}

/* Header & Navigation intermediate desktop scaling (850px - 1080px) */
@media (min-width: 850px) and (max-width: 1080px) {
  #logo {
    max-width: 155px !important;
    width: 145px !important;
  }
  #logo img,
  .header_logo,
  .header-logo,
  .header-logo-dark {
    max-width: 150px !important;
    width: 140px !important;
    max-height: 38px !important;
  }
  .header-nav li a {
    font-size: 11px !important;
    padding: 6px 4px !important;
    letter-spacing: 0 !important;
  }
  .header-button a {
    font-size: 11.5px !important;
    padding: 6px 9px !important;
  }
}

/* Garantir logo unique */ #logo .header-logo-dark, .header-inner .header-logo-dark { display: none !important; }


/* ==============================================================================
 * CIBLES TACTILES RESPONSIVE & CONFORMITÉ WCAG 2.1 (TOUCH TARGETS >= 48px)
 * ============================================================================== */
@media (max-width: 850px) {
  .button,
  button,
  .care-btn-cta,
  .chiwa-care-btn-cyan,
  .chiwa-btn-outline,
  .header-button a,
  a.button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
    min-height: 48px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  select,
  input,
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  textarea,
  .form-flat input,
  .form-flat select,
  .chiwa-care-booking-container select,
  .chiwa-care-booking-container input,
  .care-booking-wrapper select,
  .care-booking-wrapper input,
  .chiwaty-care-reservations select,
  .chiwaty-care-reservations input,
  .chiwaty-care-reservations__grid select,
  .chiwaty-care-reservations__grid input {
    min-height: 48px !important;
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
  }

  .footer-nav li a,
  .footer-nav a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
  }
}

/* Ratios de contraste WCAG 2.1 (AA/AAA) */
.chiwa-care-eyebrow.green,
.care-eyebrow.green,
.chiwa-care-eyebrow-green,
span.chiwa-care-eyebrow.green {
  color: #047857 !important;
  font-weight: 700 !important;
}

.simulation-tag,
.care-simulation-mention,
.simulation-code,
.chiwa-care-secondary-text,
.care-practitioner-body .simulation-tag,
.care-review-card .author span,
.care-practitioner-full-card .cta-col .code {
  color: #475569 !important;
}

.absolute-footer,
.absolute-footer p,
.absolute-footer span,
.absolute-footer a,
.footer-bottom,
.footer-bottom p,
.footer-bottom span,
.footer-bottom a {
  color: #cbd5e1 !important;
}

.absolute-footer a:hover,
.footer-bottom a:hover {
  color: #ffffff !important;
}

/* ==============================================================================
 * RENFORCEMENT CONTRASTE ET ERGONOMIE WCAG 2.1 AA/AAA (CHIWACARE DEMO)
 * ============================================================================== */
.care-ca01-pill {
  background: #047857 !important;
  color: #ffffff !important;
}

/* Boutons de créneaux de réservation (évite le conflit dark text sur dark green) */
.chiwaty-care-reservations button.chiwaty-care-reservations__candidate {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.chiwaty-care-reservations button.chiwaty-care-reservations__candidate:hover,
.chiwaty-care-reservations button.chiwaty-care-reservations__candidate.is-selected {
  background: #0e7490 !important;
  color: #ffffff !important;
  outline: 2px solid #0891b2 !important;
}

/* Bouton de validation primaire réservation */
.chiwaty-care-reservations button:not(.chiwaty-care-reservations__candidate) {
  background: #0e7490 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.chiwaty-care-reservations button:not(.chiwaty-care-reservations__candidate):hover {
  background: #0891b2 !important;
}

/* Contraste des avis patients */
.chiwa-care-review .stars {
  color: #fbbf24 !important;
}
.chiwa-care-review p {
  color: #f1f5f9 !important;
}
.chiwa-care-review .author strong {
  color: #ffffff !important;
}
.chiwa-care-review .author span {
  color: #bae6fd !important;
}

/* Contraste des bordures de formulaires (WCAG 2.1 non-text contrast min 3.0:1) */
.chiwaty-care-reservations input,
.chiwaty-care-reservations select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border-color: #64748b !important;
}

/* Fix contrast on paragraph, reviews, buttons, and menu */
p, .text-muted {
  color: #475569;
}
.chiwa-care-review {
  background: #155e75 !important;
  color: #ffffff !important;
}
.chiwa-care-review p {
  color: #f8fafc !important;
}
.chiwa-care-review .author strong {
  color: #ffffff !important;
}
.chiwa-care-review .author span {
  color: #e0f2fe !important;
}
a[href$="contact/"] > span,
.button.primary > span,
.button.secondary > span {
  color: #ffffff !important;
}
#menu-menu-principal-1 a,
.mfp-content a,
.sidebar-menu a {
  color: #ffffff !important;
}
.absolute-footer, .footer-bottom, .copyright-footer, .copyright-footer strong, .copyright-footer a {
  color: #ffffff !important;
}
