/**
 * VALTIKA Design System — user.css pour Joomla 6 / Cassiopeia
 * 
 * Ce fichier respecte la structure native de Cassiopeia
 * et ajoute uniquement les personnalisations Valtika nécessaires
 */

/* ========================================
   FONTS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ========================================
   VARIABLES VALTIKA
   ======================================== */

:root {
  /* Couleurs Valtika */
  --valtika-primary: hsl(210, 65%, 12%);
  --valtika-primary-foreground: hsl(210, 20%, 98%);
  --valtika-secondary: hsl(220, 6%, 18%);
  --valtika-accent: hsl(220, 85%, 56%);
  --valtika-background: hsl(216, 33%, 97%);
  --valtika-card: hsl(0, 0%, 100%);
  --valtika-muted: hsl(216, 20%, 94%);
  --valtika-border: hsl(216, 20%, 90%);
  --valtika-highlight: hsl(30, 70%, 45%);
  
  /* Override Cassiopeia colors avec Valtika */
  --cassiopeia-color-primary: #ffffff;
  --cassiopeia-color-hover: #f8f9fa;
  --cassiopeia-color-link: var(--valtika-accent);
  
  /* Typographie */
  --cassiopeia-font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cassiopeia-font-family-headings: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Radius */
  --valtika-radius: 0.25rem;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

html {
  font-size: 100%;
}
body {
  font-family: var(--cassiopeia-font-family-body);
  color: #54575F; /* Couleur grise harmonisée */
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 1.125rem;  /* 18px pour une lecture confortable */
  line-height: 1.625;   /* Interligne aéré conforme à votre demande */
  color: #54575F;       /* Rappel de la couleur pour les paragraphes */
  margin-bottom: 1.5rem;
}

/* Application aux zones de contenu spécifiques de Cassiopeia */
.com-content-article__body p,
.mod-custom p {
  font-size: 1.125rem;
  line-height: 1.625;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--cassiopeia-font-family-headings);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--valtika-primary);
  line-height: 1.2;
}

h1, .h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}



/* ========================================
   HEADER - Full Width Background
   ======================================== */

/* Background header blanc */
.container-header {
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Grid child du header pour définir la couleur de base */
.container-header .grid-child {
  color: hsl(210, 65%, 12%);
}

/* Logo et brand - ULTRA SPÉCIFIQUE */
.container-header .navbar-brand,
.container-header .navbar-brand a,
.container-header .navbar-brand a:visited,
.container-header .navbar-brand span,
.container-header .brand-logo,
.container-header .brand-logo a,
.container-header .brand-logo a:visited,
.container-header .brand-logo span,
header .navbar-brand,
header .navbar-brand a,
header .navbar-brand span {
  color: hsl(210, 65%, 12%) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}

.container-header .navbar-brand:hover,
.container-header .navbar-brand:focus,
.container-header .navbar-brand a:hover,
.container-header .brand-logo:hover,
.container-header .brand-logo a:hover {
  color: hsl(210, 65%, 12%) !important;
}

/* Tagline */
.container-header .site-description,
header .site-description {
  color: hsl(30, 70%, 45%) !important;
  font-size: 0.875rem !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

/* =========================================================
   HEADER : LOGO & DESCRIPTION (VERSION COHÉRENTE)
   ========================================================= */

/* 1. Conteneur Parent : Alignement horizontal parfait */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem; /* Espace entre logo et texte */
    flex-wrap: nowrap;
    text-decoration: none !important;
}

/* 2. Le Logo (Image) */
.brand-logo img {
    height: 60px !important;
    width: auto;
    display: block;
}

/* 3. Le Titre du site (si texte) */
.container-header .navbar-brand span,
.container-header .brand-logo span {
    color: var(--valtika-primary) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    line-height: 1;
}

/* 4. La Description (Tagline) - Alignée et lisible */
.site-description {
    font-family: var(--cassiopeia-font-family-body) !important;
    font-size: 1.50rem !important; /* Taille intermédiaire pour l'équilibre */
    font-weight: 600 !important;
    color: var(--valtika-accent) !important; /* On utilise l'accent pour la distinguer */
    margin: 0 !important;
    line-height: 1;
    white-space: nowrap;
    font-style: normal !important; /* Plus pro que l'italique pour Valtika */
}

/* 5. Ajustement Mobile */
@media (max-width: 768px) {
    .navbar-brand {
        gap: 0.75rem;
    }
    .brand-logo img {
        height: 40px !important;
    }
    .site-description {
        font-size: 0.9rem !important;
    }
}



/* =========================================================
   AJOUT LOGO IMAGE + ALIGNEMENT (À PLACER À LA FIN)
   ========================================================= */

/* 1. On transforme le conteneur en Flexbox pour mettre l'image devant le texte */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    flex-wrap: nowrap !important;
}

/* 2. On injecte l'image AVANT le texte existant */
.navbar-brand::before {
    content: "";
    display: inline-block;
    /* Le chemin correct pour remonter à la racine */
    background-image: url('../images/logo-valtika.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 60px; 
    width: 60px;
    flex-shrink: 0;
}

/* 3. On s'assure que la description reste bien à côté */
.site-description {
    display: inline-block !important;
    margin-left: 0.5rem !important;
    vertical-align: middle !important;
}

/* 4. Correction Mobile pour ne pas que ça déborde */
@media (max-width: 768px) {
    .navbar-brand::before {
        height: 40px;
        width: 40px;
    }
    .navbar-brand {
        gap: 0.5rem !important;
    }
}

/* =========================================================
   MENU PRINCIPAL & SOUS-MENUS : ALIGNEMENT ET SURVOL
   ========================================================= */

/* 1. Structure et alignement du menu principal */
.mod-menu.mod-list.nav {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    gap: 2rem;
    font-family: var(--cassiopeia-font-family-body) !important;
}

.mod-menu.mod-list.nav > li {
    position: relative; /* Indispensable pour l'alignement du sous-menu */
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.mod-menu.mod-list.nav > li > a {
    color: #54575F !important; /* Harmonisation avec vos paragraphes */
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.mod-menu.mod-list.nav > li > a:hover {
    color: var(--valtika-accent) !important;
}

/* 2. Gestion de l'ouverture au survol (Hover) */
.mod-menu.mod-list.nav li.parent:hover > ul,
.mod-menu.mod-list.nav li.dropdown:hover > .dropdown-menu,
.mod-menu.mod-list.nav li.deeper:hover > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 3. Design et alignement chirurgical du sous-menu */
.mod-menu.mod-list.nav li ul {
    display: none; /* Caché par défaut */
    position: absolute;
    top: 100%; /* S'aligne sous le menu */
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    padding: 0.5rem 0;
    margin: 0;
    border: 1px solid var(--valtika-border) !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Zone de sécurité pour ne pas perdre le focus souris */
.mod-menu.mod-list.nav li ul::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

/* 4. Liens internes du sous-menu */
.mod-menu.mod-list.nav li ul li {
    width: 100%;
}

.mod-menu.mod-list.nav li ul li a {
    color: #54575F !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.95rem !important;
    display: block !important;
    width: 100%;
    transition: background 0.2s ease;
}

.mod-menu.mod-list.nav li ul li a:hover {
    background-color: var(--valtika-muted) !important;
    color: var(--valtika-accent) !important;
}


/* ========================================
   FOOTER - Full Width Background
   ======================================== */

.container-footer,
footer.container-footer,
.footer,
footer.footer,
body > footer {
  background-color: hsl(210, 65%, 12%) !important;
  background-image: linear-gradient(135deg, hsl(210, 65%, 12%) 0%, hsl(210, 65%, 18%) 100%) !important;
  color: hsl(210, 20%, 98%) !important;
  margin-top: 4rem;
}

.container-footer a,
footer.container-footer a,
.footer a,
footer a {
  color: hsl(210, 20%, 98%) !important;
}

.container-footer a:hover,
footer.container-footer a:hover,
.footer a:hover,
footer a:hover {
  color: hsl(220, 85%, 56%) !important;
}

/* ========================================
   CONTENT - Styles Articles
   ======================================== */

/* Articles et items */
.item-page,
.blog-item,
.com-content-article {
  background-color: var(--valtika-card);
  border-radius: 0;
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* Citations et blockquotes - Style avec bordure gauche */
blockquote,
.highlight-box,
.quote-box {
  background-color: #f8f9fa;
  border-left: 4px solid var(--valtika-accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--valtika-primary);
  border-radius: 0;
}

blockquote p,
.highlight-box p,
.quote-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Images dans les articles */
.item-page img,
.blog-item img,
.com-content-article img,
article img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

/* Images full-width */
.item-page img[style*="width: 100%"],
.blog-item img[style*="width: 100%"],
.com-content-article img[style*="width: 100%"] {
  border-radius: 0.5rem;
  margin: 2.5rem 0;
}

/* ========================================
   BOUTONS
   ======================================== */

.btn-primary {
  background-color: var(--valtika-highlight);
  border-color: var(--valtika-highlight);
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: hsl(30, 70%, 38%);
  border-color: hsl(30, 70%, 38%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 97, 40, 0.3);
}

.btn-secondary {
  background-color: var(--valtika-secondary);
  border-color: var(--valtika-secondary);
  color: var(--valtika-primary-foreground);
}

.btn-outline-primary {
  border-color: var(--valtika-primary);
  color: var(--valtika-primary);
}

.btn-outline-primary:hover {
  background-color: var(--valtika-primary);
  color: var(--valtika-primary-foreground);
}

/* Bouton CTA Header - Orange */
.container-header .btn-primary,
.container-header .btn-cta {
  background-color: var(--valtika-highlight);
  border-color: var(--valtika-highlight);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ========================================
   LIENS
   ======================================== */

a {
  color: var(--valtika-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--valtika-primary);
  text-decoration: underline;
}

/* Liens dans le texte - style subtle */
.com-content-article a,
.item-page a,
article a {
  color: var(--valtika-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.com-content-article a:hover,
.item-page a:hover,
article a:hover {
  border-bottom-color: var(--valtika-accent);
  text-decoration: none;
}

/* Mots clés en gras/couleur - pour highlights inline */
.highlight,
strong.text-highlight,
.text-accent {
  color: var(--valtika-accent);
  font-weight: 600;
}

.text-orange,
strong.text-orange {
  color: var(--valtika-highlight);
  font-weight: 600;
}

/* ========================================
   CARDS & MODULES
   ======================================== */

.card {
  background-color: var(--valtika-card);
  border: 1px solid var(--valtika-border);
  border-radius: var(--valtika-radius);
}

.moduletable,
.module {
  margin-bottom: 2rem;
}

.moduletable h3,
.module h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--valtika-accent);
  color: var(--valtika-primary);
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.breadcrumb {
  background-color: var(--valtika-muted);
  border-radius: var(--valtika-radius);
  padding: 0.75rem 1rem;
}

.breadcrumb a {
  color: var(--valtika-accent);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-link {
  color: var(--valtika-primary);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--valtika-accent);
}

/* ========================================
   FORMS
   ======================================== */

.form-control,
.form-select {
  border: 1px solid var(--valtika-border);
  border-radius: var(--valtika-radius);
  transition: border-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--valtika-accent);
  box-shadow: 0 0 0 0.2rem hsla(220, 85%, 56%, 0.25);
}

/* ========================================
   TABLES
   ======================================== */

.table {
  color: var(--valtika-primary);
}

.table thead th {
  background-color: var(--valtika-muted);
  border-bottom: 2px solid var(--valtika-border);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--valtika-muted);
}

/* ========================================
   ALERTS
   ======================================== */

.alert-info {
  background-color: hsl(220, 85%, 95%);
  border-color: var(--valtika-accent);
  color: hsl(220, 85%, 30%);
}

.alert-success {
  background-color: hsl(142, 71%, 95%);
  border-color: hsl(142, 71%, 45%);
  color: hsl(142, 71%, 25%);
}

.alert-warning {
  background-color: hsl(38, 92%, 95%);
  border-color: hsl(38, 65%, 47%);
  color: hsl(38, 92%, 30%);
}

.alert-danger {
  background-color: hsl(0, 84%, 95%);
  border-color: hsl(0, 84%, 60%);
  color: hsl(0, 84%, 30%);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination .page-link {
  color: var(--valtika-accent);
  border-color: var(--valtika-border);
}

.pagination .page-link:hover {
  background-color: var(--valtika-muted);
  border-color: var(--valtika-border);
}

.pagination .page-item.active .page-link {
  background-color: var(--valtika-primary);
  border-color: var(--valtika-primary);
  color: var(--valtika-primary-foreground);
}

/* ========================================
   BADGES
   ======================================== */

.badge {
  border-radius: var(--valtika-radius);
}

.badge-primary {
  background-color: var(--valtika-primary);
}

.badge-secondary {
  background-color: var(--valtika-secondary);
}

.badge-info {
  background-color: var(--valtika-accent);
}

/* ========================================
   UTILITAIRES VALTIKA
   ======================================== */

/* Backgrounds */
.bg-valtika-primary {
  background-color: var(--valtika-primary) !important;
  color: var(--valtika-primary-foreground) !important;
}

.bg-valtika-accent {
  background-color: var(--valtika-accent) !important;
  color: var(--valtika-primary-foreground) !important;
}

.bg-valtika-muted {
  background-color: var(--valtika-muted) !important;
}

/* Text colors */
.text-valtika-primary {
  color: var(--valtika-primary) !important;
}

.text-valtika-accent {
  color: var(--valtika-accent) !important;
}

/* Borders */
.border-valtika {
  border-color: var(--valtika-border) !important;
}

/* Section alternée */
.section-alt {
  background-color: var(--valtika-card);
  padding: 3rem 0;
}

/* Espacement vertical du contenu */
.com-content-article > *:not(:last-child),
.item-page > *:not(:last-child),
article > *:not(:last-child) {
  margin-bottom: 1rem;
}

.com-content-article h1 + p,
.com-content-article h2 + p,
.item-page h1 + p,
.item-page h2 + p {
  margin-top: 1rem;
}

/* Le contenu prend toute la largeur disponible */
.com-content-article__body,
.item-page article,
.blog-item article {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

/* Images centrées */
.com-content-article figure,
.item-page figure,
article figure {
  margin: 2rem auto;
  text-align: center;
}

.com-content-article figcaption,
.item-page figcaption,
article figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--valtika-secondary);
  font-style: italic;
  text-align: center;
}

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

@media (max-width: 768px) {
  html {
    font-size: 100%;
  }
  
  h1, .h1 {
    font-size: 2rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .item-page,
  .blog-item,
  .com-content-article {
    padding: 1.5rem;
  }
  
  blockquote,
  .highlight-box,
  .quote-box {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
  }
  
  .item-page img,
  .blog-item img,
  .com-content-article img,
  article img {
    margin: 1.5rem 0;
  }
}

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

.transition {
  transition: all 0.2s ease;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus visible pour accessibilité */
*:focus-visible {
  outline: 2px solid var(--valtika-accent);
  outline-offset: 2px;
}
/* ========================================
   HERO SECTION - Page d'accueil
   ======================================== */

/* Hero principal avec background image */
.valtika-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #8b95a5 0%, #b8c2d0 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin: -2rem -2rem 3rem -2rem; /* Compense le padding de .item-page */
}

/* Overlay pour améliorer la lisibilité */
.valtika-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 149, 165, 0.85) 0%, rgba(184, 194, 208, 0.75) 100%);
  z-index: 1;
}

/* Pattern géométrique en arrière-plan */
.valtika-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: 
    linear-gradient(30deg, rgba(255, 255, 255, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.1) 87.5%, rgba(255, 255, 255, 0.1)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.1) 87.5%, rgba(255, 255, 255, 0.1)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.1) 87.5%, rgba(255, 255, 255, 0.1)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.1) 87.5%, rgba(255, 255, 255, 0.1)),
    linear-gradient(60deg, rgba(255, 255, 255, 0.15) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.15) 75%, rgba(255, 255, 255, 0.15)),
    linear-gradient(60deg, rgba(255, 255, 255, 0.15) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.15) 75%, rgba(255, 255, 255, 0.15));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  opacity: 0.4;
  z-index: 1;
}

/* Contenu du hero */
.valtika-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.valtika-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(210, 65%, 12%);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.valtika-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsl(210, 65%, 18%);
  max-width: 700px;
  margin: 0;
}

/* ========================================
   SECTION "VOS BESOINS"
   ======================================== */

.valtika-needs-section {
  margin: 4rem 0;
}

.valtika-needs-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(210, 65%, 12%);
  margin-bottom: 2.5rem;
  text-align: left;
}

/* Grille de cartes */
.valtika-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Carte individuelle */
.valtika-card-need {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.valtika-card-need::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 85, 56, 0.03) 0%, rgba(220, 85, 56, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.valtika-card-need:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: hsl(30, 70%, 45%);
}

.valtika-card-need:hover::before {
  opacity: 1;
}

/* Icône de la carte */
.valtika-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(30, 70%, 45%);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.valtika-card-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

/* Titre de la carte */
.valtika-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(210, 65%, 12%);
  line-height: 1.4;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========================================
   RESPONSIVE - Hero Section
   ======================================== */

@media (max-width: 768px) {
  .valtika-hero {
    min-height: 400px;
    padding: 3rem 1.5rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
  }
  
  .valtika-hero::after {
    width: 100%;
    opacity: 0.2;
  }
  
  .valtika-hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .valtika-hero-subtitle {
    font-size: 1rem;
  }
  
  .valtika-needs-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .valtika-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .valtika-card-need {
    padding: 1.5rem;
  }
  
  .valtika-card-title {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .valtika-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .valtika-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile - Supprimer l'image de fond du hero */
@media (max-width: 600px) {
  .valtika-hero-container {
    background-image: none !important;
    background-color: var(--valtika-background); /* ou une couleur spécifique */
  }
}

/* Support pour articles sans padding */
.com-content-article.item-page.hero-page {
  padding: 0;
  border: none;
  background-color: transparent;
}

.com-content-article.item-page.hero-page .valtika-hero {
  margin: 0 0 3rem 0;
}
/* ========================================
   HERO HOME - Page d'accueil Valtika
   ======================================== */

/* Conteneur principal du hero full-width */
.valtika-hero-home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -2rem;
  margin-bottom: 0;
  position: relative;
}

/* Section hero avec background image */
.valtika-hero-container {
  position: relative;
  min-height: 650px;
  background-image: url('../images/tokenisation-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem 10rem 2rem;
  overflow: visible;
}

/* Overlay subtil pour améliorer la lisibilité du texte */
.valtika-hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.2) 0%, rgba(58, 74, 92, 0.15) 50%, transparent 100%);
  pointer-events: none;
}

/* Texte du hero - DÉCALÉ À DROITE */
.valtika-hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-left: 25rem;
  padding-right: 2rem;
}

.valtika-hero-text h1 {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.valtika-hero-text p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  max-width: 700px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ========================================
   SECTION "VOS BESOINS" - Cartes flottantes REMONTÉES
   ======================================== */

.valtika-needs {
  position: relative;
  padding: 0;
  margin-top: -12rem;
  z-index: 10;
}

.valtika-needs h2 {
  position: relative;
  top: -4rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-left: 25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Grille des cartes - UNE SEULE LIGNE */
.valtika-needs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem 4rem 4rem;
}

/* Carte individuelle flottante */
.valtika-need-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Hover effect avec animation */
.valtika-need-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  border-color: #BF6128;
  background: rgba(255, 255, 255, 1);
}

/* Animation de l'ombre lors du hover */
.valtika-need-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(191, 97, 40, 0.4);
  transition: all 0.4s ease;
  pointer-events: none;
  opacity: 0;
}

.valtika-need-card:hover::after {
  box-shadow: 0 0 0 4px rgba(191, 97, 40, 0.3);
  opacity: 1;
}

/* Icône */
.valtika-need-icon {
  width: 40px;
  height: 40px;
  color: #BF6128;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.valtika-need-card:hover .valtika-need-icon {
  transform: scale(1.1) rotate(5deg);
  color: #D47036;
}

.valtika-need-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(191, 97, 40, 0.2));
}

/* Titre de la carte */
.valtika-need-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a2332;
  margin: 0;
  transition: color 0.3s ease;
}

.valtika-need-card:hover h3 {
  color: #BF6128;
}

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

/* Tablettes paysage */
@media (max-width: 1200px) {
  .valtika-hero-text {
    margin-right: 2rem;
    padding-right: 0;
  }
  
  .valtika-needs h2 {
    right: 2rem;
  }
  
  .valtika-needs-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem 4rem 2rem;
  }
}

/* Tablettes portrait */
@media (max-width: 900px) {
  .valtika-hero-container {
    min-height: 600px;
    padding: 4rem 2rem 9rem 2rem;
  }
  
  .valtika-hero-text {
    margin-right: 0;
    max-width: 100%;
  }
  
  .valtika-hero-text h1 {
    font-size: 2.75rem;
  }
  
  .valtika-hero-text p {
    font-size: 1.125rem;
  }
  
  .valtika-needs {
    margin-top: -10rem;
  }
  
  .valtika-needs h2 {
    right: 2rem;
  }
  
  .valtika-needs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .valtika-hero-home {
    margin-top: -1.5rem;
  }
  
  .valtika-hero-container {
    min-height: 500px;
    padding: 3rem 1.5rem 8rem 1.5rem;
  }
  
  .valtika-hero-text {
    margin-right: 0;
    padding-right: 0;
  }
  
  .valtika-hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .valtika-hero-text p {
    font-size: 1rem;
  }
  
  .valtika-needs {
    margin-top: -6rem;
  }
  
  .valtika-needs h2 {
    position: static;
    right: auto;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
    font-size: 1.25rem;
  }
  
  .valtika-needs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1.5rem 3rem 1.5rem;
  }
  
  .valtika-need-card {
    padding: 1.75rem 1.25rem;
  }
  
  .valtika-need-card h3 {
    font-size: 1rem;
  }
}

/* Pour enlever le padding de l'article sur cette page */
.com-content-article.item-page.valtika-home-page {
  padding: 0;
  border: none;
  background: transparent;
  margin: 0;
  max-width: none;
}

.com-content-article.item-page.valtika-home-page > * {
  margin: 0;
}

/* Assurer que le conteneur parent permet le full-width */
.container-component {
  max-width: none;
  padding: 0;
}

/* ========================================
   MODULE FINANCEMENT - VERSION DÉFINITIVE
   ======================================== */

/* Section */
.valtika-financement-module {
  background-color: #f3f5f8;
  padding: 5rem 2rem;
}

/* Container */
.valtika-financement-container {
  max-width: 980px;
  margin: 0 auto;
}

/* Header */
.valtika-financement-header {
  max-width: 620px;
  margin-bottom: 3rem;
}

.valtika-financement-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.valtika-financement-header p {
  color: #4b5563;
  margin: 0;
}

/* Grid */
.valtika-financement-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  gap: 2.5rem;
}

/* Card */
.valtika-financement-card {
  display: flex;
  flex-direction: column;
  height: 320px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.valtika-financement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Image */
.valtika-financement-image {
  flex: 0 0 78%;
  overflow: hidden;
}

.valtika-financement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Label */
.valtika-financement-label {
  flex: 0 0 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  background: #f4f6f9;
  color: var(--valtika-primary);
  border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .valtika-financement-grid {
    grid-template-columns: repeat(2, 260px);
  }
}

@media (max-width: 600px) {
  .valtika-financement-grid {
    grid-template-columns: 1fr;
  }

  .valtika-financement-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .valtika-financement-module {
    padding: 3rem 1.5rem;
  }
}



/* AJUSTEMENT LARGEUR DU SOUS MENU */

.mod-menu__sub.show-menu {
  width: 30rem;
}

/* Affichage de la flèche du sous menu */ 
.mod-menu .nav-item.deeper.parent > a {
  display: inline-flex;
  align-items: center;
}
/* GRID */
.valtika-financement-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 2.5rem;
}

/* CARTE */
.valtika-financement-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 320px;
}


/* IMAGE ≈ 78% */
.valtika-financement-image {
  flex: 0 0 78%;
  background-size: cover;
  background-position: center;
}

/* BANDEAU ≈ 22% */
.valtika-financement-label {
  flex: 0 0 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  background: #f4f6f9;
  color: var(--valtika-primary);
  border-top: 1px solid #e5e7eb;
}

/* HOVER discret */
.valtika-financement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .valtika-financement-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .valtika-financement-grid {
    grid-template-columns: 1fr;
  }

  .valtika-financement-card {
    height: 300px;
  }
}


/* ======================================================
   SECTION PROCESSUS - COMMENT ÇA SE PASSE
   ====================================================== */

.valtika-process-section {
  padding: 6rem 2rem;
  background: var(--valtika-background);
}

.valtika-process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.valtika-process-header {
  max-width: 620px;
  margin-bottom: 4rem;
}

.valtika-process-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.valtika-process-header p {
  color: var(--valtika-secondary);
  margin: 0;
}

/* Grid 4 étapes */
.valtika-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* Bloc étape */
.valtika-process-step {
  position: relative;
}

.valtika-step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--valtika-primary);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.valtika-process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.valtika-process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--valtika-secondary);
  margin: 0;
}

/* ======================================================
   SECTION INFRASTRUCTURE INVISIBLE
   ====================================================== */

.valtika-infra-section {
  padding: 6rem 2rem;
  background: var(--valtika-card);
}

.valtika-infra-container {
  max-width: 1200px;
  margin: 0 auto;
}

.valtika-infra-header {
  max-width: 620px;
  margin-bottom: 4rem;
}

.valtika-infra-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.valtika-infra-header p {
  color: var(--valtika-secondary);
  margin: 0;
}

/* Grid 4 blocs */
.valtika-infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* Bloc individuel */
.valtika-infra-item {
  text-align: left;
}

.valtika-infra-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--valtika-primary);
}

.valtika-infra-icon i {
  font-size: 1.75rem;
}

.valtika-infra-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.valtika-infra-item p {
  font-size: 0.95rem;
  color: var(--valtika-secondary);
  line-height: 1.6;
  margin: 0;
}

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

@media (max-width: 1024px) {
  .valtika-process-grid,
  .valtika-infra-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .valtika-process-section,
  .valtika-infra-section {
    padding: 4rem 1.5rem;
  }

  .valtika-process-grid,
  .valtika-infra-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .valtika-step-number {
    font-size: 2.25rem;
  }
}
/* ======================================================
   CTA SECTION – QUESTIONS
   ====================================================== */

.valtika-cta-section {
  background-color: var(--valtika-muted);
  padding: 5rem 2rem;
  text-align: center;
}

.valtika-cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.valtika-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--valtika-primary);
}

.valtika-cta-text {
  font-size: 1rem;
  color: var(--valtika-secondary);
  margin-bottom: 2.5rem;
}

/* Bouton CTA */
.com-content-article a.valtika-cta-button,
.item-page a.valtika-cta-button,
article a.valtika-cta-button,
a.valtika-cta-button {
  background-color: hsl(30, 70%, 45%) !important;
  display: inline-block;
  color: #ffffff; !important;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: var(--valtika-radius);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(191, 97, 40, 0.25);
}

.valtika-cta-button:hover {
  background-color: hsl(30, 70%, 38%);
  color: #ffffff; !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(191, 97, 40, 0.35);
  text-decoration: none;
}

/* ======================================================
   FOOTER VALTIKA
   ====================================================== */


/* ============================================
   FIX LARGEUR FOOTER CASSIOPEIA
   ============================================ */

/* Supprime la contrainte de largeur native */
.container-footer > .grid-child {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Le module prend toute la largeur */
.container-footer .mod-custom {
  width: 100%;
}

/* Ton footer gère le centrage */
.valtika-footer {
  width: 100%;
}

/* Container interne centré */
.valtika-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


.valtika-footer {
  background: var(--valtika-primary);
  color: var(--valtika-primary-foreground);
  padding: 5rem 2rem 2rem 2rem;
}

.valtika-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID PRINCIPAL */
.valtika-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Colonne marque */
.valtika-footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.valtika-footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 320px;
}

/* Colonnes liens */
.valtika-footer-links h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.valtika-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.valtika-footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Ligne de séparation */
.valtika-footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 2rem 0;
}

/* Bas de footer */
.valtika-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

.valtika-footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

.valtika-footer-bottom a:hover {
  color: var(--valtika-accent);
}
/* ======================================================
   PAGE — NOTRE RÉPONSE
   Scoped uniquement à cette page
   ====================================================== */

.page-notre-reponse .item-page {
  padding: 0;
  background: transparent;
  border: none;
}

/* ================= HERO ================= */

.page-notre-reponse .nr-hero {
  background: var(--valtika-primary);
  color: #ffffff;
  padding: 6rem 2rem;
}

.page-notre-reponse .nr-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-notre-reponse .nr-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.page-notre-reponse .nr-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin: 0;
}

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

.page-notre-reponse .nr-section {
  padding: 5rem 2rem;
}

.page-notre-reponse .nr-section-light {
  background: var(--valtika-background);
}

.page-notre-reponse .nr-section-white {
  background: #ffffff;
}

.page-notre-reponse .nr-section-dark {
  background: var(--valtika-primary);
  color: #ffffff;
}

.page-notre-reponse .nr-section-dark h2 {
  color: #ffffff;
}

.page-notre-reponse .nr-section-dark p,
.page-notre-reponse .nr-section-dark li {
  color: rgba(255,255,255,0.85);
}

/* ================= TITRES ================= */

.page-notre-reponse h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.page-notre-reponse h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* ================= TEXTE ================= */

.page-notre-reponse p {
  line-height: 1.75;
  color: var(--valtika-secondary);
}

.page-notre-reponse ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.page-notre-reponse li {
  margin-bottom: 0.6rem;
}

/* ================= BLOC HIGHLIGHT ================= */

.page-notre-reponse .nr-highlight {
  background: var(--valtika-muted);
  border-left: 4px solid var(--valtika-accent);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-weight: 500;
  color: var(--valtika-primary);
}

/* ================= CARTES ================= */

.page-notre-reponse .nr-card {
  background: #ffffff;
  border: 1px solid var(--valtika-border);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.page-notre-reponse .nr-card p {
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {

  .page-notre-reponse .nr-hero {
    padding: 4rem 1.5rem;
  }

  .page-notre-reponse .nr-hero h1 {
    font-size: 2rem;
  }

  .page-notre-reponse .nr-section {
    padding: 3.5rem 1.5rem;
  }
}
/* ======================================================
   PAGE — NOTRE MÉTHODE
   Scoped uniquement à .notre-methode
   ====================================================== */

.notre-methode .item-page {
  padding: 0;
  background: transparent;
  border: none;
}

/* ================= HERO ================= */

.notre-methode .nm-hero {
  background: var(--valtika-primary);
  color: #fff;
  padding: 6rem 2rem;
}

.notre-methode .nm-container {
  max-width: 1100px;
  margin: 0 auto;
}

.notre-methode .nm-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.notre-methode .nm-hero p {
  max-width: 750px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
}

/* ================= INTRO ================= */

.notre-methode .nm-intro {
  padding: 5rem 2rem 3rem 2rem;
  background: var(--valtika-background);
}

.notre-methode .nm-intro p {
  max-width: 850px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--valtika-secondary);
}

/* ================= TIMELINE ================= */

.notre-methode .nm-steps {
  padding: 3rem 2rem 6rem 2rem;
  background: #ffffff;
}

.notre-methode .nm-step {
  display: grid;
  grid-template-columns: 120px 1fr 400px;
  gap: 3rem;
  align-items: start;
  margin-bottom: 6rem;
  position: relative;
}

/* Numéro */
.notre-methode .nm-step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--valtika-accent);
  line-height: 1;
}

/* Contenu */
.notre-methode .nm-step-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.notre-methode .nm-step-content p {
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: var(--valtika-secondary);
}

/* Image placeholder */
.notre-methode .nm-step-image {
  background: var(--valtika-muted);
  border-radius: 6px;
  min-height: 260px;
}

/* Ligne verticale */
.notre-methode .nm-step::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 70px;
  bottom: -6rem;
  width: 1px;
  background: var(--valtika-border);
}

.notre-methode .nm-step:last-child::before {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {

  .notre-methode .nm-step {
    grid-template-columns: 80px 1fr;
  }

  .notre-methode .nm-step-image {
    grid-column: 1 / -1;
    margin-top: 2rem;
  }

  .notre-methode .nm-step::before {
    left: 40px;
  }
}

@media (max-width: 768px) {

  .notre-methode .nm-hero {
    padding: 4rem 1.5rem;
  }

  .notre-methode .nm-hero h1 {
    font-size: 2rem;
  }

  .notre-methode .nm-step {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .notre-methode .nm-step-number {
    font-size: 2rem;
  }
}
/* ======================================================
   PAGE — NOTRE POSITIONNEMENT
   Scoped uniquement à .notre-positionnement
   ====================================================== */

.notre-positionnement .item-page {
  padding: 0;
  background: transparent;
  border: none;
}

/* ================= CONTAINER ================= */

.notre-positionnement .np-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================= HERO ================= */

.notre-positionnement .np-hero {
  background: var(--valtika-background);
  padding: 6rem 2rem;
}

.notre-positionnement .np-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.notre-positionnement .np-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.notre-positionnement .np-hero h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--valtika-secondary);
  margin-bottom: 2rem;
}

.notre-positionnement .np-hero p {
  line-height: 1.8;
  color: var(--valtika-secondary);
  margin-bottom: 1.2rem;
}

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

.notre-positionnement .np-section {
  padding: 6rem 2rem;
}

.notre-positionnement .np-section-light {
  background: #ffffff;
}

.notre-positionnement .np-section-grey {
  background: var(--valtika-background);
}

.notre-positionnement .np-section-dark {
  background: var(--valtika-primary);
  color: #ffffff;
}

.notre-positionnement .np-section-dark h2,
.notre-positionnement .np-section-dark p {
  color: #ffffff;
}

/* ================= GRID SPLIT ================= */

.notre-positionnement .np-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ================= GESTION DES IMAGES (Amélioré) ================= */

.notre-positionnement .np-image,
.notre-positionnement .ce-image-block {
  width: 100%;
  max-width: 100%;
}

/* Wrapper assurant l'arrondi et le liseré bleu nuit */
.notre-positionnement .valtika-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* Coupe le débordement */
  border-radius: 1.5rem; /* Arrondi signature */
  line-height: 0;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.notre-positionnement .valtika-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* ================= BLOC HIGHLIGHT (Amélioré style institutionnel) ================= */

.notre-positionnement .np-highlight,
.notre-positionnement .ce-highlight {
  background-color: #e5e9ef !important; /* Gris bleuté capture */
  border-left: 5px solid #0a192f !important; /* Barre Bleu Nuit */
  padding: 1.5rem 2rem !important;
  margin: 2.5rem 0 !important;
  font-weight: 600 !important;
  color: #0a192f !important;
  line-height: 1.6 !important;
  font-size: 1.1rem !important;
  border-radius: 0 !important;
}

/* ================= TITRES & LISTES ================= */

.notre-positionnement h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.notre-positionnement p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.notre-positionnement .np-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.notre-positionnement .np-list li {
  margin-bottom: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}

.notre-positionnement .np-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--valtika-highlight);
  font-weight: 700;
}

.notre-positionnement .np-strong {
  font-weight: 600;
}

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

@media (max-width: 1024px) {
  .notre-positionnement .np-hero-grid,
  .notre-positionnement .np-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .notre-positionnement .ce-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .notre-positionnement .np-hero {
    padding: 4rem 1.5rem;
  }

  .notre-positionnement .np-section {
    padding: 4rem 1.5rem;
  }

  .notre-positionnement .np-hero h1 {
    font-size: 2rem;
  }
}
/* ======================================================
   PAGE — CREATION ENTREPRISE
   Scoped uniquement à .creation-entreprise
   ====================================================== */
/* ================= CONTAINER & BASE ================= */
.creation-entreprise .ce-container {
    max-width: 760px;
    margin: 0 auto;
}

/* ================= SECTIONS ================= */
.creation-entreprise .ce-hero { padding: 6rem 2rem 3rem 2rem; background: var(--valtika-background); }
.creation-entreprise .ce-section { padding: 3rem 2rem; background: #ffffff; }

/* ================= GESTION DES IMAGES ================= */
.creation-entreprise .ce-image {
    margin: 2.5rem 0;
    width: 100%;
}

.creation-entreprise .valtika-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Coupe le débordement et respecte les arrondis */
    border-radius: 1.5rem; /* Arrondi signature */
    line-height: 0;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.creation-entreprise .valtika-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Liseré automatique Bleu Nuit avec Logo */
.creation-entreprise .valtika-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #0a192f;
    background-image: url('../../../images/logo-valtika-white.png'); 
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: auto 20px;
}

/* ================= BLOCS SPECIFIQUES ================= */
.creation-entreprise .ce-highlight {
    /* Fond gris bleuté clair identique à la capture */
    background-color: #e5e9ef !important; 
    
    /* Barre verticale à gauche - Bleu Nuit Valtika */
    border-left: 5px solid #0a192f !important; 
    
    /* Espacement interne */
    padding: 1.5rem 2rem !important; 
    
    /* Espacement externe */
    margin: 2.5rem 0 !important;
    
    /* Typographie Premium */
    font-weight: 600 !important;
    color: #0a192f !important;
    line-height: 1.6 !important;
    font-size: 1.1rem !important;
    
    /* On force l'absence d'arrondis pour la rigueur financière */
    border-radius: 0 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* Suppression du placeholder gris moche si l'image est absente */
.creation-entreprise .ce-image {
    background: transparent !important;
    height: auto !important;
    box-shadow: none !important;
}

.creation-entreprise .ce-dark-block {
    background: #0a192f; /* Bleu Nuit Valtika */
    color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 6px;
    margin: 3rem 0;
}

/* ======================================================
   PAGE — Contact

   ====================================================== */

/* --- Le Conteneur Parent --- */
.contact-grid {
    display: grid;
    /* Crée 2 colonnes : la première s'adapte au contenu, la seconde prend le reste */
    grid-template-columns: 1fr 1.5fr; 
    gap: 30px; /* Espace entre les deux colonnes */
    align-items: start; /* Aligne les blocs vers le haut */
    margin-top: 40px;
}

/* --- Style des Blocs de Gauche --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les deux cartes bleues */
}

.info-card {
    padding: 30px;
    border-radius: 1.5rem; /* L'arrondi signature de Valtika */
    color: white;
}

.blue-card { background-color: #89aef4; }
.dark-card { background-color: #0a192f; }

/* --- Style du Conteneur Formulaire à Droite --- */
.contact-form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(10, 25, 47, 0.08);
    border: 1px solid #e1e8f0;
}

/* --- Responsive : Mobile d'abord --- */
@media (max-width: 992px) {
    .contact-grid {
        /* Sur tablette et mobile, on repasse sur une seule colonne */
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2; /* Optionnel : met les infos sous le formulaire sur mobile */
    }
}
.valtika-zoho-container {
    background: white;
    padding: 30px;
    border-radius: 1.5rem;
}

.zcwf_row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.zcwf_row label {
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 8px;
}

.zcwf_row input, .zcwf_row select {
    padding: 12px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.zcwf_row input:focus {
    border-color: #89aef4;
    outline: none;
}

.btn-submit {
    background: #0a192f !important;
    color: white !important;
    padding: 15px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: bold;
}