/*
Theme Name: C2 Consulting Group
Theme URI: https://www.c2group-consulting.com
Author: C2 Consulting Group
Author URI: https://www.c2group-consulting.com
Description: Thème WordPress professionnel pour C2 Consulting Group - Cabinet d'intelligence stratégique, communication d'influence, gouvernance et digitalisation. Design premium et corporate avec sections personnalisables.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: c2-consulting
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, business, portfolio

C2 Consulting Group WordPress Theme
Copyright 2025 C2 Consulting Group
*/

/* ===================================
   C2 CONSULTING GROUP - WORDPRESS THEME
   ================================== */

/* === VARIABLES & RESET === */
:root {
    /* Colors */
    --primary-dark: #0a0e27;
    --primary-navy: #1a2332;
    --secondary-blue: #2c4a7c;
    --accent-gold: #c9a961;
    --accent-gold-light: #d4b76f;
    --text-light: #ffffff;
    --text-gray: #b8bcc8;
    --text-dark: #2d3142;
    --bg-dark: #0d1117;
    --bg-light: #f8f9fa;
    --border-gray: #e1e4e8;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* === UTILITIES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

/* === NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-branding a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-c2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--accent-gold);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Main Content Area */
.site-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Post/Page Content Styles */
.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-display);
    color: var(--primary-dark);
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--accent-gold);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    font-style: italic;
    color: var(--text-gray);
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-gray);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.comment-reply-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.comment-reply-link:hover {
    color: var(--accent-gold);
}

/* === FOOTER === */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding .logo-c2 {
    font-size: 1.8rem;
}

.footer-branding .logo-text {
    font-size: 0.7rem;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin: 15px 0;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-widget h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-widget a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-confidential {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .main-navigation ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        gap: 20px;
    }
    
    .main-navigation.toggled ul {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-branding {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-c2 {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
