/*
Theme Name: WPXperience
Theme URI: 
Author: WPXperience Team
Author URI: 
Description: Thème WordPress personnalisé pour WPXperience, experts en développement WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpxperience
*/

:root {
    --background: #040b14;
    --surface: #0d1829;
    --primary: #06f;
    --secondary: #9333ea;
    --accent: #22d3ee;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --transition: 0.4s ease-in-out;
}

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

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(146, 51, 234, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.15), transparent 50%);
    z-index: 0;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.highlight {
    color: var(--accent);
}

.reveal-text {
    position: relative;
    overflow: hidden;
    display: block;
}

.reveal-text span {
    display: block;
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-visible .reveal-text span {
    transform: translateY(0);
}

/* Glowing effects */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.3;
    z-index: -1;
    transform: translateZ(-10px);
}

/* Header and Navigation */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.3s;
}

.header.scrolled {
    background-color: rgba(4, 11, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary);
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--text);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-left: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(4, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    z-index: 100;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-active .nav-links .mobile-cta {
    margin-top: 1rem;
}

.mobile-cta {
    display: none;
}

.cta-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-left: 2rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    flex: 1;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    /* max-width: 600px; */
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-cta-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.hero-cta-primary:hover::before {
    opacity: 1;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-cta-secondary svg {
    margin-left: 8px;
    transition: transform 0.3s;
}

.hero-cta-secondary:hover {
    color: var(--accent);
}

.hero-cta-secondary:hover svg {
    transform: translateX(5px);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Floating elements */
.floating-box {
    position: absolute;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.box-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.box-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.box-3 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.box-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.8;
    }
}

/* Services Section */
.services {
    padding: 150px 0;
    position: relative;
}

.service-animation {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

.animation-1 {
    top: 20%;
    left: 10%;
}

.animation-2 {
    bottom: 10%;
    right: 15%;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Styles pour les messages de réponse du formulaire */
.form-response {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.success-message {
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
}

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff5555;
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

/* Portfolio Section */
.portfolio {
    padding: 150px 0;
    position: relative;
    background-color: rgba(13, 24, 41, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.9);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Section */
.process {
    padding: 150px 0;
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0.3;
}

.process-step {
    position: relative;
    margin-bottom: 5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(odd) {
    padding-right: calc(50% + 2rem);
}

.process-step:nth-child(even) {
    padding-left: calc(50% + 2rem);
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    border: 2px solid var(--accent);
    z-index: 2;
}

.process-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 150px 0;
    position: relative;
    background-color: rgba(13, 24, 41, 0.5);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.05), rgba(147, 51, 234, 0.05));
    z-index: -1;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    color: var(--accent);
    opacity: 0.2;
}

.testimonial-quote::before {
    top: -1.5rem;
    left: -1rem;
}

.testimonial-quote::after {
    bottom: -2.5rem;
    right: -1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
}

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

.author-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-position {
    color: var(--accent);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 150px 0;
    position: relative;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.05;
    z-index: -1;
}

.cta-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-description {
    margin-bottom: 2.5rem;
}

/* Contact Section */
.contact {
    padding: 150px 0;
    position: relative;
    background-color: rgba(13, 24, 41, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
}

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

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.form-submit:hover::before {
    opacity: 1;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    position: relative;
}

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

.footer-logo {
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
    text-decoration: none;
}

.footer-description {
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

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

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

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Effects */
.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.5s ease;
}

.tilt-effect:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

.tilt-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(147, 51, 234, 0.2));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    border-radius: 20px;
}

.tilt-effect:hover::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-inner .cta-button {
        display: none;
    }

    .mobile-cta {
        display: block;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-image-container {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
    }

    .services,
    .portfolio,
    .process,
    .testimonials,
    .cta,
    .contact {
        padding: 100px 0;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding: 0 0 0 80px;
    }

    .process-timeline::before {
        left: 40px;
    }

    .process-number {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto 50px;
        width: 100%;
    }

    .hero-cta {
        justify-content: center;
        align-items: center;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 3rem;
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 100%;
    }

    .services,
    .portfolio,
    .process,
    .testimonials,
    .cta,
    .contact {
        padding: 70px 0;
    }

    .services-grid,
    .portfolio-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .cta-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .services,
    .portfolio,
    .process,
    .testimonials,
    .cta,
    .contact {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .process-content {
        padding: 1.5rem;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding: 0 0 0 70px;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-number {
        left: 30px;
    }
}

/* Styles pour la page blog */
.blog-page-wrapper {
    background-color: #f9fafc;
}

/* Hero du blog */
.blog-hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #3a3af1 100%);
    padding: 150px 0 80px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.blog-hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.05)" fill-opacity="1" d="M0,224L48,208C96,192,192,160,288,160C384,160,480,192,576,202.7C672,213,768,203,864,170.7C960,139,1056,85,1152,74.7C1248,64,1344,96,1392,112L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.blog-hero-content {
    color: white;
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero .hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.blog-hero .highlight {
    color: #FFD700;
    position: relative;
}

.blog-hero .hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Section de filtrage par catégorie */
.blog-container {
    padding-bottom: 80px;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: center;
    background-color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-categories .category-label {
    font-weight: 600;
    margin-right: 15px;
    color: #333;
}

.blog-categories .category-link {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    color: #666;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-categories .category-link:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.blog-categories .category-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Article en vedette */
.featured-post {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    overflow: hidden;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.featured-thumbnail {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

.featured-post:hover .featured-thumbnail img {
    transform: scale(1.05);
}

.featured-content {
    padding: 25px 30px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: #FFD700;
    color: #333;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-post .entry-title {
    font-size: 1.8rem;
    margin: 20px 0 15px;
}

.featured-post .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post .entry-title a:hover {
    color: var(--primary-color);
}

.featured-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.featured-post .entry-content {
    margin-bottom: 20px;
    color: #666;
}

/* Grille des articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card .post-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

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

.blog-card .entry-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-card .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .entry-title a:hover {
    color: var(--primary-color);
}

.blog-card .entry-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-card .entry-content {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.blog-card .read-more {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-card .read-more i {
    transition: transform 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--secondary-color);
}

.blog-card .read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination-container .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination-container .page-numbers li {
    display: inline-block;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    margin: 0 2px;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    border: 1px solid #eee;
    background-color: white;
}

.pagination-container .page-numbers a:hover {
    background-color: var(--primary-color);
    color: white;
}

.pagination-container .page-numbers .current {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-results-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.no-results p {
    color: #777;
    max-width: 500px;
    margin: 0 auto;
}

/* Sidebar */
.sidebar {
    position: relative;
    top: 0;
}

.sidebar-blog {
    position: relative;
    top: 0;
    margin-top: 0;
    padding-top: 0;
}

.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.widget-title:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Widget de recherche */
.search-input-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

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

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #777;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: var(--primary-color);
}

/* Widget des articles récents */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
}

.post-mini-thumb {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-mini-content h4 {
    font-size: 0.95rem;
    margin: 0 0 5px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-date {
    font-size: 0.8rem;
    color: #777;
}

/* Widget des catégories */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: var(--primary-color);
}

.categories-list .count {
    font-size: 0.8rem;
    color: #999;
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.categories-list a:hover .count {
    background-color: var(--primary-color);
    color: white;
}

/* Widget des tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Call to Action en bas de page */
.blog-page-wrapper .cta {
    background-color: #f1f7ff;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2.8rem;
    }

    .featured-thumbnail {
        height: 300px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-categories {
        padding: 10px 15px;
    }

    .blog-categories .category-link {
        padding: 4px 10px;
        font-size: 0.85rem;
    }

    .featured-thumbnail {
        height: 250px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-post .entry-title {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .blog-hero .hero-description {
        font-size: 1rem;
    }
}/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    flex: 1;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    /* max-width: 600px; */
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-cta-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.hero-cta-primary:hover::before {
    opacity: 1;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-cta-secondary svg {
    margin-left: 8px;
    transition: transform 0.3s;
}

.hero-cta-secondary:hover {
    color: var(--accent);
}

.hero-cta-secondary:hover svg {
    transform: translateX(5px);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Floating elements */
.floating-box {
    position: absolute;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.box-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.box-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.box-3 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.box-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.8;
    }
}

/* Services Section */
.services {
    padding: 150px 0;
    position: relative;
}

.service-animation {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

.animation-1 {
    top: 20%;
    left: 10%;
}

.animation-2 {
    bottom: 10%;
    right: 15%;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: #0D1829 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 20px;
    padding: 2.5rem;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Styles supplémentaires pour harmoniser la page blog avec la page d'accueil */

/* Fond et couleurs générales pour la page blog */
.blog-page-wrapper {
    background-color: var(--background);
    color: var(--text);
    position: relative;
}

/* Ajout des effets de fond comme sur la page d'accueil */
.blog-page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(146, 51, 234, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.15), transparent 50%);
    z-index: 0;
}

/* Ajout d'une grille en fond comme sur la page d'accueil */
.blog-page-wrapper::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 0;
}

/* Modification du hero du blog */
.blog-hero {
    background-color: var(--background);
    background-image: none;
    padding: 150px 0 80px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    display: none;
}

.blog-hero-content {
    color: var(--text);
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero .hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}



.blog-hero .highlight {
    color: var(--accent);
}

.blog-hero .hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* Modification de la barre de catégories */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: center;
    background-color: var(--surface);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.blog-categories .category-label {
    font-weight: 600;
    margin-right: 15px;
    color: var(--text);
}

.blog-categories .category-link {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-categories .category-link:hover {
    background-color: rgba(0, 102, 255, 0.2);
    color: var(--accent);
}

.blog-categories .category-link.active {
    background-color: var(--primary);
    color: white;
}

/* Article en vedette */
.featured-post {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    overflow: hidden;
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.featured-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.15;
    z-index: -1;
    transform: translateZ(-10px);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-post .entry-title {
    font-size: 1.8rem;
    margin: 20px 0 15px;
}

.featured-post .entry-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post .entry-title a:hover {
    color: var(--accent);
}

.featured-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.featured-post .entry-content {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hero-cta-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Grille d'articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.blog-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.blog-card .post-thumbnail {
    overflow: hidden;
    height: 200px;
}

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

.blog-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

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

.blog-card .entry-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.entry-meta span {
    margin-right: 10px;
}

.blog-card .entry-title a, a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .entry-title a:hover {
    color: var(--accent);
}

.blog-card .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-card .entry-content {
    margin-bottom: 15px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.blog-card .read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.blog-card .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--accent);
}

.blog-card .read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination-container {
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pagination-container .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    background-color: var(--surface);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pagination-container .page-numbers li {
    display: inline-block;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-container .page-numbers a:hover {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--accent);
}

.pagination-container .page-numbers .current {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: relative;
    z-index: 2;
}

.sidebar-widget {
    background-color: var(--surface);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.widget-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    padding-bottom: 10px;
    border-bottom: none;
}

/* Suppression du trait bleu sous les titres des widgets */
.widget-title:after,
.widget-title::after {
    display: none !important;
}

/* Formulaire de recherche */
.search-form {
    width: 100%;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.95rem;
    height: auto;
    line-height: normal;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 30px;
    border: none;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

.search-submit .fas {
    font-size: 16px;
}

.search-submit:hover {
    color: var(--accent);
}

/* Suppression de tout texte "Recherche" indésirable */
.reche,
.recherche,
body:not(.search) .page-title:contains("Recherche"),
.blog-page-wrapper .reche,
.blog-page-wrapper .recherche {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Message d'absence de résultats */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--surface);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.no-results h2 {
    margin-bottom: 15px;
    color: var(--text);
}

.no-results p {
    color: var(--text-secondary);
}

/* Articles récents dans la sidebar */
.recent-posts-list {
    list-style: none;
    padding: 0;
}

.recent-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.recent-posts-list a:hover {
    transform: translateX(5px);
}

.post-mini-thumb {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-mini-content h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 5px;
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Media queries pour responsive */
@media (max-width: 991px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .featured-thumbnail {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-categories {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-categories .category-link {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero .hero-description {
        font-size: 1rem;
    }
}

/* Correctifs spécifiques pour le problème de "Recherche" */
body .rech,
body .reche,
body .recherche,
body [class*="rech"],
body [id*="rech"],
.rech,
.recherche,
.reche,
.tags-widget~.rech,
.tags-widget~.reche,
.tags-widget~.recherche,
body>.rech,
body>.reche,
body>.recherche,
.blog-page-wrapper .rech,
.blog-page-wrapper .reche,
.blog-page-wrapper .recherche,
.rech,
div[class*="rech"],
#rech,
.tags-cloud+.rech,
.sidebar .rech {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Solution pour cibler le bouton de recherche entouré en rouge */
.tags-widget+*,
.tags-widget~div:not(.sidebar-widget):not(.tags-cloud),
.tags-widget~div[id*="rech"],
.sidebar>div:last-child:not(.sidebar-widget),
.sidebar>div:not(.sidebar-widget) {
    display: none !important;
}

/* Amélioration de l'interface de recherche */
.search-submit {
    background: transparent !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 30px !important;
    width: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    padding: 0 !important;
}

.search-submit .fa,
.search-submit .fas {
    font-size: 16px !important;
    color: var(--text-secondary) !important;
}

.search-input {
    padding-right: 40px !important;
}

/* Masquage complet et absolu de tout élément contenant "Rech" */
body *:not(.search-widget):not(.search-input):not(.search-submit):not(.search-input-container):not(.search-form)[id*="rech"],
body *:not(.search-widget):not(.search-input):not(.search-submit):not(.search-input-container):not(.search-form)[class*="rech"],
body #rech,
body .rech,
body div[class*="rech" i],
body div[id*="rech" i],
body span[class*="rech" i],
body span[id*="rech" i],
body p[class*="rech" i],
body p[id*="rech" i],
.RedBull,
/* des fois qu'on confonde */
.sidebar-widget+.rech,
.sidebar-widget+.reche,
.sidebar-widget+.recherche,
.sidebar-widget~.rech,
.sidebar-widget~.reche,
.sidebar-widget~.recherche,
.sidebar-widget~div:not(.sidebar-widget),
.tags-cloud+*,
.tags-widget+*,
.tags-widget~*:not(.tags-cloud):not(.sidebar-widget) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

/* Masquer les commentaires et le partage social sur les articles */
.comment-respond,
.comments-area,
#comments,
#respond,
.comment-form,
.social-sharing,
#comment-section,
#commentform,
.wp-block-comments,
#reply-title,
.share-article,
.share-buttons,
.share-button,
.share-title,
[class*="share-"],
[id*="share-"],
[class*="comment"],
[id*="comment"],
.commentlist,
.commentslist,
.commentaires,
div[class*="social-sharing"],
div[id*="social-sharing"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Styles pour les pages de catégorie */
.archive .page-title {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    margin-bottom: 2rem;
}

.archive .service-card {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.archive article {
    margin-bottom: 40px !important;
}

/* Changement de couleur des titres d'articles dans les pages d'archive */
.archive .entry-title a,
.category .entry-title a,
.tag .entry-title a,
.author .entry-title a,
.date .entry-title a,
body.category article .entry-title a,
body.archive article .entry-title a {
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.archive .entry-title a:hover,
.category .entry-title a:hover,
body.category article .entry-title a:hover,
body.archive article .entry-title a:hover {
    transform: translateX(5px);
}

/* Amélioration de l'espacement des articles */
.archive .service-card,
.category .service-card,
.archive article,
.category article {
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.archive .entry-content,
.category .entry-content,
.archive article .entry-content,
.category article .entry-content {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Styles pour les pages de catégorie - Correctifs supplémentaires */
body.archive article h2.entry-title a,
body.category article h2.entry-title a,
.service-card .entry-title a,
article.service-card h2.entry-title a,
.archive article h2 a,
.category article h2 a,
.entry-title a,
h2.entry-title a,
.entry-title>a {
    background: linear-gradient(to right, #0066ff, #22d3ee) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    font-size: 1.8rem !important;
    text-decoration: none !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

/* Amélioration de l'espacement - Force l'application */
.service-card,
article.service-card,
.archive .service-card,
.category .service-card,
body.archive article,
body.category article {
    margin-bottom: 40px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: var(--surface) !important;
}

/* Espacement supplémentaire entre les articles */
.archive main#primary article,
.category main#primary article,
main#primary article.service-card {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    padding-bottom: 30px !important;
}

/* S'assurer que le dernier article a de la marge en bas */
.archive main#primary article:last-child,
.category main#primary article:last-child {
    margin-bottom: 60px !important;
}

/* Styles pour les liens du menu actifs */
.blog .nav-link[href*="/blog"],
.archive .nav-link[href*="/blog"],
.single-post .nav-link[href*="/blog"] {
    color: var(--text);
    font-weight: 600;
}

.blog .nav-link[href*="/blog"]::after,
.archive .nav-link[href*="/blog"]::after,
.single-post .nav-link[href*="/blog"]::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Modification des fonds d'articles pour utiliser une couleur unie */
.service-card,
article.service-card,
.single-post.service-card,
.blog-card,
.featured-post,
article,
.glow-effect {
    background-color: #0D1829 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Supprimer l'effet de dégradé sur les articles */
.glow-effect::after,
.service-card::after,
.service-card::before,
.blog-card::after,
.blog-card::before,
.featured-post::after,
.featured-post::before,
article::after,
article::before,
.glow-effect::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

/* Assurer que les cartes de services sur la page d'accueil ont le bon fond */
.services-grid .service-card,
.services .service-card,
.front-page .service-card {
    background-color: #0D1829 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.services-grid .service-card:hover,
.services .service-card:hover,
.front-page .service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Supprimer tous les effets de dégradé et fond pour les articles */
.service-card::before,
.featured-post::after,
.blog-card::after,
.glow-effect::after,
.service-card::after {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    filter: none !important;
}

/* Force l'application du fond solide pour tous les articles */
.service-card,
.single-post,
.blog-card,
.featured-post,
article,
.glow-effect,
.post,
.page,
.sidebar-widget,
article .entry-content,
.post .entry-content,
.archive article,
.blog article,
.search article {
    background-color: #0D1829 !important;
}

/* Styles pour la nouvelle section de recherche et d'articles récents */
.blog-page-wrapper .col-md-12 .sidebar-widget {
    margin-bottom: 30px;
    background-color: #0D1829;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-page-wrapper .col-md-12 .recent-posts-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

.blog-page-wrapper .col-md-12 .recent-posts-list::-webkit-scrollbar {
    width: 6px;
}

.blog-page-wrapper .col-md-12 .recent-posts-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.blog-page-wrapper .col-md-12 .recent-posts-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.blog-page-wrapper .col-md-12 .sidebar-widget .widget-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Améliorer l'espacement */
.blog-page-wrapper .blog-categories {
    margin-bottom: 30px;
}

.blog-page-wrapper .col-md-12 .row {
    margin-bottom: 30px;
}