/* ==========================================
   Factor'Events - Pages Styles
   Styles spécifiques aux pages internes
   ========================================== */

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    padding: 140px 0 80px;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 51, 76, 0.75) 0%, rgba(1, 51, 76, 0.6) 100%);
    z-index: 0;
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

/* Page Header Background Images */
.page-header-conferences {
    background-image: url('../assets/images/conferences.jpg');
}

.page-header-seminaires {
    background-image: url('../assets/images/seminaires.jpg');
}

.page-header-soirees {
    background-image: url('../assets/images/soirees.jpg');
}

.page-header-salons {
    background-image: url('../assets/images/foires-salons.jpg');
}

.page-header-communication {
    background-image: url('../assets/images/communications.jpg');
}

.page-header-evenements {
    background-image: url('../assets/images/evenements.jpg');
}

.page-header-offres {
    background-image: url('../assets/images/offres.jpg');
}
.page-header-contact {
    background-image: url('../assets/images/contact.jpg');
}

.page-header-default {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.page-header-default::before {
    display: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    transition: var(--transition);
}

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

.breadcrumb span {
    color: var(--primary-light);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-icon {
    margin-bottom: 25px;
}

.page-icon svg {
    width: 80px;
    height: 80px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* ==========================================
   Page Content
   ========================================== */
.page-content {
    padding: 80px 0;
    background: var(--white);
}

.content-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.content-intro .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ==========================================
   Features Grid
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--gray-100);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    box-shadow: var(--shadow-lg);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--white);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    transition: var(--transition);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card p {
    line-height: 1.7;
}

.feature-card ul {
    color: var(--gray-600);
    line-height: 1.8;
    padding-left: 20px;
    margin: 0;
}

.feature-card ul li {
    margin-bottom: 10px;
}

.feature-card ul li:last-child {
    margin-bottom: 0;
}

.feature-card ul li strong {
    color: var(--secondary);
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.intro-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.intro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* ==========================================
   Related Events
   ========================================== */
.related-events {
    background: var(--gray-100);
    padding: 80px 0;
}

.related-events h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary);
}

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

.related-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

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

.related-card:hover .related-icon {
    background: var(--primary);
    color: var(--white);
}

.related-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
    color: var(--primary);
}

.related-icon svg {
    width: 35px;
    height: 35px;
}

.related-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin: 0;
}

/* ==========================================
   Contact Page Specific
   ========================================== */
.contact-page-content {
    padding: 80px 0;
    background: var(--gray-100);
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-details {
    padding: 50px 40px;
}

.contact-details h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-detail-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 26px;
    height: 26px;
}

.contact-detail-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-detail-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-detail-item a {
    color: var(--primary);
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

/* ==========================================
   Communication Page Specific
   ========================================== */
.comm-page-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.comm-page-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: center;
}

.services-section {
    margin-bottom: 80px;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

.comm-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.comm-service-card {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.comm-service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.comm-service-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow);
}

.comm-service-card:hover .comm-service-icon {
    background: var(--primary);
}

.comm-service-card:hover .comm-service-icon svg {
    stroke: var(--white);
}

.comm-service-icon svg {
    width: 35px;
    height: 35px;
    transition: var(--transition);
}

.comm-service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.comm-service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Supports Section */
.supports-section {
    background: var(--secondary);
    padding: 60px;
    border-radius: 25px;
    margin-bottom: 60px;
}

.supports-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 35px;
}

.supports-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.support-tag {
    background: rgba(68, 188, 152, 0.2);
    color: var(--primary-light);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
}

.support-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Quality Section */
.quality-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.quality-section h2 {
    color: var(--secondary);
    margin-bottom: 25px;
}

.quality-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto 15px;
}

.quality-section em {
    color: var(--primary);
    font-style: italic;
    font-size: 1.2rem;
}

/* Contact Form Section (inline in pages) */
.contact-form-section {
    background: var(--primary);
    padding: 60px;
    border-radius: 25px;
    border-left: none;
    color: var(--white);
}

.contact-form-section h2 {
    color: var(--white);
    margin-bottom: 10px;
    text-align: center;
}

.contact-form-section .section-intro {
    margin-bottom: 30px;
    color: var(--white);
    text-align: center;
}

.contact-form-section .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-section .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-section .cta-checklist li {
    color: var(--white);
}

.contact-form-section .btn-submit {
    grid-column: 1 / -1;
    justify-self: center;
    background: var(--secondary);
}

.contact-form-section .btn-submit:hover {
    background: var(--secondary-light);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 992px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Notre Offre Page Specific
   ========================================== */
.services-section {
    margin-bottom: 80px;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

/* Services Tabs */
.services-tabs {
    margin-bottom: 80px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow);
    border-color: var(--gray-200, #e5e7eb);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

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

.section-intro {
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Outils Section */
.outils-section {
    background: var(--secondary);
    padding: 60px;
    border-radius: 25px;
    margin-bottom: 80px;
}

.outils-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 15px;
}

.outils-section .section-intro {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.outils-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.outil-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
}

.outil-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.outil-icon-page {
    width: 50px;
    height: 50px;
    background: rgba(68, 188, 152, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.outil-icon-page svg {
    width: 26px;
    height: 26px;
}

.outil-content h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.outil-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Formules Section */
.formules-section {
    margin-bottom: 80px;
}

.formules-section h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 15px;
}

.formules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.formule-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}

.formule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.formule-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.formule-integrale {
    border-top: 4px solid var(--primary);
}

.formule-ciblee {
    border-top: 4px solid var(--secondary);
}

.formule-ciblee .formule-badge {
    background: var(--secondary);
}

.formule-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.formule-tagline {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 25px;
    font-style: italic;
}

.formule-features {
    list-style: none;
    margin-bottom: 30px;
}

.formule-features li {
    padding: 10px 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-left: 30px;
}

.formule-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-outline-dark {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Parcours Section */
.parcours-section {
    margin-bottom: 80px;
}

.parcours-section h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 15px;
}

.parcours-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px;
    position: relative;
}

.parcours-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 10px;
}

/* Ligne horizontale entre les étapes */
.parcours-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 3px;
    background: var(--primary);
    opacity: 0.4;
}

.parcours-step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(68, 188, 152, 0.4);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--step-color, var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.step-content h4 {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: var(--transition);
}

/* ==========================================
   Events Listing Page
   ========================================== */
.event-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.event-type-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    border-bottom: 3px solid transparent;
}

.event-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--type-color, var(--primary));
}

.event-type-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
    color: var(--type-color, var(--primary));
}

.event-type-card:hover .event-type-icon {
    background: var(--type-color, var(--primary));
    color: var(--white);
}

.event-type-icon svg {
    width: 32px;
    height: 32px;
}

.event-type-card h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin: 0;
}

/* Event Detail Sections */
.event-detail-section {
    background: var(--gray-100);
    padding: 45px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--type-color, var(--primary));
}

.event-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.event-detail-icon {
    width: 55px;
    height: 55px;
    background: var(--type-color, var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-detail-icon svg {
    width: 28px;
    height: 28px;
}

.event-detail-header h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 0;
}

.event-detail-section > p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.event-highlights {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.event-highlights li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--gray-700);
    line-height: 1.6;
}

.event-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    background: var(--type-color, var(--primary));
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* CTA Checklist */
.cta-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 600px;
}

.cta-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-checklist li::before {
    content: '\2705';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

/* Snake Parcours (Notre Offre - serpentine layout) */
.parcours-snake {
    margin-top: 40px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.snake-row {
    display: flex;
    justify-content: flex-start;
}

.snake-row-reverse {
    flex-direction: row-reverse;
}

.snake-step {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 5px;
}

/* Connecting line between steps in same row */
.snake-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
}

.snake-row-reverse .snake-step:not(:last-child)::after {
    left: auto;
    right: calc(50% + 28px);
}

.snake-circle {
    width: 50px;
    height: 50px;
    background: var(--step-color, var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.snake-step:hover .snake-circle {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.snake-label h4 {
    color: var(--secondary);
    font-size: 0.82rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.3;
}

.snake-label p {
    display: none;
}

/* Snake curves connecting rows */
.snake-curve {
    height: 40px;
    position: relative;
}

.snake-curve-right::before {
    content: '';
    position: absolute;
    right: calc(10% - 62px);
    top: -54px;
    width: 44px;
    height: calc(100% + 84px);
    border: 4px solid var(--gray-300);
    border-left: none;
    border-radius: 0 28px 28px 0;
}

.snake-curve-left::before {
    content: '';
    position: absolute;
    left: calc(10% - 62px);
    top: -54px;
    width: 44px;
    height: calc(100% + 84px);
    border: 4px solid var(--gray-300);
    border-right: none;
    border-radius: 28px 0 0 28px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-icon svg {
        width: 60px;
        height: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .tab-btn svg {
        width: 16px;
        height: 16px;
    }

    .event-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .event-type-card {
        padding: 25px 15px;
    }

    .event-detail-section {
        padding: 30px 20px;
    }

    .event-detail-header {
        gap: 15px;
    }

    .event-detail-icon {
        width: 45px;
        height: 45px;
    }

    .event-detail-icon svg {
        width: 22px;
        height: 22px;
    }

    .event-detail-header h2 {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 40px 25px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .contact-details,
    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .supports-section {
        padding: 40px 25px;
    }

    .supports-tags {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-section {
        padding: 40px 25px;
    }

    .contact-form-section {
        padding: 40px 25px;
    }

    .contact-form-section .contact-form {
        grid-template-columns: 1fr;
    }

    .outils-section {
        padding: 40px 25px;
    }

    .formules-grid {
        grid-template-columns: 1fr;
    }

    .formule-card {
        padding: 40px 25px;
    }

    .parcours-timeline {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .parcours-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        max-width: 300px;
        padding: 10px 0;
    }

    .parcours-step:not(:last-child)::after {
        top: auto;
        left: 22px;
        top: calc(50% + 28px);
        width: 3px;
        height: calc(100% - 20px);
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 15px;
    }

    /* Snake layout responsive */
    .parcours-snake {
        max-width: 300px;
    }

    .snake-row,
    .snake-row-reverse {
        flex-direction: column;
        align-items: center;
    }

    .snake-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        padding: 8px 0;
    }

    .snake-step:not(:last-child)::after {
        top: calc(50% + 28px);
        left: 25px;
        width: 4px;
        height: calc(100% - 20px);
        right: auto;
    }

    .snake-row-reverse .snake-step:not(:last-child)::after {
        left: 25px;
        right: auto;
    }

    .snake-circle {
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .snake-label {
        text-align: left;
    }

    .snake-curve {
        display: none;
    }
}
