/*
Theme Name: CompteTexte
Author: CompteTexte
Description: Thème léger avec compteur de mots et de caractères, outil SEO et guides éditoriaux. Toute l’analyse s’effectue dans le navigateur.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: comptetexte
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ct-ink: #17211d;
	--ct-muted: #64716b;
	--ct-line: #dde5e1;
	--ct-soft: #f4f7f5;
	--ct-paper: #ffffff;
	--ct-green: #176f50;
	--ct-green-bright: #50d39a;
	--ct-green-pale: #dff7eb;
	--ct-violet: #7058c7;
	--ct-violet-pale: #eee9ff;
	--ct-peach: #e46d4e;
	--ct-peach-pale: #ffebe4;
	--ct-blue: #3974b8;
	--ct-blue-pale: #e3f0ff;
	--ct-yellow-pale: #fff4cf;
	--ct-rose-pale: #ffe7ef;
	--ct-shadow: 0 18px 55px rgba(25, 44, 36, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ct-paper); color: var(--ct-ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
img { max-width: 100%; height: auto; }
::selection { background: #bcebd5; color: #0e3f2e; }
.ct-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ct-narrow-shell { width: min(1050px, calc(100% - 40px)); }
.ct-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ct-skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 10px 16px; border-radius: 8px; background: var(--ct-ink); color: white; transform: translateY(-150%); }
.ct-skip-link:focus { transform: translateY(0); }

/* En-tête */
.ct-site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(221,229,225,.88); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.admin-bar .ct-site-header { top: 32px; }
.ct-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ct-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -.02em; }
.ct-brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--ct-ink); color: white; transform: rotate(-3deg); box-shadow: 4px 4px 0 #91dfbb; }
.ct-brand-mark span { font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; transform: rotate(3deg); }
.ct-brand-name { font-size: 18px; }
.ct-desktop-nav { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 580; }
.ct-desktop-nav > a, .ct-nav-dropdown > summary { padding: 9px 13px; border-radius: 9px; color: #34413b; transition: .2s ease; }
.ct-desktop-nav > a:hover, .ct-desktop-nav > a:focus-visible, .ct-nav-dropdown > summary:hover { background: var(--ct-soft); color: var(--ct-green); }
.ct-nav-dropdown { position: relative; }
.ct-nav-dropdown summary { list-style: none; cursor: pointer; }
.ct-nav-dropdown summary::-webkit-details-marker { display: none; }
.ct-nav-dropdown-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 245px; padding: 8px; border: 1px solid var(--ct-line); border-radius: 13px; background: white; box-shadow: var(--ct-shadow); }
.ct-nav-dropdown:not([open]) .ct-nav-dropdown-menu { display: none; }
.ct-nav-dropdown-menu a { display: block; padding: 10px 11px; border-radius: 8px; color: #435049; }
.ct-nav-dropdown-menu a:hover { background: var(--ct-soft); color: var(--ct-green); }
.ct-nav-dropdown-menu .ct-nav-all { margin-top: 5px; border-top: 1px solid var(--ct-line); border-radius: 0 0 8px 8px; color: var(--ct-green); font-weight: 700; }
.ct-mobile-menu { display: none; position: relative; }
.ct-mobile-menu > summary { width: 42px; height: 42px; display: grid; align-content: center; gap: 4px; list-style: none; padding: 10px; border: 1px solid var(--ct-line); border-radius: 10px; }
.ct-mobile-menu > summary::-webkit-details-marker { display: none; }
.ct-mobile-menu > summary span { height: 2px; background: var(--ct-ink); border-radius: 10px; }
.ct-mobile-menu nav { position: absolute; top: 50px; right: 0; width: min(300px, calc(100vw - 40px)); padding: 10px; border: 1px solid var(--ct-line); border-radius: 14px; background: white; box-shadow: var(--ct-shadow); }
.ct-mobile-menu nav a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.ct-mobile-menu nav a:hover { background: var(--ct-soft); }

/* Typographie et sections */
.ct-tool-hero h1, .ct-content-section h2, .ct-content-section h3, .ct-page-hero h1, .ct-article-hero h1, .ct-article-content h2, .ct-site-footer h2 { margin: 0; line-height: 1.16; letter-spacing: -.035em; }
.ct-tool-hero p, .ct-content-section p, .ct-page-hero p, .ct-article-hero p, .ct-article-content p, .ct-site-footer p { margin: 0; }
.ct-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--ct-green); font-size: 13px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.ct-eyebrow-light { color: #9ae2bf; }
.ct-live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #32c886; box-shadow: 0 0 0 5px rgba(50,200,134,.13); }
.ct-violet-dot { background: #8a70e8; box-shadow: 0 0 0 5px rgba(138,112,232,.13); }
.ct-tool-hero { padding: 52px 0 78px; overflow: hidden; background: radial-gradient(circle at 14% 2%, #e8faf1 0, transparent 32%), radial-gradient(circle at 90% 12%, #f2edff 0, transparent 28%), linear-gradient(180deg,#fbfdfc,#fff 75%); }
.ct-hero-copy { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.ct-hero-copy h1 { max-width: 760px; font-size: clamp(2rem,4vw,3rem); }
.ct-hero-copy p { max-width: 690px; margin: 14px auto 0; color: var(--ct-muted); font-size: 18px; }
.ct-content-section { padding: 88px 0; }
.ct-section-soft { background: var(--ct-soft); }
.ct-section-heading { max-width: 720px; margin-bottom: 35px; }
.ct-section-heading h2, .ct-sticky-intro h2 { font-size: clamp(1.75rem,3vw,2.35rem); }
.ct-section-heading > p, .ct-sticky-intro > p { margin-top: 13px; color: var(--ct-muted); font-size: 18px; }
.ct-centered-heading { margin-inline: auto; text-align: center; }
.ct-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.ct-secondary-button, .ct-primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 17px; border: 1px solid #bfcac4; border-radius: 10px; background: white; color: var(--ct-ink); font-size: 15px; font-weight: 700; transition: .2s ease; }
.ct-secondary-button:hover { border-color: var(--ct-green); color: var(--ct-green); transform: translateY(-1px); }
.ct-primary-button { margin-top: 24px; border-color: var(--ct-green); background: var(--ct-green); color: white; }
.ct-text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--ct-green); font-size: 15px; font-weight: 720; }
.ct-text-link span { transition: transform .2s ease; }
.ct-text-link:hover span { transform: translateX(3px); }

/* Compteur principal */
.ct-counter-app { position: relative; }
.ct-counter-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin-bottom: -1px; }
.ct-stat-card { min-height: 88px; padding: 17px 18px; border: 1px solid transparent; border-radius: 15px 15px 0 0; }
.ct-stat-card strong { display: block; font: 720 25px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.04em; }
.ct-stat-card span { display: block; margin-top: 7px; color: rgba(23,33,29,.72); font-size: 14px; font-weight: 690; }
.ct-stat-mint { border-color: #b9e7d2; background: var(--ct-green-pale); }
.ct-stat-violet { border-color: #d7cdf8; background: var(--ct-violet-pale); }
.ct-stat-peach { border-color: #f2c8b9; background: var(--ct-peach-pale); }
.ct-stat-blue { border-color: #c5daf2; background: var(--ct-blue-pale); }
.ct-stat-yellow { border-color: #eddca5; background: var(--ct-yellow-pale); }
.ct-stat-rose { border-color: #f0c7d5; background: var(--ct-rose-pale); }
.ct-editor-card { position: relative; z-index: 3; overflow: hidden; border: 1px solid #cbd7d1; border-radius: 0 0 18px 18px; background: white; box-shadow: var(--ct-shadow); }
.ct-editor-toolbar, .ct-editor-footer { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 14px; background: #fbfcfb; }
.ct-editor-toolbar { border-bottom: 1px solid var(--ct-line); }
.ct-privacy-note { display: flex; align-items: center; gap: 7px; color: #456057; font-size: 14px; font-weight: 650; }
.ct-privacy-note span { color: var(--ct-green-bright); font-size: 10px; }
.ct-toolbar-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.ct-toolbar-actions button, .ct-editor-footer button, .ct-text-button { padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: #4d5b54; font-size: 14px; font-weight: 660; }
.ct-toolbar-actions button:hover:not(:disabled), .ct-editor-footer button:hover:not(:disabled), .ct-text-button:hover { background: #edf2ef; color: var(--ct-green); }
.ct-toolbar-actions .ct-danger-button, .ct-danger-text { color: #a34747; }
.ct-editor-card > textarea { width: 100%; min-height: 310px; display: block; resize: vertical; padding: 24px; border: 0; outline: 0; background: white; color: #23302a; font: 400 17px/1.75 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.ct-editor-card > textarea::placeholder { color: #a0aaa5; }
.ct-editor-footer { justify-content: flex-start; border-top: 1px solid var(--ct-line); color: #718079; font-size: 13px; }
.ct-editor-footer b { font-weight: 500; }
.ct-editor-footer span + span::before { content: "•"; margin-right: 14px; color: #bac5c0; }
.ct-editor-footer button { margin-left: auto; }
.ct-toast { position: fixed; z-index: 1500; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 15px; padding: 11px 13px 11px 17px; border-radius: 11px; background: var(--ct-ink); color: white; box-shadow: 0 12px 30px rgba(0,0,0,.2); transform: translateX(-50%); font-size: 14px; }
.ct-toast[hidden] { display: none; }
.ct-toast button { padding: 5px 9px; border: 0; border-radius: 7px; background: #9ae2bf; color: #123326; font-size: 13px; font-weight: 740; }
.ct-counter-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 18px; }
.ct-detail-card { min-height: 205px; padding: 22px; border: 1px solid var(--ct-line); border-radius: 15px; background: rgba(255,255,255,.9); }
.ct-detail-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.ct-detail-heading p { color: var(--ct-muted); font-size: 12px; font-weight: 730; letter-spacing: .09em; text-transform: uppercase; }
.ct-detail-heading h2 { margin-top: 2px; font-size: 17px; letter-spacing: -.02em; }
.ct-detail-icon { position: relative; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 11px; background: var(--ct-green-pale); }
.ct-icon-clock::before { content: ""; position: absolute; inset: 9px; border: 2px solid var(--ct-green); border-radius: 50%; }
.ct-icon-clock::after { content: ""; position: absolute; width: 6px; height: 5px; top: 12px; left: 18px; border-left: 2px solid var(--ct-green); border-bottom: 2px solid var(--ct-green); }
.ct-icon-target { background: var(--ct-violet-pale); }
.ct-icon-target::before { content: ""; position: absolute; inset: 9px; border: 2px solid var(--ct-violet); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--ct-violet-pale), inset 0 0 0 6px var(--ct-violet); }
.ct-icon-search { background: var(--ct-blue-pale); }
.ct-icon-search::before { content: ""; position: absolute; width: 12px; height: 12px; top: 8px; left: 8px; border: 2px solid var(--ct-blue); border-radius: 50%; }
.ct-icon-search::after { content: ""; position: absolute; width: 9px; height: 2px; top: 23px; left: 22px; background: var(--ct-blue); transform: rotate(45deg); }
.ct-icon-bars { background: var(--ct-peach-pale); }
.ct-icon-bars::before { content: ""; position: absolute; left: 9px; right: 9px; bottom: 9px; height: 15px; background: linear-gradient(90deg,var(--ct-peach) 0 4px,transparent 4px 7px,var(--ct-peach) 7px 12px,transparent 12px 15px,var(--ct-peach) 15px 19px); clip-path: polygon(0 55%,20% 55%,20% 100%,37% 100%,37% 20%,63% 20%,63% 100%,79% 100%,79% 0,100% 0,100% 100%,0 100%); }
.ct-time-row, .ct-keyword-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-time-row > div, .ct-keyword-results > div { padding: 11px 13px; border-radius: 10px; background: var(--ct-soft); }
.ct-time-row strong, .ct-keyword-results strong { display: block; font: 720 20px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace; }
.ct-time-row span, .ct-keyword-results span { color: var(--ct-muted); font-size: 13px; }
.ct-card-note, .ct-progress-copy { margin-top: 12px !important; color: var(--ct-muted); font-size: 13px; }
.ct-goal-control { display: flex; align-items: center; gap: 8px; color: var(--ct-muted); font-size: 14px; }
.ct-goal-control input { width: 88px; padding: 8px 9px; border: 1px solid var(--ct-line); border-radius: 8px; background: white; font: 650 14px ui-monospace,SFMono-Regular,Consolas,monospace; outline: none; }
.ct-progress-track { height: 6px; display: block; overflow: hidden; margin-top: 18px; border-radius: 10px; background: #e7ece9; }
.ct-progress-track > span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--ct-green),var(--ct-green-bright)); transition: width .2s ease; }
.ct-progress-track > span.ct-over { background: #cf594f; }
.ct-keyword-control input { width: 100%; padding: 10px 12px; border: 1px solid var(--ct-line); border-radius: 9px; outline: none; }
.ct-goal-control input:focus, .ct-keyword-control input:focus { border-color: var(--ct-green); box-shadow: 0 0 0 3px rgba(23,111,80,.1); }
.ct-keyword-results { margin-top: 10px; }
.ct-frequency-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; padding: 0; margin: 0; list-style: none; }
.ct-frequency-list[hidden] { display: none; }
.ct-frequency-list li { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 5px; border-bottom: 1px dashed var(--ct-line); color: #435049; font-size: 14px; }
.ct-frequency-list strong { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; color: var(--ct-peach); }
.ct-empty-state { color: var(--ct-muted); font-size: 15px; }

/* Contenu de la page d’accueil */
.ct-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.ct-feature-grid article { position: relative; min-height: 185px; padding: 27px; overflow: hidden; border: 1px solid var(--ct-line); border-radius: 16px; background: white; }
.ct-feature-grid h3 { max-width: 80%; font-size: 19px; }
.ct-feature-grid p { max-width: 92%; margin-top: 10px; color: var(--ct-muted); font-size: 16px; }
.ct-feature-number { position: absolute; top: 20px; right: 22px; color: #a9c6b9; font: 650 17px ui-monospace,SFMono-Regular,Consolas,monospace; }
.ct-three-grid { grid-template-columns: repeat(3,1fr); }
.ct-three-grid article { min-height: 230px; }
.ct-split-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.ct-sticky-intro { align-self: start; position: sticky; top: 105px; }
.admin-bar .ct-sticky-intro { top: 137px; }
.ct-sticky-intro .ct-text-link { margin-top: 22px; }
.ct-steps-list { padding: 0; margin: 0; list-style: none; }
.ct-steps-list li { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--ct-line); }
.ct-steps-list li:last-child { margin-bottom: 0; }
.ct-steps-list li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ct-ink); color: white; font: 700 13px ui-monospace,SFMono-Regular,Consolas,monospace; }
.ct-steps-list h3 { font-size: 19px; }
.ct-steps-list p { margin-top: 8px; color: var(--ct-muted); font-size: 16px; }
.ct-privacy-section { padding-top: 0; }
.ct-privacy-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 65px 75px; border-radius: 24px; background: #17372b; color: white; }
.ct-privacy-panel h2 { font-size: clamp(1.8rem,3vw,2.4rem); }
.ct-privacy-panel p { margin-top: 14px; color: #c2d4cc; }
.ct-privacy-visual { position: relative; min-height: 230px; display: grid; place-items: center; }
.ct-shield-shape { position: relative; z-index: 2; width: 122px; height: 145px; display: grid; place-items: center; border-radius: 55% 55% 60% 60% / 38% 38% 72% 72%; background: #74dbaa; color: #133d2e; font-size: 38px; font-weight: 800; box-shadow: 0 0 0 18px rgba(116,219,170,.08),0 30px 70px rgba(0,0,0,.2); }
.ct-privacy-visual i { position: absolute; width: 11px; height: 11px; border-radius: 3px; background: #8d76de; transform: rotate(20deg); }
.ct-privacy-visual i:nth-of-type(1) { top: 25px; left: 20%; }
.ct-privacy-visual i:nth-of-type(2) { right: 18%; bottom: 42px; background: #f29c7e; }
.ct-privacy-visual i:nth-of-type(3) { top: 45%; right: 6%; width: 7px; height: 7px; background: #f8d469; }
.ct-check-list { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; margin: 22px 0 0; color: #d8e6df; list-style: none; }
.ct-check-list li { position: relative; padding-left: 20px; font-size: 15px; }
.ct-check-list li::before { content: "✓"; position: absolute; left: 0; color: #8fe0b8; font-weight: 800; }
.ct-use-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ct-use-grid article { min-height: 190px; padding: 23px; border-top: 3px solid var(--ct-green); border-radius: 3px 3px 13px 13px; background: var(--ct-soft); }
.ct-use-grid article:nth-child(2) { border-color: var(--ct-violet); }
.ct-use-grid article:nth-child(3) { border-color: var(--ct-peach); }
.ct-use-grid article:nth-child(4) { border-color: var(--ct-blue); }
.ct-use-grid h3 { font-size: 17px; }
.ct-use-grid p { margin-top: 10px; color: var(--ct-muted); font-size: 15px; }
.ct-use-grid a { display: inline-block; margin-top: 14px; color: var(--ct-green); font-size: 14px; font-weight: 720; }
.ct-faq-list { max-width: 850px; margin: 0 auto; }
.ct-faq-list details { border-bottom: 1px solid #d7e0dc; }
.ct-faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 4px; list-style: none; cursor: pointer; font-weight: 680; }
.ct-faq-list summary::-webkit-details-marker { display: none; }
.ct-faq-list summary span { color: var(--ct-green); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.ct-faq-list details[open] summary span { transform: rotate(45deg); }
.ct-faq-list details p { max-width: 760px; padding: 0 40px 20px 4px; color: var(--ct-muted); font-size: 16px; }

/* Cartes des guides */
.ct-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.ct-guide-grid > article { overflow: hidden; border: 1px solid var(--ct-line); border-radius: 16px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.ct-guide-grid > article:hover { transform: translateY(-3px); box-shadow: var(--ct-shadow); }
.ct-guide-art { position: relative; height: 145px; overflow: hidden; padding: 18px; background: var(--ct-green-pale); }
.ct-guide-art::before, .ct-guide-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); }
.ct-guide-art::before { width: 150px; height: 150px; right: -25px; bottom: -60px; }
.ct-guide-art::after { width: 70px; height: 70px; left: 35%; top: -25px; }
.ct-guide-art span { position: relative; z-index: 2; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.75); color: #315046; font-size: 12px; font-weight: 740; text-transform: uppercase; }
.ct-guide-art b { position: absolute; z-index: 2; right: 25px; bottom: 4px; color: rgba(23,33,29,.68); font: 760 65px/1 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: -.1em; transform: rotate(-8deg); }
.ct-guide-art-2 { background: var(--ct-peach-pale); }
.ct-guide-art-3 { background: var(--ct-violet-pale); }
.ct-guide-card-copy { padding: 21px; }
.ct-guide-card-copy > span, .ct-article-meta { color: var(--ct-muted); font-size: 12px; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; }
.ct-guide-card-copy h3 { margin-top: 8px; font-size: 18px; }
.ct-guide-card-copy h3 a:hover, .ct-guide-list-large h2 a:hover, .ct-related-grid h3 a:hover { color: var(--ct-green); }
.ct-guide-card-copy p { margin: 10px 0 15px; color: var(--ct-muted); font-size: 15px; }
.ct-page-hero { padding: 82px 0 66px; text-align: center; background: radial-gradient(circle at 50% 0,#e3f7ec,transparent 48%),var(--ct-soft); }
.ct-page-hero h1 { max-width: 720px; margin: 0 auto; font-size: clamp(2rem,4vw,2.8rem); }
.ct-page-hero p { max-width: 620px; margin: 15px auto 0; color: var(--ct-muted); font-size: 18px; }
.ct-guide-list-large { display: grid; gap: 18px; }
.ct-guide-list-large article { display: grid; grid-template-columns: 280px 1fr; align-items: stretch; overflow: hidden; border: 1px solid var(--ct-line); border-radius: 17px; }
.ct-guide-list-large .ct-guide-art { height: 100%; min-height: 230px; }
.ct-guide-list-large article > div:last-child { align-self: center; padding: 35px; }
.ct-guide-list-large h2 { margin: 8px 0 12px; font-size: 24px; }
.ct-guide-list-large p { max-width: 650px; margin-bottom: 16px; color: var(--ct-muted); }

/* Compteur SEO */
.ct-seo-hero { background: radial-gradient(circle at 15% 0,#eff8f3 0,transparent 30%),radial-gradient(circle at 85% 0,#eee8ff 0,transparent 32%),#fbfcfb; }
.ct-seo-workspace { display: grid; grid-template-columns: 1.02fr .98fr; gap: 16px; align-items: start; }
.ct-seo-form-card, .ct-serp-card { padding: 25px; border: 1px solid var(--ct-line); border-radius: 17px; background: white; box-shadow: var(--ct-shadow); }
.ct-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ct-line); }
.ct-panel-heading .ct-eyebrow { margin-bottom: 3px; }
.ct-panel-heading h2 { font-size: 19px; }
.ct-field-group { display: block; padding: 18px 0; border-bottom: 1px solid #edf1ef; }
.ct-field-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.ct-field-label b { font-size: 14px; }
.ct-field-help { color: var(--ct-muted); font-size: 12px; }
.ct-status-pill { padding: 4px 7px; border-radius: 6px; font: 630 12px ui-monospace,SFMono-Regular,Consolas,monospace; }
.ct-status-empty { background: var(--ct-soft); color: var(--ct-muted); }
.ct-status-short { background: var(--ct-yellow-pale); color: #7d5708; }
.ct-status-good { background: var(--ct-green-pale); color: #12563e; }
.ct-status-long { background: var(--ct-peach-pale); color: #9c422c; }
.ct-field-group input, .ct-field-group textarea { width: 100%; padding: 11px 12px; border: 1px solid #cad5d0; border-radius: 9px; outline: none; background: white; font-size: 15px; }
.ct-field-group textarea { min-height: 90px; resize: vertical; }
.ct-field-group input:focus, .ct-field-group textarea:focus { border-color: var(--ct-violet); box-shadow: 0 0 0 3px rgba(112,88,199,.1); }
.ct-metric-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.ct-metric-line .ct-progress-track { margin-top: 9px; }
.ct-metric-line small { margin-top: 8px; color: var(--ct-muted); font-size: 12px; }
.ct-seo-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 18px; }
.ct-seo-summary div { padding: 11px; border-radius: 9px; background: var(--ct-soft); }
.ct-seo-summary strong { display: block; font: 700 18px ui-monospace,SFMono-Regular,Consolas,monospace; }
.ct-seo-summary span { display: block; color: var(--ct-muted); font-size: 12px; }
.ct-preview-heading { align-items: flex-start; }
.ct-device-switch { display: flex; padding: 3px; border-radius: 8px; background: var(--ct-soft); }
.ct-device-switch button { padding: 5px 7px; border: 0; border-radius: 6px; background: transparent; color: var(--ct-muted); font-size: 12px; font-weight: 690; }
.ct-device-switch button.active { background: white; color: var(--ct-ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ct-serp-preview { max-width: 600px; min-height: 180px; margin: 28px auto 20px; padding: 5px 3px; font-family: Arial,sans-serif; }
.ct-serp-mobile { max-width: 390px; }
.ct-serp-source { display: grid; grid-template-columns: 30px 1fr 20px; gap: 9px; align-items: center; }
.ct-serp-favicon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e8f3ed; color: var(--ct-green); font-size: 12px; font-weight: 700; }
.ct-serp-source b, .ct-serp-source small { display: block; font-size: 13px; line-height: 1.25; }
.ct-serp-source small { max-width: 410px; overflow: hidden; color: #4d5156; text-overflow: ellipsis; white-space: nowrap; }
.ct-serp-dots { color: #5f6368; font-size: 18px; }
.ct-serp-title { margin-top: 10px; overflow: hidden; color: #1a0dab; font-size: 20px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.ct-serp-mobile .ct-serp-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ct-serp-preview > p { margin-top: 4px; overflow: hidden; color: #4d5156; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ct-serp-preview strong { font-weight: 700; }
.ct-preview-notes { display: grid; gap: 9px; padding: 15px; border-radius: 10px; background: var(--ct-soft); }
.ct-preview-notes > div { display: grid; grid-template-columns: 8px 1fr; gap: 9px; align-items: start; }
.ct-preview-notes span { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; }
.ct-note-ok { background: var(--ct-green-bright); }
.ct-note-warn { background: #e7ac3c; }
.ct-preview-notes p { color: var(--ct-muted); font-size: 13px; }
.ct-preview-notes b { color: #3e4a44; }
.ct-full-button { width: 100%; margin-top: 15px; }
.ct-inline-notice { min-height: 18px; margin-top: 8px !important; color: var(--ct-green); text-align: center; font-size: 13px; }
.ct-editorial-band { background: #29364c; color: white; }
.ct-editorial-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ct-editorial-band h2 { font-size: clamp(1.8rem,3vw,2.5rem); }
.ct-editorial-band p { color: #cbd2df; }
.ct-light-link { display: inline-block; margin-top: 18px; color: #a9ead0; font-size: 15px; font-weight: 700; }

/* Articles */
.ct-article-hero { padding: 60px 0 70px; background: radial-gradient(circle at 20% 0,#e6f6ed 0,transparent 32%),linear-gradient(180deg,#f9fbfa,#fff); }
.ct-article-shell { width: min(850px,calc(100% - 40px)); }
.ct-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 27px; color: var(--ct-muted); font-size: 13px; }
.ct-breadcrumbs a:hover { color: var(--ct-green); }
.ct-article-labels { display: flex; gap: 9px; margin-bottom: 15px; }
.ct-article-labels span { padding: 5px 9px; border-radius: 6px; background: var(--ct-green-pale); color: var(--ct-green); font-size: 12px; font-weight: 720; text-transform: uppercase; }
.ct-article-labels span + span { background: var(--ct-violet-pale); color: var(--ct-violet); }
.ct-article-hero h1 { max-width: 820px; font-size: clamp(2.1rem,4vw,3.15rem); }
.ct-article-hero p { max-width: 790px; margin-top: 20px; color: #55625c; font-size: 19px; line-height: 1.7; }
.ct-article-layout { display: grid; grid-template-columns: 230px 1fr; gap: 70px; width: min(1030px,calc(100% - 40px)); padding-top: 75px; padding-bottom: 95px; }
.ct-article-toc { position: sticky; top: 100px; align-self: start; padding: 20px; border: 1px solid var(--ct-line); border-radius: 13px; background: var(--ct-soft); }
.admin-bar .ct-article-toc { top: 132px; }
.ct-article-toc > p { font-size: 13px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.ct-article-toc ol { padding: 0 0 0 18px; margin: 14px 0 18px; color: var(--ct-muted); font-size: 13px; }
.ct-article-toc li { margin-bottom: 10px; }
.ct-article-toc li a:hover { color: var(--ct-green); }
.ct-article-toc > a { color: var(--ct-green); font-size: 13px; font-weight: 720; }
.ct-article-content { min-width: 0; }
.ct-article-content > section { scroll-margin-top: 100px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--ct-line); }
.ct-section-index { display: block; margin-bottom: 6px; color: var(--ct-green); font: 700 12px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .08em; }
.ct-article-content h2 { margin-bottom: 20px; font-size: clamp(1.55rem,3vw,2rem); }
.ct-article-content p { margin-bottom: 17px; color: #4f5d56; font-size: 17px; line-height: 1.82; }
.ct-article-list { display: grid; gap: 9px; padding: 0; margin: 24px 0; list-style: none; }
.ct-article-list li { position: relative; padding: 10px 12px 10px 37px; border-radius: 8px; background: var(--ct-soft); color: #44514b; font-size: 16px; }
.ct-article-list li::before { content: "✓"; position: absolute; left: 13px; color: var(--ct-green); font-weight: 800; }
.ct-article-content blockquote { position: relative; margin: 28px 0 0; padding: 23px 27px; border-left: 4px solid var(--ct-green-bright); border-radius: 0 12px 12px 0; background: var(--ct-green-pale); color: #24483b; font-size: 17px; font-weight: 590; }
.ct-compact-faq details p { font-size: 16px; line-height: 1.7; }
.ct-related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.ct-related-grid article { padding: 25px; border: 1px solid var(--ct-line); border-radius: 14px; background: white; }
.ct-related-grid article > span { color: var(--ct-green); font-size: 12px; font-weight: 720; text-transform: uppercase; }
.ct-related-grid h3 { margin-top: 8px; font-size: 19px; }
.ct-related-grid p { margin: 10px 0 15px; color: var(--ct-muted); font-size: 15px; }
.ct-wp-content { min-height: 320px; }
.ct-wp-content > * { max-width: 780px; margin-inline: auto; }
.ct-generic-card { padding: 25px 0; border-bottom: 1px solid var(--ct-line); }
.ct-generic-card h2 { font-size: 22px; }

/* Pied de page */
.ct-site-footer { padding: 55px 0 0; background: #14251e; color: white; }
.ct-footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 70px; padding-bottom: 45px; }
.ct-footer-brand { margin-bottom: 16px; }
.ct-footer-grid > div:first-child > p { max-width: 400px; color: #aebfb7; font-size: 15px; }
.ct-footer-grid h2 { margin-bottom: 14px; color: #8bd8b2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ct-footer-grid > div:not(:first-child) a { display: block; margin-bottom: 9px; color: #c7d4ce; font-size: 14px; }
.ct-footer-grid a:hover { color: white; }
.ct-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8ea29a; font-size: 12px; }

/* Adaptation responsive */
@media (max-width: 900px) {
	.ct-counter-stats { grid-template-columns: repeat(3,1fr); margin-bottom: 10px; }
	.ct-stat-card { border-radius: 13px; }
	.ct-editor-card { border-radius: 16px; }
	.ct-use-grid { grid-template-columns: repeat(2,1fr); }
	.ct-seo-workspace { grid-template-columns: 1fr; }
	.ct-guide-grid { grid-template-columns: 1fr 1fr; }
	.ct-guide-grid > article:last-child { grid-column: 1 / -1; }
	.ct-privacy-panel { gap: 35px; padding: 50px; }
	.ct-article-layout { grid-template-columns: 1fr; gap: 35px; }
	.ct-article-toc { position: static; }
	.ct-footer-grid { gap: 35px; }
}

@media (max-width: 782px) {
	.admin-bar .ct-site-header { top: 46px; }
}

@media (max-width: 720px) {
	.ct-shell, .ct-narrow-shell, .ct-article-shell, .ct-article-layout { width: min(100% - 28px,100%); }
	.ct-desktop-nav { display: none; }
	.ct-mobile-menu { display: block; }
	.ct-tool-hero { padding: 40px 0 58px; }
	.ct-hero-copy { text-align: left; }
	.ct-hero-copy h1 { font-size: 2.05rem; }
	.ct-hero-copy p { font-size: 17px; }
	.ct-counter-stats { grid-template-columns: repeat(2,1fr); gap: 7px; }
	.ct-stat-card { min-height: 78px; padding: 14px; }
	.ct-stat-card strong { font-size: 21px; }
	.ct-editor-toolbar { align-items: flex-start; flex-direction: column; }
	.ct-toolbar-actions { width: 100%; }
	.ct-toolbar-actions button { flex: 1 1 auto; background: var(--ct-soft); }
	.ct-editor-card > textarea { min-height: 285px; padding: 18px; font-size: 17px; }
	.ct-editor-footer { flex-wrap: wrap; }
	.ct-editor-footer button { width: 100%; margin: 3px 0 0; border-top: 1px solid var(--ct-line); border-radius: 0; }
	.ct-counter-detail-grid { grid-template-columns: 1fr; }
	.ct-content-section { padding: 62px 0; }
	.ct-feature-grid, .ct-three-grid, .ct-split-content, .ct-privacy-panel, .ct-editorial-band-grid { grid-template-columns: 1fr; }
	.ct-feature-grid article { min-height: auto; }
	.ct-sticky-intro { position: static; margin-bottom: 10px; }
	.ct-split-content { gap: 42px; }
	.ct-privacy-section { padding-top: 0; }
	.ct-privacy-panel { padding: 42px 25px; }
	.ct-privacy-visual { min-height: 180px; }
	.ct-shield-shape { width: 96px; height: 116px; }
	.ct-use-grid { grid-template-columns: 1fr; }
	.ct-heading-row { align-items: flex-start; flex-direction: column; }
	.ct-guide-grid { grid-template-columns: 1fr; }
	.ct-guide-grid > article:last-child { grid-column: auto; }
	.ct-guide-list-large article { grid-template-columns: 1fr; }
	.ct-guide-list-large .ct-guide-art { min-height: 175px; }
	.ct-guide-list-large article > div:last-child { padding: 25px; }
	.ct-seo-form-card, .ct-serp-card { padding: 18px; }
	.ct-panel-heading { align-items: flex-start; }
	.ct-field-label { align-items: flex-start; flex-direction: column; }
	.ct-serp-title { font-size: 18px; }
	.ct-article-hero { padding: 42px 0 52px; }
	.ct-article-hero p { font-size: 17px; }
	.ct-article-layout { padding-top: 50px; padding-bottom: 65px; }
	.ct-related-grid { grid-template-columns: 1fr; }
	.ct-footer-grid { grid-template-columns: 1fr 1fr; }
	.ct-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
	.ct-brand-name { font-size: 16px; }
	.ct-stat-card strong { font-size: 19px; }
	.ct-toolbar-actions button { font-size: 14px; }
	.ct-editor-footer span:nth-child(3) { display: none; }
	.ct-frequency-list { grid-template-columns: 1fr; }
	.ct-seo-summary { grid-template-columns: 1fr; }
	.ct-preview-heading { flex-direction: column; }
	.ct-footer-grid { grid-template-columns: 1fr; }
	.ct-footer-grid > div:first-child { grid-column: auto; }
	.ct-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
