/*==============================================================
  HINODEV — Feuille de styles
  Palette issue du logo : bleu #3B4FD8 / orange #E84B1A
==============================================================*/

:root {
    --blue:          #3B4FD8;
    --blue-light:    #6366F1;
    --orange:        #E84B1A;
    --orange-light:  #F97316;

    --dark-bg:       #0A0E27;
    --darker-bg:     #060913;
    --card-bg:       #111827;

    --text-primary:  #F9FAFB;
    --text-secondary:#9CA3AF;
    --text-muted:    #6B7280;

    --border-color:  rgba(59, 79, 216, 0.25);

    --grad-blue:   linear-gradient(135deg, #3B4FD8 0%, #6366F1 100%);
    --grad-orange: linear-gradient(135deg, #E84B1A 0%, #F97316 100%);
    /* dominante bleue : l'orange n'intervient que sur la fin du dégradé */
    --grad-mix:    linear-gradient(135deg, #3B4FD8 0%, #4A5CE2 35%, #6366F1 62%, #E84B1A 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/*==============================================================
  GARDE-FOU SVG — empêche toute icône de s'afficher en géant
==============================================================*/
svg { max-width: 100%; max-height: 100%; }

/* garde-fou images : empêche l'affichage en taille naturelle
   tant que la feuille de styles n'est pas appliquée */
img { max-width: 100%; height: auto; }

.service-icon svg,
.service-icon-large svg,
.advantage-icon svg,
.contact-icon svg,
.highlight-icon svg,
.footer-social svg { display: block; flex-shrink: 0; }

/*==============================================================
  NAVIGATION
==============================================================*/
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background-color: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(6, 9, 19, 0.98);
    box-shadow: 0 4px 20px rgba(59, 79, 216, 0.15);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0.3rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo a { text-decoration: none; display: block; }

.logo-img {
    height: 110px; max-height: 110px; width: auto; max-width: 300px; display: block;
    /* éclaircit le bleu marine du logo pour le fond sombre,
       tout en conservant l'orange de l'étoile */
    filter: brightness(1.6) saturate(1.15);
}

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
}

.nav-toggle span {
    width: 25px; height: 2px; background: var(--orange);
    transition: all 0.3s ease;
}

.nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }

.nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    position: relative; transition: color 0.3s ease;
}

.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--orange);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/*==============================================================
  HERO
==============================================================*/
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding-top: 145px;
}

.hero-background { position: absolute; inset: 0; z-index: 0; }

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.28;
    animation: float 8s ease-in-out infinite;
}

.orb-1 { width: 600px; height: 600px; background: var(--grad-blue);   top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: var(--grad-mix);    bottom: -100px; right: -100px; animation-delay: -2s; }
.orb-3 { width: 400px; height: 400px; background: var(--grad-blue);   top: 50%; right: 10%; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 1000px; padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.65rem;
    padding: 0.75rem 2.25rem;
    background: rgba(232, 75, 26, 0.08);
    border: 1px solid rgba(232, 75, 26, 0.35);
    border-radius: 50px;
    font-size: 1.15rem; color: var(--orange-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge-dot {
    width: 10px; height: 10px; background: var(--orange);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem; font-weight: 900; line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}

.title-line { animation: fadeInUp 1s ease-out both; }
.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) { animation-delay: 0.7s; }

.title-line.highlight {
    background: linear-gradient(135deg, #3B4FD8 0%, #6366F1 45%, #8B5CF6 65%, #E84B1A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem; color: var(--text-secondary);
    max-width: 700px; margin: 0 auto 3rem; line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.btn {
    padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600;
    text-decoration: none; border-radius: 12px;
    transition: all 0.3s ease; display: inline-block;
    cursor: pointer; border: none;
    position: relative; overflow: hidden;
}

.btn-primary {
    background: var(--grad-mix); color: white;
    box-shadow: 0 10px 30px rgba(59, 79, 216, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 75, 26, 0.4);
}

.btn-secondary {
    background: transparent; color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(232, 75, 26, 0.08);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem; font-weight: 900; line-height: 1;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    color: var(--text-muted); font-size: 0.85rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-line {
    width: 2px; height: 60px;
    background: linear-gradient(to bottom, var(--blue-light), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { opacity: 0; transform: translateY(-20px); }
    50%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

/*==============================================================
  EN-TÊTES DE SECTION
==============================================================*/
.section-header { text-align: center; margin-bottom: 5rem; }

.section-tag {
    display: inline-block; padding: 0.75rem 2.25rem;
    background: rgba(232, 75, 26, 0.08);
    border: 1px solid rgba(232, 75, 26, 0.35);
    border-radius: 50px;
    font-size: 1.15rem; color: var(--orange-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem; font-weight: 900; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem; color: var(--text-secondary);
    max-width: 700px; margin: 0 auto; line-height: 1.8;
}

/*==============================================================
  SERVICES — cartes entièrement cliquables
==============================================================*/
.services { padding: 8rem 0; position: relative; }

.services-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 2rem;
}

a.service-card {
    display: block; text-decoration: none; color: inherit; cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative; overflow: hidden;
}

a.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--grad-mix);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}

a.service-card:hover::before { transform: scaleX(1); }

a.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 20px 40px rgba(232, 75, 26, 0.18);
}

.service-icon {
    width: 70px; height: 70px;
    background: rgba(59, 79, 216, 0.12);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-icon svg {
    width: 35px; height: 35px;
    color: var(--blue-light);
    transition: all 0.3s ease;
}

a.service-card:hover .service-icon {
    background: var(--grad-blue);
    transform: scale(1.1) rotate(5deg);
}

a.service-card:hover .service-icon svg { color: #fff; }

.service-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem; font-weight: 700;
    margin-bottom: 1rem; color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem;
}

.service-features { list-style: none; margin-bottom: 1.5rem; }

.service-features li {
    color: var(--text-muted); font-size: 0.95rem;
    padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
}

.service-features li::before {
    content: '→'; position: absolute; left: 0;
    color: var(--orange); font-weight: bold;
}

.service-more {
    color: var(--orange-light); font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.25rem;
    transition: gap 0.3s ease;
}

a.service-card:hover .service-more { gap: 0.75rem; }

/*==============================================================
  EXPERTISE
==============================================================*/
.expertise {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.expertise-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.expertise-item {
    display: flex; gap: 2rem; margin-bottom: 3rem; align-items: flex-start;
}

.expertise-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem; font-weight: 900; line-height: 1; flex-shrink: 0;
    width: 5rem; text-align: left;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--text-primary);
}

.expertise-info p { color: var(--text-secondary); line-height: 1.8; }

.expertise-visual {
    position: relative; height: 600px;
    display: flex; align-items: center; justify-content: center;
}

.expertise-circle {
    width: 400px; height: 400px;
    border: 2px solid var(--border-color); border-radius: 50%;
    position: absolute;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.tech-badge {
    position: absolute; padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color); border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; color: var(--orange-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.tech-badge:nth-child(1) { top: 10%;    left: 20%;  animation-delay: 0s; }
.tech-badge:nth-child(2) { top: 20%;    right: 15%; animation-delay: -0.5s; }
.tech-badge:nth-child(3) { top: 50%;    left: 5%;   animation-delay: -1s; }
.tech-badge:nth-child(4) { top: 60%;    right: 10%; animation-delay: -1.5s; }
.tech-badge:nth-child(5) { bottom: 20%; left: 25%;  animation-delay: -2s; }
.tech-badge:nth-child(6) { bottom: 15%; right: 20%; animation-delay: -2.5s; }

/*==============================================================
  CONTACT
==============================================================*/
.contact { padding: 8rem 0; background: var(--dark-bg); }

.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }

.contact-details {
    display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem;
}

.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }

.contact-icon {
    width: 50px; height: 50px;
    background: rgba(232, 75, 26, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}

.contact-icon svg { width: 24px; height: 24px; color: var(--orange-light); }

.contact-label {
    display: block; font-size: 0.85rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem;
}

.contact-value {
    display: block; font-size: 1.1rem; color: var(--text-primary);
    text-decoration: none; transition: color 0.3s ease;
}

.contact-value:hover { color: var(--orange); }

.contact-form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 3rem;
}

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: rgba(59, 79, 216, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 10px; color: var(--text-primary);
    font-family: inherit; font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(232, 75, 26, 0.06);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* liste déroulante : forcer un rendu sombre lisible (popup natif inclus) */
.form-group select {
    color-scheme: dark;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e84b1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px 18px;
    padding-right: 2.75rem;
    cursor: pointer;
}

.form-group select option {
    background-color: #101736;
    color: #ffffff;
}

/* le focus ne doit pas effacer la flèche (shorthand background) */
.form-group select:focus {
    background-color: rgba(232, 75, 26, 0.06);
}

.btn-submit { grid-column: 1 / -1; width: 100%; margin-top: 1rem; }

.form-feedback {
    grid-column: 1 / -1;
    padding: 1rem; border-radius: 10px;
    background: rgba(232, 75, 26, 0.1);
    border: 1px solid rgba(232, 75, 26, 0.35);
    color: var(--orange-light); text-align: center;
    display: none;
}

.form-feedback.visible { display: block; }

/*==============================================================
  FOOTER
==============================================================*/
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}

.footer-brand { max-width: 350px; }

.footer-logo-img {
    height: 42px; max-height: 42px; width: auto; max-width: 115px; display: block; margin-bottom: 1rem;
    filter: brightness(1.6) saturate(1.15);
}

.footer-tagline {
    font-size: 0.9rem; color: var(--orange-light); margin-bottom: 1rem;
}

.footer-description { color: var(--text-muted); line-height: 1.6; }

.footer-links h4 {
    color: var(--text-primary); font-size: 1.1rem;
    margin-bottom: 1.5rem; font-weight: 600;
}

.footer-links ul {
    list-style: none; display: flex; flex-direction: column; gap: 0.75rem;
}

.footer-links a, .footer-links li {
    color: var(--text-muted); text-decoration: none;
    transition: color 0.3s ease; font-size: 0.95rem;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
    padding-top: 2rem; border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 0.9rem;
}

.footer-social { display: flex; gap: 1rem; }

.footer-social a {
    width: 40px; height: 40px;
    background: rgba(232, 75, 26, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-social a:hover {
    background: var(--orange); color: white; transform: translateY(-3px);
}

.footer-social svg { width: 20px; height: 20px; }

/*==============================================================
  PAGES DE DÉTAIL — hero
==============================================================*/
.page-hero {
    min-height: 55vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 120px 0 60px;
}

.page-hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 900px; margin: 0 auto; padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.breadcrumb {
    display: flex; gap: 0.5rem; align-items: center; justify-content: center;
    margin-bottom: 2rem; font-size: 0.9rem; color: var(--text-muted);
}

.breadcrumb a {
    color: var(--orange-light); text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover { color: var(--orange); }

/* ---- Icône de page : taille verrouillée ---- */
.service-icon-large {
    width: 90px; height: 90px;
    min-width: 90px; min-height: 90px;
    max-width: 90px; max-height: 90px;
    background: rgba(59, 79, 216, 0.12);
    border: 2px solid rgba(59, 79, 216, 0.4);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem;
    flex-shrink: 0;
    overflow: hidden;
}

.service-icon-large svg {
    width: 42px; height: 42px;
    min-width: 42px; min-height: 42px;
    max-width: 42px; max-height: 42px;
    color: var(--orange-light);
    flex-shrink: 0;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem; font-weight: 900; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8;
}

/*==============================================================
  PAGES DE DÉTAIL — contenu
==============================================================*/
.content-section { padding: 4rem 0 6rem; }

.content-grid { display: grid; grid-template-columns: 1fr 350px; gap: 4rem; }

.content-main { display: flex; flex-direction: column; gap: 3rem; }

.content-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 2.5rem;
}

.content-block h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem; color: var(--text-primary); margin-bottom: 1.5rem;
}

.content-block h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem; color: var(--text-primary);
    margin-bottom: 1rem;
}

.content-block h3 + p, .content-block h2 + p { margin-top: 0; }

.content-block p {
    color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem;
}

.content-block p:last-child { margin-bottom: 0; }

.content-block strong { color: var(--orange-light); font-weight: 600; }

.feature-list {
    list-style: none; display: flex; flex-direction: column; gap: 1rem;
    margin-top: 1rem;
}

.feature-list li {
    color: var(--text-secondary); padding-left: 2rem; position: relative;
    line-height: 1.7;
}

.feature-list li::before {
    content: '→'; position: absolute; left: 0;
    color: var(--orange); font-weight: bold; font-size: 1.1rem;
}

/* ---- Grille d'avantages ---- */
.advantages-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1.5rem;
}

.advantage-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(232, 75, 26, 0.15);
}

.advantage-icon {
    width: 56px; height: 56px;
    min-width: 56px; min-height: 56px;
    max-width: 56px; max-height: 56px;
    background: rgba(59, 79, 216, 0.12);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0; overflow: hidden;
    transition: all 0.3s ease;
}

.advantage-icon svg {
    width: 26px; height: 26px;
    min-width: 26px; min-height: 26px;
    max-width: 26px; max-height: 26px;
    color: var(--blue-light);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-icon { background: var(--grad-blue); }
.advantage-card:hover .advantage-icon svg { color: #fff; }

.advantage-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.15rem; color: var(--text-primary); margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6;
}

/* ---- Timeline de process ---- */
.process-timeline { display: flex; flex-direction: column; gap: 1.5rem; }

.timeline-item {
    display: flex; gap: 2rem; align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: var(--orange);
    transform: translateX(10px);
}

.timeline-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem; font-weight: 900; flex-shrink: 0; line-height: 1;
    width: 4.25rem; text-align: left;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem; color: var(--text-primary); margin-bottom: 0.5rem;
}

.timeline-content p { color: var(--text-secondary); line-height: 1.6; }

/* ---- Bloc mis en avant ---- */
.highlight-block {
    background: linear-gradient(135deg, rgba(59, 79, 216, 0.18), rgba(232, 75, 26, 0.04));
    border: 2px solid rgba(59, 79, 216, 0.4);
}

.highlight-content { display: flex; gap: 2rem; align-items: flex-start; }

.highlight-icon {
    width: 60px; height: 60px;
    min-width: 60px; min-height: 60px;
    max-width: 60px; max-height: 60px;
    background: var(--grad-mix);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}

.highlight-icon svg {
    width: 28px; height: 28px;
    min-width: 28px; min-height: 28px;
    max-width: 28px; max-height: 28px;
    color: white; flex-shrink: 0;
}

/* ---- Bandeau certification ---- */
.certification-banner {
    background: linear-gradient(135deg, rgba(59, 79, 216, 0.18), rgba(232, 75, 26, 0.04));
    border: 2px solid rgba(59, 79, 216, 0.4);
    border-radius: 16px; padding: 2rem;
    display: flex; gap: 2rem; align-items: center;
}

.cert-badge {
    width: 100px; height: 100px;
    min-width: 100px; flex-shrink: 0;
    background: var(--grad-mix);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.cert-icon {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem; font-weight: 900; color: white;
}

.cert-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem; color: var(--text-primary); margin-bottom: 0.5rem;
}

.cert-content p { color: var(--text-secondary); line-height: 1.7; }
.cert-content strong { color: var(--orange-light); }

/* ---- Cartes solutions ---- */
.solution-cards {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1.5rem;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 1.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--orange); transform: translateY(-5px);
}

.solution-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem; color: var(--orange-light); margin-bottom: 0.75rem;
}

.solution-card p {
    color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6;
}

/*==============================================================
  SIDEBAR
==============================================================*/
.content-sidebar {
    display: flex; flex-direction: column; gap: 2rem;
    align-self: start; position: sticky; top: 100px;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 2rem;
}

.sidebar-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem; color: var(--text-primary); margin-bottom: 1.5rem;
}

.sidebar-note { font-size: 0.85rem; color: var(--text-muted); margin: -1rem 0 1rem; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.tech-tag {
    padding: 0.45rem 0.9rem;
    background: rgba(59, 79, 216, 0.12);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.82rem; color: var(--blue-light); font-weight: 600;
    transition: all 0.25s ease;
}

.tech-tag:hover {
    background: rgba(232, 75, 26, 0.12);
    border-color: rgba(232, 75, 26, 0.4);
    color: var(--orange-light);
}

.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.sidebar-list li {
    color: var(--text-secondary); padding-left: 1.25rem;
    position: relative; font-size: 0.93rem;
}

.sidebar-list li::before {
    content: '•'; position: absolute; left: 0;
    color: var(--orange); font-weight: bold; font-size: 1.3rem; line-height: 1.1;
}

.services-list { list-style: none; }
.services-list li { margin-bottom: 0.75rem; }

.services-list a {
    color: var(--text-secondary); text-decoration: none;
    transition: color 0.3s ease; font-size: 0.93rem;
}

.services-list a:hover { color: var(--orange); }

.cta-card {
    background: linear-gradient(135deg, rgba(59, 79, 216, 0.18), rgba(232, 75, 26, 0.04));
    border: 2px solid rgba(59, 79, 216, 0.4);
}

.cta-card p {
    color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6;
}

.cta-card .btn { width: 100%; text-align: center; padding: 0.9rem 1rem; }

/*==============================================================
  SECTION CTA BAS DE PAGE
==============================================================*/
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    position: relative; overflow: hidden;
}

.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
}

.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }

.cta-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem;
}

.cta-buttons {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}

/*==============================================================
  EFFET RIPPLE BOUTONS
==============================================================*/
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/*==============================================================
  RESPONSIVE
==============================================================*/
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .expertise-content { gap: 3rem; }
    .expertise-visual { height: 500px; }
    .expertise-circle { width: 350px; height: 350px; }
    .content-grid { grid-template-columns: 1fr 300px; gap: 2.5rem; }
}

@media (max-width: 968px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(6, 9, 19, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column; padding: 2rem; gap: 1rem;
        transform: translateY(-100%); opacity: 0; pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }

    .logo-img { height: 72px; }

    .hero-title    { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-stats    { gap: 2rem; }
    .stat-number   { font-size: 2.5rem; }

    .services-grid { grid-template-columns: 1fr; }

    .expertise-content { grid-template-columns: 1fr; }
    .expertise-visual  { order: -1; height: 400px; }

    .contact-content { grid-template-columns: 1fr; gap: 3rem; }

    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand   { grid-column: 1 / -1; }

    .page-title { font-size: 2.5rem; }

    .content-grid { grid-template-columns: 1fr; gap: 3rem; }
    .content-sidebar { position: static; }

    .certification-banner { flex-direction: column; text-align: center; }
    .highlight-content    { flex-direction: column; }
}

@media (max-width: 640px) {
    .container { padding: 0 1.5rem; }

    .hero-title { font-size: 2rem; }
    .hero-cta   { flex-direction: column; gap: 1rem; }
    .btn        { width: 100%; text-align: center; }

    .section-title { font-size: 2rem; }
    a.service-card { padding: 2rem; }

    .contact-form   { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom  { flex-direction: column; gap: 1rem; text-align: center; }

    .page-title    { font-size: 2rem; }
    .page-subtitle { font-size: 1rem; }

    .content-block { padding: 1.5rem; }
    .timeline-item { flex-direction: column; gap: 1rem; }

    .cta-content h2 { font-size: 1.8rem; }
    .cta-buttons    { flex-direction: column; }

    .advantages-grid { grid-template-columns: 1fr; }
}


/*==============================================================
  SCHÉMA PMI — GROUPES DE PROCESSUS
==============================================================*/
.pmi-diagram { margin: 2.5rem 0; }

.pmi-flow {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem; margin-bottom: 1.25rem;
}

.pmi-phase {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pmi-phase:hover {
    border-color: var(--blue-light);
    transform: translateY(-4px);
}

.pmi-phase::after {
    content: ''; position: absolute; top: 50%; right: -1.25rem;
    width: 0.75rem; height: 0.75rem;
    border-top: 2px solid var(--blue-light);
    border-right: 2px solid var(--blue-light);
    transform: translateY(-50%) rotate(45deg);
}

.pmi-phase:last-child::after { display: none; }

.pmi-phase-count {
    font-family: 'Orbitron', monospace;
    font-size: 2rem; font-weight: 900; line-height: 1;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pmi-phase h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem; color: var(--text-primary);
    margin: 0.6rem 0 0.4rem; font-weight: 700;
}

.pmi-phase p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.pmi-phase-en { display: block; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

.pmi-band {
    display: flex; align-items: center; gap: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 79, 216, 0.18), rgba(232, 75, 26, 0.04));
    border: 2px solid rgba(59, 79, 216, 0.4);
    border-radius: 16px; padding: 1.25rem 1.5rem;
}

.pmi-band .pmi-phase-count { font-size: 1.75rem; flex-shrink: 0; }
.pmi-band h4 { font-family: 'Orbitron', monospace; font-size: 1rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.pmi-band p  { font-size: 0.9rem; color: var(--text-secondary); }

/* ---- Matrice des 49 processus ---- */
.pmi-matrix-wrap { overflow-x: auto; margin: 2rem 0; border-radius: 16px; border: 1px solid var(--border-color); }

.pmi-matrix { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 0.82rem; }

.pmi-matrix th {
    background: rgba(59, 79, 216, 0.18);
    color: var(--text-primary); font-weight: 600;
    text-align: left; padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
}

.pmi-matrix th:first-child { width: 15%; }

.pmi-matrix td {
    vertical-align: top; padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(59, 79, 216, 0.12);
    border-left: 1px solid rgba(59, 79, 216, 0.12);
    color: var(--text-secondary); line-height: 1.45;
}

.pmi-matrix td:first-child {
    border-left: none; color: var(--text-primary);
    font-weight: 600; background: rgba(59, 79, 216, 0.06);
}

.pmi-matrix tr:last-child td { border-bottom: none; }
.pmi-matrix ul { list-style: none; margin: 0; padding: 0; }
.pmi-matrix li { padding-left: 0.85rem; position: relative; margin-bottom: 0.35rem; }
.pmi-matrix li::before { content: '▪'; position: absolute; left: 0; color: var(--blue-light); }
.pmi-matrix li:last-child { margin-bottom: 0; }

.pmi-legend { font-size: 0.85rem; color: var(--text-muted); margin-top: -1rem; }

@media (max-width: 968px) {
    .pmi-flow { grid-template-columns: 1fr; gap: 1rem; }
    .pmi-phase::after { display: none; }
    .pmi-band { flex-direction: column; text-align: center; gap: 0.75rem; }
}

/*==============================================================
  GRILLES DE BLOCS — 3 PAR LIGNE
==============================================================*/
.services-grid > * { flex: 0 1 calc((100% - 4rem) / 3); }

.advantages-grid > *,
.solution-cards > *  { flex: 0 1 calc((100% - 3rem) / 3); }

/* variante 2 colonnes, pour les séries de 4 blocs */
.solution-cards.cols-2 > * { flex: 0 1 calc((100% - 1.5rem) / 2); }

@media (max-width: 1100px) {
    .services-grid > *   { flex: 0 1 calc((100% - 2rem) / 2); }
    .advantages-grid > *,
    .solution-cards > *  { flex: 0 1 calc((100% - 1.5rem) / 2); }
}

@media (max-width: 700px) {
    .services-grid > *,
    .advantages-grid > *,
    .solution-cards > *,
    .solution-cards.cols-2 > * { flex: 0 1 100%; }
}

/* chiffres à chasse fixe : Orbitron n'a pas de figures tabulaires,
   chaque digit est donc contraint à la même largeur */
.expertise-number span,
.timeline-number span { display: inline-block; width: 0.72em; text-align: center; }
