/* ========================================
   MAIN.CSS - Styles globaux et sections principales
   ======================================== */

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* No-scroll quand le menu mobile est ouvert */
body.no-scroll {
    overflow: hidden;
}

/* ========================================
   SECTIONS PRINCIPALES
   ======================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #006b8f 0%, #00a8cc 100%);
    color: white;
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section .logo {
    height: 60px;
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease-out;
}

h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.8;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 0.8s both;
}

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

.stat-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Journey Section */
.journey-section {
    padding: 80px 20px;
    background: white;
    position: relative;
}

.journey-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #006b8f;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-path {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.journey-step {
    text-align: center;
    position: relative;
}

.journey-path:not(.journey-path-clickable) .journey-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: #00a8cc;
    opacity: 0.3;
    z-index: 1;
}

.journey-path-clickable {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 60px;
}

.journey-path-clickable .journey-link {
    flex: 1;
    position: relative;
    text-align: center;
}

.journey-path-clickable .journey-link:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20%;
    width: 40%;
    height: 2px;
    background: #00a8cc;
    opacity: 0.3;
}

.step-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: #00a8cc;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 20px;
    color: #006b8f;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

.journey-step:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* Tools Section */
.tools-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.tools-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00a8cc, #006b8f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.tool-title {
    font-size: 24px;
    color: #006b8f;
    margin-bottom: 15px;
    font-weight: 600;
}

.tool-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-features {
    list-style: none;
    margin-bottom: 20px;
}

.tool-features li {
    padding: 5px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.tool-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

.tool-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #27ae60;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00a8cc;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.tool-card:hover .tool-cta {
    gap: 15px;
}

.tool-featured {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border: 2px solid #ff6b6b;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
}

.tool-featured:hover {
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.25);
}

.tool-featured::before {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.tool-featured .tool-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 20px;
    background: white;
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 24px;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 60px;
    color: #00a8cc;
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    top: -20px;
    left: 0;
}

.testimonial-quote::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    font-weight: 600;
    color: #006b8f;
    margin-bottom: 5px;
}

.testimonial-role {
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    text-align: center;
}

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

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #27ae60;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn.secondary:hover {
    background: white;
    color: #27ae60;
}

/* Guide Pills */
.guide-pills {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.guide-pill {
    background: white;
    padding: 20px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.guide-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.guide-pill-icon {
    font-size: 30px;
}

.guide-pill-text {
    text-align: left;
}

.guide-pill-title {
    font-weight: 600;
    color: #006b8f;
    margin-bottom: 5px;
}

.guide-pill-subtitle {
    font-size: 14px;
    color: #666;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    }
}

/* ========================================
   RESPONSIVE - GÉNÉRAL
   ======================================== */

@media (max-width: 968px) {
    .journey-path:not(.journey-path-clickable) .journey-step:not(:last-child)::after {
        display: none;
    }
    
    .hero-section .logo {
        height: 50px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-featured {
        grid-column: 1 / -1;
    }
    
    .journey-path {
        grid-template-columns: 1fr;
    }
    
    .journey-path-clickable {
        flex-direction: column;
        gap: 40px;
    }
    
    .journey-path-clickable .journey-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px 60px;
    }
    
    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .testimonial-quote {
        font-size: 20px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    #blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .hero-section .logo {
        height: 45px;
    }
    
    h1 {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        padding: 0 10px;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .tools-section {
        padding: 60px 20px;
    }
    
    .tool-card {
        padding: 25px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    #blog-grid {
        grid-template-columns: 1fr !important;
    }
    
    .guide-pills {
        gap: 15px;
    }
    
    .guide-pill {
        padding: 15px 20px;
        width: 100%;
    }
}



/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left !important;
    padding: 25px 30px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}



.faq-question span {
    flex: 1;
    text-align: left; /* Force le texte à gauche */
}

.faq-icon {
    font-size: 24px;
    color: #00a8cc;
    transition: transform 0.3s ease;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    text-align: center !important;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content {
    padding: 0 30px 25px;
}

.faq-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.faq-content table tr {
    border-bottom: 1px solid #f0f0f0;
}

.faq-content table td {
    padding: 10px 0;
}

.faq-content table td:last-child {
    text-align: right;
    font-weight: 600;
}

.faq-content .faq-table-total {
    background: #f0f8ff;
    padding: 15px 10px;
    font-weight: 600;
    color: #006b8f;
    font-size: 18px;
}

.faq-tip {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.faq-tip p {
    margin: 0;
    color: #27ae60;
}

.faq-highlight {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.faq-highlight h4 {
    color: #006b8f;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-highlight.green {
    background: #e8f5e9;
}

.faq-highlight.green h4 {
    color: #27ae60;
}

.faq-highlight ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-highlight li {
    margin-bottom: 5px;
}

.faq-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.faq-pricing-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.faq-pricing-item div:first-child {
    font-size: 28px;
    margin-bottom: 5px;
}

.faq-pricing-item .price {
    color: #00a8cc;
    font-size: 20px;
    font-weight: 600;
}

.faq-options-grid {
    display: grid;
    gap: 15px;
    margin: 15px 0;
}

.faq-option {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.faq-option strong {
    color: #006b8f;
}

.faq-tools-grid {
    display: grid;
    gap: 10px;
    margin: 15px 0;
}

.faq-tool-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.faq-cta {
    background: linear-gradient(135deg, #00a8cc, #006b8f);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    text-align: center;
    color: white;
}

.faq-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta .btn {
    transition: all 0.3s ease;
}

.faq-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.faq-cta .btn.btn-primary {
    background: white;
    color: #00a8cc;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.faq-cta .btn.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
}

.faq-cta .btn.btn-secondary:hover {
    background: white;
    color: #00a8cc;
}

.faq-cta-link {
    background: #00a8cc;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.faq-cta-link:hover {
    background: #006b8f;
    transform: translateY(-2px);
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog-section {
    padding: 80px 20px;
    background: white;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

#blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.blog-card-title {
    color: #006b8f;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.blog-card-description {
    color: #666;
    margin-bottom: 20px;
}

.blog-card-cta {
    color: #00a8cc;
    font-weight: 600;
}

.blog-synergy {
    background: linear-gradient(135deg, #f0f8ff, #fff);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.synergy-title {
    color: #006b8f;
    font-size: 28px;
    margin-bottom: 20px;
}

.synergy-description {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.synergy-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.synergy-buttons .btn {
    transition: all 0.3s ease;
}

.synergy-buttons .btn.btn-primary {
    background: #00a8cc;
    color: white;
}

.synergy-buttons .btn.btn-primary:hover {
    background: #006b8f;
    transform: translateY(-2px);
}

.synergy-buttons .btn.btn-secondary {
    background: white;
    color: #00a8cc;
    border: 2px solid #00a8cc;
}

.synergy-buttons .btn.btn-secondary:hover {
    background: #f0f8ff;
}

/* ========================================
   ECOSYSTEM SECTION
   ======================================== */

.ecosystem-section {
    background: linear-gradient(135deg, #006b8f, #00a8cc);
    color: white;
    padding: 80px 20px;
}

.ecosystem-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.ecosystem-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.ecosystem-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.ecosystem-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.ecosystem-description {
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-white {
    background: white;
    color: #00a8cc;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ecosystem-tagline {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* ========================================
   RESPONSIVE - FAQ & BLOG
   ======================================== */

@media (max-width: 1024px) {
    #blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px 25px;
        font-size: 16px;
    }
    
    .faq-content {
        padding: 0 25px 20px;
    }
    
    .faq-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta h3 {
        font-size: 24px;
    }
    
    .faq-cta p {
        font-size: 16px;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    #blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-card {
        padding: 25px;
    }
    
    .synergy-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .ecosystem-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-content {
        padding: 0 20px 15px;
    }
    
    .faq-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-cta {
        padding: 25px 15px;
    }
    
    #blog-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-card {
        padding: 25px;
    }
}



/* ========================================
   FIX POUR LES LIENS DANS LES PARCOURS
   ======================================== */

/* Annuler complètement le style des liens dans les parcours guidés */
.journey-path-clickable a,
.journey-path-clickable a:link,
.journey-path-clickable a:visited,
.journey-path-clickable a:hover,
.journey-path-clickable a:active {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* S'assurer que les titres et descriptions gardent leurs couleurs */
.journey-path-clickable .step-title {
    color: #006b8f !important;
    text-decoration: none !important;
}

.journey-path-clickable .step-description {
    color: #666 !important;
    text-decoration: none !important;
}

/* Annuler l'underline qui pourrait venir du navigateur */
.journey-path-clickable a {
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Pour être sûr, cibler spécifiquement les éléments */
.journey-path-clickable .journey-link * {
    color: inherit !important;
    text-decoration: none !important;
}


/* FIX TITRE ECOSYSTEM EN BLANC */
.ecosystem-section .section-title {
    color: white !important;
}