/* ========================================== */
/* INNOVX - MISE EN PAGE GLOBALE PLEIN ÉCRAN */
/* Fluide, Responsive, 100% Width sur toutes pages */
/* ========================================== */

/* Reset global - LÉGER */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* HTML et Body - Base plein écran (SANS !important excessif) */
html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
  font-family: 'Poppins', 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* Éléments structurels - Largeur par défaut (permettre override) */
header, 
nav, 
main, 
footer {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ========================================== */
/* NAVBAR - FIXE EN HAUT (déjà géré dans base.html) */
/* ========================================== */
/* Le header est déjà stylé dans base.html - ne pas forcer ici */

/* ========================================== */
/* MAIN CONTENT - COMPENSATION NAVBAR */
/* ========================================== */
/* Déjà géré par body padding-top dans base.html et home.html */

/* ========================================== */
/* SECTIONS - Styles OPTIONNELS (ne pas forcer) */
/* ========================================== */
/* Commenté pour éviter de casser les pages existantes */
/*
section {
  width: 100%;
  max-width: 100%;
}
*/

/* ========================================== */
/* LIMITEURS DE LARGEUR - NE PAS FORCER */
/* ========================================== */
/* Commenté pour ne pas casser les pages existantes */
/* Les pages gèrent elles-mêmes leurs max-width */

/* ========================================== */
/* GRILLES ET FLEXBOX - FLUIDES (optionnel) */
/* ========================================== */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

/* ========================================== */
/* FOOTER - Style par défaut */
/* ========================================== */
/* Déjà stylé dans base.html - ne pas override */

/* ========================================== */
/* IMAGES, VIDÉOS, MÉDIAS - RESPONSIVE (par défaut) */
/* ========================================== */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

.video-container,
.image-container,
.media-wrapper {
  width: 100%;
  position: relative;
}

/* ========================================== */
/* BOUTONS ET FORMULAIRES - FLUIDES */
/* ========================================== */
button,
.btn,
input[type="submit"],
.button {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #FEDA48;
  box-shadow: 0 0 0 3px rgba(254, 218, 72, 0.2);
}

/* ========================================== */
/* THÈME INNOVX - Variables CSS */
/* ========================================== */
:root {
  --innovx-black: #000000;
  --innovx-dark-gray: #141414;
  --innovx-yellow: #FEDA48;
  --innovx-yellow-alt: #FFD700;
  --innovx-white: #ffffff;
  --innovx-text-gray: #cccccc;
}

/* Classes utilitaires (sans !important sauf si nécessaire) */
.bg-innovx-black {
  background-color: var(--innovx-black);
}

.bg-innovx-dark {
  background-color: var(--innovx-dark-gray);
}

.bg-innovx-yellow {
  background-color: var(--innovx-yellow);
  color: var(--innovx-black);
}

.text-innovx-yellow {
  color: var(--innovx-yellow);
}

.border-innovx-yellow {
  border-color: var(--innovx-yellow);
}

/* ========================================== */
/* RESPONSIVE - TABLETTE */
/* ========================================== */
@media (max-width: 1024px) {
  /* Styles optionnels pour tablettes */
  /* Les pages gèrent elles-mêmes leur responsive */
}

/* ========================================== */
/* RESPONSIVE - MOBILE */
/* ========================================== */
@media (max-width: 768px) {
  /* Responsive déjà géré dans base.html et pages individuelles */
  /* Ne pas forcer ici pour éviter les conflits */
}

/* ========================================== */
/* RESPONSIVE - TRÈS PETIT MOBILE */
/* ========================================== */
@media (max-width: 480px) {
  /* Responsive déjà géré dans base.html et pages individuelles */
}

/* ========================================== */
/* UTILITAIRES - Classes utiles (optionnelles) */
/* ========================================== */
.fullwidth {
  width: 100%;
}

.fullheight {
  min-height: 100vh;
}

/* Grilles utilitaires */
.card-grid,
.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .card-grid,
  .service-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Modals et Popups - Garder centrés */
.modal,
.popup,
.dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
}

