/* global.css - CSS Premium pour Ordisys Cyber */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&family=Roboto+Condensed:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

:root {
    --primary: #4A3AFF;
    --dark: #070919;
    --orange: #FF7300;
    --text-main: #333333;
    --text-light: #555555;
    --text-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
    --border-radius: 20px;
    --radius-round: 60px;
}

* { box-sizing: border-box; }

body {
    /* Corps de texte en Roboto standard (lisible, non condensé) */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-main);
    background-color: var(--dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(74, 58, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 15%, rgba(255, 115, 0, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(74, 58, 255, 0.1) 0%, transparent 50%);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
    font-weight: 400;
}

/* Tous les titres : Roboto Condensed */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* Hiérarchie de tailles des titres */
h1 { font-size: 3.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

/* Textes courants et petits éléments : Roboto standard */
p, li, label, input, textarea, select, a, span, small,
.lead, .subtitle, .badge-orange, .btn-primary, .btn-outline,
.form-note, .form-checkbox span, .cookie-banner-text p,
.footer-links p, .footer-col-right p, .testi-card p,
.stat-box p, .prepare-item p, .plan-card ul li,
.service-card ul li, .service-card p.subtitle,
.hero-subtitle {
    font-family: 'Roboto', sans-serif;
}

.elementor-section {
    margin: -20px !important;
}

.container, 
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1800px !important;
    margin: 0 auto;
    padding: 0 40px;
}

/* Forcer les widgets Ordisys à prendre toute la largeur de l'écran et supprimer les espaces d'Elementor */
.elementor-widget:has(> .elementor-widget-container > .services-section),
.elementor-widget:has(> .elementor-widget-container > .stats-banner),
.elementor-widget:has(> .elementor-widget-container > .prepare-section),
.elementor-widget:has(> .elementor-widget-container > .plan-section),
.elementor-widget:has(> .elementor-widget-container > .testimonials-section),
.elementor-widget:has(> .elementor-widget-container > .news-section),
.elementor-widget:has(> .elementor-widget-container > .hero),
.elementor-widget:has(> .elementor-widget-container > .page-header-widget),
.elementor-widget:has(> .elementor-widget-container > .ordisys-footer-wrapper) {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.services-section,
.stats-banner,
.prepare-section,
.plan-section,
.testimonials-section,
.news-section,
.hero,
.page-header-widget,
.ordisys-footer-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

/* Remove default paddings from elementor sections that contain our full width widgets */
.elementor-section, .elementor-column-wrap, .elementor-widget-wrap {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    gap: 0 !important;
}

/* Make sure Elementor sections don't add default gap between widgets */
.elementor-widget-wrap > .elementor-widget {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible,
body.elementor-editor-active .fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header System */
.site-header {
    width: 100%;
    padding: 45px 0 20px;
}
.site-header.absolute {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 9999;
}
.ordisys-logo-widget { display: inline-block; }
.ordisys-nav-widget {
    display: inline-block;
    margin-left: 90px; /* Elegant gap from logo matching Image 1 */
}
.header-flex {
    display: flex;
    justify-content: flex-start; /* Align menu adjacent to logo on the left */
    align-items: center;
}
/* Navigation */
.header-nav {
    display: flex;
    list-style: none;
    gap: 40px; /* Modern wider spacing as in Image 1 */
    margin: 0;
    padding: 0;
    align-items: center;
}
.header-nav li a {
    text-decoration: none;
    font-weight: 400; /* Modern, sleek thin/medium weight matching Image 1 */
    font-size: 14.5px; /* Sleek, elegant size matching Image 1 */
    color: rgba(255, 255, 255, 0.7) !important; /* Soft white/grey */
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}
.header-nav li a:hover {
    color: white !important; /* Clean white hover */
}
.ordisys-nav-widget.light-theme .header-nav li a {
    color: var(--dark);
}
.ordisys-nav-widget.light-theme .header-nav li a:hover {
    color: var(--orange);
}

/* Hamburger Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 100;
}
.hamburger-line {
    display: block;
    width: 32px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.light-theme .hamburger-line {
    background-color: var(--dark);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dark Theme (on dark backgrounds) */
.dark-theme .header-nav a { color: rgba(255, 255, 255, 0.8); }
.dark-theme .header-nav a:hover { color: white; }
.dark-theme .logo-img { filter: brightness(0) invert(1); height: 50px; }

/* Light Theme (on light backgrounds) */
.light-theme .header-nav a { color: rgba(0, 0, 0, 0.7); }
.light-theme .header-nav a:hover { color: black; }
.light-theme .logo-img { height: 50px; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/img/Background.svg') center center / cover no-repeat, var(--dark);
    color: white;
    overflow: hidden;
}
.hero-content, .hero-content-placeholder {
    width: 100%;
    position: relative;
    z-index: 5;
    padding: 60px 0;
}
.standalone-hero-title h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 1000px;
    font-weight: 600;
    letter-spacing: -1px;
    color: white;
}
.standalone-hero-title .hero-subtitle {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    display: block;
}
.btn-primary {
    background: #3b30b9 !important; /* Premium deep violet */
    color: white !important;
    padding: 16px 35px;
    border-radius: var(--radius-round);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 48, 185, 0.4);
}

.standalone-hero-features {
    padding-left: 100px;
    padding-top: 50px;
    color: white;
}
.standalone-hero-features ul li {
    color: white;
}
.hero-right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
}
.hero-right ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.4;
    font-weight: 400;
}
.hero-right ul li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}
.hero-budget {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}
.budget-text {
    margin-left: 2px;
    color: #ffffff;
}
.badge-orange {
    background: var(--orange);
    color: white;
    padding: 6px 22px;
    border-radius: var(--radius-round);
    font-weight: 600;
}
/* Floating Testimonial */
.hero-testimonial, .standalone-floating-review {
    margin-top: 80px;
    display: block;
}
.standalone-floating-review .hero-testimonial { margin-top: 0; }
.hero-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 380px;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-testimonial .arrow-top-right {
    position: absolute;
    top: 25px;
    right: 25px;
    opacity: 0.8;
}
.hero-testimonial .stars { display: flex; gap: 5px; margin-bottom: 20px; }
.hero-testimonial .stars img { width: 14px; }
.hero-testimonial p { font-size: 15px; line-height: 1.6; margin-bottom: 25px; color: rgba(255,255,255,0.9); }
.hero-testimonial .author { display: flex; align-items: center; gap: 15px; }
.hero-testimonial .author img { width: 45px; height: 45px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); }
.hero-testimonial .author span { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.3; }

/* Section Title global */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Services */
.services-section {
    padding: 100px 0;
    margin: 0;
    position: relative;
    background: var(--bg-light);
}
.service-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}
.service-card .content { flex: 1; }
.service-card .content h3 { font-size: 1.6rem; margin-bottom: 5px; }
.service-card .content p.subtitle { color: var(--text-light); margin-bottom: 25px; }
.service-card ul { padding-left: 20px; margin-bottom: 0; }
.service-card ul li { margin-bottom: 10px; font-size: 0.95rem; color: #444; }
.service-card .image { flex: 1; }
.service-card .image img { width: 100%; border-radius: 12px; }

/* Stats Bar */
.stats-banner {
    padding: 100px 0;
    margin: 0;
    text-align: center;
    background: var(--bg-light);
}
.stats-banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.stats-lead {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}
.stats-boxes-group {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.stats-lead h2 { font-size: 3rem; margin: 0; line-height: 1.05; text-align: left; max-width: 320px; font-weight: 500; letter-spacing: -1px; }
.stat-box { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stat-box h3 { font-size: 4.8rem; font-weight: 300; margin: 0; line-height: 1; letter-spacing: -2px; display: flex; align-items: baseline; }
.stat-box h3 span { color: #00A3FF; font-weight: 500; font-family: 'Inter', sans-serif; font-size: 3rem; margin-left: 2px; }
.stat-box p { margin: 15px 0 0 0; font-size: 1rem; color: var(--text-main); font-weight: 500; line-height: 1.3; max-width: 150px; }

/* Preparedness Section */
.prepare-section {
    padding: 100px 0;
    margin: 0;
    background: white;
}
.prepare-top {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.prepare-top .text { flex: 1; }
.prepare-top .text p.lead { font-size: 1.1rem; color: var(--text-light); margin-bottom: 10px; }
.prepare-top .text h2 { font-size: 2.5rem; margin-bottom: 30px; }
.prepare-stats { display: flex; gap: 40px; }
.prepare-stats h3 { font-size: 2rem; margin: 0 0 10px 0; color: var(--primary); }
.prepare-stats p { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }
.prepare-top .image { flex: 1; }
.prepare-top .image img { width: 100%; border-radius: 20px; }

.prepare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}
.prepare-item { text-align: center; }
.prepare-item img { 
    width: 130px; 
    height: 130px; 
    margin: 0 auto 25px auto; 
    display: block;
    border-radius: 0; 
}
.prepare-item h4 { font-size: 1.1rem; margin-bottom: 10px; min-height: 45px;}
.prepare-item p { font-size: 0.85rem; color: var(--text-light); }

/* Timeline Plan */
.plan-section {
    padding: 100px 0;
    margin: 0;
    background: var(--bg-light);
}
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.plan-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
}
.plan-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.plan-step .number {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
}
.plan-step .number img {
    max-width: 100%;
    height: auto;
}
.plan-step h3 { margin: 0; font-size: 1.2rem; }
.plan-step span { color: var(--primary); font-size: 0.85rem; font-weight: 500;}
.plan-card ul { padding-left: 20px; margin-bottom: 30px; }
.plan-card ul li { font-size: 0.9rem; color: var(--text-light); margin-bottom: 10px; }
.plan-badge { display: inline-block; background: #EBF0FF; color: #4A3AFF; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }

/* Testimonials Layout */
.testimonials-section {
    padding: 100px 0;
    margin: 0;
    background: white;
}
.testimonials-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    padding-bottom: 40px;
}
.testi-left {
    flex: 1;
}
.testi-left h3 { margin: 0 0 10px 0; font-size: 1.2rem; font-weight: 400;}
.testi-left h2 { font-size: 2.5rem; line-height: 1.1; margin: 0; }
.testi-right {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}
.tag.outline { border: 1px solid #4A3AFF; color: #4A3AFF; }
.tag.filled { background: #EEF2FD; color: #333; }
.tag.filled.large { text-align: center; }

.testi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.testi-card .stars { margin-bottom: 20px; color: var(--orange); }
.testi-card .stars img { width: 16px; margin-right: 2px;}
.testi-card p { font-size: 0.95rem; color: var(--text-main); margin-bottom: 30px; }
.testi-card .author { display: flex; align-items: center; gap: 15px; }
.testi-card .author img { width: 40px; height: 40px; border-radius: 50%; }
.testi-card .author div { font-size: 0.85rem; font-weight: 600; line-height: 1.2;}
.testi-card .author div span { font-weight: 400; color: var(--text-light); }

/* News section */
.news-section {
    padding: 100px 0;
    margin: 0;
    text-align: center;
    background: var(--bg-light);
}
.news-card {
    max-width: 600px;
    margin: 40px auto;
}
.news-card img { width: 100%; border-radius: 20px; margin-bottom: 20px; }
.news-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.news-card p { color: var(--text-light); margin-bottom: 30px; font-size: 0.9rem; }
.btn-outline {
    border: 1px solid #CCC;
    padding: 10px 30px;
    border-radius: var(--radius-round);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Footer layout */
.main-footer {
    background: transparent;
    color: white;
    padding: 120px 0 60px;
    font-size: 0.95rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(74, 58, 255, 0.1) 0%, transparent 60%);
    z-index: -1;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}
.footer-col-left { flex: 1; max-width: 400px; }
.footer-col-left h3 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-col-right { flex: 1; max-width: 500px; }
.footer-col-right h3 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-col-right p { color: #A0A0A0; line-height: 1.8; }
.footer-social { display: flex; gap: 15px; margin-top: 30px; filter: brightness(0) invert(1); }
.footer-social img { width: 20px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}
.footer-email { font-size: 3rem; font-weight: 600; color: white; display: block; text-decoration: none; border-bottom: 2px solid white; display: inline-block; padding-bottom: 5px; margin-top: 10px;}
.footer-contact-details h4 { font-size: 1.2rem; margin: 0 0 10px 0; }

/* Floating Action Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(74, 58, 255, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 58, 255, 0.6);
    color: white;
}
.floating-btn svg {
    width: 20px;
    height: 20px;
}

.footer-contact-details p { color: #A0A0A0; margin: 0; }
.footer-links { text-align: right; }
.footer-links p { color: #A0A0A0; margin: 5px 0; font-size: 0.8rem; }
.footer-links a { color: #4A3AFF; text-decoration: none; }

.page-header-widget {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
}
.page-header-widget.light-theme { background-color: var(--bg-light); }
.page-header-widget.dark-theme { 
    background: radial-gradient(circle at 0% 0%, rgba(74, 58, 255, 0.15) 0%, transparent 40%),
                var(--dark); 
    color: white; 
}

@media (max-width: 900px) {
    /* Global Layout Stacking & Centering */
    .hero-content { flex-direction: column; text-align: center; }
    .hero-right { padding-top: 40px; margin: 0 auto; text-align: center; }
    .standalone-hero-title h1, .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-left a.btn-primary { margin: 0 auto; display: inline-block; }
    .hero-right ul { padding-left: 0; display: inline-block; text-align: left; margin: 0 auto 30px; }
    .hero-budget { justify-content: center; }
    .hero-testimonial { margin-left: auto; margin-right: auto; text-align: left; }
    
    .service-card { flex-direction: column; text-align: center; }
    .service-card ul { display: inline-block; text-align: left; padding-left: 0; list-style-position: inside; }
    
    .stats-banner-flex { flex-direction: column; gap: 40px; align-items: center; }
    .stats-lead h2 { text-align: center; max-width: 100%; margin: 0 auto; }
    .stat-box { align-items: center; }
    .stat-box h3 { justify-content: center; }
    
    .prepare-top { flex-direction: column; text-align: center; }
    .prepare-stats { flex-direction: column; gap: 20px; align-items: center; }
    .prepare-grid { grid-template-columns: repeat(2, 1fr); }
    
    .plan-grid, .testi-cards { grid-template-columns: 1fr; }
    .plan-step { flex-direction: column; text-align: center; justify-content: center; }
    .plan-card ul { display: inline-block; text-align: left; padding-left: 0; list-style-position: inside; }
    .plan-badge { display: block; margin: 0 auto; text-align: center; width: fit-content; }
    
    .testimonials-grid { flex-direction: column; text-align: center; align-items: center; }
    .testi-left h3, .testi-left h2 { text-align: center; }
    .testi-right { justify-content: center; }
    .testi-card { text-align: center; }
    .testi-card .author { flex-direction: column; text-align: center; }
    
    .footer-top, .footer-bottom { flex-direction: column; gap: 40px; text-align: center; align-items: center; }
    .footer-col-left, .footer-col-right { max-width: 100%; }
    .footer-social { justify-content: center; }
}

/* Contact Modal */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: radial-gradient(circle at top left, rgba(74, 58, 255, 0.6) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(255, 115, 0, 0.6) 0%, transparent 40%),
                #0B0E17;
    border-radius: 24px;
    padding: 50px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-modal-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    color: white;
}

.contact-modal-title {
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-modal-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-modal-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    flex: 1;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-modal-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-modal-option .icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary, #4A3AFF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.contact-modal-option h3 {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.contact-modal-option p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}


/* Contact Modal Styles Supplementaires pour Etape 2 */
.contact-modal {
    /* transition pour max-width ajoutée */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), max-width 0.4s ease;
}

.contact-modal.modal-wide {
    max-width: 950px;
    padding: 30px;
}

.contact-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-step.active {
    display: block;
    opacity: 1;
}

.contact-modal-header-actions {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.contact-modal-close, .contact-modal-back {
    position: static;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover, .contact-modal-back:hover {
    color: white;
}

/* Form Layout Step 2 */
.contact-form-layout {
    display: flex;
    gap: 40px;
}

.contact-form-left {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-right {
    flex: 0.8;
    border-radius: 20px;
    overflow: hidden;
}

.contact-form-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.form-group input:focus {
    border-bottom-color: var(--primary, #4A3AFF);
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 30px;
}

.form-checkbox {
    margin-bottom: 30px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox span {
    color: white;
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-checkbox span a {
    color: white;
    text-decoration: underline;
}

.form-submit .btn-primary:hover {
    background: rgba(255,255,255,0.15) !important;
    color: white;
}

@media (max-width: 768px) {
    /* Global & Typography */
    .container, 
    .elementor-section.elementor-section-boxed > .elementor-container { 
        padding: 0 20px; 
    }
    .section-header h2 { font-size: 2rem; }
    
    /* Header/Menu */
    .header-flex { flex-direction: row; justify-content: space-between; align-items: center; position: relative; }
    .ordisys-nav-widget { margin-left: 0 !important; }
    .ordisys-nav-widget-wrapper { flex-direction: row !important; }
    .header-nav { 
        display: none; 
        flex-direction: column; 
        width: calc(100vw - 40px); 
        position: absolute; 
        top: 100%; 
        left: 50%; 
        transform: translateX(-50%);
        background: rgba(7, 9, 25, 0.95); 
        backdrop-filter: blur(15px);
        padding: 30px; 
        border-radius: 20px; 
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        z-index: 99;
        text-align: center;
        margin-top: 15px;
    }
    .header-nav.active { display: flex; }
    .mobile-menu-toggle { display: flex !important; }
    .site-header { padding: 25px 0 20px; }

    /* Hero Section */
    .standalone-hero-title h1 { font-size: 2.8rem; letter-spacing: -1px; }
    .standalone-hero-features { padding-left: 0; padding-top: 30px; }
    .hero-budget { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    /* Stats */
    .stats-banner-flex { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .stats-boxes-group { justify-content: center; gap: 30px !important; width: 100%; }
    .stats-lead h2 { font-size: 2.2rem; max-width: 100%; text-align: center; }
    .stat-box h3 { font-size: 3.5rem; }
    .stat-box h3 span { font-size: 2.2rem; }
    .stats-lead p { text-align: center; }
    
    /* Services */
    .services-section { padding: 40px 0; }
    .service-card { padding: 30px; gap: 30px; text-align: center; }
    .service-card ul { text-align: left; }
    .service-card .content h3 { font-size: 1.4rem; }
    
    /* Preparedness */
    .prepare-section { padding: 40px 0; }
    .prepare-top .text h2 { font-size: 2rem; }
    .prepare-stats { flex-direction: column; gap: 20px; }
    .prepare-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Plan */
    .plan-section { padding: 40px 0; }
    .plan-section h2 { font-size: 2.2rem !important; margin-bottom: 40px !important; }
    .plan-card { padding: 30px 20px; }
    
    /* Testimonials */
    .testimonials-section { padding: 40px 0; }
    .testi-left h2 { font-size: 2rem; }
    .testi-right { flex-direction: column; align-items: flex-start; gap: 15px; }
    .testi-card { padding: 25px 20px; }
    
    /* News */
    .news-section { padding: 40px 0; }
    .news-section h2 { font-size: 2.2rem !important; margin-bottom: 30px !important; }
    .news-card { margin: 20px auto; }
    .news-card h3 { font-size: 1.3rem; }
    
    /* Footer */
    .main-footer { padding: 60px 0 40px; }
    .footer-email { font-size: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 30px; }
    .footer-links { text-align: center; }
    
    /* Contact Modal Step 2 existing styles */
    .contact-form-layout { flex-direction: column; }
    .contact-form-right { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-modal.modal-wide { padding: 40px 25px; }
}

/* ==============================================
   COOKIE CONSENT BANNER & PREFERENCES MODAL
   ============================================== */
.ordisys-cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(10, 10, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px 35px;
    z-index: 999999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ordisys-cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn.btn-primary-style {
    background: var(--primary, #4A3AFF);
    color: white;
    border: 1px solid var(--primary, #4A3AFF);
}

.cookie-btn.btn-primary-style:hover {
    background: #5d4eff;
    border-color: #5d4eff;
    box-shadow: 0 8px 20px rgba(74, 58, 255, 0.3);
}

.cookie-btn.btn-outline-style {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.btn-outline-style:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn.btn-link-style {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    text-decoration: underline;
    padding: 12px 10px;
}

.cookie-btn.btn-link-style:hover {
    color: white;
}

/* Modal Overlay */
.ordisys-cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ordisys-cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ordisys-cookie-modal-content {
    background: radial-gradient(circle at top left, rgba(74, 58, 255, 0.15) 0%, transparent 40%),
                #080814;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ordisys-cookie-modal-overlay.active .ordisys-cookie-modal-content {
    transform: translateY(0) scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.cookie-modal-back-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 0;
}

.cookie-modal-back-btn svg {
    transition: transform 0.3s ease;
}

.cookie-modal-back-btn:hover svg {
    transform: translateX(-4px);
}

.cookie-modal-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cookie-modal-close-btn:hover {
    color: white;
}

.cookie-modal-body {
    margin-bottom: 35px;
}

.cookie-modal-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-row-info {
    flex: 1;
}

.cookie-row-info h4 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 600;
}

.cookie-row-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-row-control {
    flex-shrink: 0;
}

/* Custom Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary, #4A3AFF);
    border-color: var(--primary, #4A3AFF);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-switch.disabled input:checked + .cookie-slider {
    background-color: #5D3EBC; /* Elegant dark purple for locked functional */
    border-color: #5D3EBC;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-footer-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Condensed', sans-serif;
}

.cookie-footer-btn.outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-footer-btn.outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-footer-btn.filled {
    background: white;
    color: #070919;
    border: 1px solid white;
}

.cookie-footer-btn.filled:hover {
    background: #e5e5e7;
    border-color: #e5e5e7;
}

@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: space-between;
    }
    .ordisys-cookie-banner {
        padding: 20px;
        bottom: 15px; left: 15px; right: 15px;
    }
    .cookie-modal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .cookie-modal-footer {
        flex-direction: column;
        width: 100%;
    }
    .cookie-footer-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==============================================
   PAGES TEMPLATES STYLING (LEGAL & ACTUALITÉS)
   ============================================== */
.ordisys-legal-page-container {
    padding: 150px 0 100px;
    color: rgba(255, 255, 255, 0.85);
    background-color: var(--dark);
    min-height: 100vh;
}

.ordisys-legal-page-container .legal-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 80px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    max-width: 1000px;
    margin: 0 auto;
}

.ordisys-legal-page-container h1 {
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.ordisys-legal-page-container h2 {
    font-size: 1.8rem;
    color: white;
    margin-top: 45px;
    margin-bottom: 20px;
}

.ordisys-legal-page-container h3 {
    font-size: 1.4rem;
    color: white;
    margin-top: 30px;
    margin-bottom: 15px;
}

.ordisys-legal-page-container p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.ordisys-legal-page-container ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.ordisys-legal-page-container ul li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.ordisys-legal-page-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 14px;
    text-align: left;
}

.ordisys-legal-page-container th {
    background: rgba(74, 58, 255, 0.15);
    color: white;
    padding: 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.ordisys-legal-page-container td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
}

.ordisys-legal-page-container tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

/* Actualité Page - Modèle d'article premium fidèle aux captures d'écran */
.ordisys-article-header {
    background: radial-gradient(circle at 0% 0%, rgba(74, 58, 255, 0.15) 0%, transparent 40%),
                #070919;
    padding: 180px 0 160px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-back-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-block;
    margin-bottom: 30px;
}

.article-back-link:hover {
    color: white !important;
}

.article-back-link .back-arrow {
    margin-right: 5px;
}

.article-badge-category {
    background-color: var(--primary, #4A3AFF);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.article-title {
    color: white !important;
    font-size: 3.2rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin: 0 0 25px 0 !important;
    letter-spacing: -0.5px !important;
    max-width: 1000px;
}

.article-meta-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
}

.ordisys-article-content-wrapper {
    background-color: #ffffff !important;
    color: #333333 !important;
    padding-bottom: 120px;
    position: relative;
    z-index: 2;
}

.article-main-image-container {
    max-width: 1000px;
    margin: -120px auto 60px auto;
    position: relative;
    z-index: 10;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-main-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.article-body-text h2 {
    font-size: 2.2rem !important;
    color: #070919 !important;
    margin-top: 55px !important;
    margin-bottom: 25px !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

.article-body-text p {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #333333 !important;
    margin-bottom: 24px !important;
    font-weight: 400 !important;
}

.article-body-text strong {
    font-weight: 700;
    color: #070919;
}

.article-body-text .emoji-paragraph {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.article-body-text .emoji {
    font-size: 20px;
    line-height: 1.75;
    flex-shrink: 0;
}

.article-bullet-list {
    margin: 0 0 35px 0 !important;
    padding-left: 20px !important;
    list-style-type: disc !important;
}

.article-bullet-list li {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #333333 !important;
    margin-bottom: 12px !important;
    padding-left: 5px !important;
}

.article-body-text .highlight-paragraph {
    background-color: rgba(74, 58, 255, 0.05);
    border-left: 4px solid var(--primary, #4A3AFF);
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 35px 0 !important;
}

.article-body-text .highlight-paragraph strong {
    color: var(--primary, #4A3AFF);
}

.article-body-text .more-info-paragraph {
    font-size: 16px !important;
    margin: 30px 0 45px 0 !important;
}

.article-body-text .more-info-paragraph a {
    color: var(--primary, #4A3AFF) !important;
    text-decoration: underline !important;
    font-weight: 500;
    transition: color 0.3s;
}

.article-body-text .more-info-paragraph a:hover {
    color: #3322cc !important;
}

.article-body-text .article-footer-source {
    font-size: 13px !important;
    color: #777777 !important;
    margin-top: 50px !important;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
}

.article-body-text .article-footer-source a {
    color: #777777 !important;
    text-decoration: underline !important;
}

.article-body-text .article-footer-source a:hover {
    color: #333333 !important;
}

@media (max-width: 900px) {
    .ordisys-article-header {
        padding: 130px 0 120px;
    }
    .article-title {
        font-size: 2.2rem !important;
    }
    .article-main-image-container {
        margin: -80px 15px 40px 15px;
        border-radius: 16px;
    }
    .article-body-text h2 {
        font-size: 1.8rem !important;
        margin-top: 40px !important;
    }
    .article-body-text p, .article-bullet-list li {
        font-size: 16px !important;
    }
}

/* ==============================================================================
   ACTUALITES DYNAMIQUES & CONSEILS IT - LAYOUT & GRID STYLES
   ============================================================================== */

.ordisys-news-header {
    background: radial-gradient(circle at 0% 0%, rgba(74, 58, 255, 0.15) 0%, transparent 40%),
                #070919;
    padding: 180px 0 120px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.news-header-badge {
    background-color: rgba(74, 58, 255, 0.12);
    border: 1px solid rgba(74, 58, 255, 0.3);
    color: #8c82ff;
    padding: 6px 16px;
    border-radius: 60px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.news-header-title {
    color: white !important;
    font-size: 3.5rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.5px !important;
}

.news-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.ordisys-news-catalog-wrapper {
    background-color: #f8f9fa !important;
    padding: 80px 0 120px;
}

/* Onglets de filtrage par catégorie */
.news-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-tab {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444444;
    padding: 10px 24px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-tab:hover {
    background: #f1f3f9;
    border-color: rgba(74, 58, 255, 0.2);
    color: var(--primary, #4A3AFF);
}

.filter-tab.active {
    background: var(--primary, #4A3AFF);
    color: white;
    border-color: var(--primary, #4A3AFF);
    box-shadow: 0 8px 20px rgba(74, 58, 255, 0.25);
}

/* Grille des Actualités */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-item-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease,
                transform 0.3s ease;
    height: 100%;
}

.news-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(74, 58, 255, 0.08);
    border-color: rgba(74, 58, 255, 0.15);
}

.news-card-image-box {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-item-card:hover .news-card-image-box img {
    transform: scale(1.06);
}

.news-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary, #4A3AFF);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(74, 58, 255, 0.2);
}

.news-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-date {
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    color: #070919 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
    transition: color 0.3s;
}

.news-item-card:hover .news-card-title {
    color: var(--primary, #4A3AFF) !important;
}

.news-card-excerpt {
    font-size: 14.5px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-card-link {
    color: var(--primary, #4A3AFF) !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
    width: fit-content;
    margin-top: auto;
}

.news-card-link .arrow {
    transition: transform 0.3s;
}

.news-card-link:hover .arrow {
    transform: translateX(4px);
}

/* Aucun article trouvé */
.no-news-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
}

.no-news-found p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 25px;
}

/* Pagination */
.news-pagination-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.news-pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.news-pagination-list .page-numbers {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444444;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.news-pagination-list a.page-numbers:hover {
    background-color: #f1f3f9;
    border-color: var(--primary, #4A3AFF);
    color: var(--primary, #4A3AFF);
}

.news-pagination-list .page-numbers.current {
    background-color: var(--primary, #4A3AFF);
    color: white;
    border-color: var(--primary, #4A3AFF);
    box-shadow: 0 4px 12px rgba(74, 58, 255, 0.2);
}

/* Prise en charge des blocs Gutenberg natifs dans l'article unique */
.article-body-text ul {
    margin: 0 0 35px 0 !important;
    padding-left: 20px !important;
    list-style-type: disc !important;
}

.article-body-text ul li {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #333333 !important;
    margin-bottom: 12px !important;
    padding-left: 5px !important;
}

.article-body-text blockquote {
    background-color: rgba(74, 58, 255, 0.05) !important;
    border-left: 4px solid var(--primary, #4A3AFF) !important;
    padding: 20px 25px !important;
    border-radius: 0 12px 12px 0 !important;
    margin: 35px 0 !important;
}

.article-body-text blockquote p {
    font-style: normal !important;
    font-weight: 700 !important;
    color: var(--primary, #4A3AFF) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    .ordisys-news-header {
        padding: 130px 0 100px;
    }
    .news-header-title {
        font-size: 2.5rem !important;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .ordisys-news-catalog-wrapper {
        padding: 60px 0 80px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .filter-tab {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* Barre de retour au site principal */
.news-back-bar {
    background-color: #070919;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.news-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.25s ease, gap 0.25s ease;
}

.news-back-btn:hover {
    color: #ffffff !important;
    gap: 12px;
}

/* ========================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ======================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container,
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding: 0 20px;
    }

    h1, h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    h4, h5 {
        font-size: 1.1rem !important;
    }

    /* Center align text content on mobile */
    .hero-content,
    .hero-content-placeholder,
    .standalone-hero-title,
    .page-header-widget,
    .stats-banner {
        text-align: center !important;
    }

    .hero-right ul,
    .standalone-hero-features ul {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Images responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Prepare grid */
    .prepare-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .prepare-top {
        flex-direction: column !important;
        text-align: center !important;
    }

    .prepare-top .image {
        flex: 1 !important;
        width: 100%;
    }

    .prepare-top .text {
        text-align: center !important;
    }

    .prepare-stats {
        justify-content: space-around !important;
        flex-wrap: wrap !important;
    }

    /* Plan grid */
    .plan-grid {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonials-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .testi-right {
        justify-content: center !important;
    }

    .testi-cards {
        grid-template-columns: 1fr !important;
    }

    .testimonials-card {
        text-align: center !important;
    }

    .testimonials-card .testi-author {
        text-align: center !important;
    }

    /* Footer adjustments */
    .footer-top {
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 30px !important;
    }

    .footer-top-left,
    .footer-top-right {
        text-align: center !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .footer-col-left,
    .footer-col-middle,
    .footer-col-right {
        text-align: center !important;
        align-items: center !important;
    }

    .footer-email {
        font-size: 32px !important;
    }

    .footer-phone {
        font-size: 24px !important;
    }

    .footer-links-list {
        text-align: center !important;
    }

    .footer-legal-links {
        justify-content: center !important;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .container,
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    .btn-primary {
        padding: 12px 24px !important;
        font-size: 12px !important;
    }

    /* Prepare grid */
    .prepare-grid {
        grid-template-columns: 1fr !important;
    }

    .prepare-item img {
        width: 100px !important;
        height: 100px !important;
    }

    .standalone-hero-features {
        padding-left: 0 !important;
        padding-top: 30px !important;
    }

    .stats-banner {
        flex-direction: column !important;
    }

    .stat-item {
        width: 100% !important;
    }

    .prepare-top .text h2 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .footer-email {
        font-size: 24px !important;
        white-space: normal !important;
    }

    .footer-phone {
        font-size: 20px !important;
    }

    .footer-title {
        font-size: 18px !important;
    }

    .footer-text {
        font-size: 13px !important;
    }

    .ordisys-news-header {
        padding: 40px 0 !important;
    }

    .news-header-title {
        font-size: 1.5rem !important;
    }

    .news-header-subtitle {
        font-size: 13px !important;
    }
}


