/* ═══════════════════════════════════════════════════════════════════════════
   CABINET PODOLOGIE COGNAC — Premium Medical Design v8
   Transposé de la maquette premium v2
   Font: Inter · Navy: #0F2645 · CTA: #D95B1B · Snow: #FAFBFD
   Conforme Code de déontologie pédicures-podologues
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES — Premium Design System
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Primary palette */
  --navy:         #0F2645;
  --navy-mid:     #1B3A5C;
  --navy-light:   #2D5F8A;
  --blue-accent:  #3B82C4;
  --blue-soft:    #5BA0D9;

  /* Surfaces */
  --ice:          #EBF2FA;
  --ice-warm:     #F4F7FB;
  --snow:         #FAFBFD;
  --white:        #FFFFFF;

  /* Text */
  --text:         #1A2332;
  --text-2:       #556678;
  --text-muted:   #8899AA;

  /* Borders */
  --border:       #E2E8F0;
  --border-light: #F0F3F7;

  /* CTA */
  --cta:          #D95B1B;
  --cta-hover:    #C04E15;
  --success:      #2D8A5E;

  /* Layout */
  --content-max:  1200px;
  --narrow-max:   800px;
  --section-y:    clamp(5rem, 8vw, 8rem);

  /* Typography */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(15,38,69,0.04);
  --shadow-sm:    0 2px 8px rgba(15,38,69,0.06);
  --shadow-md:    0 4px 16px rgba(15,38,69,0.08);
  --shadow-lg:    0 8px 32px rgba(15,38,69,0.10);
  --shadow-xl:    0 16px 48px rgba(15,38,69,0.12);

  /* Transitions */
  --ease:         cubic-bezier(.4,0,.2,1);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

::selection { background: rgba(15,38,69,0.12); }

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* Space for fixed header */
.wp-site-blocks { padding-top: 76px; }


/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   WORDPRESS FSE — SECTION STYLING
   ═══════════════════════════════════════════════════════════════════════════ */

/* Each top-level group = full-width section */
.wp-block-post-content > .wp-block-group,
.cpc-front-page .wp-block-post-content > .wp-block-group {
  padding: var(--section-y) 2rem;
  position: relative;
}

/* Alternating section backgrounds */
.wp-block-post-content > .wp-block-group:nth-child(even) {
  background: var(--ice-warm);
}

/* Inner constrained wrapper */
.wp-block-post-content > .wp-block-group > .is-layout-constrained,
.wp-block-post-content > .wp-block-group > .is-layout-flow {
  max-width: var(--content-max);
  margin: 0 auto;
}

.is-layout-flow > * + * {
  margin-top: 1.25rem;
}

.wp-block-group.has-background {
  padding: var(--section-y) 2rem;
}

/* ─── Section label (small uppercase with accent bar) ─── */
.wp-block-post-content > .wp-block-group p.has-small-font-size,
.wp-block-post-content > .wp-block-group > .is-layout-constrained > p:first-child:not(:last-child),
.wp-block-post-content > .wp-block-group > .is-layout-flow > p:first-child:not(:last-child),
.wp-block-post-content > .wp-block-group > div > p:first-child:not(:last-child),
.wp-block-post-content p.has-small-font-size {
  font-size: .75rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--blue-accent) !important;
  margin-bottom: 1rem !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}

/* Accent bar before label */
.wp-block-post-content > .wp-block-group p.has-small-font-size::before,
.wp-block-post-content p.has-small-font-size::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}

/* ─── Section H2 ─── */
.wp-block-post-content h2.wp-block-heading {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  color: var(--navy);
}

/* No underline decoration — cleaner premium look */
.wp-block-post-content h2.wp-block-heading::after { display: none; }

/* ─── Subtitle after H2 ─── */
.wp-block-post-content h2 + p {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-2);
  font-size: 1.0625rem;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* ─── H3 in content ─── */
.wp-block-post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--navy-mid);
}

/* ─── Paragraphs ─── */
.wp-block-post-content p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ─── Links ─── */
.wp-block-post-content a:not(.wp-block-button__link):not(.cpc-card):not(.cpc-card-cta) {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,38,69,0.2);
  transition: border-color .2s, color .2s;
}
.wp-block-post-content a:not(.wp-block-button__link):not(.cpc-card):not(.cpc-card-cta):hover {
  border-color: var(--navy);
  color: var(--navy-mid);
}

/* ─── Lists ─── */
.wp-block-post-content ul { list-style: none; padding: 0; }
.wp-block-post-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.wp-block-post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-accent);
}

/* ─── Images with premium film overlay ─── */
.wp-block-image { margin: 2.5rem 0; }

.wp-block-image figure,
figure.wp-block-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.wp-block-image figure::after,
figure.wp-block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 38, 69, 0.15) 0%,
    rgba(59, 130, 196, 0.08) 40%,
    rgba(217, 91, 27, 0.10) 100%
  );
  border-radius: var(--radius-lg);
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
}

.wp-block-image figure:hover::after,
figure.wp-block-image:hover::after {
  opacity: 0.6;
}

.wp-block-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: transform 0.5s var(--ease);
}

.wp-block-image figure:hover img,
figure.wp-block-image:hover img {
  transform: scale(1.02);
}

.wp-block-image figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: .8125rem;
  margin-top: .75rem;
  position: relative;
  z-index: 1;
}

/* ─── Columns ─── */
.wp-block-columns {
  gap: 2.5rem;
  margin: 2rem 0;
  align-items: center;
}

/* ─── Buttons ─── */
.wp-block-buttons { margin: 2rem 0; gap: 1rem; }

.wp-block-button__link {
  border-radius: var(--radius-sm) !important;
  padding: 0.9375rem 2rem !important;
  font-weight: 600 !important;
  font-size: .9375rem !important;
  font-family: var(--font) !important;
  letter-spacing: -.01em;
  transition: all .3s var(--ease) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
}

/* Primary CTA button (orange) */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not([style*="0F2645"]):not([style*="1B3A5C"]):not([style*="1B365D"]) {
  box-shadow: 0 2px 8px rgba(217,91,27,0.25);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not([style*="0F2645"]):not([style*="1B3A5C"]):not([style*="1B365D"]):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217,91,27,0.3) !important;
}

/* Navy button */
.wp-block-button__link[style*="0F2645"],
.wp-block-button__link[style*="1B3A5C"],
.wp-block-button__link[style*="1B365D"] {
  box-shadow: 0 2px 8px rgba(15,38,69,0.2);
}
.wp-block-button__link[style*="0F2645"]:hover,
.wp-block-button__link[style*="1B3A5C"]:hover,
.wp-block-button__link[style*="1B365D"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,38,69,0.3) !important;
}

/* Orange CTA button */
.wp-block-button__link[style*="D95B1B"],
.wp-block-button__link[style*="d95b1b"],
.wp-block-button__link[style*="E65100"],
.wp-block-button__link[style*="e65100"],
.wp-block-button__link[style*="ea580c"] {
  box-shadow: 0 2px 8px rgba(217,91,27,0.25);
}
.wp-block-button__link[style*="D95B1B"]:hover,
.wp-block-button__link[style*="d95b1b"]:hover,
.wp-block-button__link[style*="E65100"]:hover,
.wp-block-button__link[style*="e65100"]:hover,
.wp-block-button__link[style*="ea580c"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217,91,27,0.3) !important;
}

/* Outline / ghost button */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid var(--border) !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--navy) !important;
  background: var(--ice) !important;
  transform: translateY(-2px);
}

/* Secondary white/ghost button (hero) */
.cpc-hero-page .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
}
.cpc-hero-page .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.5) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-hero-page {
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.cpc-hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(59,130,196,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(15,38,69,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cpc-hero-page .cpc-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  max-width: none !important;
}

.cpc-hero-page .cpc-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE HERO (post_content based, split layout)
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--snow) !important;
  padding: 6rem 2rem 5rem !important;
}

.cpc-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background:
    linear-gradient(135deg, rgba(15,38,69,0.03) 0%, transparent 50%),
    url('/wp-content/uploads/2026/03/hero-podologie.jpg') center/cover;
  opacity: 0.12;
  mask-image: linear-gradient(to left, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 20%, transparent 100%);
  pointer-events: none;
}

.cpc-hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cpc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ice);
  color: var(--navy-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.cpc-hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.cpc-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
  color: var(--navy) !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  max-width: none !important;
}

.cpc-hero h1 em {
  font-style: normal;
  color: var(--blue-accent);
}

.cpc-hero-desc {
  font-size: 1.125rem !important;
  color: var(--text-2) !important;
  line-height: 1.7 !important;
  max-width: 520px !important;
  margin-bottom: 2.5rem !important;
  text-align: left !important;
}

.cpc-hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cpc-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  background: var(--cta);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 8px rgba(217,91,27,0.25);
}

.cpc-hero-btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217,91,27,0.3);
  color: var(--white);
}

.cpc-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cpc-hero-btn-secondary:hover {
  border-color: var(--navy);
  background: var(--ice);
  transform: translateY(-2px);
  color: var(--navy);
}

.cpc-hero-trust {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cpc-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cpc-hero-trust-item svg {
  width: 16px; height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* Hero text (left side) */
.cpc-hero-text {
  min-width: 0;
}

/* Hero visual (right side) */
.cpc-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero card (right side) */
.cpc-hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-light);
  margin-left: auto;
}

.cpc-hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.cpc-hero-card-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cpc-hero-card-avatar svg { width: 24px; height: 24px; }

.cpc-hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.cpc-hero-card-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.cpc-hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cpc-hero-card-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-2);
}

.cpc-hero-card-info-row svg {
  width: 18px; height: 18px;
  color: var(--navy-light);
  flex-shrink: 0;
}

.cpc-hero-card-info-row strong {
  color: var(--navy);
  font-weight: 600;
}

.cpc-hero-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  background: var(--cta);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
}

.cpc-hero-card-btn:hover {
  background: var(--cta-hover);
}

.cpc-hero-card-mention {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* Hero responsive */
@media (max-width: 1024px) {
  .cpc-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cpc-hero-card { margin: 0 auto; }
}

@media (max-width: 768px) {
  .cpc-hero { min-height: auto; padding: 4rem 1.25rem 3rem !important; }
  .cpc-hero::before { display: none; }
  .cpc-hero-trust { gap: 1rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   DEONTOLOGIE BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-deonto-banner {
  background: var(--ice-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cpc-deonto-banner a {
  color: var(--navy-light);
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SHORTCODE GRIDS — Cards Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* Base card grid */
.cpc-grid {
  display: grid;
  gap: 1.25rem;
}

/* Specialty grid — 4 columns */
.cpc-specialites-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Pathology grid — 3 columns */
.cpc-pathologies-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Info grid — 3 columns */
.cpc-infos-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── Base card ─── */
.cpc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-light);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.cpc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ─── Specialty card ─── */
.cpc-specialite-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cpc-specialite-card:hover::after { opacity: 1; }

.cpc-card-icon {
  width: 44px;
  height: 44px;
  background: var(--ice);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.cpc-specialite-card:hover .cpc-card-icon {
  background: var(--navy);
}

.cpc-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.cpc-specialite-card:hover .cpc-card-icon svg {
  stroke: var(--white);
}

.cpc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  margin-top: 0;
  border-left: none;
  padding-left: 0;
}

.cpc-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: none;
  text-align: left;
}

.cpc-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.cpc-card:hover .cpc-card-cta { gap: 0.5rem; }

.cpc-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.cpc-card:hover .cpc-arrow {
  transform: translateX(2px);
}


/* ─── Pathology card (glass on navy bg) ─── */
.cpc-pathologie-card {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1) !important;
}

.cpc-pathologie-card:hover {
  background: rgba(255,255,255,0.14) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cpc-pathologie-accent {
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-soft), transparent);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.cpc-pathologie-card h3 {
  color: var(--white);
  font-size: 0.9375rem;
}

.cpc-pathologie-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cpc-pathologie-card .cpc-card-cta {
  color: var(--blue-soft);
  font-size: 0.75rem;
}


/* ─── Info card (centered) ─── */
.cpc-info-card {
  text-align: center;
}

.cpc-info-card .cpc-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
}

.cpc-info-card h3 {
  font-size: 0.9375rem;
  text-align: center;
}

.cpc-info-card p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cpc-info-detail {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 0.5rem;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* CTA RDV */
.cpc-cta-rdv {
  text-align: center;
}

.cpc-cta-rdv h2 {
  color: var(--navy) !important;
}

.cpc-cta-rdv p {
  text-align: center;
}

.cpc-cta-trust-row {
  justify-content: center;
}

.cpc-cta-trust-row p {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  max-width: none !important;
}

/* CTA Contact */
.cpc-cta-contact {
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-breadcrumb {
  padding: 1rem 2rem;
  background: var(--ice-warm);
  border-bottom: 1px solid var(--border-light);
}

.cpc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
}

.cpc-breadcrumb li {
  font-size: .8125rem;
  color: var(--text-muted);
}

.cpc-breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s;
}

.cpc-breadcrumb a:hover { color: var(--navy); }

.cpc-breadcrumb__sep {
  font-size: .75rem;
  color: var(--text-muted);
  opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-map-wrapper {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--navy);
}

.cpc-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(1.05) brightness(0.7);
  opacity: 0.5;
}

.cpc-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,17,23,0.7) 0%, transparent 60%);
  pointer-events: none;
}

.cpc-map-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.cpc-map-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.cpc-map-badge span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER LINKS
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-footer {
  font-family: var(--font);
}

.cpc-footer a {
  transition: color 0.3s var(--ease);
}

.cpc-footer__col a:hover {
  color: #4A7CB5 !important;
}

.cpc-footer-links {
  list-style: none !important;
}

.cpc-footer-links li {
  padding-left: 0 !important;
}

.cpc-footer-links li::before {
  display: none !important;
}

.cpc-footer-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,38,69,0.3);
}


/* ═══════════════════════════════════════════════════════════════════════════
   GEO / SEO ZONE
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-geo-section {
  padding: var(--section-y) 2rem;
}

.cpc-geo-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.cpc-geo-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cpc-geo-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  margin-top: 2.5rem;
  text-align: left;
}

.cpc-geo-content h2:first-of-type { margin-top: 0; }

.cpc-geo-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-left: none;
  padding-left: 0;
}

.cpc-geo-content p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: none;
  text-align: left;
}

.cpc-geo-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.cpc-geo-content ul li {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
}

.cpc-geo-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--blue-accent);
  border-radius: 50%;
}

/* Geo sidebar */
.cpc-geo-sidebar {
  position: sticky;
  top: 100px;
}

.cpc-geo-sidebar-card {
  background: var(--ice-warm);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.cpc-geo-sidebar-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.cpc-geo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cpc-geo-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-light);
  background: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: default;
}

.cpc-geo-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cpc-geo-sidebar-cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.cpc-geo-sidebar-cta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cpc-geo-sidebar-cta p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  max-width: none;
  text-align: center;
}

.cpc-geo-sidebar-cta .btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--cta);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease;
  margin-bottom: 0.5rem;
}

.cpc-geo-sidebar-cta .btn-cta:hover { background: var(--cta-hover); }

.cpc-geo-sidebar-cta .btn-email {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cpc-geo-sidebar-cta .btn-email:hover { color: var(--white); }


/* ═══════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: var(--narrow-max);
  margin: 0 auto;
}

.cpc-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.cpc-faq-item:hover { border-color: var(--navy); }

.cpc-faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cpc-faq-item summary::-webkit-details-marker { display: none; }

.cpc-faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.cpc-faq-item[open] summary::after { transform: rotate(45deg); }

.cpc-faq-item .cpc-faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.cpc-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card animations */
.cpc-grid .cpc-reveal:nth-child(1) { transition-delay: 0s; }
.cpc-grid .cpc-reveal:nth-child(2) { transition-delay: 0.08s; }
.cpc-grid .cpc-reveal:nth-child(3) { transition-delay: 0.16s; }
.cpc-grid .cpc-reveal:nth-child(4) { transition-delay: 0.24s; }
.cpc-grid .cpc-reveal:nth-child(5) { transition-delay: 0.32s; }
.cpc-grid .cpc-reveal:nth-child(6) { transition-delay: 0.40s; }


/* ═══════════════════════════════════════════════════════════════════════════
   READ MORE LINK
   ═══════════════════════════════════════════════════════════════════════════ */
.cpc-read-more {
  color: var(--blue-accent);
  font-weight: 600;
  font-size: 0.875rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cpc-specialites-grid { grid-template-columns: repeat(2, 1fr); }
  .cpc-geo-layout { grid-template-columns: 1fr; }
  .cpc-geo-sidebar { position: static; }
  .cpc-footer__content { grid-template-columns: 1fr 1fr 1fr !important; }
  .cpc-footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .cpc-specialites-grid { grid-template-columns: repeat(2, 1fr); }
  .cpc-pathologies-grid { grid-template-columns: repeat(2, 1fr); }
  .cpc-infos-grid { grid-template-columns: 1fr; }
  .cpc-footer__content { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
  .cpc-footer__col--brand { grid-column: 1 / -1; }
  .cpc-map-wrapper { height: 250px; }
  .cpc-map-wrapper iframe { height: 250px; }
  .cpc-map-badge { position: static; margin: -60px 1rem 1rem; }

  .wp-block-post-content > .wp-block-group,
  .cpc-front-page .wp-block-post-content > .wp-block-group {
    padding: 3.5rem 1.25rem;
  }

  .wp-block-columns {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .cpc-cta-trust-row {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  .cpc-specialites-grid { grid-template-columns: 1fr; }
  .cpc-pathologies-grid { grid-template-columns: 1fr; }
  .cpc-footer__content { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 0 1.25rem !important; }
  .cpc-footer__bottom { flex-direction: column !important; align-items: flex-start !important; gap: .75rem !important; padding: 0 1.25rem 1.5rem !important; }

  .cpc-card { padding: 1.5rem 1.25rem; }

  .wp-block-post-content > .wp-block-group,
  .cpc-front-page .wp-block-post-content > .wp-block-group {
    padding: 3rem 1rem;
  }
}
