/* ========================================
   VARIABLES ET IMPORTS
   ======================================== */

/* Variables pour les couleurs et polices */
:root {
    --futuristic-blue: #00bcd4;
    --futuristic-dark: #1a1a1a;
    --futuristic-medium-dark: #2a2a2a;
    --futuristic-light-gray: #c0c0c0;
    --futuristic-text-color: #e0e0e0;
    --futuristic-accent: #ff4081;
    --futuristic-font: 'Roboto Mono', monospace;
    --futuristic-heading-font: 'Orbitron', sans-serif;
}

/* Import des polices Google Fonts */
@import url('<https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto+Mono:wght@300;400;700&display=swap>');

/* ========================================
   STYLES GÉOS
   ======================================== */

/* Corps de page */
body {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
    color: var(--futuristic-text-color) !important;
    font-family: var(--futuristic-font) !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
}

body.home .main-raised {
    margin-top: 0;
}

/* Conteneurs principaux */
.container, .container-fluid {
    background: linear-gradient(135deg, var(--futuristic-medium-dark), #424242);
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    padding: 40px;
    margin-top: 0;
    margin-bottom: 0;
    max-width: none;
    width: 100%;
}

/* Wrapper principal */
.wrapper, .main, .main-raised {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
    color: var(--futuristic-text-color) !important;
}

/* Liens généraux */
a {
    color: var(--futuristic-blue) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: var(--futuristic-accent) !important;
    text-decoration: underline !important;
}

/* Titres */
.wp-block-heading,
h1, h2, h3, h4, h5, h6 {
    color: #00bcd4;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Paragraphes */
p {
    color: #e0e0e0;
    line-height: 1.7;
    font-weight: 700;
    margin: 10px 0;
}

/* Éléments strong */
strong {
    color: #00bcd4;
    text-shadow: 0 0 3px rgba(0, 188, 212, 0.3);
}

/* ========================================
   NAVIGATION ET HEADER
   ======================================== */

/* Barre de navigation */
.navbar, .navbar-default, .navbar-fixed-top {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a) !important;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3) !important;
    border: none !important;
}

.navbar-default .navbar-nav > li > a {
    color: var(--futuristic-text-color) !important;
    font-family: var(--futuristic-font) !important;
    font-weight: 700 !important;
    transition: color 0.3s ease !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--futuristic-blue) !important;
    background-color: transparent !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--futuristic-blue) !important;
    background-color: transparent !important;
}

/* Logo avec effet glow permanent */
.navbar-default .navbar-brand {
    position: relative !important;
    left: 200px !important;
    color: var(--futuristic-blue) !important;
    font-family: var(--futuristic-heading-font) !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-shadow: 
        0 0 5px rgba(0, 188, 212, 0.8),
        0 0 10px rgba(0, 188, 212, 0.6),
        0 0 15px rgba(0, 188, 212, 0.4),
        0 0 20px rgba(0, 188, 212, 0.2) !important;
    animation: logoGlow 3s ease-in-out infinite !important;
}

/* Image du logo avec effet glow */
.navbar-default .navbar-brand img {
    max-height: 50px !important;
    width: auto !important;
    transition: all 0.3s ease !important;
    filter: 
        drop-shadow(0 0 5px rgba(0, 188, 212, 0.8))
        drop-shadow(0 0 10px rgba(0, 188, 212, 0.6))
        drop-shadow(0 0 15px rgba(0, 188, 212, 0.4)) !important;
}

/* Effet hover intensifié sur le logo */
.navbar-default .navbar-brand:hover {
    transform: scale(1.1) !important;
    text-shadow: 
        0 0 8px rgba(0, 188, 212, 1),
        0 0 16px rgba(0, 188, 212, 0.8),
        0 0 24px rgba(0, 188, 212, 0.6),
        0 0 32px rgba(0, 188, 212, 0.4),
        0 0 40px rgba(255, 64, 129, 0.3) !important;
}

.navbar-default .navbar-brand:hover img {
    filter: 
        brightness(1.3)
        drop-shadow(0 0 8px rgba(0, 188, 212, 1))
        drop-shadow(0 0 16px rgba(0, 188, 212, 0.8))
        drop-shadow(0 0 24px rgba(0, 188, 212, 0.6))
        drop-shadow(0 0 32px rgba(255, 64, 129, 0.4)) !important;
}

/* Animation pulsante pour le logo */
@keyframes logoGlow {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(0, 188, 212, 0.8),
            0 0 10px rgba(0, 188, 212, 0.6),
            0 0 15px rgba(0, 188, 212, 0.4);
    }
    50% {
        text-shadow: 
            0 0 8px rgba(0, 188, 212, 1),
            0 0 16px rgba(0, 188, 212, 0.8),
            0 0 24px rgba(0, 188, 212, 0.6),
            0 0 32px rgba(255, 64, 129, 0.3);
    }
}

/* Header et carousel */
.header, .carousel-hestia-generic, .carousel-slide {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
    color: var(--futuristic-text-color) !important;
}

.carousel-inner .carousel-item {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
}

/* ========================================
   SECTIONS PRINCIPALES
   ======================================== */

/* Sections Hestia */
.hestia-features, 
.hestia-blogs, 
.hestia-about, 
.hestia-contact,
.hestia-features-content,
.hestia-about.section-image,
.hestia-contact.contactus.section-image {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
    color: var(--futuristic-text-color) !important;
    padding: 60px 0 !important;
}

/* Conteneurs de section */
.section-image {
    background: linear-gradient(135deg, var(--futuristic-dark), #2a2a2a) !important;
}

/* Titres de section */
.hestia-title, 
.title,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--futuristic-heading-font) !important;
    color: var(--futuristic-blue) !important;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7) !important;
    font-weight: 700 !important;
}

/* Texte des sections */
.hestia-description,
.description,
p {
    color: var(--futuristic-text-color) !important;
    font-family: var(--futuristic-font) !important;
    font-weight: 700 !important;
}

/* ========================================
   CARTES ET BOÎTES DE CONTENU
   ======================================== */

/* Feature boxes */
.feature-box, 
.col-md-4.feature-box,
.hestia-info {
    background: linear-gradient(135deg, #424242, #3a3a3a) !important;
    border: 3px solid var(--futuristic-blue) !important;
    border-radius: 0 !important;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4) !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.feature-box:hover,
.hestia-info:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.7) !important;
}

.feature-box .info-title,
.hestia-info .info-title {
    color: var(--futuristic-blue) !important;
    font-family: var(--futuristic-heading-font) !important;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5) !important;
}

.feature-box .description,
.hestia-info .description {
    color: var(--futuristic-text-color) !important;
}

/* ========================================
   BLOC FLIP BOX
   ======================================== */

/* Conteneur principal - NE PAS TOUCHER À L'ANIMATION NATIVE */
.o-flip-box {
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Effet hover sur le conteneur */
.o-flip-box:hover {
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
    transform: translateY(-5px);
}

/* Face avant */
.o-flip-front {
    background: linear-gradient(135deg, #2a2a2a, #424242);
    border: 2px solid #00bcd4;
    color: #e0e0e0;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

/* Effet de brillance sur la face avant */
.o-flip-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 188, 212, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

/* Face arrière */
.o-flip-back {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #ff4081;
    color: #e0e0e0;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

/* Effet de brillance sur la face arrière */
.o-flip-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 64, 129, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

/* Contenu des faces */
.o-flip-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Titres sur la face arrière */
.o-flip-back .wp-block-heading,
.o-flip-back h1, 
.o-flip-back h2, 
.o-flip-back h3, 
.o-flip-back h4, 
.o-flip-back h5, 
.o-flip-back h6 {
    color: #ff4081;
    text-shadow: 0 0 5px rgba(255, 64, 129, 0.5);
}

/* Éléments strong sur la face arrière */
.o-flip-back strong {
    color: #ff4081;
    text-shadow: 0 0 3px rgba(255, 64, 129, 0.3);
}

/* Animation de glow subtile */
@keyframes flipGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
    }
}

/* Appliquer l'animation (optionnel) */
.o-flip-box {
    animation: flipGlow 4s ease-in-out infinite;
}

/* ========================================
   BLOC TABS
   ======================================== */

/* Conteneur principal des tabs */
.wp-block-themeisle-blocks-tabs {
    background: linear-gradient(135deg, #2a2a2a, #424242);
    border: 2px solid #00bcd4;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    padding: 20px;
}

/* En-tête des tabs */
.wp-block-themeisle-blocks-tabs__header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #00bcd4;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Onglets individuels */
.wp-block-themeisle-blocks-tabs__item {
    background: linear-gradient(135deg, #3a3a3a, #2a3a3a);
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #e0e0e0;
    font-weight: 700;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.9em;
}

/* Onglet actif */
.wp-block-themeisle-blocks-tabs__item.active,
.wp-block-themeisle-blocks-tabs__item[aria-selected="true"] {
    background: linear-gradient(135deg, #00bcd4, #00acc1);
    border-color: #00bcd4;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

/* Effet hover sur les onglets */
.wp-block-themeisle-blocks-tabs__item:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 188, 212, 0.1));
    border-color: #00bcd4;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
    transform: translateY(-1px);
    color: #00bcd4;
}

/* Contenu des tabs */
.wp-block-themeisle-blocks-tabs__content {
    background: linear-gradient(135deg, #212121, #2a2a2a);
    border: 1px solid #00bcd4;
    border-radius: 8px;
    padding: 25px;
    color: #e0e0e0;
    line-height: 1.7;
    animation: tabFadeIn 0.5s ease-out;
}

/* Animation d'apparition */
@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FORMULAIRES
   ======================================== */

/* Champs de formulaire */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background-color: #3a3a3a !important;
    color: var(--futuristic-text-color) !important;
    border: 1px solid var(--futuristic-blue) !important;
    border-radius: 0 !important;
    font-family: var(--futuristic-font) !important;
    font-weight: 700 !important;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--futuristic-accent) !important;
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.5) !important;
    background-color: #3a3a3a !important;
    color: var(--futuristic-text-color) !important;
}

/* Labels */
label {
    color: var(--futuristic-light-gray) !important;
    font-family: var(--futuristic-font) !important;
    font-weight: 700 !important;
}

/* Conteneur principal du formulaire WPForms */
.wpforms-container {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(66, 66, 66, 0.9));
    border: 2px solid #00bcd4;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 
        0 0 20px rgba(0, 188, 212, 0.3),
        inset 0 0 20px rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance sur le conteneur */
.wpforms-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 188, 212, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Conteneur des champs */
.wpforms-field-container {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

/* Labels des champs */
.wpforms-field-label {
    color: #00bcd4 !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5) !important;
    display: block !important;
}

/* Labels requis */
.wpforms-field-label .wpforms-required-label {
    color: #ff4081 !important;
    text-shadow: 0 0 3px rgba(255, 64, 129, 0.5) !important;
}

/* Champs de texte, email, textarea */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="password"],
.wpforms-field input[type="number"],
.wpforms-field textarea,
.wpforms-field select {
    background: linear-gradient(135deg, #2a2a2a, #212121) !important;
    border: 2px solid #424242 !important;
    border-radius: 8px !important;
    color: #e0e0e0 !important;
    font-family: 'Roboto Mono', monospace !important;
    font-weight: 500 !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 0 0 rgba(0, 188, 212, 0) !important;
}

/* Placeholder des champs */
.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
    color: #888 !important;
    font-style: italic !important;
    opacity: 0.8 !important;
}

/* Focus sur les champs */
.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="tel"]:focus,
.wpforms-field input[type="url"]:focus,
.wpforms-field input[type="password"]:focus,
.wpforms-field input[type="number"]:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    border-color: #00bcd4 !important;
    outline: none !important;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 188, 212, 0.6) !important;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a) !important;
    color: #ffffff !important;
}

/* Hover sur les champs */
.wpforms-field input[type="text"]:hover,
.wpforms-field input[type="email"]:hover,
.wpforms-field input[type="tel"]:hover,
.wpforms-field input[type="url"]:hover,
.wpforms-field input[type="password"]:hover,
.wpforms-field input[type="number"]:hover,
.wpforms-field textarea:hover,
.wpforms-field select:hover {
    border-color: #00acc1 !important;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(0, 188, 212, 0.3) !important;
}

/* Textarea spécifique */
.wpforms-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Champs de type checkbox et radio */
.wpforms-field input[type="checkbox"],
.wpforms-field input[type="radio"] {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #424242 !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #2a2a2a, #212121) !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
}

/* Radio buttons */
.wpforms-field input[type="radio"] {
    border-radius: 50% !important;
}

/* Checkbox et radio cochés */
.wpforms-field input[type="checkbox"]:checked,
.wpforms-field input[type="radio"]:checked {
    background: linear-gradient(135deg, #00bcd4, #00acc1) !important;
    border-color: #00bcd4 !important;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.6) !important;
}

/* Icône de validation pour checkbox */
.wpforms-field input[type="checkbox"]:checked::after {
    content: '\\2713';
    font-size: 16px;
    color: var(--futuristic-dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Labels pour checkbox/radio */
.wpforms-field-row label.wpforms-field-label-inline {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-bottom: 0 !important;
    font-size: 0.95em !important;
    color: var(--futuristic-text-color) !important;
    text-shadow: none !important;
}

/* Bouton de soumission */
.wpforms-submit {
    background: linear-gradient(135deg, var(--futuristic-blue), #00acc1) !important;
    border: 2px solid var(--futuristic-blue) !important;
    border-radius: 8px !important;
    color: var(--futuristic-dark) !important;
    font-family: var(--futuristic-heading-font) !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 15px 40px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wpforms-submit:hover {
    background: linear-gradient(135deg, #00acc1, #00e5ff) !important;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   PIED DE PAGE FUTURISTE
   ======================================== */

/* Styles généraux du footer principal */
.footer.footer-black.footer-big {
    background: linear-gradient(135deg, var(--futuristic-dark), #000000) !important;
    color: var(--futuristic-light-gray) !important;
    border-top: 3px solid var(--futuristic-blue) !important;
    padding: 60px 0;
    position: relative;
    z-index: 10;
    width: 100%;
    clear: both;
    overflow: hidden;
    margin-top: 80px;
    box-shadow: 0 0 50px rgba(0, 188, 212, 0.8), inset 0 0 30px rgba(0, 188, 212, 0.4) !important;
}

/* Effet de grille animée sur tout le footer */
.footer.footer-black.footer-big::before,
.footer.footer-black.footer-big::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg, var(--futuristic-blue), var(--futuristic-blue) 1px, transparent 1px, transparent 20px),
                repeating-linear-gradient(90deg, var(--futuristic-blue), var(--futuristic-blue) 1px, transparent 1px, transparent 20px);
    background-size: 20px 20px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.footer.footer-black.footer-big::before {
    animation: scanLine 12s linear infinite;
}

.footer.footer-black.footer-big::after {
    animation: gridPulse 8s linear infinite alternate;
}

/* Conteneur interne du footer */
.footer.footer-black.footer-big .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 1;
}

.footer.footer-black.footer-big .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
}

/* Surcharge des classes col-md-4 pour obtenir un 60%/40% */
.footer.footer-black.footer-big .row > .col-md-4:first-child {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer.footer-black.footer-big .row > .col-md-4:last-child {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Styles pour le conteneur du formulaire */
.footer.footer-black.footer-big .row > .col-md-4:first-child .wpforms-container {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95), rgba(66, 66, 66, 0.95));
    border: 2px solid #00bcd4;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3), inset 0 0 15px rgba(0, 188, 212, 0.1);
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.footer.footer-black.footer-big .wpforms-field-container {
    margin-bottom: 20px;
}

.footer.footer-black.footer-big .wpforms-field input[type="text"],
.footer.footer-black.footer-big .wpforms-field input[type="email"],
.footer.footer-black.footer-big .wpforms-field textarea {
    background: linear-gradient(135deg, #2a2a2a, #212121) !important;
    border: 2px solid var(--futuristic-blue) !important;
    color: var(--futuristic-text-color) !important;
    padding: 12px 15px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    font-family: var(--futuristic-font) !important;
    font-weight: 500 !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.footer.footer-black.footer-big .wpforms-field input[type="text"]:focus,
.footer.footer-black.footer-big .wpforms-field input[type="email"]:focus,
.footer.footer-black.footer-big .wpforms-field textarea:focus {
    border-color: var(--futuristic-accent) !important;
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.6) !important;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a) !important;
    color: #ffffff !important;
}

/* Placeholder des champs */
.footer.footer-black.footer-big .wpforms-field input::placeholder,
.footer.footer-black.footer-big .wpforms-field textarea::placeholder {
    color: var(--futuristic-light-gray) !important;
    opacity: 0.7 !important;
    font-family: var(--futuristic-font) !important;
}

/* Bouton de soumission du formulaire */
.footer.footer-black.footer-big .wpforms-submit {
    background: linear-gradient(135deg, var(--futuristic-blue), #00acc1) !important;
    border: 2px solid var(--futuristic-blue) !important;
    border-radius: 8px !important;
    color: var(--futuristic-dark) !important;
    font-family: var(--futuristic-heading-font) !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 12px 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4) !important;
}

.footer.footer-black.footer-big .wpforms-submit:hover {
    background: linear-gradient(135deg, #00acc1, #00e5ff) !important;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Styles pour la section Contact */
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block {
    background: linear-gradient(135deg, #212121, var(--futuristic-medium-dark)) !important;
    border: 3px solid var(--futuristic-blue) !important;
    border-radius: 15px !important;
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.8), inset 0 0 20px rgba(0, 188, 212, 0.3) !important;
    padding: 30px !important;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(0, 188, 212, 1), inset 0 0 25px rgba(0, 188, 212, 0.4) !important;
}

/* Animation de pulsation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 40px rgba(0, 188, 212, 0.8), inset 0 0 20px rgba(0, 188, 212, 0.3);
    }
    100% {
        box-shadow: 0 0 50px rgba(0, 188, 212, 1), inset 0 0 25px rgba(0, 188, 212, 0.4);
    }
}

/* Titre "Contactez-moi" */
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block h4,
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block p:first-of-type {
    color: var(--futuristic-blue) !important;
    font-family: var(--futuristic-heading-font) !important;
    text-shadow: 0 0 12px rgba(0, 188, 212, 0.9) !important;
    margin-bottom: 20px !important;
    font-size: 2em !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block h4::before,
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block p:first-of-type::before {
    content: '\\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--futuristic-accent);
    font-size: 1.2em;
    text-shadow: 0 0 8px rgba(255, 64, 129, 0.7) !important;
}

/* Texte "Email:" */
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block p {
    color: var(--futuristic-text-color) !important;
    font-family: var(--futuristic-font) !important;
    font-size: 1.2em !important;
    line-height: 1.6;
    margin-bottom: 10px !important;
}

/* Adresse email */
.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block a {
    color: var(--futuristic-accent) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.5em !important;
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.9) !important;
    transition: color 0.3s ease, text-shadow 0.3s ease !important;
    display: block;
}

.footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block a:hover {
    color: var(--futuristic-blue) !important;
    text-shadow: 0 0 15px rgba(0, 188, 212, 1) !important;
}

/* Ligne de séparation */
.footer.footer-black.footer-big hr {
    border-top: 1px solid rgba(0, 188, 212, 0.3) !important;
    margin: 40px auto !important;
    width: 90% !important;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Style pour le contenu du bas du footer */
.hestia-bottom-footer-content {
    background: linear-gradient(135deg, #000000, var(--futuristic-dark)) !important;
    color: var(--futuristic-light-gray) !important;
    padding: 20px 40px !important;
    text-align: center !important;
    font-family: var(--futuristic-font) !important;
    font-size: 0.9em !important;
    border-top: 1px solid rgba(0, 188, 212, 0.2) !important;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hestia-bottom-footer-content a {
    color: var(--futuristic-blue) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.hestia-bottom-footer-content a:hover {
    color: var(--futuristic-accent) !important;
}

/* Animations */
@keyframes scanLine {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

@keyframes gridPulse {
    0% { opacity: 0.05; }
    50% { opacity: 0.1; }
    100% { opacity: 0.05; }
}

@keyframes rotateGlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================
   RESPONSIVE DESIGN POUR LE FOOTER
   ======================================== */

@media (max-width: 767px) {
    .footer.footer-black.footer-big .container {
        padding: 0 20px !important;
    }

    .footer.footer-black.footer-big .row > .col-md-4:first-child,
    .footer.footer-black.footer-big .row > .col-md-4:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }

    .footer.footer-black.footer-big .row > .col-md-4:last-child {
        margin-bottom: 0;
    }

    .footer.footer-black.footer-big .row > .col-md-4:first-child .wpforms-container,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block {
        padding: 20px !important;
        width: 100%;
    }

    .footer.footer-black.footer-big .wpforms-field-label,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block h4,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block p:first-of-type {
        font-size: 1em !important;
    }

    .footer.footer-black.footer-big .wpforms-field input,
    .footer.footer-black.footer-big .wpforms-field textarea {
        padding: 10px 15px !important;
        font-size: 0.9em !important;
    }

    .footer.footer-black.footer-big .wpforms-submit {
        padding: 10px 25px !important;
        font-size: 1em !important;
    }

    .footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block p,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .widget.widget_block a {
        font-size: 1.1em !important;
    }

    .hestia-bottom-footer-content {
        padding: 15px 20px !important;
        font-size: 0.8em !important;
    }
}

@media (max-width: 480px) {
    .footer.footer-black.footer-big .container {
        padding: 0 15px !important;
    }

    .footer.footer-black.footer-big .wpforms-submit {
        padding: 8px 20px !important;
        font-size: 0.9em !important;
    }
}

/* Ligne de séparation (hr) */
.footer.footer-black.footer-big hr {
    border-top: 1px solid rgba(0, 188, 212, 0.3) !important; /* Ligne bleue subtile */
    margin: 40px auto !important; /* Espacement et centrage */
    width: 90% !important; /* Légèrement moins que pleine largeur pour l'esthétique */
}

/* Style pour le contenu du bas du footer (copyright, liens légaux) */
.hestia-bottom-footer-content {
    background: linear-gradient(135deg, #000000, var(--futuristic-dark)) !important; /* Fond légèrement plus sombre */
    color: var(--futuristic-light-gray) !important;
    padding: 20px 40px !important; /* Padding pour la pleine largeur */
    text-align: center !important;
    font-family: var(--futuristic-font) !important;
    font-size: 0.9em !important;
    border-top: 1px solid rgba(0, 188, 212, 0.2) !important; /* Bordure subtile */
}

.hestia-bottom-footer-content a {
    color: var(--futuristic-blue) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.hestia-bottom-footer-content a:hover {
    color: var(--futuristic-accent) !important;
}

/* Animation de rotation pour les glows */
@keyframes rotateGlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================
   RESPONSIVE DESIGN POUR LE FOOTER
   ======================================== */

@media (max-width: 767px) {
    .footer.footer-black.footer-big .container {
        padding: 0 20px !important; /* Ajuste le padding sur mobile */
    }

    /* Les colonnes repassent en pleine largeur sur mobile */
    .footer.footer-black.footer-big .row > .col-md-4:first-child,
    .footer.footer-black.footer-big .row > .col-md-4:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px; /* Ajoute de l'espace entre les sections sur mobile */
    }

    .footer.footer-black.footer-big .row > .col-md-4:last-child {
        margin-bottom: 0; /* Pas de marge en bas pour la dernière section */
    }

    /* Ajustements de padding pour les conteneurs internes */
    .footer.footer-black.footer-big .row > .col-md-4:first-child .wpforms-container,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .contact-info-box {
        padding: 20px !important;
    }

    /* Ajustements de taille de police pour mobile */
    .footer.footer-black.footer-big .wpforms-field-label,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .contact-info-box h4 {
        font-size: 1em !important;
    }

    .footer.footer-black.footer-big .wpforms-field input,
    .footer.footer-black.footer-big .wpforms-field textarea {
        padding: 12px 15px !important;
        font-size: 0.9em !important;
    }

    .footer.footer-black.footer-big .wpforms-submit {
        padding: 12px 25px !important;
        font-size: 1em !important;
    }

    .footer.footer-black.footer-big .row > .col-md-4:last-child .contact-info-box p,
    .footer.footer-black.footer-big .row > .col-md-4:last-child .contact-info-box a {
        font-size: 1.1em !important;
    }

    .hestia-bottom-footer-content {
        padding: 15px 20px !important;
        font-size: 0.8em !important;
    }
}

@media (max-width: 480px) {
    .footer.footer-black.footer-big .container {
        padding: 0 15px !important;
    }

    .footer.footer-black.footer-big .wpforms-submit {
        padding: 10px 20px !important;
        font-size: 0.9em !important;
    }
}

/* ========================================
   SECOND FOOTER INDÉPENDANT - LIENS LÉGAUX
   ======================================== */

/* Second footer indépendant pour les liens légaux */
.legal-footer-independent {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 15px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    width: 100%;
    clear: both;
}

.legal-footer-independent .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.legal-footer-independent .legal-footer-content {
    text-align: center;
}

.legal-footer-independent .legal-links-wrapper {
    display: inline-block;
}

.legal-footer-independent .legal-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.legal-footer-independent .legal-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.legal-footer-independent .legal-menu li a {
    color: #888 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 8px 12px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
    display: block;
    position: relative;
}

.legal-footer-independent .legal-menu li a:hover {
    color: #e91e63 !important;
    background-color: rgba(233, 30, 99, 0.1) !important;
    transform: translateY(-1px) !important;
}

.legal-footer-independent .legal-menu li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #e91e63;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.legal-footer-independent .legal-menu li a:hover:before {
    width: 80%;
}

/* Séparateurs entre les liens */
.legal-footer-independent .legal-menu li:not(:last-child):after {
    content: '•';
    color: #555;
    font-size: 8px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.legal-footer-independent .legal-menu li {
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-footer-independent {
        padding: 12px 0;
    }
    
    .legal-footer-independent .legal-menu {
        gap: 15px;
        flex-direction: column;
    }
    
    .legal-footer-independent .legal-menu li:not(:last-child):after {
        display: none;
    }
    
    .legal-footer-independent .legal-menu li a {
        font-size: 10px !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    .legal-footer-independent {
        padding: 10px 0;
    }
    
    .legal-footer-independent .legal-menu {
        gap: 10px;
    }
    
    .legal-footer-independent .legal-menu li a {
        font-size: 9px !important;
        padding: 5px 8px !important;
        letter-spacing: 0.5px !important;
    }
}

/* S'assurer que le footer légal apparaît toujours en bas */
body {
    position: relative;
}

.legal-footer-independent {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Style alternatif avec bordure supérieure plus marquée */
.legal-footer-independent.bordered {
    border-top: 2px solid #e91e63;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

/* Variante avec ombre */
.legal-footer-independent.shadow {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Animation d'apparition */
.legal-footer-independent {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   STYLES POUR LES PAGES DE SERVICES
   ======================================== */

/* PAGE ARCHIVE DES SERVICES (archive-service.php) */

/* Conteneur principal de l'archive */
.services-archive {
    background: var(--futuristic-dark);
    padding: 60px 0;
    color: var(--futuristic-text-color);
}

/* En-tête de la page archive */
.services-archive .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, var(--futuristic-medium-dark), var(--futuristic-dark));
    border: 2px solid var(--futuristic-blue);
    border-radius: 10px;
}

.services-archive .page-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--futuristic-blue);
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

.services-archive .page-description {
    color: var(--futuristic-light-gray);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.3);
}

/* Contrôles de disposition et filtres */
.services-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.layout-controls .layout-btn {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-text-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
}

.layout-controls .layout-btn:hover {
    background: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

.services-filters .filter-btn {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.services-filters .filter-btn.active,
.services-filters .filter-btn:hover {
    background: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

/* Grille des services */
.services-grid {
    display: flex;
    flex-direction: row;
    gap: 30px; /* Espacement fixe entre les cartes */
    margin-bottom: 40px;
    overflow-x: auto; /* Défilement horizontal */
    padding-bottom: 10px; /* Espace pour éviter que le contenu soit coupé */
    scroll-behavior: smooth; /* Défilement fluide */
    -webkit-overflow-scrolling: touch; /* Amélioration mobile */
}

.service-item {
    flex: 0 0 auto; /* Chaque carte garde sa taille fixe sans s'étirer */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.7);
}

.service-card {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    overflow: hidden;
    padding: 20px;
    text-align: center;
    width: 300px; /* Taille normalisée fixe */
    min-height: 400px; /* Hauteur minimale pour uniformité */
    margin: 0; /* Supprime toute marge indésirable */
}

.service-image img {
    width: 250px; /* Largeur fixe pour les images */
    height: 150px; /* Hauteur fixe pour les images */
    border: 2px solid var(--futuristic-blue);
    border-radius: 5px;
    transition: transform 0.3s ease;
    object-fit: cover; /* Ajuste l'image sans déformation */
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-no-image {
    background: var(--futuristic-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px; /* Hauteur correspondant aux images */
    color: var(--futuristic-light-gray);
    font-family: 'Roboto Mono', monospace;
}

.service-no-image i {
    font-size: 3em;
    color: var(--futuristic-blue);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.service-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--futuristic-blue);
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.service-excerpt {
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 15px;
}

.service-card .btn-improved {
    background: var(--futuristic-blue);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-card .btn-improved:hover {
    background: linear-gradient(135deg, var(--futuristic-blue), #00e5ff);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

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

.services-pagination .nav-links a,
.services-pagination .nav-links span {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-text-color);
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.services-pagination .nav-links a:hover,
.services-pagination .nav-links span.current {
    background: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

/* PAGE INDIVIDUELLE DE SERVICE (single-service.php) */

/* Conteneur principal de la page service */
.service-single {
    background: var(--futuristic-dark);
    padding: 40px;
    color: var(--futuristic-text-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 20px;
    font-family: 'Roboto Mono', monospace;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    color: var(--futuristic-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--futuristic-accent);
    text-decoration: underline;
}

/* Section principale */
.service-main-section {
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
}

.service-image-carousel img {
    border: 2px solid var(--futuristic-blue);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
    transition: transform 0.3s ease;
}

.service-image-carousel img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

.service-no-image {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: var(--futuristic-light-gray);
}

.service-no-image i {
    font-size: 4em;
    color: var(--futuristic-blue);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Détails du service */
.service-details {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.service-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--futuristic-blue);
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

.programme-title,
.price-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--futuristic-blue);
    font-size: 1.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.programme-name,
.price-value {
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.2em;
}

.service-meta .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--futuristic-light-gray);
}

.service-meta .meta-item i {
    color: var(--futuristic-blue);
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.service-actions .btn-improved {
    background: var(--futuristic-blue);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.service-actions .btn-improved:hover {
    background: linear-gradient(135deg, var(--futuristic-blue), #00e5ff);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

/* Section description et fiche technique */
.service-content-section {
    margin-top: 40px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--futuristic-blue);
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

.service-description .description-content,
.service-main-content {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    line-height: 1.7;
}

/* Fiche technique */
.service-technical-sheet-card {
    background: var(--futuristic-medium-dark);
    border: 3px solid var(--futuristic-blue);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    margin-top: 30px;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tech-card {
    background: var(--futuristic-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-5px);
}

.tech-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--futuristic-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.tech-card-header i {
    margin-right: 10px;
    color: var(--futuristic-blue);
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.tech-card-content {
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

.price-highlight {
    color: var(--futuristic-accent);
    text-shadow: 0 0 5px rgba(255, 64, 129, 0.5);
}

.tech-tags .tech-tag {
    background: var(--futuristic-dark);
    border: 1px solid var(--futuristic-blue);
    color: var(--futuristic-text-color);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tech-tags .tech-tag:hover {
    background: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
}

/* Navigation entre services */
.service-navigation {
    margin-top: 40px;
}

.nav-previous,
.nav-next {
    background: var(--futuristic-medium-dark);
    border: 2px solid var(--futuristic-blue);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
    transform: translateY(-5px);
}

.nav-link button,
.nav-direction {
    background: var(--futuristic-blue);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link button:hover,
.nav-direction:hover {
    background: linear-gradient(135deg, var(--futuristic-blue), #00e5ff);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

.nav-title {
    color: var(--futuristic-text-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    margin-top: 10px;
}

/* Bouton retour */
.service-back .btn-improved {
    background: var(--futuristic-blue);
    border: 2px solid var(--futuristic-blue);
    color: var(--futuristic-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-back .btn-improved:hover {
    background: linear-gradient(135deg, var(--futuristic-blue), #00e5ff);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .services-grid {
        gap: 15px; /* Réduit l'espace entre les cartes sur petit écran */
    }

    .service-main-section {
        flex-direction: column;
    }

    .service-image-carousel,
    .service-details {
        width: 100%;
    }

    .tech-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .services-archive {
        padding: 30px 0;
    }

    .services-controls {
        flex-direction: column;
        gap: 15px;
    }

    .service-single {
        padding: 20px;
    }

    .service-title {
        font-size: 1.8em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .service-card {
        width: 250px; /* Réduction sur mobile */
    }

    .service-image img {
        width: 200px; /* Réduction des images sur mobile */
        height: 120px; /* Réduction des images sur mobile */
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 10px; /* Réduit encore plus l'espace sur très petit écran */
    }

    .services-controls {
        padding: 10px;
    }

    .service-card {
        width: 200px; /* Plus petite taille sur très petit écran */
    }

    .service-image img {
        width: 180px; /* Réduction supplémentaire sur très petit écran */
        height: 100px; /* Réduction supplémentaire sur très petit écran */
    }

    .service-card {
        padding: 15px;
    }

    .service-details {
        padding: 15px;
    }
}

/* ========================================
   STYLES SPÉCIFIQUES AU CPT SERVICE
   ======================================== */

/* Hestia specific wrappers */
.hestia-blogs, .blog-post, .blog-post-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Breadcrumb */
.breadcrumb-nav {
    font-size: 1.2em;
    color: var(--futuristic-light-gray);
    margin-bottom: 30px;
    padding-left: 15px;
    font-weight: 700;
}

.breadcrumb-nav a,
.breadcrumb-nav button {
    color: var(--futuristic-blue);
    text-decoration: none;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover,
.breadcrumb-nav button:hover {
    color: var(--futuristic-accent);
    text-decoration: underline;
}

/* Contrôles (centrés) */
.services-controls {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-weight: 700;
}

.layout-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.layout-label {
    color: var(--futuristic-light-gray);
    font-size: 1.2em;
    font-weight: 700;
}

.layout-btn {
    background-color: #3a3a3a;
    color: var(--futuristic-text-color);
    border: 2px solid var(--futuristic-blue);
    padding: 8px 15px;
    border-radius: 0;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.layout-btn:hover,
.layout-btn.active {
    background-color: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.layout-btn i {
    font-size: 1.2em;
}

/* Filtres */
.services-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 700;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #3a3a3a;
    color: var(--futuristic-text-color);
    border: 2px solid var(--futuristic-blue);
    padding: 10px 20px;
    border-radius: 0;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Grille des services */
.services-grid {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services-row {
    display: grid !important;
    gap: 30px !important;
    width: 100%;
    max-width: 100% !important;
}

.services-grid.columns-2 .services-row {
    grid-template-columns: repeat(2, 1fr) !important;
}

.services-grid.columns-3 .services-row {
    grid-template-columns: repeat(3, 1fr) !important;
}

.services-grid.columns-4 .services-row {
    grid-template-columns: repeat(4, 1fr) !important;
}

.services-row::before,
.services-row::after {
    display: none !important;
}

.services-grid:not(.columns-2):not(.columns-3):not(.columns-4) .services-row {
    grid-template-columns: repeat(3, 1fr) !important;
}

.service-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-item.is-filtering {
    opacity: 0;
    transform: scale(0.95);
}

.service-card {
    background: linear-gradient(135deg, #424242, #3a3a3a);
    border: 3px solid var(--futuristic-blue);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

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

.service-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--futuristic-text-color);
    padding: 10px 15px;
    font-size: 1.2em;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    border: 2px solid var(--futuristic-blue);
    border-radius: 5px;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image.service-no-image {
    background-color: #3a3a3a;
    text-align: center;
    padding: 40px;
    color: var(--futuristic-light-gray);
    font-size: 1.2em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.service-image.service-no-image i {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: var(--futuristic-heading-font);
    font-size: 1.8em;
    color: var(--futuristic-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
    font-weight: 700;
}

.service-programme-display,
.service-price-display {
    margin-bottom: 15px;
}

.programme-label,
.price-label {
    color: var(--futuristic-accent);
    margin-right: 5px;
    font-weight: 700;
}

.programme-value,
.price-value {
    color: var(--futuristic-text-color);
    font-weight: 700;
}

.price-value {
    font-size: 1.5em;
}

.service-excerpt {
    color: var(--futuristic-light-gray);
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 700;
}

.service-categories {
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    background-color: rgba(255, 64, 129, 0.3);
    color: var(--futuristic-accent);
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
    border-radius: 0;
    font-size: 0.9em;
    border: 2px solid var(--futuristic-accent);
    font-weight: 700;
}

.btn-improved {
    background: linear-gradient(45deg, var(--futuristic-blue), #00acc1);
    border: none;
    color: var(--futuristic-dark);
    padding: 10px 20px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    border-radius: 5px;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    flex: 1;
    text-align: center;
}

.btn-improved:hover {
    background: linear-gradient(45deg, #00acc1, #00e5ff);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.8);
    transform: translateY(-3px);
}

.btn-improved i {
    margin-right: 8px;
}

.services-pagination {
    margin-top: 40px;
    text-align: left;
}

.services-pagination .nav-links {
    display: flex;
    gap: 10px;
}

.services-pagination .page-numbers {
    background-color: #3a3a3a;
    color: var(--futuristic-text-color);
    padding: 10px 15px;
    border: 2px solid var(--futuristic-blue);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.services-pagination .page-numbers:hover,
.services-pagination .page-numbers.current {
    background-color: var(--futuristic-blue);
    color: var(--futuristic-dark);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Style pour la section principale (single-service.php) */
.service-main-section {
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--futuristic-medium-dark), #424242);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    animation: fadeIn 0.5s ease-in;
    width: 100%;
    padding: 0;
}

.service-main-section .row {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.service-image-carousel, .service-details {
    padding: 20px;
}

.service-image-carousel {
    background: linear-gradient(135deg, #2a2a2a, #424242);
    border: 3px solid var(--futuristic-blue);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    min-height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.service-details {
    background: linear-gradient(135deg, #212121, var(--futuristic-medium-dark));
    border: 3px solid var(--futuristic-blue);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0;
    min-height: 100%;
}

.programme-title, .price-title {
    color: var(--futuristic-accent);
    font-size: 1.6em;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.programme-name, .price-value {
    color: var(--futuristic-text-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-meta {
    margin: 20px 0;
}

.meta-item {
    color: var(--futuristic-light-gray);
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 700;
}

.meta-item i {
    margin-right: 12px;
    color: var(--futuristic-blue);
    transition: color 0.3s ease;
}

.meta-item:hover i {
    color: var(--futuristic-accent);
}

.service-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.service-actions .btn-improved {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 10px;
}

/* Style pour la fiche technique centrée dans une card */
.service-technical-sheet-card {
    background: linear-gradient(135deg, var(--futuristic-medium-dark), #424242);
    border: 3px solid var(--futuristic-blue);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    padding: 30px;
    margin: 40px 0;
    width: 100%;
    max-width: none;
    animation: fadeInUp 0.6s ease-out;
}

.tech-cards {
    text-align: left;
}

.tech-card {
    margin-bottom: 20px;
}

.tech-card-header {
    color: var(--futuristic-accent);
    margin-bottom: 10px;
    font-size: 1.6em;
    text-transform: uppercase;
    font-weight: 700;
}

.tech-card-content {
    color: var(--futuristic-text-color);
    font-size: 1.4em;
    line-height: 1.7;
    font-weight: 700;
}

/* Style pour la description */
.service-description {
    background: linear-gradient(135deg, #212121, var(--futuristic-medium-dark));
    border: 2px solid var(--futuristic-blue);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.section-title {
    color: var(--futuristic-blue);
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
    font-weight: 700;
}

.description-content {
    color: var(--futuristic-text-color);
    font-size: 1.4em;
    line-height: 1.8;
    font-weight: 700;
}

/* Style pour la modal */
.modal-content {
    background: transparent; /* Supprime le fond noir */
    border: none;
    box-shadow: none;
    color: var(--futuristic-text-color);
    height: 100%;
    padding: 0; /* Supprime tout padding pour un affichage plein écran */
}

.modal-dialog {
    max-width: none;
    margin: 0;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    object-fit: contain; /* Ajuste l\\'image sans déformer */
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .services-grid.columns-2 .services-row,
    .services-grid.columns-3 .services-row,
    .services-grid.columns-4 .services-row,
    .services-grid:not(.columns-2):not(.columns-3):not(.columns-4) .services-row {
        grid-template-columns: 1fr !important;
    }

    .service-main-section .row {
        flex-direction: column;
    }

    .service-image-carousel, .service-details {
        padding: 15px;
    }

    .service-title {
        font-size: 2em;
    }

    .programme-title, .price-title {
        font-size: 1.4em;
    }

    .programme-name, .price-value {
        font-size: 1.3em;
    }

    .meta-item {
        font-size: 1.1em;
    }

    .service-technical-sheet-card, .service-description {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .description-content, .tech-card-content {
        font-size: 1.2em;
    }

    .container, .container-fluid {
        padding: 20px;
    }

    .feature-box, .hestia-info {
        padding: 20px;
    }

    .navbar-default .navbar-nav > li > a {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container, .container-fluid {
        padding: 15px;
    }

    .service-title {
        font-size: 1.6em;
    }

    .hestia-title, .title {
        font-size: 1.8em;
    }

    .feature-box, .hestia-info {
        padding: 15px;
        margin-bottom: 20px;
    }

    .btn, .btn-primary, .btn-improved {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}