/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #253659;
    --primary-dark: #1e2d4a;
    --secondary-color: #253659;
    --accent-color: #253659;
    --danger-color: #253659;
    --warning-color: #253659;
    --text-dark: #253659;
    --text-light: #253659;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header Hero */
.hero {
    background: linear-gradient(135deg, rgba(37, 54, 89, 0.8) 0%, rgba(30, 45, 74, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    padding: 120px 0 80px; /* Augmenté pour laisser de la place au logo */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Layout hero avec logo à côté du titre */
.hero-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-container-inline {
    flex-shrink: 0;
}

.logo-image-inline {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 15px;
    display: block;
    transition: transform 0.3s ease;
}

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

.title-container {
    flex: 1;
    text-align: left;
    max-width: 800px;
}

/* Logo CAB en haut à gauche (style original gardé si utilisé ailleurs) */
.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    max-width: calc(80vw - 40px); /* Évite le débordement horizontal */
}

.logo-image {
    max-width: 23%; /* Réduit de 200px à 150px */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 8px; /* Réduit le padding */
    display: block;
}

/* Responsive pour l'image */
@media (max-width: 1500px) {
    .logo-container {
        top: 15px;
        left: 15px;
        max-width: calc(100vw - 30px);
    }
    
    .logo-image {
        max-width: 15%; /* Réduit de 140px à 110px */
        padding: 6px;
    }
}

@media (max-width: 1300px) {
    .logo-container {
        top: 10px;
        left: 10px;
        max-width: calc(100vw - 20px);
    }
    
    .logo-image {
        max-width: 10%; /* Réduit de 100px à 80px */
        padding: 5px;
    }
}

@media (max-width: 360px) {
    .logo-container {
        top: 8px;
        left: 8px;
        max-width: calc(100vw - 16px);
    }
    
    .logo-image {
        max-width: 60px; /* Réduit de 80px à 60px */
        padding: 3px;
    }
}

.logo-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 5px;
}

.bar {
    width: 8px;
    border-radius: 2px;
}

.bar1 {
    height: 15px;
    background: #253659;
}

.bar2 {
    height: 25px;
    background: #253659;
}

.bar3 {
    height: 35px;
    background: #253659;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #253659;
    position: relative;
    left: 10px;
    top: -5px;
    transform: rotate(-25deg);
}

.logo-text {
    flex: 1;
    text-align: left;
    line-height: 1.2;
}

.logo-line1 .cab-letters {
    font-size: 24px;
    font-weight: 700;
    color: #253659;
    margin-right: 8px;
}

.logo-line1::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #253659;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.logo-line2, .logo-line3, .logo-line4 {
    font-size: 11px;
    font-weight: 600;
    color: #253659;
    letter-spacing: 1px;
    margin: 2px 0;
}

.logo-tagline {
    font-size: 9px;
    font-weight: 600;
    margin-top: 8px;
    letter-spacing: 0.5px;
    color: #253659;
}

.text-gray {
    color: #253659;
}

.text-orange {
    color: #253659;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-subtitle ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.hero-subtitle li {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid #253659;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-subtitle li:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.hero-subtitle li::before {
    content: '';
    font-size: 1.2em;
}

.hero-subtitle .highlight-text {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin: 20px 0;
    text-align: center;
    font-size: 1.1em;
    text-shadow: none;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-subtitle:last-of-type {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* Navigation sticky */
.sticky-nav {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.sticky-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.sticky-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Section Mission Vision Stratégie dans le Hero */
.hero-mvs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #253659;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.mvs-icon {
    width: 70px;
    height: 70px;
    background: #253659;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 54, 89, 0.3);
}

.hero-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #253659;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.hero-card p {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Section de contenu restructurée */
.content-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
    padding: 80px 0;
}

.hero-content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-intro {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(37, 54, 89, 0.1);
    border: 1px solid rgba(37, 54, 89, 0.1);
}

.hero-intro h3 {
    font-size: 1.6rem;
    color: #253659;
    margin-bottom: 10px;
    font-weight: 600;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.investment-stakes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stake-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #253659;
    box-shadow: 0 4px 15px rgba(37, 54, 89, 0.08);
}

.stake-item i {
    color: #253659;
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.stake-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.complexity-section {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.complexity-section h4 {
    color: #e74c3c;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.complexity-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37, 54, 89, 0.1);
}

.complexity-item h5 {
    color: #e74c3c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.complexity-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.complexity-conclusion {
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.services-section {
    background: rgba(39, 213, 69, 0.1);
    border: 2px solid rgba(39, 213, 69, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.services-section h4 {
    color: #27d545;
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.service-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(37, 54, 89, 0.05);
}

.service-point i {
    color: #27d545;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-point span {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.95rem;
}

.cabinet-presentation-hero {
    background: white;
    border: 2px solid #253659;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(37, 54, 89, 0.1);
}

.cabinet-highlight h3 {
    color: #253659;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cabinet-credentials {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.credential {
    text-align: center;
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 10px;
}

.credential .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #253659;
}

.credential .text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.expertise-message {
    margin-bottom: 25px;
}

.expertise-message h4 {
    color: #253659;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.expertise-message p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-message {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.cta-message p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.cta-message i {
    color: #253659;
    margin-right: 8px;
}

.specialization-highlight {
    background: linear-gradient(135deg, rgba(37, 54, 89, 0.1), rgba(37, 54, 89, 0.05));
    border: 2px solid #253659;
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 54, 89, 0.1);
}

.specialization-highlight p {
    margin: 0;
    color: #253659;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive pour le contenu hero */
@media (max-width: 768px) {
    .hero-content-section {
        padding: 0 15px;
    }
    
    .investment-stakes {
        grid-template-columns: 1fr;
    }
    
    .complexity-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cabinet-credentials {
        gap: 20px;
    }
    
    .cabinet-presentation-hero {
        padding: 25px 20px;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

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

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

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Nos Activités */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.activity-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

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

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 54, 89, 0.3);
    transition: var(--transition);
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 54, 89, 0.4);
}

.activity-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Grilles d'avantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.advantage-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.advantage-card ul {
    list-style: none;
    padding: 0;
}

.advantage-card li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.advantage-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Section Spécialisation Cabinet - Version Inline */
.cabinet-specialization-inline {
    background: rgba(37, 54, 89, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--secondary-color);
}

.cabinet-specialization-inline h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: left;
}

.cabinet-specialization-inline > p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.specialization-reasons-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reason-item-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.reason-item-inline:hover {
    background: rgba(255, 255, 255, 0.9);
}

.reason-number-inline {
    background: var(--secondary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.reason-item-inline span:not(.reason-number-inline) {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Grille d'inconvénients */
.disadvantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.disadvantage-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.disadvantage-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--danger-color), #253659);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.disadvantage-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.disadvantage-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.disadvantage-card ul {
    list-style: none;
    padding: 0;
}

.disadvantage-card li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.disadvantage-card li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--warning-color);
    font-weight: bold;
}



/* Section Expertise */
.expertise-logo-container {
    text-align: center;
    margin: 40px 0;
}

.expertise-logo {
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Responsive pour le logo expertise */
@media (max-width: 768px) {
    .expertise-logo {
        max-width: 150px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .expertise-logo {
        max-width: 120px;
        padding: 10px;
    }
}


/* Lien PDF dans les listes */
.pdf-link-item {
    margin-top: 15px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--border-color) !important;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #253659;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(26, 57, 158, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 20, 160, 0.2);
}

/* Responsive pour les liens PDF */
@media (max-width: 768px) {
    .pdf-link {
        font-size: 0.85rem;
        padding: 6px 10px;
        gap: 6px;
    }
    
    .pdf-link i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pdf-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    .pdf-link i {
        font-size: 0.85rem;
    }
}

.expertise-container {
    display: grid;
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.expertise-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.expertise-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.comparison-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.comparison-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
}

.comparison-item li {
    padding: 8px 0;
    color: var(--text-light);
    line-height: 1.5;
}

.obligations-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.obligations-content h4:first-child {
    margin-top: 0;
}

.obligations-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.risks-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.risks-content li {
    padding: 10px 0;
    color: var(--text-light);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
}

.risks-content li:last-child {
    border-bottom: none;
}

.expert-advice {
    background: linear-gradient(135deg, var(--accent-color), #253659);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.expert-advice p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* Calculateur */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.calculator-inputs {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.calculator-inputs h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.calculator-inputs h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #B5E6A2;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-results {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
}

.calculator-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.placeholder-text {
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 40px 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
}

.result-label {
    color: var(--text-dark);
}

.result-value {
    font-weight: 600;
    color: var(--primary-color);
}

.result-explanation {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 4px;
    line-height: 1.3;
    grid-column: 1 / -1;
}

.result-positive {
    color: var(--accent-color);
}

.result-negative {
    color: var(--danger-color);
}

/* Section Avis Clients */
.testimonials-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
    padding: 100px 0;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%;
}

.testimonial-card {
    width: 20%;
    padding: 0 20px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 54, 89, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(37, 54, 89, 0.1);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #253659;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-logo i {
    color: #253659;
    font-size: 2rem;
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 54, 89, 0.2);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #253659;
}

.testimonial-author strong {
    display: block;
    color: #253659;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.prev-btn, .next-btn {
    background: #253659;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 54, 89, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #253659;
    transform: scale(1.3);
}

.dot:hover {
    background: #253659;
}

/* Responsive pour les testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .carousel-nav {
        gap: 20px;
        margin-top: 30px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

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

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    
    .hero {
        padding: 80px 0 80px;
    }
    
    .hero-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .title-container {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
        text-align: center;
        white-space: normal;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        padding: 0 10px;
        text-align: center;
    }
    
    .logo-image-inline {
        max-width: 200px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 20px;
        margin: 0 10px 15px;
        text-align: left;
    }
    
    .hero-subtitle ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-subtitle li {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .sticky-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .activities-grid,
    .advantages-grid,
    .disadvantages-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    

    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calculator-results {
        position: static;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    
    .hero {
        padding: 100px 0 60px; /* Espace suffisant pour le logo sur mobile */
    }
    
    .hero h1 {
        font-size: 1.6rem;
        padding: 0 5px;
        text-align: center;
        white-space: normal;
    }
    
    .hero h2 {
        font-size: 1.3rem;
        padding: 0 5px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 15px;
        margin: 0 5px 15px;
    }
    
    .hero-subtitle li {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .activity-card,
    .advantage-card,
    .disadvantage-card {
        padding: 30px 20px;
    }
    
    .calculator-inputs,
    .calculator-results {
        padding: 30px 20px;
    }
}

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

.advantage-card,
.disadvantage-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}