/* MELIBURO - PAGES.CSS - Styles Spécifiques aux Pages */

/* === PAGE ACCUEIL - SECTIONS SPÉCIFIQUES === */

/* Services Flow */
.services-intro {
    text-align: center;
    margin-bottom: var(--xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hook-line {
    font-size: var(--text-xl);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--sm);
}

.value-prop {
    font-size: var(--text-lg);
    line-height: 1.4;
    color: var(--dark);
}

.value-prop strong {
    color: var(--accent);
    font-size: 1.2em;
}

.data-source {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: var(--lg) var(--xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 0 auto var(--lg);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    max-width: 280px;
    transition: transform 0.3s ease;
}

.data-source:hover {
    transform: translateY(-5px);
}

.data-source-icon {
    font-size: 2.5rem;
    margin-bottom: var(--sm);
    display: block;
}

.data-source h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--xs);
}

.data-source p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--xl);
}

.services-cta {
    text-align: center;
    margin-top: var(--xl);
}

/* === SECTION TARIFS === */
.pricing-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--lg);
    margin-bottom: var(--xl);
    color: var(--white);
    text-align: center;
}

.pricing-highlight h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--xs);
}

.pricing-highlight h3 strong {
    font-size: var(--text-2xl);
}

.pricing-highlight p {
    opacity: 0.9;
    font-size: var(--text-sm);
    margin: 0;
}

.pricing-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--lg);
    text-align: center;
}

.pricing-header h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sm);
    font-weight: 700;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: var(--md) var(--lg);
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.pricing-row:hover {
    background: var(--light);
}

.pricing-headers {
    background: var(--light);
    font-weight: 600;
}

.pricing-headers > div {
    text-align: center;
}

.pricing-headers > div:first-child {
    text-align: left;
}

.service-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.service-details {
    font-size: var(--text-sm);
    color: var(--gray);
}

.price-standard {
    text-align: center;
    font-weight: 600;
    color: var(--dark);
}

.price-time {
    text-align: center;
    color: var(--gray);
    font-weight: 500;
}

.pricing-express-row {
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--accent);
}

.price-express-tag {
    text-align: center;
    background: var(--accent);
    color: var(--white);
    padding: var(--xs) var(--sm);
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-block;
}

.included-features {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    text-align: center;
    margin-top: var(--lg);
    border-radius: var(--radius-lg);
    padding: var(--lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--md);
    margin-top: var(--md);
}

.feature-item-pricing {
    text-align: center;
}

.feature-icon-pricing {
    font-size: 1.5rem;
    margin-bottom: var(--xs);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-description {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.pricing-cta {
    text-align: center;
    margin-top: var(--xl);
}

.pricing-note {
    margin-top: var(--sm);
    color: var(--gray);
    font-size: var(--text-sm);
}

/* === SECTION À PROPOS === */
.about-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--xl);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    text-align: center;
}

.melissa-photo {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.about-text {
    background: var(--white);
    padding: var(--xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    color: var(--primary);
    font-size: var(--text-xl);
    margin-bottom: var(--md);
}

.intro-text {
    font-size: var(--text-lg);
    color: var(--primary-dark);
    margin-bottom: var(--lg);
    padding-left: var(--md);
    border-left: 4px solid var(--accent);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lg);
    margin: var(--lg) 0;
}

.methodology {
    background: var(--primary);
    color: var(--white);
    padding: var(--lg);
    border-radius: var(--radius-lg);
    margin-top: var(--lg);
}

.methodology h4 {
    margin-bottom: var(--sm);
    font-size: var(--text-lg);
    font-weight: 700;
}

.methodology p {
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* === PROCESSUS === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--lg);
}

.process-step {
    text-align: center;
    padding: var(--md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto var(--sm);
    font-size: var(--text-lg);
}

.process-step h4 {
    color: var(--primary);
    margin-bottom: var(--xs);
    font-weight: 600;
}

/* === SECTION CONTACT === */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.contact-content h2 {
    color: var(--white);
    margin-bottom: var(--md);
}

.contact-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--xl);
    opacity: 0.9;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--sm);
    margin: var(--xl) 0;
    flex-wrap: wrap;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--lg);
    margin: var(--xl) 0;
}

/* === BLOG PREVIEW === */
.blog-preview-featured {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--xl);
    align-items: center;
    border-left: 4px solid var(--secondary);
}

.blog-preview-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sm);
    text-align: center;
}

.blog-emoji {
    font-size: 4rem;
    opacity: 0.8;
    animation: blogFloat 3s ease-in-out infinite;
}

.blog-stats-mini {
    background: var(--light);
    padding: var(--sm);
    border-radius: var(--radius-lg);
    min-width: 80px;
}

.stat-mini .stat-number {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: var(--xs);
}

.stat-mini .stat-label {
    font-size: var(--text-xs);
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-preview-actions {
    display: flex;
    gap: var(--sm);
    margin-top: var(--md);
    flex-wrap: wrap;
}

/* === PAGES BLOG === */
.page-blog .blog-hero-icon {
    font-size: 4rem;
    margin-bottom: var(--lg);
    display: block;
    animation: blogFloat 3s ease-in-out infinite;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--xl);
}

/* === PAGES ARTICLE === */
.page-article .article-meta-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--md);
    margin-bottom: var(--lg);
    flex-wrap: wrap;
}

.article-page-title {
    color: var(--white);
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--sm);
    line-height: 1.2;
}

.article-page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: var(--text-lg);
    opacity: 0.9;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-title {
    color: var(--primary);
    margin: var(--xxl) 0 var(--lg);
    font-size: var(--text-2xl);
    font-weight: 700;
    padding-bottom: var(--sm);
    border-bottom: 3px solid var(--accent);
    position: relative;
}

.content-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.content-paragraph {
    margin-bottom: var(--md);
    line-height: 1.7;
    color: var(--dark);
}

.content-list {
    list-style: none;
    margin: var(--md) 0;
}

.content-list li {
    padding: var(--xs) 0;
    position: relative;
    padding-left: 24px;
    color: var(--gray);
    line-height: 1.6;
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: var(--xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--xxl) 0;
}

.article-cta h3 {
    margin-bottom: var(--md);
    font-size: var(--text-xl);
    font-weight: 700;
}

.article-cta-buttons {
    display: flex;
    gap: var(--sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-call-article {
    border-color: var(--white);
    color: var(--white);
}

.btn-call-article:hover {
    background: var(--white);
    color: var(--primary);
}

.article-back {
    text-align: center;
}

/* === RESPONSIVE PAGES === */
@media (max-width: 1024px) {
    .blog-preview-featured {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
        gap: var(--sm);
        text-align: center;
    }
    
    .pricing-headers {
        display: none;
    }
    
    .price-time::before { content: "Temps : "; }
    .price-standard::before { content: "Prix : "; }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--lg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--md);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .article-preview-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--sm);
    }
    
    .article-page-title {
        font-size: var(--text-xl);
    }
    
    .content-title {
        font-size: var(--text-lg);
        margin: var(--xl) 0 var(--md);
    }
    
    .article-cta {
        padding: var(--lg);
    }
    
    .article-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-highlight {
        padding: var(--md);
    }
    
    .pricing-highlight h3 {
        font-size: var(--text-lg);
    }
    
    .pricing-highlight h3 strong {
        font-size: var(--text-xl);
    }
}

/* === MENU BURGER & SIDEBAR === */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.burger-btn:hover {
    background: var(--primary-dark);
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation burger → X */
.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.sidebar-title {
    font-weight: 700;
    font-size: var(--text-lg);
}

.sidebar-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-menu {
    list-style: none;
    padding: var(--md) 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-link {
    display: block;
    padding: var(--md) var(--lg);
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: var(--light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-divider {
    height: 1px;
    background: #e9ecef;
    margin: var(--sm) var(--lg);
}

.sidebar-link-cta {
    background: linear-gradient(135deg, var(--accent), #e85a2a);
    color: var(--white) !important;
    margin: var(--md) var(--lg);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.sidebar-link-cta:hover {
    background: linear-gradient(135deg, #e85a2a, var(--accent));
    border-left-color: transparent;
}

/* Ajustement header pour le burger */
.header-content {
    display: flex;
    align-items: center;
    gap: var(--md);
}

/* Body lock quand sidebar ouverte */
body.sidebar-open {
    overflow: hidden;
}