* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #333;
    --light-bg: #ecf0f1;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafbfc;
}

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

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1a252f 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.logo a {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    filter: brightness(1.05);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
}

.logo p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-abonnement {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d35400 100%);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.btn-abonnement:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.stats-section {
    background-color: var(--white);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.about, .services-preview, .cta-section {
    padding: 4rem 0;
}

.about {
    background-color: var(--light-bg);
}

.about h2, .services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after, .services-preview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

.testimonials {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stars {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

.tools-preview, .blog-preview {
    padding: 4rem 0;
}

.tools-preview h2, .blog-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.tool-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-card h3 {
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
}

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

.cta-section {
    background-color: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-detail {
    padding: 4rem 0;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    scroll-margin-top: 80px;
}

.service-item h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    margin-top: 1rem;
}

.service-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.contact-section, .devis-section, .rdv-section {
    padding: 4rem 0;
}

.contact-section .container, .devis-section .container, .rdv-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form, .devis-info, .devis-form-container, .rdv-info, .rdv-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    color: var(--success-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

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

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

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

.faq-section {
    padding: 2rem 0 4rem;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-cat-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-cat-btn.active, .faq-cat-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.chatbot-section {
    padding: 2rem 0 4rem;
}

.chatbot-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: var(--light-bg);
}

.bot-message, .user-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    max-width: 70%;
    animation: fadeIn 0.3s;
}

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

.bot-message {
    background-color: var(--white);
    margin-right: auto;
}

.user-message {
    background-color: var(--secondary-color);
    color: var(--white);
    margin-left: auto;
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    background-color: var(--white);
    border-top: 1px solid #ddd;
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 1rem;
}

.quick-questions {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.quick-questions h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.question-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: var(--light-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.pricing-section {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    margin: 1.5rem 0;
}

.price .amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
}

.price .currency {
    font-size: 1rem;
    color: var(--text-color);
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.subscribe-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #2980b9;
}

.blog-full-section {
    padding: 2rem 0 4rem;
}

.blog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.blog-post-image {
    position: relative;
    height: 200px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-card h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-content-full {
    display: none;
    margin-top: 1rem;
}

.blog-post-card.expanded .blog-content-full {
    display: block;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
}

.cta-box {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}

.calculateurs-section {
    padding: 2rem 0 4rem;
}

.calc-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.calc-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.calc-tab.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.calc-content {
    display: none;
}

.calc-content.active {
    display: block;
}

.calc-content h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.calc-inputs, .calc-result {
    padding: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-text {
    font-size: 0.9rem;
    color: #666;
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 4px;
}

.result-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.result-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.result-item.highlight {
    background-color: var(--white);
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: none;
}

.result-item strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.result-info {
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.calc-disclaimer {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.calc-disclaimer h3 {
    color: var(--warning-color);
    margin-bottom: 0.5rem;
}

.dashboard-section {
    padding: 2rem 0 4rem;
}

.dashboard-notice {
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-notice i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
}

.dash-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.dash-card-icon.revenue {
    background-color: var(--success-color);
}

.dash-card-icon.expenses {
    background-color: var(--accent-color);
}

.dash-card-icon.profit {
    background-color: var(--secondary-color);
}

.dash-card-icon.tax {
    background-color: var(--warning-color);
}

.dash-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0.25rem 0;
}

.dash-card-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.dash-trend {
    font-size: 0.85rem;
    font-weight: 500;
}

.dash-trend.positive {
    color: var(--success-color);
}

.dash-trend.negative {
    color: var(--accent-color);
}

.dash-info {
    font-size: 0.85rem;
    color: #666;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.chart-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dashboard-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.table-container {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.table-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    background-color: var(--light-bg);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
}

.dashboard-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--light-bg);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.paid {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.overdue {
    background-color: #f8d7da;
    color: #721c24;
}

.dashboard-alerts {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.dashboard-alerts h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.alert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-item.warning {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.alert-item.info {
    background-color: #e3f2fd;
    border-left: 4px solid var(--secondary-color);
}

.alert-item.success {
    background-color: #d4edda;
    border-left: 4px solid var(--success-color);
}

.alert-item i {
    font-size: 1.5rem;
}

.alert-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.mode-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.mode-option i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chat-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages-widget {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--light-bg);
}

.chat-input-widget {
    display: flex;
    padding: 1rem;
    background-color: var(--white);
    border-top: 1px solid #ddd;
}

.chat-input-widget input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.chat-input-widget button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

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

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-in;
}

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

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-section .container, 
    .devis-section .container, 
    .rdv-section .container,
    .calculator-box,
    .dashboard-charts,
    .dashboard-tables {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .form-row, .checkbox-group {
        grid-template-columns: 1fr;
    }

    .chat-box {
        width: 300px;
    }
}

/* ==================== PAGES APPLICATIONS ==================== */

.applications-section {
    padding: 4rem 0;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.app-card.featured-app {
    border: 2px solid var(--secondary-color);
    position: relative;
}

.app-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.app-card h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.app-tagline {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.app-features, .app-benefits {
    margin: 1.5rem 0;
}

.app-features h3, .app-benefits h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.app-features ul {
    list-style: none;
}

.app-features ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.app-features ul li i {
    position: absolute;
    left: 0;
    top: 0.7rem;
    color: var(--success-color);
}

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

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.benefit-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.app-pricing {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-amount span {
    font-size: 1rem;
    color: #666;
}

.app-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #2980b9;
}

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

.btn-secondary:hover {
    background-color: #c0392b;
}

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

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

.app-card.coming-soon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px dashed #999;
}

.app-card.coming-soon .app-icon {
    background: #999;
}

/* ==================== PAGE DÉTAIL ERP ==================== */

.app-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

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

.app-hero-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 2rem;
}

.app-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-overview {
    padding: 4rem 0;
    background-color: var(--white);
}

.app-overview h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
}

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

.stat-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #666;
}

.app-modules {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.app-modules h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.module-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.module-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.module-card ul {
    list-style: none;
}

.module-card ul li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.module-card ul li:last-child {
    border-bottom: none;
}

.app-advantages {
    padding: 4rem 0;
    background-color: var(--white);
}

.app-advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #666;
}

.app-pricing-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.app-pricing-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

    .hero-buttons, .app-actions, .cta-buttons {
        flex-direction: column;
    }

    .modules-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }

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

.app-description {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    margin: 1.5rem 0;
}

.app-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

.app-description p:last-child {
    margin-bottom: 0;
}

.app-description strong {
    color: var(--primary-color);
}
