/* ══════════════════════════════════════════════════════
   Bacs Corten Collectivités — CSS dédié
   Déposer dans : /themes/at_movic/assets/css/
   Nom du fichier : custom-corten.css
   Tous les sélecteurs préfixés "cc-" → aucun conflit
══════════════════════════════════════════════════════ */

#cc-wrap{font-family:Georgia,serif;line-height:1.75;color:#1a1a1a;width:80%;margin:0 auto}
#cc-wrap *{box-sizing:border-box}
#cc-wrap p{}
#cc-wrap h2{font-size:1.9rem;color:#5c2d0a;margin:0 0 12px;line-height:1.3}
#cc-wrap h3{font-size:1.1rem;color:#a0522d;margin:0 0 8px;font-weight:700}
.cc-accent{color:#b85c1a}
.cc-divider{width:60px;height:4px;background:#b85c1a;border-radius:2px;margin-bottom:24px}
.cc-intro{font-size:1.05rem;color:#3d3d3d;max-width:760px;margin-bottom:36px}

/* HERO */
.cc-hero{background:linear-gradient(135deg,#5c2d0a 0%,#b85c1a 60%,#a0522d 100%);color:#fff;padding:60px 20px 50px;text-align:center;border-radius:40px;margin-bottom:0;position:relative;overflow:hidden}
.cc-hero::before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");pointer-events:none}
.cc-badge{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#ffe0c0;font-size:.78rem;letter-spacing:2px;text-transform:uppercase;padding:5px 18px;border-radius:20px;margin-bottom:18px;position:relative}
.cc-hero h1{font-size:clamp(1.6rem,3.5vw,2.6rem);font-weight:700;line-height:1.25;max-width:750px;margin:0 auto 16px;color:#fff;position:relative}
.cc-hero h1 span{color:#ffd4a8}
.cc-hero-sub{font-size:1.05rem;opacity:.88;max-width:600px;margin:0 auto 26px;font-style:italic;text-align:center;display:block;position:relative}
.cc-btn-hero{display:inline-block;background:#fff;color:#5c2d0a;font-weight:700;font-size:.95rem;padding:13px 32px;border-radius:40px;text-decoration:none;position:relative}
.cc-btn-hero:hover{background:#ffe8d0;color:#5c2d0a;text-decoration:none}

/* SECTIONS */
.cc-section{padding:56px 0}
.cc-section-pale{background:#faf7f4;padding:56px 24px;border-radius:40px;margin:0 -8px}

/* STATS */
.cc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px;margin-top:4px}
.cc-stat{background:#fff;border:1px solid #e0cfc0;border-top:4px solid #b85c1a;padding:24px 14px;text-align:center;border-radius:20px}
.cc-stat-num{display:block;font-size:2rem;font-weight:700;color:#b85c1a;line-height:1}
.cc-stat-lbl{display:block;font-size:.78rem;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}

/* TWO-COL */
.cc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
@media(max-width:680px){.cc-two-col{grid-template-columns:1fr}}
.cc-hbox{background:#f5e6d8;border-left:5px solid #b85c1a;padding:26px 22px;border-radius:4px}
.cc-hbox-icon{font-size:1.8rem;margin-bottom:8px;display:block}

/* CARDS */
.cc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}
.cc-card{background:#fff;border:1px solid #e0cfc0;padding:24px 20px;border-radius:20px}
.cc-card-n{font-size:2.2rem;font-weight:700;color:#e0cfc0;line-height:1;margin-bottom:8px}

/* SHAPES */
.cc-shapes{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:32px;align-items:flex-end;justify-content:center}
.cc-shape-item{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.82rem;color:#3d3d3d;font-weight:600}
.cc-shape{background:#b85c1a;opacity:.75}
.cc-sh-r{width:76px;height:32px;border-radius:2px}
.cc-sh-s{width:42px;height:42px;border-radius:2px}
.cc-sh-c{width:50px;height:50px;border-radius:50%}
.cc-sh-l{width:42px;height:42px;clip-path:polygon(0 0,42% 0,42% 56%,100% 56%,100% 100%,0 100%)}
.cc-sh-t{width:58px;height:42px;clip-path:polygon(0 0,100% 0,100% 40%,65% 40%,65% 100%,35% 100%,35% 40%,0 40%)}
.cc-sh-f{width:54px;height:44px;clip-path:polygon(20% 0%,80% 0%,100% 30%,100% 100%,60% 80%,0% 100%,0% 30%)}
.cc-cblock{background:#f5e6d8;border-left:4px solid #b85c1a;padding:26px;border-radius:4px}
.cc-btn-rust{display:inline-block;margin-top:16px;background:#b85c1a;color:#fff;padding:11px 26px;border-radius:4px;text-decoration:none;font-weight:700;font-size:.92rem}
.cc-btn-rust:hover{background:#5c2d0a;color:#fff;text-decoration:none}

/* REFS */
.cc-refs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.cc-ref{background:#fff;border:1px solid #e0cfc0;border-top:4px solid #a0522d;padding:22px 18px;border-radius:4px}
.cc-ref-ic{font-size:1.6rem;margin-bottom:6px;display:block}

/* LIVRAISON */
.cc-livr{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.cc-lz{background:#fff;border:1px solid #e0cfc0;padding:22px 18px;border-radius:4px}

/* CONTACT */
.cc-contact{background:linear-gradient(135deg,#5c2d0a 0%,#3d1a05 100%);padding:56px 24px;border-radius:40px}
.cc-contact h2{color:#ffe0c0 !important}
.cc-contact .cc-intro{color:#e8d5c0}
.cc-cms{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.cc-cm{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);padding:26px 20px;border-radius:4px;text-align:center}
.cc-cm-ft{background:rgba(200,119,58,.3);border-color:#c8773a}
.cc-cm-ic{font-size:2rem;margin-bottom:8px;display:block}
.cc-cm h3{color:#ffd4a8 !important;margin-bottom:8px}
.cc-cm p{font-size:.88rem;color:#d4b89a;margin-bottom:14px}
.cc-btn-c{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;padding:9px 20px;border-radius:20px;text-decoration:none;font-weight:600;font-size:.88rem}
.cc-btn-c:hover{background:rgba(255,255,255,.25);color:#fff;text-decoration:none}
.cc-btn-wa{background:#25d366 !important;border-color:#25d366 !important;color:#fff !important}
.cc-btn-wa:hover{background:#1eb855 !important}
.cc-reassur{margin-top:30px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:16px 20px;border-radius:20px;text-align:center;color:#ffd4a8;font-size:.92rem}

@media(max-width:600px){
  .cc-stats{grid-template-columns:1fr 1fr}
  .cc-cards,.cc-refs,.cc-livr,.cc-cms{grid-template-columns:1fr}
}
