/* ========================================
   OMNIFIDELIS - Styles globaux
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Spectral', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: inherit;
}

h2 {
    font-size: 35px;
    font-weight: inherit;
}

h3 {
    font-size: 20px;
    font-weight: inherit;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

h5 {
    font-size: 16px;
    font-weight: inherit;
}

h6 {
    font-size: 14px;
    font-weight: inherit;
}

p {
    font-size: 18px;
    font-weight: 400;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #376D83, #2d5a6a);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 12px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-section h2 {
    font-size: 35px;
    margin-bottom: 25px;
    font-weight: 400;
    opacity: 0.95;
}

.hero-section .subtitle {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.7;
}

/* Hero avec image de fond */
.hero-section.hero-with-background {
    background: linear-gradient(rgba(55, 109, 131, 0.85), rgba(45, 90, 106, 0.85)),
                url('https://placeholder-for-paris-image.jpg') center/cover;
    padding: 120px 20px;
}

.hero-section.hero-with-background h1 {
    letter-spacing: 2px;
}

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.intro-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

.intro-section strong {
    font-weight: 500;
}

.intro-section .highlight {
    background: #f0f4f5;
    padding: 25px;
    border-left: 4px solid #376D83;
    margin: 30px 0;
    border-radius: 4px;
}

.intro-section .highlight p {
    margin-bottom: 0;
    font-weight: 400;
}

/* ========================================
   SERVICE SECTIONS
   ======================================== */
.service-section {
    margin-bottom: 35px;
}

.service-block {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border-top: 5px solid #B08E6D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-block h2 {
    color: #376D83;
    font-size: 35px;
    margin-bottom: 25px;
    font-weight: 400;
}

.service-block p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.service-block p:last-child {
    margin-bottom: 0;
}

/* ========================================
   HIGHLIGHT SECTION
   ======================================== */
.highlight-section {
    background: linear-gradient(135deg, #f0f4f5, #e8eef0);
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 35px;
    border-left: 6px solid #376D83;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.highlight-section h2 {
    color: #376D83;
    font-size: 35px;
    margin-bottom: 25px;
    font-weight: 400;
}

.highlight-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.highlight-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.content-block {
    background: white;
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.content-block p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION BLOCK (Variante)
   ======================================== */
.section-block {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border-top: 5px solid #B08E6D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.section-block h2 {
    color: #376D83;
    font-size: 35px;
    margin-bottom: 25px;
    font-weight: 400;
}

.section-block p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.section-block p:last-child {
    margin-bottom: 0;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
    background: linear-gradient(135deg, #f0f4f5, #e8eef0);
    padding: 70px 50px;
    border-radius: 12px;
    text-align: center;
    border-left: 6px solid #B08E6D;
    margin: 60px 0;
}

.quote-section h2 {
    color: #B08E6D;
    font-size: 35px;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.quote-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #376D83, #2d5a6a);
    padding: 70px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    color: white;
}

.cta-section h2 {
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #376D83;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #B08E6D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Variante CTA avec fond clair */
.cta-section.cta-light {
    background: linear-gradient(135deg, #f0f4f5, #e8eef0);
    border: 2px solid #376D83;
}

.cta-section.cta-light h2 {
    color: #376D83;
}

.cta-section.cta-light p {
    color: #34495e;
}

.cta-section.cta-light .cta-button {
    background: linear-gradient(135deg, #376D83, #2d5a6a);
    color: white;
}

.cta-section.cta-light .cta-button:hover {
    background: linear-gradient(135deg, #2d5a6a, #244751);
}

/* ========================================
   EXPERTISE CARDS (Page d'accueil)
   ======================================== */
.expertise-cards-container {
    max-width: 1200px;
    margin: -80px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

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

.expertise-card {
    background: white;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.expertise-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f0f4f5, #e8eef0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #7f8c8d;
}

.expertise-card h3 {
    color: #376D83;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 400;
}

/* ========================================
   SERVICE CARDS (Page Finance - avec images)
   ======================================== */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    padding: 45px;
}

.service-card.reverse .service-content {
    grid-template-columns: 1fr 300px;
}

.service-image {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    order: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-image:not(:has(img)) {
    background: linear-gradient(135deg, #e8eef0, #d4dfe3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.9em;
    text-align: center;
    padding: 20px;
}

.service-card.reverse .service-image {
    order: 2;
}

.service-text {
    order: 2;
}

.service-card.reverse .service-text {
    order: 1;
}

.service-card h2 {
    color: #376D83;
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 400;
    border-left: 4px solid #B08E6D;
    padding-left: 20px;
}

.service-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
}

/* ========================================
   OFFRES RGPD - Éléments spécifiques
   ======================================== */
.offers-detail-section {
    margin-bottom: 60px;
}

.offer-card {
    background: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border-top: 5px solid #B08E6D;
}

.offer-card h2 {
    color: #376D83;
    font-size: 35px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.offer-number {
    background: linear-gradient(135deg, #376D83, #2d5a6a);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 500;
    font-size: 20px;
}

.offer-card h3 {
    color: #B08E6D;
    font-size: 16px;
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.offer-card p {
    font-size: 18px;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 15px;
}

.offer-card strong {
    font-weight: 500;
}

.offer-card ul {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.offer-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
    color: #34495e;
}

.offer-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #B08E6D;
    font-weight: 500;
    font-size: 20px;
}

.atout-box {
    background: linear-gradient(135deg, #f0f4f5, #e8eef0);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid #376D83;
}

.atout-box strong {
    color: #376D83;
    font-size: 18px;
    font-weight: 500;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    margin: 80px 0 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 35px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 400;
}

.section-title p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid #ecf0f1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 2px solid #376D83;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #376D83, #2d5a6a);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(55, 109, 131, 0.3);
}

.plan-name {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 400;
}

.plan-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.plan-price {
    font-size: 35px;
    color: #B08E6D;
    font-weight: 500;
    margin: 25px 0;
}

.plan-price-note {
    font-size: 14px;
    color: #95a5a6;
    margin-top: 5px;
}

.features-list {
    list-style: none;
    margin-top: 25px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #34495e;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
}

.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: #B08E6D;
    margin-right: 12px;
    font-weight: 500;
    font-size: 20px;
    flex-shrink: 0;
}

.cross-icon {
    color: #e74c3c;
    margin-right: 12px;
    font-weight: 500;
    font-size: 20px;
    flex-shrink: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .service-content,
    .service-card.reverse .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-image,
    .service-card.reverse .service-image {
        order: 1;
        margin: 0 auto;
    }

    .service-text,
    .service-card.reverse .service-text {
        order: 2;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 35px;
    }

    .hero-section h2 {
        font-size: 20px;
    }

    .hero-section .subtitle {
        font-size: 18px;
    }

    .expertise-cards-container {
        margin-top: 40px;
    }

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

    .intro-section,
    .service-block,
    .highlight-section,
    .section-block {
        padding: 35px 25px;
    }

    .service-block h2,
    .highlight-section h2,
    .section-block h2 {
        font-size: 20px;
    }

    .content-block,
    .quote-section {
        padding: 40px 30px;
    }

    .quote-section h2 {
        font-size: 20px;
    }

    .cta-section h2 {
        font-size: 20px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-content {
        padding: 30px 25px;
    }

    .offer-card {
        padding: 30px 25px;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

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