/* Corpus Clinique – design du site (extension) */
/* ---------- Tokens ---------- */
:root {
	--cc-navy: #0B1F33;
	--cc-navy-2: #071523;
	--cc-accent: #00A99D;
	--cc-accent-dark: #0B6B63;
	--cc-gold: #FFB547;
	--cc-light: #F3F6F7;
	--cc-line: #E3EAEE;
	--cc-text: #33475A;
	--cc-muted: #4A5D6E;
	--cc-muted-2: #5B6B78;
	--cc-sub-dark: #C9D6E0;
	--cc-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--cc-body: 'DM Sans', system-ui, sans-serif;
	--cc-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6B63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--cc-check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A99D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--cc-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6B63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.cc-body { margin: 0; background: var(--cc-light); color: var(--cc-navy); font-family: var(--cc-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.cc-body *, .cc-body *::before, .cc-body *::after { box-sizing: border-box; }
.cc-main p, .cc-main h1, .cc-main h2, .cc-main h3, .cc-main h4, .cc-main figure { margin: 0; }
.cc-main img { max-width: 100%; height: auto; display: block; }
a { color: var(--cc-accent-dark); }
a:hover { color: #084C46; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cc-main h1, .cc-main h2, .cc-main h3 { font-family: var(--cc-display); font-weight: 800; letter-spacing: -0.02em; color: inherit; }
.cc-main h1 strong, .cc-main h2 strong { color: var(--cc-accent); font-weight: 800; }

/* ---------- Header ---------- */
.cc-header { background: var(--cc-navy); color: #fff; position: relative; z-index: 50; }
.cc-header-in { max-width: 1280px; margin: 0 auto; padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cc-logo img { height: 58px !important; width: auto !important; max-width: none !important; display: block; }
.cc-nav ul { list-style: none; margin: 0; padding: 0; }
.cc-nav > ul, .cc-nav .menu { display: flex; align-items: center; gap: 26px; }
.cc-nav a { color: #DCE7EE; text-decoration: none; font-size: 15px; font-weight: 500; display: flex; align-items: center; min-height: 44px; }
.cc-nav a:hover, .cc-nav .current-menu-item > a, .cc-nav .current-menu-ancestor > a { color: var(--cc-accent); }
.cc-nav .menu-item-has-children { position: relative; }
.cc-nav .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.cc-nav .sub-menu { display: none; position: absolute; top: 100%; left: -18px; padding-top: 10px; z-index: 60; }
.cc-nav .sub-menu::before { content: ""; position: absolute; inset: 10px 0 0 0; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); z-index: -1; }
.cc-nav .sub-menu li { width: 270px; padding: 0 8px; }
.cc-nav .sub-menu li:first-child { padding-top: 8px; }
.cc-nav .sub-menu li:last-child { padding-bottom: 8px; }
.cc-nav .sub-menu a { color: var(--cc-navy); font-weight: 700; padding: 10px 14px; border-radius: 12px; }
.cc-nav .sub-menu a:hover { background: #F0FAF8; color: var(--cc-accent-dark); }
.cc-nav .menu-item-has-children:hover > .sub-menu, .cc-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.cc-actions { display: flex; align-items: center; gap: 10px; }
.cc-wa { width: 44px; height: 44px; border-radius: 999px; background: #25D366; color: var(--cc-navy); display: flex; align-items: center; justify-content: center; }
.cc-wa:hover { color: var(--cc-navy); filter: brightness(1.06); }
.cc-cta-btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; background: var(--cc-accent); color: var(--cc-navy); font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; }
.cc-cta-btn:hover { color: var(--cc-navy); filter: brightness(1.06); }
.cc-nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cc-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 980px) {
	.cc-header-in { flex-wrap: wrap; }
	.cc-burger { display: inline-flex; }
	.cc-nav { display: none; width: 100%; order: 3; }
	.cc-nav.is-open, .cc-nav-toggle:checked ~ .cc-nav { display: block; }
	.cc-nav-toggle:focus-visible + .cc-burger { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
	.cc-nav-toggle:checked + .cc-burger { background: rgba(255,255,255,.12); }
	.cc-nav > ul, .cc-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.cc-nav .sub-menu { display: block; position: static; padding: 0 0 8px 16px; }
	.cc-nav .sub-menu::before { display: none; }
	.cc-nav .sub-menu li { width: auto; padding: 0 !important; }
	.cc-nav .sub-menu a { color: #DCE7EE; font-weight: 500; padding: 6px 0; }
	.cc-nav .menu-item-has-children > a::after { display: none; }
	.cc-cta-btn { display: none; }
}

/* ---------- Sections ---------- */
.cc-s { padding: 96px 32px; }
.cc-s.cc-tight-top { padding-top: 24px; }
.cc-s.cc-tight-bottom { padding-bottom: 24px; }
.cc-bg-white { background: #fff; }
.cc-bg-light { background: var(--cc-light); }
.cc-bg-dark { background: var(--cc-navy); color: #fff; }
.cc-bg-accent { background: var(--cc-accent); }
.cc-in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.cc-in.cc-narrow { max-width: 960px; }
.cc-in.cc-gap-s { gap: 24px; }
.cc-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.cc-head.cc-center { margin: 0 auto; text-align: center; align-items: center; }
.cc-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-accent-dark); }
.cc-bg-dark .cc-eyebrow { color: #FFC56B; }
.cc-s h2.wp-block-heading, .cc-box-dark h2.wp-block-heading { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.03em; }
.cc-s h3.wp-block-heading { font-size: 26px; line-height: 1.1; }
.cc-lead { font-size: 18px; line-height: 1.6; color: var(--cc-muted); }
.cc-bg-dark .cc-lead, .cc-box-dark .cc-lead { color: var(--cc-sub-dark); }
.cc-text { font-size: 17px; line-height: 1.7; color: var(--cc-text); }
.cc-bg-dark .cc-text { color: var(--cc-sub-dark); }
.cc-small { font-size: 14px; color: var(--cc-muted-2); }
.cc-bg-dark .cc-small { color: #9FB3C2; }
.cc-stack { display: flex; flex-direction: column; gap: 16px; }
.cc-stack-s { display: flex; flex-direction: column; gap: 10px; }
.cc-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cc-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* ---------- Grids ---------- */
.cc-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cc-g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cc-g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cc-g-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cc-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
.cc-split.cc-top { align-items: start; }
@media (max-width: 560px) { .cc-g2 { grid-template-columns: minmax(0, 1fr); } .cc-s { padding: 64px 16px; } .cc-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.cc-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 4px 16px rgba(11,31,51,.06); display: flex; flex-direction: column; gap: 14px; }
.cc-card-light { background: var(--cc-light); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.cc-bg-light .cc-card-light { background: #fff; }
.cc-card-glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cc-card-title { font-weight: 700; font-size: 18px; }
.cc-card-text { font-size: 15px; line-height: 1.6; color: var(--cc-muted); }
.cc-bg-dark .cc-card-text, .cc-card-glass .cc-card-text { color: var(--cc-sub-dark); }
.cc-card-glass .cc-card-title { color: #fff; }
.cc-num { font-family: var(--cc-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--cc-accent); }
.cc-num-s { font-family: var(--cc-display); font-weight: 800; font-size: 26px; color: var(--cc-accent); }

/* ---------- Check lines ---------- */
.cc-check { position: relative; padding-left: 38px; font-size: 16px; line-height: 1.5; color: var(--cc-text); min-height: 26px; }
.cc-check::before { content: ""; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; background: #E3F7F4 var(--cc-check) center / 15px no-repeat; }
.cc-bg-dark .cc-check, .cc-box-dark .cc-check, .cc-hero .cc-check { color: #E6EEF3; }
.cc-bg-dark .cc-check::before, .cc-box-dark .cc-check::before, .cc-hero .cc-check::before { background: rgba(0,169,157,.18) var(--cc-check-light) center / 15px no-repeat; }
.cc-dash { position: relative; padding-left: 38px; font-size: 16px; color: var(--cc-text); min-height: 26px; }
.cc-dash::before { content: "–"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; background: var(--cc-light); color: var(--cc-muted-2); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- Buttons ---------- */
.cc-btn a, .cc-btn-white a, .cc-btn-ghost a, .cc-btn-dark a, .cc-btn-outline a { display: inline-flex; align-items: center; gap: 8px; padding: 16px 26px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; min-height: 44px; transition: filter .15s; }
.cc-btn a { background: var(--cc-accent); color: var(--cc-navy); }
.cc-btn-white a { background: #fff; color: var(--cc-navy); }
.cc-btn-ghost a { border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.cc-btn-dark a { background: var(--cc-navy); color: #fff; }
.cc-btn-outline a { border: 2px solid var(--cc-navy); color: var(--cc-navy); }
.cc-btn a:hover, .cc-btn-white a:hover, .cc-btn-dark a:hover { filter: brightness(1.08); }
.cc-btn a:hover { color: var(--cc-navy); } .cc-btn-white a:hover { color: var(--cc-navy); } .cc-btn-dark a:hover, .cc-btn-ghost a:hover { color: #fff; } .cc-btn-outline a:hover { color: var(--cc-navy); background: rgba(11,31,51,.06); }
.cc-arrow-link a { font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.cc-arrow-link a::after { content: ""; width: 18px; height: 18px; background: var(--cc-arrow) center / contain no-repeat; }
.cc-badge { align-self: flex-start; display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255,181,71,.14); color: #FFC56B; font-size: 14px; font-weight: 700; }
.cc-tag { align-self: flex-start; display: inline-flex; padding: 5px 11px; border-radius: 8px; background: var(--cc-accent); color: var(--cc-navy); font-family: var(--cc-display); font-weight: 800; font-size: 14px; }

/* ---------- Hero ---------- */
.cc-hero { background: var(--cc-navy); color: #fff; position: relative; overflow: hidden; padding: 32px 32px 96px; }
.cc-hero::before { content: ""; position: absolute; right: -260px; top: 40px; width: 640px; height: 640px; border-radius: 50%; background: var(--cc-accent); opacity: .10; pointer-events: none; }
.cc-hero > .cc-in { position: relative; z-index: 1; }
.cc-hero-home { padding-top: 48px; padding-bottom: 170px; }
.cc-hero-home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.06' d='M0 140V112h120v-10h40v10h60V96c0-26 40-46 70-46s70 20 70 46v16h40V70l6-40 6 40v42h30V84c0-34 50-60 90-60s90 26 90 60v28h30V60l6-44 6 44v52h40v-12h60v12h50V92c0-20 30-36 55-36s55 16 55 36v20h40V66l6-42 6 42v46h50V100c0-30 45-54 80-54s80 24 80 54v12h30V74l6-40 6 40v38h70v-8h60v8h110v28z'/%3E%3C/svg%3E") bottom / 100% 140px no-repeat; }
.cc-hero h1.wp-block-heading { font-size: clamp(42px, 5.2vw, 74px); line-height: .98; letter-spacing: -.035em; }
.cc-hero .cc-lead { font-size: 19px; color: var(--cc-sub-dark); max-width: 600px; }
.cc-hero-text { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.cc-crumb { font-size: 14px; color: #9FB3C2; }
.cc-crumb a { color: #9FB3C2; }
.cc-hero .cc-g2 { max-width: 600px; }
.cc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.cc-fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.cc-fact-k { font-size: 13px; color: #9FB3C2; }
.cc-fact-v { font-family: var(--cc-display); font-weight: 800; font-size: 19px; color: #fff; }
@media (max-width: 560px) { .cc-facts { grid-template-columns: minmax(0, 1fr); } .cc-hero { padding: 24px 16px 64px; } }

/* ---------- Images (remplaçables) ---------- */
.cc-main .wp-block-image { margin: 0; }
.cc-main .wp-block-image img { width: 100%; border-radius: 20px; object-fit: cover; }
.cc-r43 img { aspect-ratio: 4 / 3; }
.cc-r169 img { aspect-ratio: 16 / 10; }
.cc-r11 img { aspect-ratio: 1 / 1; }
.cc-r45 img { aspect-ratio: 4 / 5; }
.cc-r219 img { aspect-ratio: 21 / 9; }
.cc-r217 img { aspect-ratio: 21 / 7; }
.cc-r32 img { aspect-ratio: 3 / 2; object-fit: contain !important; background: #fff; }

/* ---------- Sous-navigation ---------- */
.cc-subnav { background: #fff; border-bottom: 1px solid var(--cc-line); padding: 14px 32px; }
.cc-subnav > .cc-in { flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-chip a { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--cc-light); font-size: 14px; font-weight: 700; text-decoration: none; min-height: 44px; }

/* ---------- Soins détaillés ---------- */
.cc-soins { display: flex; flex-direction: column; gap: 20px; }
.cc-soin { background: #fff; border-radius: 24px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; box-shadow: 0 4px 16px rgba(11,31,51,.05); }
.cc-soin h3.wp-block-heading { font-size: 32px; }
.cc-soin-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cc-muted-2); }
.cc-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.cc-metabox { background: var(--cc-light); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.cc-meta-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted-2); }
.cc-meta-v { font-weight: 700; font-size: 15px; }

/* ---------- Tableaux ---------- */
.cc-table { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 16px rgba(11,31,51,.05); }
.cc-tr { display: grid; grid-template-columns: repeat(var(--cc-cols, 3), minmax(0, 1fr)); gap: 16px; padding: 18px 28px; border-top: 1px solid var(--cc-line); font-size: 15px; line-height: 1.5; color: var(--cc-text); }
.cc-tr > p:first-child { font-weight: 700; color: var(--cc-navy); }
.cc-th { background: var(--cc-navy); border-top: 0; }
.cc-th > p, .cc-th > p:first-child { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cc-cols4 .cc-tr { --cc-cols: 4; }
@media (max-width: 700px) { .cc-tr { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- Déroulé ---------- */
.cc-day { background: var(--cc-light); border-radius: 20px; padding: 26px; border-top: 4px solid var(--cc-accent); display: flex; flex-direction: column; gap: 12px; }
.cc-day-k { font-family: var(--cc-display); font-weight: 800; font-size: 15px; color: var(--cc-accent-dark); text-transform: uppercase; letter-spacing: .08em; }
.cc-day h3.wp-block-heading { font-family: var(--cc-body); font-size: 19px; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.cc-step-k { align-self: flex-start; font-family: var(--cc-display); font-weight: 800; font-size: 14px; color: var(--cc-navy); background: var(--cc-accent); padding: 6px 12px; border-radius: 8px; text-transform: uppercase; letter-spacing: .06em; }
.cc-steps { display: flex; flex-direction: column; gap: 80px; }
.cc-steps h3.wp-block-heading { font-size: 34px; line-height: 1.05; }
.cc-mini-steps { display: flex; flex-direction: column; gap: 20px; }
.cc-mini-step { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; }
.cc-mini-step .cc-num-s { line-height: 1; font-size: 30px; }
.cc-mini-step-t { font-weight: 700; font-size: 18px; }
.cc-mini-step-d { font-size: 15px; color: var(--cc-sub-dark); }

/* ---------- Encadré sombre ---------- */
.cc-box-dark { background: var(--cc-navy); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cc-box-dark::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--cc-accent); opacity: .12; pointer-events: none; }
.cc-box-dark > * { position: relative; z-index: 1; }
.cc-inc { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 20px 18px 56px !important; position: relative; font-size: 16px; line-height: 1.45; color: #E6EEF3; }
.cc-inc::before { content: ""; position: absolute; left: 18px; top: 17px; width: 26px; height: 26px; border-radius: 8px; background: rgba(0,169,157,.18) var(--cc-check-light) center / 15px no-repeat; }
@media (max-width: 560px) { .cc-box-dark { padding: 32px 22px; } }

/* ---------- FAQ ---------- */
.cc-faq { display: flex; flex-direction: column; gap: 12px; }
.cc-faq .wp-block-details { background: var(--cc-light); border-radius: 16px; padding: 0; margin: 0; overflow: hidden; }
.cc-bg-light .cc-faq .wp-block-details { background: #fff; }
.cc-faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-size: 17px; font-weight: 700; position: relative; min-height: 64px; display: flex; align-items: center; }
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cc-accent-dark); }
.cc-faq details[open] summary::after { content: "−"; }
.cc-faq details > p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--cc-muted); }

/* ---------- Cartes lien ---------- */
.cc-linkcard a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; border-radius: 20px; background: #fff; color: var(--cc-navy); text-decoration: none; box-shadow: 0 4px 16px rgba(11,31,51,.05); font-size: 14px; color: var(--cc-muted); line-height: 1.5; }
.cc-linkcard a strong { display: block; font-family: var(--cc-display); font-size: 22px; font-weight: 800; color: var(--cc-navy); }
.cc-linkcard a::after { content: ""; flex-shrink: 0; width: 20px; height: 20px; background: var(--cc-arrow) center / contain no-repeat; }

/* ---------- Bandeau CTA ---------- */
.cc-cta { background: var(--cc-accent); padding: 72px 32px; }
.cc-cta > .cc-in { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cc-cta h2.wp-block-heading { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.03em; color: var(--cc-navy); max-width: 760px; }

/* ---------- Services accueil ---------- */
.cc-svc h3.wp-block-heading { font-size: 26px; }
.cc-svc h3 a { color: var(--cc-navy); text-decoration: none; }
.cc-svc-list { display: flex; flex-direction: column; }
.cc-listlink a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; min-height: 44px; border-top: 1px solid var(--cc-line); color: var(--cc-navy); text-decoration: none; font-size: 17px; font-weight: 500; }
.cc-listlink a::after { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: var(--cc-arrow) center / contain no-repeat; }
.cc-listlink a:hover { color: var(--cc-accent-dark); }

/* ---------- Défilement auto (avis + avant/après) ---------- */
.cc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.cc-track { display: flex; gap: 16px; width: max-content; padding: 6px 0; }
.editor-styles-wrapper .cc-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.cc-review { width: 300px; flex-shrink: 0; background: #fff; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 10px rgba(11,31,51,.06); }
.cc-rev-name { font-weight: 700; font-size: 15px; }
.cc-rev-meta { font-size: 12px; color: var(--cc-muted-2); }
.cc-stars { color: #FBBC04; font-size: 16px; letter-spacing: 2px; }
.cc-rev-text { font-size: 14px; line-height: 1.5; color: var(--cc-text); }
.cc-rating { background: #fff; border-radius: 14px; padding: 10px 18px; display: flex; flex-direction: column; gap: 2px; }
.cc-rating-v { font-family: var(--cc-display); font-weight: 800; font-size: 22px; }
.cc-ba { width: 380px; flex-shrink: 0; background: var(--cc-light); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.cc-bg-light .cc-ba { background: #fff; }
.cc-ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cc-ba-pair .wp-block-image { position: relative; }
.cc-ba-pair .wp-block-image img { aspect-ratio: 1 / 1; border-radius: 16px; }
.cc-ba-pair .wp-block-image::before { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cc-ba-pair .wp-block-image:first-child::before { content: "Avant"; background: var(--cc-navy); color: #fff; }
.cc-ba-pair .wp-block-image:last-child::before { content: "Après"; background: var(--cc-accent); color: var(--cc-navy); }
.cc-ba-label { font-weight: 700; font-size: 16px; padding: 0 6px 4px; }
@media (max-width: 560px) { .cc-ba { width: 300px; } .cc-review { width: 260px; } }

/* ---------- Formulaire devis ---------- */
.cc-form { background: #fff; color: var(--cc-navy); border-radius: 24px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 18px; position: relative; }
.cc-form.cc-form-flat { box-shadow: 0 4px 16px rgba(11,31,51,.06); }
.cc-form-badge { position: absolute; top: -14px; right: 28px; padding: 7px 14px; border-radius: 999px; background: var(--cc-gold); color: #3A2400; font-size: 13px; font-weight: 700; }
.cc-form h2 { font-family: var(--cc-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.cc-form-sub { font-size: 15px; color: var(--cc-muted); margin: 6px 0 0; }
.cc-form form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.cc-form label, .cc-form .cc-lbl { font-size: 14px; font-weight: 700; display: block; margin-bottom: 6px; }
.cc-form .cc-opt { font-weight: 400; color: var(--cc-muted-2); }
.cc-form input[type=text], .cc-form input[type=tel], .cc-form input[type=email], .cc-form textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #CBD6DE; font: inherit; font-size: 15px; color: var(--cc-navy); background: #fff; box-sizing: border-box; }
.cc-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.cc-form input:focus, .cc-form textarea:focus { outline: 2px solid var(--cc-accent); outline-offset: 1px; border-color: var(--cc-accent); }
.cc-form input[type=file] { width: 100%; padding: 12px; border-radius: 12px; border: 1.5px dashed #CBD6DE; font-size: 14px; background: #F8FAFB; box-sizing: border-box; }
.cc-form .cc-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cc-pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.cc-pills legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.cc-pill { position: relative; }
.cc-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #CBD6DE; font-size: 14px; font-weight: 500; cursor: pointer; }
.cc-pill input:checked + span { background: var(--cc-navy); border-color: var(--cc-navy); color: #fff; font-weight: 700; }
.cc-pill input:focus-visible + span { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px !important; font-weight: 400 !important; color: var(--cc-muted); line-height: 1.4; }
.cc-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.cc-hp { position: absolute !important; left: -9999px !important; }
.cc-submit { min-height: 56px; border: none; border-radius: 14px; background: var(--cc-accent); color: var(--cc-navy); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.cc-submit:hover { filter: brightness(1.06); }
.cc-success { text-align: center; padding: 40px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cc-success-ic { width: 72px; height: 72px; border-radius: 50%; background: rgba(0,169,157,.18) var(--cc-check) center / 34px no-repeat; }
.cc-error { background: #FDECEC; color: #8A1C1C; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
@media (max-width: 560px) { .cc-form { padding: 24px 18px; } .cc-form .cc-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Coordonnées ---------- */
.cc-channels { display: flex; flex-direction: column; gap: 14px; }
.cc-channel { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--cc-navy); box-shadow: 0 4px 16px rgba(11,31,51,.05); }
.cc-channel-ic { width: 44px; height: 44px; border-radius: 12px; background: #E3F7F4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cc-navy); }
.cc-channel-k { font-size: 13px; font-weight: 700; color: var(--cc-muted-2); text-transform: uppercase; letter-spacing: .08em; display: block; }
.cc-channel-v { font-weight: 700; font-size: 18px; display: block; }
.cc-channel-d { font-size: 14px; color: var(--cc-muted); display: block; }
.cc-contact-side { padding-top: 110px; }
@media (max-width: 760px) { .cc-contact-side { padding-top: 0; } }
.cc-body .cc-main .cc-pull-up { margin-top: -96px; position: relative; z-index: 2; }
.cc-hero.cc-hero-pad { padding-bottom: 150px; }

/* ---------- Blog ---------- */
.cc-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; align-items: center; background: #fff; border-radius: 28px; padding: 20px; text-decoration: none; color: var(--cc-navy); box-shadow: 0 4px 16px rgba(11,31,51,.06); }
.cc-feature:hover { color: var(--cc-navy); }
.cc-feature h2 { font-family: var(--cc-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.cc-post-card { background: #fff; border-radius: 24px; padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--cc-navy); box-shadow: 0 4px 16px rgba(11,31,51,.05); transition: transform .2s, box-shadow .2s; }
.cc-post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,51,.14); color: var(--cc-navy); }
.cc-post-card img, .cc-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; display: block; }
.cc-post-body { display: flex; flex-direction: column; gap: 10px; padding: 0 10px; }
.cc-post-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--cc-muted-2); flex-wrap: wrap; }
.cc-cat { padding: 5px 10px; border-radius: 999px; background: #E3F7F4; color: var(--cc-accent-dark); font-weight: 700; }
.cc-post-card h3 { font-family: var(--cc-display); font-weight: 800; font-size: 22px; line-height: 1.15; margin: 0; }
.cc-post-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--cc-muted); }
.cc-read { font-weight: 700; font-size: 15px; color: var(--cc-accent-dark); }
.cc-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-filters a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #CBD6DE; background: #fff; color: var(--cc-navy); font-size: 15px; font-weight: 500; text-decoration: none; }
.cc-filters a.is-active { background: var(--cc-navy); border-color: var(--cc-navy); color: #fff; font-weight: 700; }
.cc-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #CBD6DE; border-radius: 999px; padding: 0 6px 0 16px; min-height: 48px; min-width: 280px; }
.cc-search input { border: 0; outline: 0; font: inherit; font-size: 15px; flex-grow: 1; background: transparent; min-height: 44px; }
.cc-search button { border: 0; background: var(--cc-navy); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.cc-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.cc-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; color: var(--cc-navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.cc-pagination .page-numbers.current { background: var(--cc-navy); color: #fff; }
.cc-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-newsletter input[type=email] { flex-grow: 1; min-width: 240px; height: 56px; padding: 0 18px; border-radius: 14px; border: 0; font: inherit; font-size: 16px; }
.cc-newsletter button { height: 56px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--cc-accent); color: var(--cc-navy); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }

/* ---------- Article ---------- */
.cc-article-hero { padding-bottom: 200px; }
.cc-article-hero > .cc-in { max-width: 880px; gap: 22px; }
.cc-article-img { max-width: 1040px; margin: -150px auto 0; padding: 0 32px; position: relative; z-index: 2; }
.cc-article-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; display: block; }
.cc-article { max-width: 760px; margin: 0 auto; padding: 56px 32px 80px; font-size: 18px; line-height: 1.75; color: var(--cc-text); }
.cc-article > * + * { margin-top: 20px; }
.cc-article h2 { font-family: var(--cc-display); font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: var(--cc-navy); margin-top: 40px; }
.cc-article h3 { font-family: var(--cc-display); font-weight: 800; font-size: 23px; color: var(--cc-navy); margin-top: 32px; }
.cc-article img { border-radius: 16px; max-width: 100%; height: auto; }
.cc-article .wp-block-image { margin: 28px 0; }
.cc-article ul, .cc-article ol { padding-left: 1.3em; }
.cc-article blockquote { margin: 28px 0; padding: 20px 24px; border-radius: 16px; background: #E3F7F4; font-weight: 500; color: var(--cc-navy); }
.cc-article .cc-retenir { background: #E3F7F4; border-radius: 20px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.cc-article .cc-retenir > * { margin: 0; }
.cc-article-cta { max-width: 760px; margin: 0 auto 80px; padding: 0 32px; }
.cc-article-cta > div { padding: 32px; border-radius: 24px; background: var(--cc-navy); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.cc-article-cta strong { font-family: var(--cc-display); font-size: 26px; line-height: 1.15; }
.cc-article-cta p { margin: 0; color: var(--cc-sub-dark); }
.cc-page-plain { max-width: 860px; margin: 0 auto; padding: 64px 32px 96px; font-size: 17px; line-height: 1.7; color: var(--cc-text); }
.cc-page-plain > * + * { margin-top: 18px; }

/* ---------- Footer ---------- */
.cc-footer { background: var(--cc-navy-2); color: #9FB3C2; font-size: 14px; }
.cc-footer-in { max-width: 1280px; margin: 0 auto; padding: 56px 32px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.cc-footer-col { display: flex; flex-direction: column; gap: 8px; }
.cc-footer-col strong { color: #fff; }
.cc-footer a { color: #9FB3C2; text-decoration: none; }
.cc-footer a:hover { color: #fff; }
.cc-footer-logo img { height: 64px !important; width: auto !important; max-width: none !important; }
.cc-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 20px 32px 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; line-height: 1.6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.cc-center-title { text-align: center; }
.cc-s h2.cc-h-small { font-size: 32px; }
.cc-reviews { padding-bottom: 72px; }
.cc-body .cc-main .cc-reviews > .cc-in { margin-bottom: 24px; }
.cc-body .cc-main .cc-ba-section > .cc-in:first-child { margin-bottom: 36px; }
.cc-body .cc-main .cc-ba-section > .cc-in:last-child { margin-top: 16px; }
.cc-retenir .cc-check { color: var(--cc-text); }
.cc-posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Compatibilité avec tous les thèmes ---------- */
.cc-main .wp-block-group__inner-container { display: contents; }
.cc-body .cc-main .is-layout-flow > *, .cc-body .cc-main .is-layout-constrained > *, .cc-body .cc-main .wp-block-group > * { margin-block-start: 0; margin-block-end: 0; }
.cc-body .cc-main .is-layout-constrained > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.cc-body .cc-main .wp-block-group { margin: 0; }
.cc-body .cc-in { margin-left: auto !important; margin-right: auto !important; }
.cc-body .cc-page-plain > * + *, .cc-body .cc-article > * + * { margin-block-start: 20px; }
.cc-body { overflow-x: hidden; }
.cc-body .cc-main .cc-meta { margin-top: auto; }
.cc-body .cc-main .cc-head.cc-center { margin-left: auto; margin-right: auto; }
.cc-ba-single .wp-block-image { position: relative; }
.cc-ba-single .wp-block-image img { aspect-ratio: 4 / 3; border-radius: 16px; }
.cc-ba-single .wp-block-image::before { content: "Avant / après"; position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--cc-navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Galerie « La clinique » ---------- */
.cc-gal-item { display: flex; flex-direction: column; gap: 10px; }
.cc-gal-label { font-weight: 700; font-size: 16px; }
.cc-zoom img { cursor: zoom-in; transition: transform .25s; }
.cc-zoom img:hover { transform: scale(1.02); }
.cc-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(7,21,35,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cc-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cc-lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: #fff; color: #0B1F33; font-size: 26px; cursor: pointer; }

/* ---------- Vidéo en haut de page ---------- */
.cc-hero-video { margin: 0; position: relative; border-radius: 24px; overflow: hidden; background: #071523; box-shadow: 0 30px 80px rgba(0,0,0,.35); aspect-ratio: 16 / 10; }
.cc-hero-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.cc-hero-video:empty { border: 2px dashed rgba(255,255,255,.25); background: rgba(255,255,255,.05); box-shadow: none; display: flex; align-items: center; justify-content: center; }
.cc-hero-video:empty::after { content: "Vidéo de la clinique"; color: #C9D6E0; font-weight: 700; font-size: 18px; padding: 72px 24px 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A99D'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3Cpath d='M10 8l6 4-6 4z' fill='%230B1F33'/%3E%3C/svg%3E") top center / 56px no-repeat; }

/* ---------- Note Google (accueil) ---------- */
.cc-google { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font-size: 15px; }
a.cc-google:hover { background: rgba(255,255,255,.14); color: #fff; }
.cc-gstars { position: relative; display: inline-block; color: rgba(255,255,255,.25); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.cc-gstars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #FBBC04; }
.cc-gnote strong { font-family: var(--cc-display); font-weight: 800; font-size: 20px; }
.cc-gsep { color: rgba(255,255,255,.4); }
.cc-gcount { color: #C9D6E0; }
.cc-gword { color: #fff; font-weight: 700; }
