/* ===========================
   Variables CSS
   =========================== */
:root {
    --primary-color: #1A3642;
    --secondary-color: #E6214E;
    --text-dark: #1A3642;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===========================
   Utilitaires
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===========================
   Boutons
   =========================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===========================
   Header / Navigation
   =========================== */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.nav-menu .btn-demo {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
}

.nav-menu .btn-demo:hover {
    background-color: #0052a3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(var(--shadow-lg));
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   Audience Section
   =========================== */
.audience {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audience-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.audience-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.audience-item p {
    color: var(--text-light);
}

/* ===========================
   Clients Section
   =========================== */
.clients {
    padding: 80px 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.clients-carousel {
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.info-box p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sélecteur de créneaux */
.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.appointment-header label {
    margin-bottom: 0 !important;
}

.appointment-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-choose-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-choose-slot:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.btn-choose-slot svg {
    flex-shrink: 0;
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-refresh svg {
    transition: transform 0.3s ease;
}

.btn-refresh:hover svg {
    transform: rotate(180deg);
}

.slots-loader {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slots-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.slots-container.slots-collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
}

.day-group {
    margin-bottom: 2rem;
}

.day-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    text-transform: capitalize;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.slot-button {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.slot-button:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.slot-button.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.selected-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.selected-slot strong {
    color: var(--primary-color);
}

.btn-change-slot {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
    margin-left: 1rem;
}

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

.error-message,
.info-message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
}

.info-message {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #1565c0;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Tarifs Page
   =========================== */
.tarifs-page {
    padding: 40px 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.tarifs-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 400;
}

/* Tableau comparatif des licences */
.pricing-comparison-wrapper {
    margin: 0 auto 2.5rem;
    max-width: 900px;
    overflow-x: auto;
}

.pricing-comparison {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.95rem;
}

.pricing-comparison thead {
    background: transparent;
}

.pricing-comparison th {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.pricing-comparison th:first-child {
    width: 40%;
    text-align: left;
}

.pricing-comparison th:nth-child(2),
.pricing-comparison th:nth-child(3) {
    width: 30%;
}

.license-header {
    background: var(--bg-white);
    border-left: 1px solid var(--border-color);
}

.license-header.license-featured {
    background: #f8fcff;
    border: 2px solid var(--primary-color);
    border-bottom: none;
}

.license-name {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.license-price {
    margin-bottom: 0.2rem;
}

.license-price .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.license-price .price-currency {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-left: 0.2rem;
    vertical-align: super;
    position: relative;
    top: -0.5em;
}

.license-price .price-period {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-left: 0.1rem;
    vertical-align: super;
    position: relative;
    top: -0.5em;
}

.license-year {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.pricing-comparison tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.pricing-comparison tbody tr:last-child {
    border-bottom: none;
}

.pricing-comparison tbody tr:hover {
    background: #fafafa;
}

.pricing-comparison tbody tr.feature-row {
    background: #fafafa;
}

.pricing-comparison tbody tr.feature-row:hover {
    background: #f5f5f5;
}

.pricing-comparison td {
    padding: 1rem;
    text-align: center;
}

.pricing-comparison td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

.pricing-comparison td.feature-included {
    color: var(--success-color);
    font-weight: 600;
}

.pricing-comparison td.feature-excluded {
    color: var(--text-light);
}

.pricing-comparison tr.section-header {
    background: #f5f9fc;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.pricing-comparison tr.section-header:hover {
    background: #f5f9fc;
}

.pricing-comparison tr.section-header td {
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-comparison tr.section-header td:first-child {
    text-align: left;
    font-size: 1rem;
}

.pricing-details {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pricing-detail-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.pricing-detail-item p strong {
    font-weight: 600;
}

.pricing-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.legend-badge {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.legend-badge.core {
    background: var(--primary-color);
    color: white;
}

.legend-badge.flex {
    background: #f0f0f0;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.legend-badge.premium {
    background: var(--secondary-color);
    color: white;
}

.pricing-table-wrapper {
    margin: 2rem 0;
}

.pricing-table-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
}

.pricing-table thead {
    background: var(--primary-color);
    color: white;
}

.pricing-table thead th.table-header-empty {
    background: transparent;
    border: none;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    width: 50%;
}

.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
    text-align: center;
    width: 16.66%;
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.pricing-table tbody tr:hover {
    background: #e8f4f8;
}

/* Tableaux avec badges */
.pricing-table-badges th:first-child,
.pricing-table-badges td:first-child {
    width: 50%;
}

.pricing-table-badges th:nth-child(2),
.pricing-table-badges td:nth-child(2),
.pricing-table-badges th:nth-child(3),
.pricing-table-badges td:nth-child(3) {
    width: 25%;
    text-align: center;
}

.module-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.15rem;
    white-space: nowrap;
}

.badge-included {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.badge-open {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.badge-core {
    background: #e3f2fd;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.badge-flex {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #1565c0;
}

.badge-premium {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #e65100;
}

.badge-excluded {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
}

.badge-unlimited {
    background: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid #6a1b9a;
}

.table-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.75rem 0 1.5rem;
}

.cta-contact {
    text-align: center;
    margin: 2rem 0;
}

.integrations-note {
    text-align: center;
    color: var(--text-dark);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.custom-project-section {
    background: var(--bg-light);
    padding: 3rem 0;
    margin-top: 3rem;
}

.custom-project {
    padding: 0;
    margin: 0;
}

.custom-project h4 {
    text-align: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.custom-project h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.project-step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.step-number svg {
    width: 100%;
    height: 100%;
}

.step-number .st0 {
    fill: #E5204D;
}

.step-number .st1 {
    fill: #193542;
}

.project-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.project-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-custom {
    text-align: center;
    margin-top: 2rem;
}

/* ===========================
   Collaborations Page
   =========================== */
.collaborations-page {
    padding: 40px 0 80px;
}

.collaboration-quote {
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.collaboration-quote blockquote {
    margin: 0;
}

.collaboration-quote p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.collaboration-quote cite {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.95rem;
    display: block;
    text-align: right;
}

.collaboration-quote cite strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.collaboration-stats {
    margin: 4rem auto;
    max-width: 800px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    min-width: 200px;
    text-align: right;
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.collaboration-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.collaboration-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.collaboration-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.collaborations-footer-text {
    text-align: center;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.collaborations-footer-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablettes */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .collaborations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .pricing-comparison {
        font-size: 0.85rem;
    }

    .pricing-comparison th,
    .pricing-comparison td {
        padding: 0.75rem 0.5rem;
    }

    .license-name {
        font-size: 1rem;
    }

    .license-price .price-amount {
        font-size: 1.5rem;
    }

    .pricing-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

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

    .collaboration-quote p {
        font-size: 1.1rem;
    }

    .stat-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 4rem;
        text-align: center;
        min-width: auto;
    }

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

    .stat-label {
        font-size: 1rem;
    }

    .collaborations-footer-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .pricing-comparison {
        font-size: 0.8rem;
    }

    .pricing-comparison th,
    .pricing-comparison td {
        padding: 0.5rem 0.3rem;
    }

    .license-name {
        font-size: 0.9rem;
    }

    .license-price .price-amount {
        font-size: 1.25rem;
    }

    .license-price .price-currency,
    .license-price .price-period {
        font-size: 0.75rem;
    }

    .license-year {
        font-size: 0.75rem;
    }

    .collaborations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .collaboration-quote {
        padding: 1.5rem;
    }

    .collaboration-quote p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stat-date {
        font-size: 0.85rem;
    }

    .collaborations-footer-text p {
        font-size: 0.95rem;
    }
}

/* ============================================
   Pages Légales (Mentions légales, CGV, Confidentialité)
   ============================================ */

.legal-page {
    padding: 4rem 0;
    background: #f8f9fa;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-intro {
    font-size: 1.1rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0066cc;
}

.legal-content h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-content h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

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

.legal-content ul li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
    font-size: 0.95rem;
    color: #666;
}

/* CGV spécifique */
.cgv-image {
    text-align: center;
    margin: 2rem 0;
}

.cgv-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cgv-documents {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.documents-list {
    list-style: none;
    padding-left: 0;
}

.documents-list li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
}

.documents-list li strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.documents-list li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cgv-contact {
    background: #e8f4ff;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.cgv-contact h3 {
    color: #0066cc;
    margin-top: 0;
}

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

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .cgv-image img {
        max-width: 100%;
    }
}

/* Styles additionnels pour les documents CGV */
.document-size {
    color: #666;
    font-size: 0.85rem;
    margin: 0.3rem 0;
    font-style: italic;
}

.document-note {
    color: #555;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-style: italic;
}

.document-request {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.cgv-note {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.cgv-note strong {
    color: #856404;
}

.cgv-intro {
    background: #e8f4ff;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cgv-intro a {
    color: #0066cc;
    font-weight: 600;
}

/* Bouton de téléchargement PDF */
.btn-download {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #0066cc;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-download:hover {
    background: #0052a3;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.download-icon {
    font-size: 1.1rem;
    margin-right: 0.3rem;
}

.documents-list li {
    position: relative;
}

.file-size {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}
