
/* ===== RÉORGANISATION DE LA GRILLE DES SERVICES ===== */
    .grid-services-square {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 25px;
    }
    
    /* Catégorisation visuelle des services */
    .service-square[data-category="dev"] {
      border-left: 4px solid #00ffff;
    }
    
    .service-square[data-category="ia"] {
      border-left: 4px solid #ffaa00;
    }
    
    .service-square[data-category="print"] {
      border-left: 4px solid #aa88ff;
    }
    
    .service-square[data-category="formation"] {
      border-left: 4px solid #88ffaa;
    }
    
    /* Ajout d'icônes de catégorie */
    .service-category-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 0.55rem;
      padding: 3px 8px;
      border-radius: 20px;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      z-index: 5;
    }
    /* ===== SERVICES PREMIUM ===== */
    /* Meilleure organisation du contenu */
    .service-square {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .service-square p {
      flex-grow: 1;
      margin-bottom: 15px;
    }
    
    .service-link-square {
      margin-top: auto;
    }

.services-premiu .container {
    position: relative;
    z-index: 10;
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}


/* ===== EN-TÊTE ROYAL ===== */
.section-crown {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 10;
}

.crest-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.crest-line {
    width: 80px;
    height: 1px;
    background: #00ffff;
}

.crest-icon {
    font-size: 2.2rem;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(255, 87, 34, 0.6);
    animation: subtle-glow 3s infinite ease-in-out;
}

.section-caps {
    text-align: center;
}

.section-caps .subhead {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 500;
    word-spacing: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.title-luxury {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.title-outline {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 87, 34, 0.7);
    text-stroke: 1.5px rgba(255, 87, 34, 0.7);
    letter-spacing: 2px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.title-embossed {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 
        0 2px 10px rgba(0,0,0,0.5),
        0 5px 20px rgba(255, 87, 34, 0.3),
        0 8px 30px rgba(0,0,0,0.4);
    letter-spacing: 4px;
    margin-top: -10px;
    line-height: 1.1;
}

.title-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.title-rule i {
    color: #00ffff;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(255,87,34,0.6));
}

.rule-line {
    width: 120px;
    height: 2px;
    background: #00ffff;
}

/* ===== DISPOSITION PREMIUM ===== */

.service-square {
    background: linear-gradient(135deg, rgba(0,56,168,0.96), rgba(0,32,92,0.96));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 87, 34, 0.25);
    padding: 24px 20px;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1);
    box-shadow: 0 20px 40px -15px rgba(0, 56, 168, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    animation: card-appear 0.7s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
    opacity: 0;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.service-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 87, 34, 0.2), transparent 70%);
    z-index: -1;
    transition: all 0.5s;
}

.service-square::after {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: linear-gradient(180deg, 
        transparent,
        #ff5722 20%,
        #ff5722 80%,
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s, left 0.4s;
    box-shadow: 0 0 20px #ff5722;
}

.service-square:hover::after {
    opacity: 0.9;
    left: 8px;
}

.service-square:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 30px 50px -15px rgba(0, 56, 168, 0.6),
        0 0 0 1px rgba(255, 87, 34, 0.5),
        0 0 30px rgba(255, 87, 34, 0.3);
    border-color: rgba(255, 87, 34, 0.5);
    background: linear-gradient(135deg, rgba(0,70,190,0.96), rgba(0,40,110,0.96));
}

.service-square .corner-fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, 
        transparent 50%, 
        rgba(255, 87, 34, 0.2) 50%
    );
    border-radius: 0 16px 0 0;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-square:hover .corner-fold {
    opacity: 1;
}

.service-icon-square {
    background: linear-gradient(145deg, 
        rgba(255,87,34,0.15) 0%, 
        rgba(255,87,34,0.25) 100%
    );
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ff8a65;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(255,87,34,0.4);
    transition: all 0.5s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.service-square:hover .service-icon-square {
    background: #ff5722;
    color: white;
    transform: scale(1.08) rotate(5deg);
    border-color: #ff5722;
    box-shadow: 0 15px 30px rgba(255,87,34,0.4);
}

.service-square h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.service-square h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff5722;
    transition: width 0.5s;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(255,87,34,0.5);
}

.service-square:hover h3::after {
    width: 50px;
}

.service-square p {
    color: rgba(225, 235, 245, 0.85);
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    max-width: 100%;
}

.service-link-square {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff8a65;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,87,34,0.3);
    width: 100%;
}

.service-link-square i {
    transition: transform 0.4s;
    font-size: 0.65rem;
}

.service-square:hover .service-link-square {
    color: #ff5722;
    gap: 12px;
    letter-spacing: 1.5px;
}

.service-square:hover .service-link-square i {
    transform: translateX(6px);
    color: #ff5722;
}

.service-square .service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff5722;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 5px 20px rgba(255,87,34,0.4);
    z-index: 2;
}

.service-square .service-number {
    position: absolute;
    bottom: 15px;
    right: 18px;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255,87,34,0.15);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.5s;
    line-height: 1;
    z-index: 0;
}

.service-square:hover .service-number {
    color: rgba(255,87,34,0.3);
    transform: scale(1.2);
}



/* ===== ANIMATIONS ===== */
@keyframes card-appear {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(-3deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes subtle-glow {
    0%, 100% { text-shadow: 0 0 15px rgba(255,87,34,0.6); }
    50% { text-shadow: 0 0 30px rgba(255,87,34,0.9); }
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(255, 87, 34, 0.4); }
    50% { border-color: rgba(255, 87, 34, 0.8); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1300px) {
    .premium-layout {
        grid-template-columns: 1fr;
    }
    
    .grid-services-square {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .videos-column {
        grid-row: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        max-width: 100%;
        margin-top: 20px;
    }
    
    .title-outline { font-size: 3.2rem; }
    .title-embossed { font-size: 3.6rem; }
}

@media (max-width: 1100px) {
    .grid-services-square { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .services-premium { padding: 100px 0; }
    .title-outline { font-size: 2.6rem; }
    .title-embossed { font-size: 3rem; }
    .crest-line { width: 50px; }
    .global-cta-title { font-size: 1.6rem; }
    
    .videos-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .grid-services-square { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .service-square {
        aspect-ratio: auto;
        min-height: 240px;
    }
    
    .global-cta-tagline { letter-spacing: 6px; }
    .global-cta-title { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .services-premium .container { padding: 0 25px; }
}

@media (max-width: 600px) {
    .services-premium .container { padding: 0 25px; }
    .title-outline { font-size: 2rem; }
    .title-embossed { font-size: 2.4rem; }
    .crest-line { width: 30px; }
    .global-cta-button { padding: 14px 28px; }
}

@media (max-width: 480px) {
    .services-premium .container { padding: 0 20px; }
}

/* ===== CARTE CYBERSÉCURITÉ SIMPLE ===== */
.cyber-card {
    background: linear-gradient(135deg, rgba(0,56,168,0.96), rgba(0,32,92,0.96));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 87, 34, 0.25);
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 20px 40px -10px rgba(0,56,168,0.4);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
}

.cyber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0,56,168,0.6);
    border-color: rgba(255, 87, 34, 0.5);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,87,34,0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.cyber-card:hover::before {
    opacity: 1;
}

.cyber-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,87,34,0.3);
    padding-bottom: 15px;
}

.cyber-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,87,34,0.15);
    border: 1px solid rgba(255,87,34,0.4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff5722;
    transition: all 0.4s ease;
}

.cyber-card:hover .cyber-icon {
    background: #ff5722;
    color: white;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255,87,34,0.3);
}

.cyber-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
}

.cyber-card-body {
    margin-bottom: 25px;
}

.cyber-description {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cyber-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cyber-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.cyber-features li:hover {
    transform: translateX(5px);
}

.cyber-features li i {
    color: #ff5722;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cyber-features li:hover i {
    transform: scale(1.2);
    color: #ff8a65;
}

.cyber-card-footer {
    margin-top: 10px;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #ff5722;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.4s ease;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,87,34,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.cyber-btn:hover {
    background: #ff5722;
    color: white;
    gap: 15px;
    transform: translateX(3px);
    box-shadow: 0 10px 20px rgba(255,87,34,0.3);
}

.cyber-btn:hover::before {
    width: 300%;
    height: 300%;
}

.cyber-btn i {
    transition: transform 0.4s ease;
}

.cyber-btn:hover i {
    transform: translateX(5px);
}

/* Version compacte pour intégration dans une grille */
.cyber-card.compact {
    padding: 20px;
}

.cyber-card.compact .cyber-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    border-radius: 14px;
}

.cyber-card.compact .cyber-title {
    font-size: 1.2rem;
}

.cyber-card.compact .cyber-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.cyber-card.compact .cyber-features li {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.cyber-card.compact .cyber-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Animation d'entrée */
@keyframes cyberCardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cyber-card {
    animation: cyberCardAppear 0.6s ease-out forwards;
}