/* ==================== GÉNÉRAL ==================== */
html { 
  scroll-behavior: smooth; 
}

body { 
  margin: 0; 
  font-family: 'Montserrat', sans-serif;
}

p { 
  margin: 0; 
}

.bold { 
  font-weight: 700; 
}

.underline { 
  text-decoration: underline; 
}

/* ==================== BANNIÈRE FIXE - VERSION COMPACTE ==================== */
.banner-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #1f2430;
  width: 100%;
  padding: 8px 0; /* Réduit de 10px à 8px */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  animation: slideDown 0.6s ease-out;
}

.banner-custom {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 20px; /* Réduit de 10px à 6px */
  background-color: #1f2430;
  font-weight: normal;
}

/* ==================== LOGO & EN-TÊTE - ESPACEMENT OPTIMISÉ ==================== */
.imgLogo {
  width: 200px;
  display: block;
  margin: auto;
  padding-top: 20px; /* Réduit de 40px à 20px */
}

/* ==================== MENU PRINCIPAL - ESPACEMENT OPTIMISÉ ==================== */
.phoneNumber {
  text-align: center;
  padding: 15px 0 10px 0; /* Réduit : top de 0 à 15px, bottom de 20px à 10px */
  font-size: 2rem;
  font-weight: 700;
}

.mainMenuContainer {
  padding-top: 30px; /* Réduit de 60px à 30px */
  padding-bottom: 60px;
  width: 70%;
}
/* ==================== LOGO & EN-TÊTE ==================== */
.imgLogo {
  width: 200px;
  display: block;
  margin: auto;
  padding-top: 40px;
}

.conxInscr {
  display: block;
  margin: auto;
  padding-top: 40px;
}

.buttonBoutique {
  width: 230px;
  display: block;
  margin: auto;
  height: 70px;
  border-radius: 20px;
  background-color: white;
  text-align: center;
}

/* ==================== MENU PRINCIPAL ==================== */
#mainMenu {
  background-color: #222831;
  color: #eeeeee;
}

.phoneNumber {
  text-align: center;
  padding: 0 0 20px 0;
  font-size: 2rem;
  font-weight: 700;
}

.mainMenuContainer {
  padding-top: 60px;
  padding-bottom: 60px;
  width: 70%;
}

.mainLink {
  color: #eeeeee;
  text-decoration: none;
}

.mainLink:hover {
  color: #eeeeee;
  text-decoration: none;
}

/* Effet hover : Élévation douce avec glow */
.tile {
  position: relative;
  width: 100%;
  padding-top: 100%;
  margin-bottom: 30px;
  background-color: #00adb5;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 173, 181, 0.3);
}

/* Couleurs des tuiles - Nuances de turquoise #00adb5 */
.tile1 { background-color: #00adb5; } /* Informatique - Turquoise base */
.tile2 { background-color: #00c9d4; } /* Application - Turquoise plus clair */
.tile3 { background-color: #008c94; } /* Électronique - Turquoise plus foncé */
.tile4 { background-color: #00d9e5; } /* VoIP - Turquoise très clair */
.tile5 { background-color: #007a82; } /* Sécurité - Turquoise foncé */
.tile6 { background-color: #00bfc9; } /* Backup - Turquoise moyen clair */
.tile7 { background-color: #009ba3; } /* Contact - Turquoise moyen */
.tile8 { background-color: #006b73; } /* Nouveautés - Turquoise très foncé */

.menuTitle {
  text-align: center;
  font-size: 1.7vw;
  padding: 30px 20px 0 20px;
  word-wrap: break-word;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== SECTIONS DE CONTENU ==================== */
.content-wrapper {
  min-height: 60vh;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ==================== TYPOGRAPHIE DES PAGES ==================== */
.content-section h4 {
  color: #222831;
  font-weight: 700;
}

.content-section h3 {
  font-weight: 700;
  color: #222831;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.content-section h5 {
  font-weight: 700;
  color: #222831;
  font-size: 1.1rem;
}

.content-section h6 {
  line-height: 1.8;
  color: #333;
  font-size: 0.95rem;
}

.content-section p {
  line-height: 1.8;
  color: #333;
}

.content-section ul {
  padding-left: 20px;
  list-style: square;
  line-height: 1.8;
}

.content-section a {
  color: #00adb5;
  text-decoration: none;
}

.content-section a:hover {
  color: #008c94;
  text-decoration: underline;
}

/* ==================== CARTES DE SERVICES ==================== */
.wrap {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-bottom: 2rem;
  height: 100%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.serviceList {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ==================== ICÔNES DE SERVICES ==================== */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #00adb5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-circle i {
  font-size: 2rem;
  color: white;
}

.wrap:hover .icon-circle {
  background-color: #008c94;
  transform: scale(1.1);
}

/* ==================== IMAGES ==================== */
.service-img {
  max-width: 170px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.support-icon {
  width: 64px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================== CONTACT & SUPPORT ==================== */
.contact-section {
  padding: 2rem 0;
}

.contact-info {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info p {
  line-height: 1.6;
  color: #333;
}

/* Blocs support minimalistes */
.support-platform-minimal {
  transition: all 0.2s ease;
}

.support-platform-minimal:hover {
  background-color: #fafafa;
}

.support-platform-minimal .border-bottom {
  border-color: #e0e0e0 !important;
}

/* Bouton AnyDesk rouge officiel */
.btn-anydesk {
  background-color: #d32f2f;
  border-color: #d32f2f;
  color: white !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-anydesk:hover {
  background-color: #b71c1c;
  border-color: #b71c1c;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

/* Shadow sobre */
.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Alert sobre */
.alert-light {
  background-color: #f8f9fa;
  color: #495057;
}

/* Icônes couleurs officielles */
.text-primary {
  color: #00adb5 !important;
}

.fab.fa-windows {
  color: #0078d4 !important;
}

.fab.fa-apple {
  color: #000000 !important;
}

.fab.fa-android {
  color: #3ddc84 !important;
}

.map-container {
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

/* ==================== SECTION BACKUP ==================== */
#backup h6 {
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

#backup .text-primary {
  color: #00adb5 !important;
  font-weight: 600;
}

#backup ul {
  list-style: none;
  padding-left: 2rem;
}

#backup ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

#backup ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00adb5;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ==================== BOUTONS ==================== */
.btn {
  transition: all 0.2s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: #00adb5;
  border-color: #00adb5;
  color: white;
}

.btn-primary:hover {
  background-color: #008c94;
  border-color: #008c94;
  color: white;
}

.btn-dark {
  background-color: #222831;
  border-color: #222831;
  color: white;
}

.btn-dark:hover {
  background-color: #1a1f26;
  border-color: #1a1f26;
  color: white;
}

/* ==================== RESPONSIVE - TABLETTES ==================== */
@media only screen and (max-width: 991px) {
  .mainMenuContainer {
    width: 90%;
  }
  
  .menuTitle {
    font-size: 2.5vw;
    padding: 50px 15px 0 15px;
  }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media only screen and (max-width: 767px) {
  body {
    padding-top: 50px;
  }
  
  .mainMenuContainer {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .phoneNumber {
    font-size: 1.5rem;
    padding: 20px 0;
  }
  
  .tile {
    margin-bottom: 15px;
  }
  
  .menuTitle {
    font-size: 4vw;
    padding: 30px 10px 0 10px;
  }
  
  .wrap {
    margin-bottom: 1.5rem;
  }
  
  .wrap h3 {
    font-size: 1.2rem;
  }
  
  .wrap h6 {
    font-size: 0.9rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .banner-custom {
    padding: 8px 15px;
  }
  
  .badge-blink {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .icon-circle i {
    font-size: 1.75rem;
  }
  
  .support-platform-minimal .row {
    text-align: center;
  }
  
  .support-platform-minimal .text-right {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .btn-anydesk {
    width: 100%;
  }
}

/* ==================== RESPONSIVE - PETITS ÉCRANS ==================== */
@media only screen and (max-width: 576px) {
  .imgLogo {
    width: 150px;
    padding-top: 20px;
  }
  
  .phoneNumber {
    font-size: 1.3rem;
  }
  
  .menuTitle {
    font-size: 5vw;
  }
}

/* ==================== UTILITAIRES ==================== */
.text-center {
  text-align: center;
}

/* ==================== AMÉLIORATIONS D'ACCESSIBILITÉ ==================== */
a:focus,
button:focus {
  outline: 2px solid #00adb5;
  outline-offset: 2px;
}

/* ==================== IMPRESSION ==================== */
@media print {
  .banner-fixed,
  #mainMenu,
  .btn {
    display: none;
  }
  
  body {
    padding-top: 0;
  }
  
  .content-section {
    display: block !important;
  }
}

/* ==================== BLOG STYLES (NOUVEAUTÉS) ==================== */
.blog-post {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.blog-image-container img {
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-image-container img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.blog-meta {
  font-size: 0.85rem;
}

.blog-meta i {
  color: #00adb5;
}

.blog-title {
  color: #222831;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-excerpt {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.blog-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: #555;
  line-height: 1.6;
}

.blog-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00adb5;
  font-weight: bold;
  font-size: 1.2rem;
}

.btn-blog {
  background-color: #222831;
  border-color: #222831;
  color: white !important;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-blog:hover {
  background-color: #1a1f26;
  border-color: #1a1f26;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cta-box {
  border: none;
}

.cta-box h4 {
  color: white;
  font-weight: 700;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

/* ==================== RESPONSIVE BLOG ==================== */
@media (max-width: 767px) {
  .blog-post {
    padding: 1.5rem;
  }
  
  .blog-title {
    font-size: 1.3rem;
  }
  
  .blog-image-container img {
    height: 200px !important;
  }
  
  .blog-meta {
    font-size: 0.8rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem !important;
  }
  
  .cta-box h4 {
    font-size: 1.3rem;
  }
}