/* ===============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   =============================================== */

/* Mobile First Approach */
@media (max-width: 768px) {

  /* Header Mobile Optimizations */
  .header {
    padding: 0.35rem 0;
    min-height: 52px;
  }

  .logo-title {
    font-size: 24px !important;
    line-height: 1.2;
    color: #feb900 !important;
  }

  .logo-subtitle {
    font-size: 10px !important;
    line-height: 1.1;
    color: #feb900 !important;
  }

  /* Mobile Navigation */
  .mobile-nav-toggle {
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    background: transparent;
    border: 0;
    padding: 0.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-toggle:hover {
    color: #feb900;
  }

  .scrolled .header,
  .header.header-scrolled {
    background: #0b1220 !important;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    display: grid;
    list-style: none;
    align-content: center;
    justify-content: center;
    gap: 22px;
  }

  .navbar li {
    display: inline-block;
    margin: 0.5rem;
  }

  .navbar a,
  .navbar a:focus {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  body.mobile-nav-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }

  body.mobile-nav-active .navbar,
  html.mobile-nav-active .navbar {
    right: 0 !important;
    top: 0 !important;
    position: fixed !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 99999 !important;
  }

  /* Empêcher le scroll du body quand le sidebar est ouvert */
  body.mobile-nav-active #main,
  html.mobile-nav-active #main {
    pointer-events: none;
  }

  body.mobile-nav-active,
  html.mobile-nav-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Breadcrumbs Mobile */

  .breadcrumbs {
    padding: 80px 0 40px 0;
    min-height: 30vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .breadcrumb-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .breadcrumb-list {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
  }

  /* Hero Section Mobile */
  .hero {
    min-height: 60vh;
  }

  .hero .info h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hero .info p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .btn-get-started {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
  }

  /* Features Section Mobile */
  .features {
    padding: 3rem 0;
  }

  .features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .features ul {
    padding-left: 1rem;
  }

  .features li {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 2rem 0;
    text-align: center;
  }

  .cta-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .cta-section p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn-light {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
  }

  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    text-align: center;
  }

  .footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .footer-section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .footer-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .contact-item {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .contact-link {
    color: #feb900;
    text-decoration: none;
  }

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

  .footer-link-item {
    margin-bottom: 0.5rem;
  }

  .footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0;
  }

  .footer-link:hover {
    color: #feb900;
  }

  .footer-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
  }

  .keyword-tag {
    background: #1a8bdb;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(26, 139, 219, 0.25);
    display: inline-block;
    transition: all 0.3s ease;
  }

  .keyword-tag-link {
    text-decoration: none;
    display: inline-block;
  }

  .keyword-tag-link:hover .keyword-tag {
    background: #0069d9;
    border-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(26, 139, 219, 0.2);
  }

  /* Scroll Top Button Mobile */
  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }

  /* Stats Counter Mobile */
  .stats-counter {
    padding: 2rem 0;
  }

  .stats-item {
    text-align: center;
    margin-bottom: 2rem;
  }

  .stats-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .stats-item span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
  }

  .stats-item p {
    font-size: 0.9rem;
    margin: 0;
  }

  /* Services Mobile */
  .services {
    padding: 2rem 0;
  }

  .service-item {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
  }

  .service-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .service-item h6 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .service-item p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* About Mobile */
  .about {
    padding: 2rem 0;
  }

  .about-figure {
    margin-bottom: 2rem;
    border-radius: 10px;
  }

  /* Contact Form Mobile */
  .contact-form {
    padding: 2rem 0;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-control {
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    width: 100%;
    border-radius: 8px;
  }

  /* Tabs Mobile - Réalisations */
  .nav-tabs {
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 0.25rem;
  }

  .nav-tabs .nav-item {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0.5rem;
  }

  .nav-tabs .nav-link {
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
    text-align: center;
    border-radius: 6px;
    margin: 0 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .nav-tabs .nav-link h4 {
    font-size: 0.7rem !important;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
  }

  .nav-tabs .nav-link.active {
    background-color: #feb900;
    color: white;
    border-color: #feb900;
  }

  /* Blog Sidebar Mobile - Éviter la condensation */
  .blog .sidebar {
    padding: 1.5rem !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .blog .sidebar .sidebar-title {
    font-size: 1.25rem !important;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }

  .blog .sidebar .sidebar-item {
    margin-bottom: 2rem !important;
  }

  .blog .sidebar .sidebar-item+.sidebar-item {
    margin-top: 2rem !important;
    padding-top: 2rem;
    border-top: 1px solid rgba(82, 86, 94, 0.1);
  }

  .blog .sidebar .search-form form {
    padding: 8px 12px;
    border-radius: 8px;
  }

  .blog .sidebar .search-form form input[type=text] {
    font-size: 0.95rem;
    padding: 8px 4px;
    width: calc(100% - 45px);
  }

  .blog .sidebar .search-form form button {
    padding: 0 12px;
    font-size: 14px;
  }

  .blog .sidebar .categories ul li {
    padding: 0.75rem 0 !important;
    margin-bottom: 0.5rem;
  }

  .blog .sidebar .categories ul a {
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    padding: 0.5rem 0;
  }

  .blog .sidebar .categories ul a span {
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
    padding-left: 0;
  }

  .blog .sidebar .recent-posts .post-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    margin-bottom: 1rem;
  }

  .blog .sidebar .recent-posts img {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.75rem;
    border-radius: 8px;
  }

  .blog .sidebar .recent-posts h4 {
    font-size: 1rem !important;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .blog .sidebar .recent-posts h4 a {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .blog .sidebar .recent-posts time {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .blog .sidebar .tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .blog .sidebar .tags ul li {
    margin: 0;
  }

  .blog .sidebar .tags ul a {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    margin: 0;
    border-radius: 20px;
    white-space: nowrap;
  }

  /* Blog Details Mobile - Éviter la condensation */
  .blog .blog-details {
    padding: 1.5rem !important;
    margin-bottom: 2rem;
  }

  .blog .blog-details .post-img {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem !important;
  }

  .blog .blog-details .title {
    font-size: 1.5rem !important;
    line-height: 1.4;
    margin-top: 1rem !important;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .blog .blog-details .content {
    margin-top: 1.5rem;
    line-height: 1.7;
  }

  .blog .blog-details .content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .blog .blog-details .content h3 {
    font-size: 1.25rem !important;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .blog .blog-details .content h4 {
    font-size: 1.1rem !important;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .blog .blog-details .content blockquote {
    padding: 1.5rem !important;
    margin: 1.5rem 0;
    border-radius: 8px;
  }

  .blog .blog-details .content blockquote p {
    font-size: 1.1rem !important;
    line-height: 1.6;
  }

  .blog .blog-details .meta-top {
    margin-top: 1.5rem;
  }

  .blog .blog-details .meta-top ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog .blog-details .meta-top ul li {
    padding-left: 0 !important;
  }

  .blog .blog-details .meta-bottom {
    padding-top: 1rem;
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog .blog-details .meta-bottom .cats,
  .blog .blog-details .meta-bottom .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .blog .post-author {
    padding: 1.5rem !important;
    margin-top: 2rem;
    flex-direction: column;
    text-align: center;
  }

  .blog .post-author img {
    max-width: 100px;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .blog .post-author h4 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem;
  }

  /* Pages de détails (PROSTOCK et autres) - Éviter la condensation */
  .prostock-section-header {
    padding-bottom: 2rem !important;
  }

  .prostock-section-header h2 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .prostock-section-header p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .prostock-feature-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .prostock-feature-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .prostock-feature-card h3 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .prostock-feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
  }

  .prostock-step-circle {
    width: 80px !important;
    height: 80px !important;
    font-size: 32px !important;
    margin-bottom: 1rem;
  }

  .prostock-step-circle+h3 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-top: 0.75rem !important;
    margin-bottom: 0.5rem;
  }

  .prostock-step-circle+h3+p {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .prostock-usage-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .prostock-usage-card h3 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .prostock-usage-card .bi {
    font-size: 1.25rem !important;
    margin-right: 0.75rem;
  }

  .prostock-usage-card ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .prostock-usage-card ul li span {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .prostock-module-card {
    padding: 1.25rem !important;
    margin-bottom: 1rem;
  }

  .prostock-module-card .bi {
    font-size: 1.1rem !important;
    margin-right: 0.5rem;
  }

  .prostock-module-card strong {
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .prostock-carousel {
    margin-bottom: 2rem;
  }

  .prostock-carousel .carousel-control-prev,
  .prostock-carousel .carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    margin: 0 0.5rem;
  }

  .prostock-carousel .carousel-control-prev-icon,
  .prostock-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }

  .prostock-cta-section {
    padding: 2rem 1.5rem !important;
    margin: 2rem 0;
  }

  .prostock-cta-section h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .prostock-cta-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .prostock-cta-section .btn {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    width: 100%;
    max-width: 100%;
  }

  /* Solutions Page Mobile */
  .solutions-header {
    padding: 2rem 0 !important;
  }

  .solutions-title {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .solutions-description {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .solutions-btn-demo,
  .solutions-btn-contact {
    font-size: 0.95rem !important;
    padding: 0.75rem 1.5rem !important;
    min-width: auto;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.75rem;
  }

  .solutions-feature-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .feature-icon-circle {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .solutions-feature-card h3 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .solutions-feature-card ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .solutions-feature-card ul li span {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .cta-section h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .cta-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .cta-section .btn {
    font-size: 1rem !important;
    padding: 0.875rem 1.75rem !important;
    width: 100%;
    max-width: 100%;
  }

  /* Général - Éviter la condensation du contenu */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .row>* {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Assurer un espacement suffisant entre les sections */
  section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Espacement des cartes */
  .card,
  .solution-card,
  .prostock-feature-card,
  .prostock-usage-card,
  .prostock-module-card {
    margin-bottom: 1.5rem;
  }

  /* Texte lisible sur mobile */
  p,
  li,
  span,
  a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Listes avec espacement suffisant */
  ul,
  ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }

  li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  /* Titres avec espacement */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  h6 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* Layout Blog avec Sidebar - Assurer que la sidebar passe en dessous */
  .blog .row {
    flex-direction: column;
  }

  .blog .col-lg-8,
  .blog .col-lg-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .blog .col-lg-8 {
    order: 2;
  }

  .blog .col-lg-4 {
    order: 1;
    margin-bottom: 2rem;
  }

  /* Posts List Mobile */
  .blog .posts-list .post-item {
    margin-bottom: 2rem;
  }

  .blog .posts-list .post-img {
    margin-bottom: 1rem;
  }

  .blog .posts-list .post-content {
    padding: 1.5rem !important;
  }

  .blog .posts-list .post-title {
    font-size: 1.25rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .blog .posts-list .meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .blog .posts-list p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
  }

  /* Comments Mobile */
  .blog .comments {
    margin-top: 2rem;
  }

  .blog .comments .comment {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
  }

  .blog .comments .comment .comment-img {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .blog .comments .comment .comment-img img {
    width: 50px;
  }

  .blog .comments .comment.comment-reply {
    padding-left: 1rem;
    margin-left: 1rem;
  }

  .blog .comments .reply-form {
    padding: 1.5rem !important;
    margin-top: 1.5rem;
  }

  .blog .comments .reply-form h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
  }

  .blog .comments .reply-form input,
  .blog .comments .reply-form textarea {
    font-size: 0.95rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  /* Page Accueil Mobile */
  .hero .info h1 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .hero .info p {
    font-size: 0.95rem !important;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .hero .info .btn-get-started {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }

  /* Features Section Accueil Mobile */
  .features .row {
    margin: 0;
  }

  .features .col-lg-6,
  .features .col-lg-7,
  .features .col-lg-5 {
    padding: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .features h3 {
    font-size: 1.25rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .features h6 {
    font-size: 1rem !important;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .features ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }

  .features ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .features .about-figure {
    margin-bottom: 1.5rem;
    border-radius: 8px;
  }

  /* Réalisations Section Mobile */
  .section-header {
    padding: 1.5rem 0;
  }

  .section-header p {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 0.5rem;
    text-align: center;
  }

  /* Tabs Mobile - Réalisations et A Propos */
  .nav-tabs {
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .nav-tabs .nav-item {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
  }

  .nav-tabs .nav-item.col-2 {
    flex: 1 1 calc(50% - 0.25rem) !important;
    max-width: calc(50% - 0.25rem);
    margin-bottom: 0.5rem;
  }

  .nav-tabs .nav-item.col-3 {
    flex: 1 1 100% !important;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  /* Centrer et aligner les onglets de la page À propos sur mobile */
  .features .nav-tabs {
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .features .nav-tabs .nav-item.col-3 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 0.75rem auto !important;
    text-align: center !important;
    display: block !important;
  }

  .features .nav-tabs .nav-link {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0.75rem 0.5rem !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
  }

  .features .nav-tabs .nav-link h4 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    padding: 0 !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
  }

  /* Forcer le centrage du contenu des onglets */
  .features .nav-tabs .nav-item {
    text-align: center !important;
  }

  .features .nav-tabs .nav-item .nav-link {
    text-align: center !important;
  }

  .features .nav-tabs .nav-item .nav-link * {
    text-align: center !important;
  }

  .nav-tabs .nav-link {
    padding: 0.5rem 0.2rem;
    font-size: 0.65rem;
    text-align: center;
    border-radius: 6px;
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-tabs .nav-link h4 {
    font-size: 0.65rem !important;
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
  }

  /* Optimisation supplémentaire pour très petits écrans */
  @media (max-width: 400px) {
    .nav-tabs .nav-link {
      padding: 0.4rem 0.15rem;
      font-size: 0.6rem;
      min-height: 40px;
    }

    .nav-tabs .nav-link h4 {
      font-size: 0.6rem !important;
      line-height: 1.1;
    }

    .features .nav-tabs .nav-link {
      padding: 0.6rem 0.3rem !important;
      justify-content: center !important;
      text-align: center !important;
      display: flex !important;
      align-items: center !important;
    }

    .features .nav-tabs .nav-link h4 {
      font-size: 0.6rem !important;
      text-align: center !important;
      width: 100% !important;
      margin: 0 auto !important;
      padding: 0 !important;
      display: block !important;
    }
  }

  .tab-content .row {
    margin: 0;
  }

  .tab-content .col-lg-7,
  .tab-content .col-lg-5 {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .tab-content .col-lg-7[style*="padding-right"] {
    padding-right: 0.5rem !important;
  }

  .tab-content .col-lg-7[style*="padding-left"] {
    padding-left: 0.5rem !important;
  }

  .tab-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .tab-content ul {
    padding-left: 1.25rem;
  }

  .tab-content ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hero Section Mobile (A Propos, Contact) */
  .hero-section {
    padding: 2rem 0 !important;
  }

  .hero-section h1 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .hero-section .display-4 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }

  .hero-section .lead {
    font-size: 1rem !important;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .hero-section .phone-icon-orange {
    font-size: 2rem !important;
  }

  /* Stats Counter Mobile (A Propos) */
  .stats-counter {
    padding: 2rem 0;
  }

  .stats-item {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    flex-direction: column;
  }

  .stats-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .stats-item span {
    font-size: 2rem !important;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
  }

  .stats-item p {
    font-size: 0.95rem;
    margin: 0;
  }

  .stats-item .purecounter {
    font-size: 2rem !important;
  }

  /* Contact Page Mobile */
  .contact {
    padding: 2rem 0 !important;
  }

  .contact .info-item {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .contact .info-item i {
    font-size: 2rem !important;
    margin-bottom: 1rem;
  }

  .contact .info-item h2,
  .contact .info-item h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem;
  }

  .contact .info-item address,
  .contact .info-item p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .contact .info-item a {
    font-size: 0.95rem;
    word-break: break-all;
  }

  .contact .info-item img {
    max-width: 100%;
    height: auto;
  }

  /* Contact Form Mobile */
  .contact .map-container {
    margin-bottom: 2rem;
  }

  .contact .map-wrapper {
    height: 300px !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .contact .php-email-form {
    padding: 0;
  }

  .contact .form-group {
    margin-bottom: 1.25rem;
  }

  .contact .form-control {
    font-size: 0.95rem;
    padding: 0.75rem;
    border-radius: 8px;
  }

  .contact textarea.form-control {
    min-height: 120px;
  }

  .contact .btn-primary {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
    border-radius: 8px;
  }

  .contact .sent-message,
  .contact .error-message {
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  /* Services Page Mobile */
  .services {
    padding: 2rem 0 !important;
  }

  .services h1 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .services .lead {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .service-item {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .service-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .service-item h6 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .service-item ul {
    text-align: left;
    padding-left: 1.25rem;
    margin-top: 1rem;
  }

  .service-item ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .service-item ul li i {
    font-size: 0.85rem;
  }

  /* Réalisations Page Mobile */
  .container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .container.py-5 h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .features.row.g-3 {
    margin: 0;
  }

  .features.row.g-3>div {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .features.row.g-3 .p-3 {
    padding: 1rem !important;
    font-size: 0.9rem;
    text-align: center;
    min-height: auto;
  }

  /* CTA Section Mobile (toutes pages) */
  .cta-section {
    padding: 2rem 0 !important;
  }

  .cta-section .row {
    margin: 0;
  }

  .cta-section .col-lg-8,
  .cta-section .col-lg-4 {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .cta-section h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .cta-section .btn-light,
  .cta-section .btn-primary {
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  /* Images Responsive */
  .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .about-figure {
    margin-bottom: 1.5rem;
  }

  /* Order adjustments for mobile */
  .order-2.order-lg-1 {
    order: 1 !important;
  }

  .order-1.order-lg-2 {
    order: 2 !important;
  }

  .order-lg-1 {
    order: 1 !important;
  }

  .order-lg-2 {
    order: 2 !important;
  }

  /* Components Mobile */
  /* Hero Component */
  section.py-5 h1 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  section.py-5 .lead {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  section.py-5 .btn-lg {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.75rem;
  }

  section.py-5 .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }

  /* Card Component */
  .solution-card {
    margin-bottom: 1.5rem;
  }

  .solution-card .card-body {
    padding: 1.5rem !important;
  }

  .solution-card h3 {
    font-size: 1.1rem !important;
    line-height: 1.4;
  }

  .solution-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .solution-card ul li {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .solution-card .btn {
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    width: 100%;
  }

  .solution-icon-wrapper {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.25rem !important;
  }

  /* Comparison Strip Component */
  .bg-body-tertiary {
    padding: 1rem 0 !important;
  }

  .bg-body-tertiary .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .bg-body-tertiary .fw-semibold {
    font-size: 0.95rem;
    width: 100%;
  }

  .bg-body-tertiary .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  /* Cards Grid Component */
  .row.g-4 {
    margin: 0;
  }

  .row.g-4>* {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  /* Badges Mobile */
  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .solution-badge {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.7rem !important;
  }

  /* Buttons Mobile */
  .btn-lg {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .btn {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Display utilities Mobile */
  .d-none.d-lg-block {
    display: none !important;
  }

  .d-lg-none {
    display: block !important;
  }

  /* Flex utilities Mobile */
  .d-flex.flex-wrap {
    flex-wrap: wrap;
  }

  .gap-2 {
    gap: 0.5rem !important;
  }

  .gap-3 {
    gap: 0.75rem !important;
  }

  /* Text utilities Mobile */
  .text-center {
    text-align: center !important;
  }

  .text-lg-end {
    text-align: center !important;
  }

  /* Spacing Mobile */
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .mt-3 {
    margin-top: 1rem !important;
  }

  .mt-4 {
    margin-top: 1.5rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Carousel Mobile */
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {

  .logo-title {
    font-size: 28px !important;
    color: #feb900 !important;
  }

  .logo-subtitle {
    font-size: 11px !important;
    color: #feb900 !important;
  }

  .hero .info h2 {
    font-size: 2rem;
  }

  .hero .info p {
    font-size: 1rem;
  }

  .btn-get-started {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }

  .features h3 {
    font-size: 1.5rem;
  }

  .cta-section h3 {
    font-size: 1.4rem;
  }

  .footer-title {
    font-size: 1.6rem;
  }

  .stats-item span {
    font-size: 2.5rem;
  }

  .service-item h6 {
    font-size: 1.2rem;
  }

  /* Blog Sidebar Tablet */
  .blog .sidebar {
    padding: 2rem !important;
  }

  .blog .sidebar .sidebar-title {
    font-size: 1.5rem !important;
  }

  .blog .sidebar .recent-posts .post-item {
    flex-direction: row;
  }

  .blog .sidebar .recent-posts img {
    max-width: 80px;
    width: 80px;
    margin-right: 1rem;
    margin-bottom: 0;
  }

  /* Blog Details Tablet */
  .blog .blog-details {
    padding: 2rem !important;
  }

  .blog .blog-details .title {
    font-size: 2rem !important;
  }

  .blog .blog-details .content h3 {
    font-size: 1.5rem !important;
  }

  .blog .post-author {
    flex-direction: row;
    text-align: left;
  }

  .blog .post-author img {
    margin-right: 1.5rem;
    margin-bottom: 0;
  }

  /* Pages de détails Tablet */
  .prostock-section-header h2 {
    font-size: 2rem !important;
  }

  .prostock-feature-card {
    padding: 2rem !important;
  }

  .prostock-step-circle {
    width: 100px !important;
    height: 100px !important;
    font-size: 40px !important;
  }

  .prostock-usage-card {
    padding: 2rem !important;
  }

  .prostock-module-card {
    padding: 1.5rem !important;
  }

  .prostock-cta-section {
    padding: 2.5rem 2rem !important;
  }

  .prostock-cta-section h2 {
    font-size: 1.75rem !important;
  }

  /* Solutions Page Tablet */
  .solutions-title {
    font-size: 2rem !important;
  }

  .solutions-description {
    font-size: 1.1rem !important;
  }

  .solutions-feature-card {
    padding: 2rem !important;
  }

  .cta-section h2 {
    font-size: 1.75rem !important;
  }

  /* Page Accueil Tablet */
  .hero .info h1 {
    font-size: 2rem !important;
  }

  .hero .info p {
    font-size: 1rem !important;
  }

  /* Features Tablet */
  .features h3 {
    font-size: 1.4rem !important;
  }

  .features h6 {
    font-size: 1.15rem !important;
  }

  /* Tabs Tablet */
  .nav-tabs .nav-item.col-2 {
    flex: 1 1 calc(33.333% - 0.5rem) !important;
    max-width: calc(33.333% - 0.5rem);
  }

  .nav-tabs .nav-item.col-3 {
    flex: 1 1 calc(33.333% - 0.5rem) !important;
    max-width: calc(33.333% - 0.5rem);
  }

  .nav-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.875rem 0.75rem;
  }

  .nav-tabs .nav-link h4 {
    font-size: 0.9rem !important;
  }

  /* Hero Section Tablet */
  .hero-section h1 {
    font-size: 2rem !important;
  }

  .hero-section .display-4 {
    font-size: 2rem !important;
  }

  .hero-section .lead {
    font-size: 1.1rem !important;
  }

  /* Stats Counter Tablet */
  .stats-item {
    padding: 2rem;
  }

  .stats-item span {
    font-size: 2.5rem !important;
  }

  .stats-item .purecounter {
    font-size: 2.5rem !important;
  }

  /* Contact Tablet */
  .contact .info-item {
    padding: 2rem !important;
  }

  .contact .map-wrapper {
    height: 400px !important;
  }

  /* Services Tablet */
  .services h1 {
    font-size: 2rem !important;
  }

  .services .lead {
    font-size: 1.1rem !important;
  }

  .service-item {
    padding: 2rem !important;
  }

  .service-item h6 {
    font-size: 1.2rem !important;
  }

  /* CTA Section Tablet */
  .cta-section h3 {
    font-size: 1.5rem !important;
  }

  .cta-section p {
    font-size: 1rem;
  }

  /* Components Tablet */
  section.py-5 h1 {
    font-size: 2rem !important;
  }

  section.py-5 .lead {
    font-size: 1.1rem !important;
  }

  section.py-5 .btn-lg {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }

  section.py-5 .d-flex.gap-3 {
    flex-direction: row;
    gap: 1rem !important;
  }

  .solution-card .card-body {
    padding: 2rem !important;
  }

  .solution-card h3 {
    font-size: 1.2rem !important;
  }

  .bg-body-tertiary .d-flex {
    flex-direction: row;
    align-items: center !important;
  }

  .bg-body-tertiary .fw-semibold {
    width: auto;
  }
}

/* Large Mobile (480px - 768px) */
@media (min-width: 480px) and (max-width: 768px) {

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero .info h2 {
    font-size: 1.7rem;
  }

  .btn-get-started {
    max-width: 320px;
  }

  .btn-light {
    max-width: 320px;
  }

  .stats-item span {
    font-size: 2.2rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

  .nav-link {
    padding: 1rem 1.5rem;
  }

  .btn-get-started,
  .btn-light,
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .mobile-nav-toggle {
    padding: 0.5rem;
  }

  .scroll-top {
    width: 50px;
    height: 50px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .logo-title,
  .logo-subtitle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #feb900 !important;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {

  .hero {
    min-height: 50vh;
  }

  .breadcrumbs {
    min-height: 150px;
  }

  .navbar {
    height: calc(100vh - 50px);
    top: 50px;
  }

  .header {
    min-height: 50px;
  }
}