/* Variables */
:root {
    --ats-red: #E3112F;
    --ats-blue-light: #3C71B7;
    --ats-blue-dark: #38298F;
    --ats-white: #F6F6F6;
    --ats-gray-blue: #A9ACCC;
    --ats-red-light: #DF8190;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Top Header */
.top-header {
    background: var(--ats-blue-dark);
    color: var(--ats-white);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 3px solid var(--ats-red);
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info span {
    margin-right: 25px;
}

.contact-info i {
    margin-right: 8px;
    color: var(--ats-red);
}

/* Réseaux sociaux défilants */
.social-scroll {
    overflow: hidden;
    max-width: 300px;
}

.social-icons {
    display: flex;
    animation: scrollSocial 20s linear infinite;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: var(--ats-white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--ats-red);
    transform: translateY(-3px);
}

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

/* Main Header */
.site-header {
    background: var(--ats-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo */
.site-branding img {
    max-height: 70px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1;
    margin: 0 30px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    margin: 0 15px;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--ats-red);
}

.main-navigation a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ats-red);
    transition: width 0.3s ease;
}

.main-navigation a:hover:before {
    width: 100%;
}

/* Sous-menus */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ats-white);
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 5px;
    overflow: hidden;
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
}

.main-navigation .sub-menu a:before {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--ats-red);
    color: var(--ats-white);
    padding-left: 25px;
}

/* Bouton Devis */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--ats-red);
    color: var(--ats-white);
    box-shadow: 0 4px 15px rgba(227, 17, 47, 0.3);
}

.btn-primary:hover {
    background: var(--ats-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 41, 143, 0.3);
}

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

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

/* Breadcrumb */
.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: var(--ats-blue-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--ats-red);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

/* Hero Slider */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slider .slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.slide-content {
    position: relative;
    z-index: 1;
    color: var(--ats-white);
    max-width: 600px;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.slide-content .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

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

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--ats-blue-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--ats-red);
}

.section-header p {
    color: #666;
    font-size: 18px;
}

.bg-light {
    background: #f8f9fa;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--ats-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(227, 17, 47, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--ats-red);
    color: var(--ats-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--ats-blue-dark);
    transform: rotate(360deg);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--ats-blue-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--ats-white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--ats-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover:before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--ats-white);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--ats-blue-dark);
}

.service-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--ats-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--ats-blue-dark);
    gap: 10px;
}

/* Certifications */
.certifications-slider {
    padding: 20px 0;
}

.certification-item {
    text-align: center;
    padding: 20px;
    background: var(--ats-white);
    border-radius: 10px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(227, 17, 47, 0.1);
}

.certification-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.certification-item:hover img {
    filter: grayscale(0);
}

/* Témoignages */
.testimonials-slider {
    padding: 20px 0;
}

.testimonial-item {
    padding: 30px;
    margin: 0 15px;
}

.testimonial-content {
    background: var(--ats-white);
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(227, 17, 47, 0.1);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--ats-red-light);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #ddd;
    margin: 0 2px;
}

.rating i.filled {
    color: #ffc107;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--ats-blue-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #999;
    font-size: 14px;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-item {
    text-align: center;
    padding: 20px;
    background: var(--ats-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(56, 41, 143, 0.1);
}

.client-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Blog Preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-item {
    background: var(--ats-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(227, 17, 47, 0.1);
}

.blog-thumbnail {
    overflow: hidden;
    height: 250px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: var(--ats-blue-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--ats-red);
}

.blog-meta {
    margin-bottom: 15px;
    color: #999;
    font-size: 14px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--ats-red);
}

/* Footer */
.site-footer {
    background: var(--ats-blue-dark);
    color: var(--ats-white);
    padding: 60px 0 0;
    position: relative;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ats-red), var(--ats-blue-light), var(--ats-red));
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget-area .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-area .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--ats-red);
}

.footer-widget-area ul {
    list-style: none;
}

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

.footer-widget-area ul li a {
    color: var(--ats-gray-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widget-area ul li a:hover {
    color: var(--ats-red);
    transform: translateX(5px);
}

/* Newsletter Widget */
.newsletter-widget {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--ats-white);
    font-size: 14px;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--ats-gray-blue);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.newsletter-form .btn-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--ats-red);
    color: var(--ats-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form .btn-submit:hover {
    background: var(--ats-blue-light);
    transform: translateY(-50%) scale(1.1);
}

.newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    padding: 8px;
    border-radius: 5px;
    display: none;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    display: block;
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    display: block;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: var(--ats-gray-blue);
    font-size: 14px;
}

.footer-links a {
    color: var(--ats-gray-blue);
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ats-red);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--ats-blue-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .social-scroll {
        max-width: 100%;
        margin-top: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
}

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

/* Slick Slider Customization */
.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    background: var(--ats-red);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--ats-blue-dark);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--ats-white);
}

.slick-dots li.slick-active button:before {
    color: var(--ats-red);
}

/* AOS Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Mini statistiques */
.mini-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-badge {
    text-align: center;
    padding: 20px 30px;
    background: var(--ats-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-badge .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--ats-red);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-badge .stat-label {
    font-size: 14px;
    color: #666;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.certification-item {
    text-align: center;
    padding: 30px;
    background: var(--ats-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(227, 17, 47, 0.1);
}

.certification-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.certification-item:hover img {
    filter: grayscale(0);
}

.cert-level {
    display: inline-block;
    padding: 5px 15px;
    background: var(--ats-red);
    color: var(--ats-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.cert-placeholder {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 600;
    color: var(--ats-blue-dark);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-item {
    text-align: center;
    padding: 20px;
    background: var(--ats-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(56, 41, 143, 0.1);
}

.client-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.client-placeholder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--ats-blue-dark);
}

/* Stats Highlight */
.stats-highlight {
    background: linear-gradient(135deg, var(--ats-blue-dark), var(--ats-blue-light));
    color: var(--ats-white);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card-large {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card-large:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.stat-card-large i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--ats-white);
}

.stat-card-large .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ats-white);
}

.stat-card-large .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ats-red) 0%, var(--ats-red-light) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--ats-white);
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

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

.btn-outline-light:hover {
    background: var(--ats-white);
    color: var(--ats-red);
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mini-stats {
        gap: 20px;
    }
    
    .stat-badge {
        width: calc(50% - 10px);
    }
    
    .stats-grid-large {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--ats-red), var(--ats-red-light));
    padding: 60px 0;
    color: var(--ats-white);
    text-align: center;
}

.promo-content {
    max-width: 600px;
    margin: 0 auto;
}

.promo-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Company Intro */
.company-intro {
    text-align: center;
}

.intro-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.intro-badge {
    display: inline-block;
    background: var(--ats-red);
    color: var(--ats-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-wrapper h2 {
    font-size: 42px;
    color: var(--ats-blue-dark);
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-feature i {
    color: var(--ats-red);
    font-size: 20px;
}

/* Services Détaillés */
.services-detailed-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.service-detailed-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-detailed-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 400px;
}

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

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.service-detailed-content {
    padding: 40px;
}

.service-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--ats-white);
}

.service-detailed-content h3 {
    font-size: 28px;
    color: var(--ats-blue-dark);
    margin-bottom: 20px;
}

.service-detailed-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--ats-red);
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Projets Récents */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--ats-white);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-overlay p {
    margin-bottom: 15px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    background: var(--ats-red);
    color: var(--ats-white);
    border-radius: 50px;
    text-decoration: none;
}

/* FAQ Preview */
.faq-preview-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-preview-item {
    background: var(--ats-white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    font-size: 16px;
    color: var(--ats-blue-dark);
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: var(--ats-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ats-white);
}

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

.faq-preview-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: var(--ats-blue-dark);
    color: var(--ats-white);
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-form-large {
    display: flex;
    gap: 10px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form-large button {
    padding: 15px 30px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
    .service-detailed-item {
        grid-template-columns: 1fr;
    }
    
    .order-1, .order-2 {
        order: 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .intro-wrapper h2 {
        font-size: 32px;
    }
    
    .intro-features {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form-large {
        flex-direction: column;
    }
    
    .service-detailed-content {
        padding: 20px 0;
    }
}
