/*
Theme Name: Cmonchoix Core
Theme URI: https://cmonchoix.com/
Author: Cmonchoix
Author URI: https://cmonchoix.com/
Description: Theme WordPress standalone ultra léger pour Cmonchoix, sans dépendance à Divi. Conçu pour laisser les MU plugins CCX piloter le rendu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cmonchoix-core
*/

:root{
  --ccx-page-max: 1300px;
  --ccx-text: #111827;
  --ccx-muted: #6b7280;
  --ccx-border: #e5e7eb;
  --ccx-bg: #f5f7fb;
  --ccx-surface: #ffffff;
  --ccx-radius: 18px;
  --ccx-accent: #00ff6a;
  --ccx-accent-2: #ff7a00;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ccx-text);
  background:var(--ccx-bg);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.screen-reader-text:focus{
  clip:auto!important;width:auto;height:auto;margin:0;padding:12px 16px;
  background:#111;color:#fff;z-index:100000;left:12px;top:12px;
}

.site-main,
.ccx-site-main{
  min-height:40vh;
}

.ccx-shell{
  width:min(calc(100% - 32px), var(--ccx-page-max));
  margin:0 auto;
}

.ccx-content-card{
  background:var(--ccx-surface);
  border:1px solid var(--ccx-border);
  border-radius:var(--ccx-radius);
  padding:24px;
  box-shadow:0 12px 32px rgba(15,23,42,.05);
}

.entry-title,
.page-title{
  margin:0 0 16px;
  line-height:1.15;
}

.entry-content > *:first-child{margin-top:0}
.entry-content > *:last-child{margin-bottom:0}

.alignwide{width:min(calc(100% - 32px), 1400px);margin-left:auto;margin-right:auto}
.alignfull{width:100%;max-width:none;margin-left:0;margin-right:0}

.site-footer-placeholder{height:1px}

@media (max-width: 782px){
  .ccx-shell{width:min(calc(100% - 20px), var(--ccx-page-max))}
  .ccx-content-card{padding:18px;border-radius:14px}
}

body{
  margin:0;
  color:var(--ccx-text);
  background:var(--ccx-bg);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4,h5,h6{
  font-weight: 800;
}
strong,b{
  font-weight: 700;
}