/*
Theme Name: NC Conseil Santé
Description: Thème WordPress professionnel pour NC Conseil Santé - Accompagnement des professionnels de santé. Design moderne et responsive avec fonctionnalités avancées.
Author: NC Conseil
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nc-conseil
Domain Path: /languages
Tags: business, healthcare, consulting, responsive, modern
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

:root {
    --primary-color: #2c5282;
    --secondary-color: #4a90a4;
    --accent-color: #63b3ed;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background-light: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1em;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1em;
}

.wp-caption-text {
    font-size: 0.9em;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5em;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}


/* Header strictement identique à la maquette */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 0 32px 0;
    gap: 32px;
}
.logo-link {
    display: flex;
    align-items: center;
    margin-right: 18px;
}
.logo-svg {
    width: 144px;
    height: 144px;
    min-width: 144px;
    min-height: 144px;
}
.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #42516e;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0 0;
    line-height: 1;
}
.main-navigation {
    margin-left: auto;
}
.main-navigation ul.menu {
    display: flex;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation ul.menu li {
    margin: 0;
    list-style: none;
}
.main-navigation ul.menu a {
    color: #42516e;
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0 0 2px 0;
    transition: color 0.2s;
    border: none;
}
.main-navigation ul.menu a:hover,
.main-navigation ul.menu a:focus {
    color: #2c5282;
    text-decoration: none;
}
.main-navigation ul.menu a::after {
    display: none;
}
.menu-toggle {
    display: none;
}
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 0 18px 0;
    }
    .main-navigation {
        margin-left: 0;
        width: 100%;
    }
    .main-navigation ul.menu {
        flex-direction: column;
        gap: 12px;
    }
    .menu-toggle {
        display: block;
        margin-bottom: 10px;
    }
    .logo-svg {
        width: 90px;
        height: 90px;
        min-width: 90px;
        min-height: 90px;
    }
    .site-title {
        font-size: 1.3rem;
    }
}
body {
    padding-top: 90px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Quote Styles */
.hero-quote {
    font-style: italic;
    font-size: 1.1em;
    color: #666;
    margin: 1.5rem 0;
    padding: 1rem;
    border-left: 4px solid #2196f3;
    background: rgba(33, 150, 243, 0.05);
    font-family: 'Playfair Display', serif;
}

.hero-quote::before {
    content: "\201C";
    font-size: 2em;
    color: #2196f3;
    line-height: 0;
    margin-right: 0.1em;
    vertical-align: -0.4em;
}

.hero-quote::after {
    content: "\201D";
    font-size: 2em;
    color: #2196f3;
    line-height: 0;
    margin-left: 0.1em;
    vertical-align: -0.4em;
}
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><circle fill="%23ffffff" opacity="0.05" cx="200" cy="100" r="60"/><circle fill="%23ffffff" opacity="0.05" cx="800" cy="200" r="80"/><circle fill="%23ffffff" opacity="0.05" cx="1000" cy="400" r="40"/><path d="M100 300 Q300 200 500 300 T900 300" stroke="%23ffffff" stroke-width="2" opacity="0.1" fill="none"/><rect fill="%23ffffff" opacity="0.08" x="50" y="450" width="120" height="30" rx="15"/><rect fill="%23ffffff" opacity="0.08" x="900" y="50" width="80" height="20" rx="10"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="none" width="1200" height="800"/><circle fill="%234a90a4" opacity="0.03" cx="100" cy="100" r="50"/><circle fill="%234a90a4" opacity="0.03" cx="1100" cy="300" r="70"/><circle fill="%234a90a4" opacity="0.03" cx="200" cy="600" r="40"/><path d="M0 400 Q300 300 600 400 T1200 400" stroke="%234a90a4" stroke-width="1" opacity="0.05" fill="none"/></svg>');
    background-size: cover;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-features i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
}

.about-image {
    text-align: center;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%234a90a4" width="400" height="300"/><circle fill="%23ffffff" opacity="0.1" cx="100" cy="100" r="30"/><circle fill="%23ffffff" opacity="0.1" cx="300" cy="200" r="40"/><rect fill="%23ffffff" opacity="0.1" x="50" y="150" width="80" height="20" rx="10"/><rect fill="%23ffffff" opacity="0.1" x="250" y="50" width="100" height="15" rx="7"/><path d="M200 150 L220 130 L240 150 L220 170 Z" fill="%23ffffff" opacity="0.15"/></svg>');
    background-size: cover;
}

/* Content Styles */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.entry-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.entry-meta {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.entry-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><circle fill="%232c5282" opacity="0.04" cx="1000" cy="100" r="80"/><circle fill="%232c5282" opacity="0.04" cx="100" cy="400" r="60"/><rect fill="%232c5282" opacity="0.03" x="500" y="200" width="200" height="40" rx="20"/><path d="M200 500 L300 450 L400 500 L500 450" stroke="%232c5282" stroke-width="2" opacity="0.06" fill="none"/></svg>');
    background-size: cover;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover,
.submit-btn:focus {
    background: var(--secondary-color);
}


/* Footer strictement identique à la maquette */
footer {
    background: #374151;
    color: #fff;
    padding: 56px 0 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px;
    margin-bottom: 24px;
}
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    letter-spacing: 1px;
}
.footer-section p {
    font-size: 1rem;
    opacity: 0.92;
    margin-bottom: 10px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.92;
    font-size: 1rem;
}
.footer-section i {
    margin-right: 7px;
    color: #fff;
    opacity: 0.8;
}
.footer-bottom {
    text-align: center;
    padding: 18px 0 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    opacity: 0.7;
    font-size: 1rem;
}
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-section {
        margin-bottom: 16px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 16px 0;
        z-index: 1001;
    }
    .main-navigation.toggled {
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    .header-content {
        flex-direction: column;
        gap: 14px;
        padding: 12px 0 12px 0;
    }
    .logo-svg {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    .site-title {
        font-size: 1.1rem;
    }
    .hero h1 {
        font-size: 26px;
    }
    .hero p {
        font-size: 15px;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 18px;
    }
    .about-image-placeholder {
        height: 180px;
        font-size: 13px;
    }
    .contact-form {
        padding: 18px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-section {
        margin-bottom: 10px;
    }
    .footer-bottom {
        font-size: 0.9rem;
        padding: 10px 0 8px 0;
    }
    body {
        padding-top: 70px;
    }
    .container {
        padding: 0 8px;
    }
}

@media (min-width: 769px) {
    body {
        padding-top: 150px;
    }
}

/* WordPress Specific */
.sticky {}
.gallery-caption {}
.bypostauthor {}

/* Comments */
.comments-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
}

.comment-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-content p {
    margin-bottom: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
