/**
 * EASYPLANIF - Site Web v3 (Charte Vuexy)
 * Couleurs : #7367f0 (violet primaire) | #9e95f5 (violet clair) | #0b0225 (sombre)
 */

/* ========================================
   VARIABLES & RESET
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #7367f0;
    --primary-dark: #5a50d6;
    --primary-light: #9e95f5;
    --secondary: #9e95f5;
    --success: #28c76f;
    --danger: #ea5455;
    --warning: #ff9f43;
    --dark: #0b0225;
    --dark-light: #1e1b4b;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f8f7fc;
    --bg-gradient: linear-gradient(135deg, #7367f0 0%, #9e95f5 100%);
    --shadow: 0 4px 20px rgba(115, 103, 240, 0.08);
    --shadow-lg: 0 10px 40px rgba(115, 103, 240, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1424px; margin: 0 auto; padding: 0 2rem; }

/* ========================================
   TYPOGRAPHY
======================================== */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.8rem; font-weight: 600; }

strong { font-weight: bold; }

p, li { font-size: 18px; }

.hero-subtitle, .section-subtitle {
    font-size: 24px;
}

.section-overtitle {
    text-transform: uppercase;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-title { text-align: center; margin-bottom: 1rem; color: var(--dark); }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 4rem; font-size: 1.05rem; }

.highlight {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(115, 103, 240, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(115, 103, 240, 0.4); }

.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

.btn-white { background: white; color: var(--dark); }
.btn-white:hover { background: #f0f0f0; }

.btn-blue { background: #7367f0; color: white; }
.btn-blue:hover { background: #008a9a; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ========================================
   NAVBAR - Style TrainingSquare
======================================== */
:root {
    --content-max-width: 1364px;
    --padding: 2rem;
}

.navbar {
    position: fixed;
    top: 46px;
    width: 100%;
    max-width: var(--content-max-width);
    transform: translateX(-50%);
    left: 50%;
    padding-left: var(--padding);
    padding-right: var(--padding);
    z-index: 100;
    transition: top 0.3s;
    justify-content: space-between;
    padding: 12px 42px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 30px rgba(115, 103, 240, 0.25);
    gap: 16px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.navbar-brand img { height: 51px; margin-top: 10px; }

.navbar-menu { display: flex; list-style: none; gap: 2.5rem; }
.navbar-menu a { 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 500; 
    font-size: 1.1rem;
    margin-top: -7px;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}
.navbar-menu a:hover { color: var(--primary); }
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    transition: width 0.3s ease;
}
.navbar-menu a:hover::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 1rem; margin-right: 12px; }

.btn-nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    background: #7367f0;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(115, 103, 240, 0.3);
}
.btn-nav-contact:hover {
    background: #008a9a;
    box-shadow: 0 4px 15px rgba(115, 103, 240, 0.4);
}

.btn-nav-connexion {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-nav-connexion:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.btn-nav-connexion i { font-size: 0.85rem; }

.navbar-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ========================================
   HERO
======================================== */
.hero {
    padding: 9rem 0 7rem;
    background: white;
    color: var(--text);
    position: relative;
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    margin-top: 20px;
    text-align: left;
	margin-left: 40px;
}

.hero h1 {
    color: #093864;
    font-size: 2.8rem;
    margin-top: 50px;
}

.hero-subtitle {
    text-align: left;
}

.hero-cta {
    justify-content: center;
}

.hero-proof {
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(114, 191, 68, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 { color: #7367f0; margin-bottom: 1.25rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-light); margin-bottom: 4rem; margin-left: 0; max-width: 600px; }
.hero-subtitle strong { color: var(--secondary); }

.hero-cta { display: flex; gap: 1rem; justify-content: left; margin-bottom: 2.5rem; flex-wrap: wrap; }

.hero-proof { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; opacity: 0.8; }
.proof-item i { color: var(--secondary); }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ========================================
   PROBLEMS
======================================== */
.problems { padding: 5rem 0; }

.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; margin-top:3em }

.problem-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.problem-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.problem-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #7367f0;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.problem-card h3 { margin-bottom: 0.75rem; color: var(--dark); }
.problem-card p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 1.5rem; font-style: italic; }

.problem-stat {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
}
.problem-stat .stat-number { display: block; font-size: 1.75rem; font-weight: 800; color: #7367f0; }
.problem-stat .stat-label { font-size: 1.1rem; color: var(--text-light); }

.problems-cta { text-align: center; color: var(--text-light); }
.problems-cta strong { color: var(--primary); }

/* ========================================
   BENEFITS SECTION
======================================== */
.benefits-section {
    margin-top: 4rem;
    padding: 3rem 0;
}

.benefits-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-icon {
    font-size: 2.3rem;
    color: #666;
    line-height: 1;
}

.benefit-number {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.benefit-percent {
    font-size: 2.46rem;
    font-weight: 800;
}

.benefit-text {
    font-size: 1.3rem;
    line-height: 2rem;
    color: var(--text-light);
    max-width: 350px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-number { font-size: 90px; }
    .benefit-icon { font-size: 2.5rem; }
    .benefit-text { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-title { font-size: 1.85rem; }
    .benefit-number { font-size: 80px; }
    .benefit-icon { font-size: 2rem; }
    .benefit-text { font-size: 1.25rem; }
}

/* ========================================
   SOLUTION (PILLARS)
======================================== */
.solution { padding: 5rem 0; background: var(--bg-light); }

.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.pillar-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pillar-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
}

.pillar-card h3 { margin-bottom: 0.75rem; color: var(--dark); }
.pillar-card p { color: var(--text-light); margin-bottom: 1.25rem; }
.pillar-card strong { color: var(--dark); }

.pillar-benefit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(114, 191, 68, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   COMPARISON
======================================== */
.comparison { padding: 8rem 0; }

.comparison-table-wrapper { overflow-x: auto; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-table th { background: var(--bg-light); }
.comparison-table th span { display: block; font-size: 1rem; margin-top: 0.5rem; }
.comparison-table th i { font-size: 1.5rem; }
.comparison-table th img { height: 24px; }

.comparison-table td:first-child { text-align: left; font-weight: 500; padding-left: 1.5rem; }

.col-excel { color: #217346; }
.col-erp { color: #666; }
.col-easyplanif { 
    background: rgba(115, 103, 240, 0.05);
}

th.col-easyplanif {
    text-align: center;
}

th.col-easyplanif img {
    display: block;
    margin: 0 auto;
}

.col-easyplanif .fa-check { color: var(--secondary); font-size: 1.25rem; }
.col-excel .fa-check { color: var(--secondary); }
.col-excel .fa-times, .col-erp .fa-times { color: #7367f0; }

.recommended-badge {
    background: var(--bg-gradient);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}

.row-price td { font-weight: 700; background: var(--bg-light); }
.row-price .col-easyplanif { background: rgba(115, 103, 240, 0.1); color: var(--primary); }

.price-grey {
    color: #999;
}

/* ========================================
   CALCULATOR
======================================== */
.calculator { padding: 5rem 0; background: var(--dark); color: white; }

.calculator-wrapper { max-width: 900px; margin: 0 auto; }
.calculator-header { text-align: center; margin-bottom: 2.5rem; }
.calculator-header h2 { color: white; margin-bottom: 0.5rem; }
.calculator-header p { opacity: 0.8; }

.calculator-body { background: white; border-radius: var(--radius); padding: 2.5rem; color: var(--text); }

.calculator-inputs { margin-bottom: 2rem; }

.calc-input-group { margin-bottom: 1.5rem; }
.calc-input-group label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.calc-input-group label i { color: var(--primary); }

.calc-input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #eee;
    outline: none;
    -webkit-appearance: none;
}
.calc-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-gradient);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(115, 103, 240, 0.4);
}

.range-value {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}
.result-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.result-value { font-size: 1.75rem; font-weight: 800; color: var(--dark); }
.result-value.highlight { background: var(--bg-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.result-detail { font-size: 0.8rem; color: var(--text-light); margin-top: 0.25rem; }

.result-current { border-left: 4px solid #7367f0; }
.result-new { border-left: 4px solid var(--primary); }
.result-savings { border-left: 4px solid var(--secondary); background: rgba(114, 191, 68, 0.1); }

.result-arrow { font-size: 1.5rem; color: var(--primary); }

.calculator-cta { text-align: center; }
.calc-note { font-size: 0.85rem; color: var(--text-light); margin-top: 1rem; }

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials { padding: 5rem 0; background: var(--bg-light); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-rating { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.testimonial-card strong { color: var(--primary); }

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}
.author-info strong { display: block; color: var(--dark); }
.author-info span { font-size: 0.85rem; color: var(--text-light); }

/* ========================================
   PRICING
======================================== */
.pricing { padding: 5rem 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }

.pricing-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pricing-card.popular { border: 3px solid var(--primary); transform: scale(1.05); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header { padding: 2rem; text-align: center; border-bottom: 1px solid #eee; }
.pricing-emoji { font-size: 2.5rem; }
.pricing-header h3 { margin: 0.5rem 0 0.25rem; }
.pricing-header p { color: var(--text-light); font-size: 0.9rem; }

.pricing-price {
    padding: 1.5rem 2rem;
    text-align: center;
    background: var(--bg-light);
}
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--dark); }
.price-currency { font-size: 1.25rem; font-weight: 600; color: var(--primary); }
.price-period { color: var(--text-light); }
.price-annual { display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 0.25rem; }

.pricing-features { list-style: none; padding: 1.5rem 2rem; }
.pricing-features li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.pricing-features i { color: var(--secondary); }

.pricing-card .btn { margin: 0 1.5rem 1.5rem; width: calc(100% - 3rem); }

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(114, 191, 68, 0.1);
    border-radius: var(--radius);
    text-align: left;
}
.pricing-guarantee i { font-size: 2rem; color: var(--secondary); }
.pricing-guarantee p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ========================================
   CTA DEMO
======================================== */
.cta-demo { padding: 5rem 0; background: var(--bg-gradient); }

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1228px;
    margin: 0 auto;
}

.demo-content { color: white; }
.demo-content h2 { color: white; margin-bottom: 1rem; }
.demo-content > p { opacity: 0.9; margin-bottom: 1.5rem; }

.demo-benefits { list-style: none; }
.demo-benefits li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.demo-benefits i { color: white; }

.demo-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.demo-form input, .demo-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: var(--primary); }

/* ========================================
   FAQ
======================================== */
.faq { padding: 5rem 0; }

.faq-grid { max-width: 800px; margin: 0 auto; }

.faq-item { background: var(--bg-light); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }

.faq-question {
    width: 100%;
    padding: 1.4rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.faq-question:hover { background: rgba(115, 103, 240, 0.05); }
.faq-question i { color: var(--primary); transition: var(--transition); }

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; background: var(--grey-100);}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.5rem; color: var(--text-light); line-height: 1.7; }
.drop { font-size:0.9em;}

/* ========================================
   FOOTER
======================================== */
.footer { background: #0b0225; color: white; padding: 4.5rem 0 2rem; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.footer-brand img { height: 49px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.65; }

.footer-links h4 { margin-bottom: 1.25rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; transition: var(--transition); font-size: .9rem; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
}
.footer-bottom p { font-size: 13px; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-legal a:hover { color: white; }

/* ========================================
   IMAGE PLACEHOLDERS
======================================== */
.image-placeholder {
    background: linear-gradient(135deg, #e0e5ec 0%, #d0d5dc 100%);
    border: 3px dashed #bbb;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #888;
    min-height: 300px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #aaa;
}

.image-placeholder span {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
}

.image-placeholder small {
    font-size: 0.8rem;
    color: #999;
}

.image-placeholder p {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

.image-placeholder.small {
    min-height: 150px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.image-placeholder.small i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.image-placeholder.video {
    min-height: 400px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    border: none;
    color: rgba(255,255,255,0.7);
}

.image-placeholder.video i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.image-placeholder.video span {
    color: white;
    font-size: 1.25rem;
}

.image-placeholder.video small,
.image-placeholder.video p {
    color: rgba(255,255,255,0.5);
}

/* Logo placeholders */
.logo-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    color: #999;
    font-size: 0.85rem;
}

/* ========================================
   HERO IMAGE
======================================== */
.hero-image {
    position: relative;
}

.hero-image img {
    height: auto;
}

.hero-image .image-placeholder {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    min-height: 350px;
}

.hero-image .image-placeholder i {
    color: rgba(255,255,255,0.5);
}

.hero-image .image-placeholder span {
    color: rgba(255,255,255,0.9);
}

.hero-image .image-placeholder small {
    color: rgba(255,255,255,0.5);
}

/* ========================================
   IN PRACTICE SECTION - 3 phases horizontales
======================================== */
.in-practice-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.phases-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.phase-card {
    flex: 1;
    max-width: 400px;
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.phase-number {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(115, 103, 240, 0.3);
}

.phase-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.phase-card > p {
    color: var(--text-light);
    font-size: 1.2rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 70px;
}

.phase-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.1rem !important;
    color: var(--text);
}

.phase-duration i {
    color: var(--primary);
}

.phase-duration strong {
    color: var(--primary);
}

/* Phase 3 - Success */
.phase-success .phase-number {
    background: linear-gradient(135deg, var(--secondary) 0%, #5a9e35 100%);
    box-shadow: 0 4px 15px rgba(114, 191, 68, 0.3);
}

.phase-success .phase-number i {
    font-size: 1.5rem;
}

/* Connecteur horizontal */
.phase-connector-h {
    display: flex;
    align-items: center;
    padding-top: 168px; /* Aligné avec le numéro */
}

.connector-line-h {
    width: 60px;
    height: 3px;
    background: var(--bg-gradient);
}

/* CTA */
.phases-cta {
    text-align: center;
}

/* Bande CTA pleine largeur */
.cta-band {
    position: relative;
    margin-top: 80px;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    background: #7367f0;
    padding: 3.5rem 0;
}

.cta-band-content {
    max-width: 1336px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
}

.cta-band-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.15);
}

.cta-band-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cta-band-btn i {
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .cta-band-content {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .phases-timeline {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .phase-card {
        max-width: 100%;
        width: 100%;
    }
    
    .phase-card > p {
        min-height: auto;
    }
    
    .phase-connector-h {
        transform: rotate(90deg);
        padding-top: 0;
    }
    
    .connector-line-h {
        width: 40px;
    }
}

/* ========================================
   FEATURES SHOWCASE - Style TrainingSquare
======================================== */
.features-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    position: relative;
}

.features-container {
    position: relative;
}

.features-bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 946px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    margin-top: -240px;
}

.features-illustration {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.features-grid-3 {
    position: relative;
    z-index: 1;
    margin-top: 216px;
}

.image-placeholder.illustration-main {
    min-height: 400px;
    background: linear-gradient(135deg, #fff5f5 0%, #f0f9ff 50%, #f5fff5 100%);
    border: 2px dashed #ddd;
    border-radius: 20px;
}

.image-placeholder.illustration-main i {
    font-size: 4rem;
    color: var(--primary);
}

/* Cercles décoratifs style TrainingSquare */
.features-illustration::before,
.features-illustration::after {
    content: '';
    position: absolute;
    border: 2px dashed rgba(115, 103, 240, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.features-illustration::before {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
}

.features-illustration::after {
    width: 120px;
    height: 120px;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
}

/* Grille 3 colonnes */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1336px;
    margin: 0 auto;
}

.feature-block {
    text-align: left;
    margin-top: 300px;
}

.feature-block h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.feature-block p {
    color: var(--text-light);
    font-size: 1.3rem !important;
    line-height: 1.45;
}

/* Scroll indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 3rem;
}

.scroll-indicator a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #eee;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.25rem;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-indicator a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 900px) {
    .features-grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-block {
        text-align: center;
    }
    
    .features-illustration::before,
    .features-illustration::after {
        display: none;
    }
}

/* ========================================
   FEATURES GRID / CARDS (pages piliers)
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #ececf5;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0.25rem 0 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.feature-card ul li {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feature-card ul li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(115, 103, 240, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   DEMO VIDEO SECTION - Style TrainingSquare
======================================== */
.demo-video {
    padding: 5rem 0 0;
    background: var(--bg-light);
}

.demo-video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.demo-video-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.demo-video-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.demo-video-points {
    list-style: none;
    margin-bottom: 80px;
}

.demo-video-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.demo-video-points i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.demo-video-player {
    position: relative;
}

.video-container {
    position: relative;
}

.video-thumbnail {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder.video-thumb {
    min-height: 280px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    border: none;
    position: relative;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(115, 103, 240, 0.4);
    margin-bottom: 1rem;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(115, 103, 240, 0.5);
}

.play-button i {
    margin-left: 5px; /* Ajustement visuel pour le triangle */
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.video-caption i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Barre CTA style TrainingSquare */
.demo-cta-bar {
    margin-top: 4rem;
    background: var(--bg-gradient);
    padding: 1.5rem 0;
}

.cta-bar-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.cta-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.cta-bar-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cta-bar-item i {
    font-size: 1.25rem;
}

/* ========================================
   CLIENTS LOGOS
======================================== */
.clients-logos {
    margin-top: 3rem;
    text-align: center;
}

.clients-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ========================================
   PLAQUETTE PAGE
======================================== */
.plaquette-hero {
    padding: 3.5rem 0 5rem;
    min-height: 100vh;
}

.plaquette-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.plaquette-content h1 {
    color: #093864;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.plaquette-content > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.plaquette-benefits {
    list-style: none;
}

.plaquette-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.plaquette-benefits i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.plaquette-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.plaquette-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.plaquette-form .form-group {
    margin-bottom: 1.25rem;
}

.plaquette-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.plaquette-form input,
.plaquette-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.plaquette-form input:focus,
.plaquette-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.plaquette-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-consent {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.form-consent p {
    font-size: 0.85rem !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

.consent-link a {
    color: var(--primary);
}

.form-submit-notice {
    margin-bottom: 1.5rem;
}

.form-submit-notice p {
    font-size: 0.8rem !important;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .plaquette-grid {
        grid-template-columns: 1fr;
    }
    
    .plaquette-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .plaquette-hero {
        padding: 8rem 0 3rem;
    }
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: white;
    text-align: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 0.75rem;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.method-content p,
.method-content a {
    color: var(--text-light);
    text-decoration: none;
}

.method-content a:hover {
    color: var(--primary);
}

.contact-benefits {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.contact-benefits h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-benefits i {
    color: var(--secondary);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .btn {
    margin-top: 0.5rem;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.form-privacy i {
    margin-right: 0.25rem;
}

.form-privacy a {
    color: var(--primary);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LEGAL PAGES
======================================== */
.legal-page {
    padding: 8rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;margin-top: 80px;
}

.legal-update {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
}

/* ========================================
   RESPONSIVE
======================================== */
/* Responsive */
@media (max-width: 1400px) {
    .navbar {
        max-width: calc(100% - 4rem);
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-proof { justify-content: center; }
    
    .demo-video-wrapper { grid-template-columns: 1fr; text-align: center; }
    .demo-video-points { display: inline-block; text-align: left; }
    
    .problems-grid, .pillars-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
    .calculator-results { grid-template-columns: 1fr 1fr; }
    .result-arrow { display: none; }
    .demo-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    
    .logos-grid { gap: 1.5rem; }
    
    .cta-bar-content { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .navbar-menu, .navbar-actions { display: none; }
    .navbar-toggle { display: block; }
    
    /* Menu mobile */
    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 2rem;
        box-shadow: var(--shadow);
        gap: 0;
    }
    .navbar-menu.active li { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
    .navbar-menu.active a::after { display: none; }
    
    .navbar-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 2rem;
        box-shadow: var(--shadow);
    }
    
    h1 { font-size: 1.85rem; }
    .hero { padding: 7rem 0 5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    
    .problems-grid, .pillars-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    
    .calculator-results { grid-template-columns: 1fr; }
    
    .comparison-table th span { font-size: 0.8rem; }
    
    .cta-bar-content { flex-direction: column; gap: 1rem; align-items: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: left; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ========================================
   PILLAR PAGES & ARTICLES (Fusionné)
======================================== */

/* Breadcrumb Bar (sous navbar) */
.breadcrumb-bar {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    margin-top: 80px;
}

.breadcrumb-bar .container {
    max-width: 1360px;
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav span {
    color: #ccc;
    margin: 0 0.5rem;
}

.breadcrumb-nav .current {
    color: var(--primary);
    font-weight: 500;
}

/* Pillar Hero */
.pillar-hero {
    background: radial-gradient(ellipse 80% 60% at 60% 40%, #2d1b8e 0%, #0f0b2d 70%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* dot grid overlay */
.pillar-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(115,103,240,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115,103,240,.08) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none; z-index: 0;
}

/* diagonale blanche */
.pillar-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom right, transparent 49%, white 50%);
    z-index: 1;
}

.pillar-hero .container {
    max-width: 1360px;
    position: relative;
    z-index: 1;
    margin-top: 5rem;
}

.pillar-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: #fff;
    max-width: 1340px;
    text-align: left;
}

.pillar-hero .lead,
.pillar-hero .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    max-width: 976px;
    text-align: left;
    margin: 0 0 2rem;
    line-height: 1.75;
}

/* Breadcrumb (dans pillar-hero) */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white !important;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Article Content */
.article-content {
    padding: 4rem 0;
    background: white;
}

.article-content .container {
    max-width: 1360px;
}

.article-body {
    margin: 0 auto;
    background: white;
  //**  padding: 3rem; **//
}

.pillar-body {
    max-width: 1060px;
    margin: 0 auto;
    background: white;
    padding: 3rem 4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-body h2,
.pillar-body h2 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
    color: var(--dark);
}

.article-body h2:first-child,
.pillar-body h2:first-child {
    margin-top: 0;
}

.article-body h3,
.pillar-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.article-body h4,
.pillar-body h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Media block : texte + image côte à côte */
.media-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2.5rem 0;
}

.media-block--reverse {
    grid-template-columns: 1fr 2fr;
}

.media-block--reverse figure {
    order: -1;
}

.media-block figure {
    margin: 0;
    text-align: center;
}

.media-block figure img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(115,103,240,.18);
    display: block;
}

.media-block figure figcaption {
    font-size: .78rem;
    color: #aaa;
    margin-top: .5rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .media-block,
    .media-block--reverse {
        grid-template-columns: 1fr;
    }
    .media-block--reverse figure {
        order: 0;
    }
}

.article-body p,
.pillar-body p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
	padding-left : 40px;
}

.article-body ul,
.article-body ol,
.pillar-body ul,
.pillar-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li,
.pillar-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-body a,
.pillar-body a {
    color: var(--primary);
    text-decoration: none;
}

.article-body a:hover,
.pillar-body a:hover {
    text-decoration: underline;
}

.article-body strong,
.pillar-body strong {
    color: var(--dark);
}

/* Table of Contents */
.article-toc {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
}

.article-toc h2 {
    margin: 0 0 1.25rem 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 1.3rem;
    color: var(--dark);
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 2rem;
}

.article-toc li {
    margin-bottom: 0.6rem;
    break-inside: avoid;
}

.article-toc a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.article-toc a::before {
    content: '→';
    color: var(--primary);
    flex-shrink: 0;
}

.article-toc a:hover {
    color: var(--primary);
}

.article-toc a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Alert Boxes */
.alert-box {
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.alert-box.warning {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
}

.alert-box.success {
    background: rgba(114, 191, 68, 0.1);
    border-left: 4px solid var(--secondary);
}

.alert-box.info {
    background: rgba(115, 103, 240, 0.1);
    border-left: 4px solid var(--primary);
}

.alert-box strong {
    color: var(--dark);
}

/* Key Point */
.key-point {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary);
}

.key-point strong {
    color: var(--secondary);
}

/* Internal Links Box */
.internal-links-box {
    background: rgba(115, 103, 240, 0.05);
    border: 1px solid rgba(115, 103, 240, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.internal-links-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--primary);
}

.internal-links-box ul {
    margin: 0;
    padding-left: 1.25rem;
}

.internal-links-box li {
    margin-bottom: 0.4rem;
}

.internal-links-box a {
    font-size: 1.2rem;
}

/* Article Problems Grid */
.article-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Stats Inline */
.stats-inline {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.stat-inline-item {
    text-align: center;
}

.stat-inline-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-inline-item .stat-label {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* Article Tables */
.article-table,
.comparison-table-pillar {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.article-table th,
.article-table td,
.comparison-table-pillar th,
.comparison-table-pillar td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.article-table th,
.comparison-table-pillar th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--dark);
}

.article-table .status-bad,
.comparison-table-pillar .status-bad {
    color: #e53e3e;
    font-weight: 600;
}

.article-table .status-good,
.comparison-table-pillar .status-good {
    color: var(--secondary);
    font-weight: 600;
}

.comparison-table-pillar .check {
    color: var(--secondary);
    font-size: 1.1rem;
}

.comparison-table-pillar .cross {
    color: #ccc;
    font-size: 1.1rem;
}

.comparison-table-pillar .highlight-col {
    background: rgba(115, 103, 240, 0.05);
}

/* Article CTA */
.article-cta {
    background: var(--bg-gradient);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: white;
    font-size: 2.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-inline {
    background: var(--dark);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 2rem 0;
}

.article-cta-inline p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* Article FAQ */
.article-faq {
    margin-top: 3rem;
}

.article-faq h2 {
    margin-bottom: 1.5rem;
}

.article-faq .faq-grid {
    max-width: 100%;
}

/* Related Articles */
.related-articles {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 3rem;
}

.related-articles h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--dark);
}

.related-links {
    display: grid;
    gap: 1rem;
    font-size: 1.1rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.related-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.related-link i {
    font-size: 1.5rem;
    color: var(--primary);
}

.related-link strong {
    color: var(--dark);
}

/* Blockquote */
.article-body blockquote,
.pillar-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* Article images */
.article-img {
    margin: 2.5rem 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(115,103,240,.10);
    border: 1px solid #ede9fd;
}
.article-img img {
    width: 100%;
    height: auto;
    display: block;
}
.article-img figcaption {
    padding: .65rem 1.1rem;
    font-size: .8rem;
    color: #999;
    background: #f8f7fc;
    text-align: center;
    font-style: italic;
    border-top: 1px solid #ede9fd;
}
.article-img--half {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.article-img--photo {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    z-index: 1000;
    transition: width 0.1s;
}

/* Navbar Scrolled */
.navbar.scrolled {
    top: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7367f0 0%, #9e95f5 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(115, 103, 240, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(115, 103, 240, 0.5);
}

/* Copy Code Button */
.copy-code-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.copy-code-btn:hover {
    opacity: 1;
}

/* ── Screenshot zoom overlay ── */
.screenshot-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s;
    cursor: pointer;
    z-index: 5;
}
.screenshot-overlay:hover { background: rgba(0,0,0,.6); }
.screenshot-overlay i {
    color: #fff;
    font-size: 2.8rem;
    opacity: 0;
    transform: scale(.75);
    transition: opacity .25s, transform .25s;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
    pointer-events: none;
}
.screenshot-overlay:hover i { opacity: 1; transform: scale(1); }

/* ── Screenshot fullscreen modal ── */
#screenshot-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
}
#screenshot-modal.open { display: flex; }
#screenshot-modal-img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
#screenshot-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10;
}
#screenshot-modal-close:hover { background: rgba(255,255,255,.3); }

/* ========================================
   PILLAR/ARTICLES RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-toc ul {
        columns: 1;
    }
    
    .stats-inline {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .breadcrumb-bar {
        margin-top: 70px;
        padding: 0.75rem 0;
    }
    
    .pillar-hero {
        padding: 40px 0 60px;
    }
    
    .pillar-hero h1 {
        font-size: 1.75rem;
        margin-top: 40px;
    }
    
    .pillar-hero .container {
        margin-top: 4rem;
    }
    .pillar-hero::after {
        height: 30px;
    }

    .article-body,
    .pillar-body {
        padding: 0;
    }

    .article-body div[style*="grid-template-columns:1fr 1fr"],
    .pillar-body div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .article-body p,
    .pillar-body p {
        padding-left: 0 !important;
    }

    .related-articles { background: none !important; padding: 0 !important; border-radius: 0 !important; margin-top: 1rem !important; }
    
    .article-problems-grid {
        grid-template-columns: 1fr;
    }
    
    .article-cta {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-inline {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .article-table,
    .comparison-table-pillar {
        font-size: 0.9rem;
    }
    
    .article-table th,
    .article-table td,
    .comparison-table-pillar th,
    .comparison-table-pillar td {
        padding: 0.75rem 0.5rem;
    }
    
    .internal-links-box {
        padding: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* ========================================
   SCROLL OFFSET POUR ANCRES (navbar fixe)
   ======================================== */
[id] {
    scroll-margin-top: 80px;
}

/* Alternative avec pseudo-élément pour compatibilité */
section[id]::before,
h2[id]::before,
h3[id]::before,
div[id]::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
    pointer-events: none;
}
/* ── reCAPTCHA badge masqué (mention légale requise dans confidentialite.html) */
.grecaptcha-badge { visibility: hidden !important; }
