/* Mobile overrides for site-creativ.fr */

img,
video,
iframe {
  max-width: 100%;
}

main {
  overflow: clip;
}

@media (max-width: 1199px) {
  body.mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-toggle i {
    font-size: 28px;
    line-height: 1;
  }

  .mobile-nav-toggle:focus-visible {
    outline: 3px solid #f8b12e;
    outline-offset: 3px;
  }

  .navmenu ul {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    padding: max(96px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .mobile-nav-active .navmenu ul,
  .navmenu.active ul {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-active .header-container {
    position: relative;
    z-index: 9999;
  }

  .navmenu li,
  .navmenu a {
    width: 100%;
  }

  .navmenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-container,
  .header.scrolled .header-container {
    width: auto;
    min-width: 0;
    margin: 0 12px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(27, 38, 44, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .header .logo {
    min-width: 0;
    gap: 8px;
  }

  .header .logo-img {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .header .logo .sitename {
    max-width: calc(100vw - 132px);
    overflow: hidden;
    font-size: clamp(17px, 5vw, 22px);
    letter-spacing: 0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    padding: 56px 0;
  }

  .section > .container,
  .section > .container-fluid {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-title {
    padding-bottom: 32px;
  }

  .section-title div,
  .service-heading {
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .hero-h1 {
    display: block;
    margin-bottom: 20px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  #title-h3 {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero .divider {
    margin: 20px 0;
  }

  .hero .description p {
    margin-bottom: 28px;
    padding-left: 16px;
    line-height: 1.65;
  }

  .cta-button,
  .cta-button .btn,
  .btn-submit {
    width: 100%;
  }

  .cta-button .btn,
  .btn-submit {
    justify-content: center;
    min-height: 50px;
    padding: 13px 18px;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
  }

  .about-content h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.2;
  }

  .about-content .lead {
    font-size: 1.05rem;
  }

  .testimonial-section {
    padding-top: 24px !important;
  }

  .swiper-nav-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
  }

  .slider-next,
  .slider-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
  }

  .fleche {
    position: static;
    font-size: 20px;
  }

  .service-header,
  .steps-wrapper {
    margin-top: 0;
    margin-bottom: 32px;
  }

  .service-card,
  .feature-item,
  .step-item,
  .team-member,
  .contact-form-wrapper {
    height: auto;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .steps-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .portfolio-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
  }

  .portfolio-filters li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 9px 10px;
    text-align: center;
    line-height: 1.25;
  }

  .portfolio-filters li:first-child {
    grid-column: 1 / -1;
  }

  .entry-image img {
    height: 220px;
  }

  .entry-overlay {
    top: auto;
    min-height: 58%;
    padding: 24px 16px 16px;
    background: linear-gradient(to top, rgba(3, 17, 25, 0.98), rgba(3, 17, 25, 0.76), transparent);
    opacity: 1;
  }

  .entry-links a,
  .social-links a,
  .team-member .social a {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }

  .texte-team,
  .phrase-couleur-orange {
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
  }

  .team-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .team-modal-content {
    max-height: calc(100dvh - 24px);
    padding: 28px 20px 24px;
    overflow-y: auto;
    border-radius: 20px;
  }

  .team-modal-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    padding-right: 24px;
    text-align: center;
  }

  .team-modal-header img {
    width: 88px;
    height: 88px;
  }

  .team-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }

  .faq-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .faq-container {
    margin-top: 28px;
  }

  .faq-item {
    padding: 18px 52px 18px 18px;
  }

  .faq-item h3 {
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.45;
  }

  .faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }

  .contact-info-box {
    align-items: flex-start;
    gap: 14px;
    padding: 22px 18px;
  }

  .contact-info-box .icon-box {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .contact-info-box .info-content {
    min-width: 0;
  }

  .contact-info-box p,
  .footer-contact span {
    overflow-wrap: anywhere;
  }

  .input-with-icon .form-control {
    min-height: 50px;
    font-size: 16px;
  }

  .input-with-icon textarea.form-control {
    min-height: 150px;
  }

  .form-check {
    align-items: flex-start !important;
  }

  .form-check-input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-about,
  .footer-contact {
    text-align: left !important;
  }

  .copyright .sitename {
    display: inline-block;
  }

  .scroll-top {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .section > .container,
  .section > .container-fluid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .portfolio-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-filters li:first-child {
    grid-column: auto;
  }

  .footer-links {
    width: 100%;
  }
}

@media (hover: none) {
  .service-card:hover,
  .feature-item:hover,
  .team-member:hover,
  .portfolio-entry:hover .entry-image img,
  .cta-button .btn:hover,
  .btn-submit:hover {
    transform: none;
  }
}

/* 2026 brand lockup and right-aligned mobile menu */
@media (max-width: 1199px) {
  .header-container,
  .header.scrolled .header-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    border: 1px solid rgba(71, 215, 255, 0.14);
    background: rgba(15, 27, 36, 0.96);
  }

  .header .brand-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header .brand-copy {
    min-width: 0;
  }

  .navmenu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .mobile-nav-toggle {
    margin-left: auto;
    border: 1px solid rgba(71, 215, 255, 0.2);
    background: rgba(71, 215, 255, 0.08);
  }

  .mobile-nav-active .mobile-nav-toggle {
    border-color: rgba(246, 184, 74, 0.45);
    background: rgba(246, 184, 74, 0.13);
    color: #f6b84a;
  }

  .navmenu ul {
    background:
      radial-gradient(circle at 85% 10%, rgba(71, 215, 255, 0.13), transparent 32%),
      radial-gradient(circle at 15% 90%, rgba(246, 184, 74, 0.1), transparent 34%),
      rgba(6, 18, 27, 0.98);
  }

  .navmenu a {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 768px) {
  .header-container,
  .header.scrolled .header-container {
    gap: 10px;
    width: calc(100% - 20px);
    max-width: none;
    margin: 0 10px;
    padding: 8px 10px 8px 8px;
    border-radius: 17px;
    box-shadow: 0 12px 32px rgba(2, 12, 20, 0.3);
  }

  .header .brand-logo {
    gap: 9px;
  }

  .header .brand-logo .logo-img {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    max-height: none;
  }

  .header .brand-copy .sitename {
    max-width: none;
    overflow: visible;
    font-size: clamp(17px, 5vw, 20px);
    line-height: 1;
    letter-spacing: -0.045em;
    text-overflow: clip;
    text-transform: none;
    white-space: nowrap;
  }

  .header .brand-services {
    overflow: hidden;
    max-width: calc(100vw - 150px);
    color: rgba(214, 226, 235, 0.64);
    font-size: 7.5px;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
  }

  .mobile-nav-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .header-container,
  .header.scrolled .header-container {
    margin: 0 7px;
    width: calc(100% - 14px);
    padding-right: 8px;
  }

  .header .brand-logo .logo-img {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .header .brand-copy .sitename {
    font-size: 16px;
  }

  .header .brand-services {
    font-size: 6.8px;
    letter-spacing: 0.09em;
  }
}

@media (max-width: 330px) {
  .header .brand-services {
    display: none;
  }
}

/* White mobile navigation with the site's blue/orange palette */
@media (max-width: 1199px) {
  .header-container,
  .header.scrolled .header-container {
    border-color: rgba(248, 177, 46, 0.3);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 32px rgba(3, 17, 25, 0.16);
  }

  .mobile-nav-toggle {
    border-color: rgba(248, 177, 46, 0.42);
    background: rgba(248, 177, 46, 0.1);
    color: #1b262c;
  }

  .mobile-nav-active .mobile-nav-toggle {
    border-color: #f8b12e;
    background: #f8b12e;
    color: #1b262c;
  }

  .mobile-nav-active .navmenu .nav-link,
  .navmenu.active .nav-link {
    color: rgba(255, 255, 255, 0.94);
  }

  .mobile-nav-active .navmenu .nav-link:hover,
  .navmenu.active .nav-link:hover {
    color: #f8b12e;
  }
}

/* Keep the hero visual visible and balanced on phones */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 48px;
  }

  .hero .visual-content {
    display: flex !important;
    width: 100%;
    margin-top: 32px;
  }

  .hero .fluid-shape {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .hero .fluid-shape .fluid-img {
    display: block !important;
    width: min(86vw, 360px);
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(3, 17, 25, 0.22));
  }
}

@media (max-width: 380px) {
  .hero .visual-content {
    margin-top: 26px;
  }

  .hero .fluid-shape .fluid-img {
    width: min(84vw, 300px);
    max-width: 300px;
  }
}

/* Mobile hero rhythm: headline, visual, proof and action */
.hero-mobile-visual {
  display: none;
}

@media (max-width: 991px) {
  .hero-desktop-visual {
    display: none !important;
  }

  .hero-mobile-visual {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 22px 0 24px;
  }

  .hero-mobile-visual img {
    display: block;
    width: min(76vw, 390px);
    max-width: 390px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(3, 17, 25, 0.2));
  }
}

@media (max-width: 768px) {
  .hero-mobile-visual {
    margin: 18px 0 22px;
  }

  .hero-mobile-visual img {
    width: min(80vw, 340px);
    max-width: 340px;
  }
}

@media (max-width: 380px) {
  .hero-mobile-visual {
    margin: 16px 0 20px;
  }

  .hero-mobile-visual img {
    width: min(78vw, 285px);
    max-width: 285px;
  }
}

/* Compact heading hierarchy on small screens ? colors intentionally unchanged */
@media (max-width: 768px) {
  .hero-h1 {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 6.2vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-transform: none;
  }

  .section-title {
    padding-bottom: 28px;
  }

  .section-title > h2,
  .section-title > h3 {
    margin-bottom: 7px;
    font-size: 0.68rem !important;
    line-height: 1.35;
    letter-spacing: 0.14em;
  }

  .section-title > div {
    font-size: clamp(1.4rem, 5.8vw, 1.7rem) !important;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .service-heading {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
  }

  .about-content h2,
  .faq-title,
  .titre-contact {
    font-size: clamp(1.4rem, 5.8vw, 1.7rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .step-info h3,
  .faq-item h3 {
    font-size: 0.98rem;
  }

  .contact-form-wrapper h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .section-title > div {
    font-size: 1.35rem !important;
  }
}

/* Keep the opened mobile menu above every page section */
@media (max-width: 1199px) {
  body.mobile-nav-active .header,
  body.mobile-nav-active .header.scrolled {
    z-index: 100000;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.mobile-nav-active .header-container,
  body.mobile-nav-active .header.scrolled .header-container {
    position: relative;
    z-index: auto;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav-active .navmenu ul,
  .navmenu.active ul {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    z-index: 100001;
    isolation: isolate;
    overscroll-behavior: contain;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: relative;
    z-index: 100002;
  }
}

/* 2026 complete mobile section refresh */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 96px;
  }

  body {
    background: #020814;
  }

  .section {
    position: relative;
    padding: 64px 0;
    overflow: clip;
  }

  .section + .section {
    border-top: 1px solid rgba(248, 177, 46, 0.09);
  }

  #about,
  #steps,
  #team,
  #contact {
    background:
      radial-gradient(circle at 100% 0%, rgba(24, 91, 126, 0.16), transparent 34%),
      linear-gradient(180deg, #081a24 0%, #061720 100%);
  }

  #services,
  #portfolio,
  #faq {
    background:
      radial-gradient(circle at 0% 20%, rgba(248, 177, 46, 0.055), transparent 30%),
      #020814;
  }

  .section > .container,
  .section > .container-fluid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-title {
    margin: 0;
    padding-bottom: 28px;
  }

  .section-title > h2,
  .section-title > h3 {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin: 0 0 9px;
    font-size: 0.67rem !important;
    line-height: 1.4;
    letter-spacing: 0.14em;
  }

  .section-title > h2::after,
  .section-title > h3::after {
    content: "";
    flex: 1 1 auto;
    width: auto;
    max-width: 56px;
    height: 1px;
    margin: 0;
    background: #f8b12e;
  }

  .section-title > div {
    max-width: 21rem;
    margin-top: 0;
    font-size: clamp(1.38rem, 6vw, 1.7rem) !important;
    line-height: 1.18;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 56px;
    background:
      radial-gradient(circle at 84% 24%, rgba(28, 111, 155, 0.24), transparent 34%),
      radial-gradient(circle at 16% 76%, rgba(248, 177, 46, 0.09), transparent 32%),
      #020814;
  }

  .hero .content-col,
  .hero .content {
    width: 100%;
  }

  .hero-h1 {
    max-width: 22rem;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.6vw, 1.9rem);
    line-height: 1.14;
  }

  .hero-mobile-visual {
    position: relative;
    margin: 14px 0 18px;
    padding: 8px 0;
  }

  .hero-mobile-visual::before {
    content: "";
    position: absolute;
    inset: 14% 10%;
    border-radius: 50%;
    background: rgba(20, 83, 117, 0.2);
    filter: blur(28px);
  }

  .hero-mobile-visual img {
    position: relative;
    width: min(76vw, 310px);
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.28));
  }

  .hero .divider {
    width: 52px;
    height: 2px;
    margin: 14px 0 18px;
  }

  .hero .description p {
    margin: 0 0 24px;
    padding: 17px 17px 17px 18px;
    border: 1px solid rgba(75, 150, 190, 0.17);
    border-left: 3px solid #f8b12e;
    border-radius: 0 16px 16px 0;
    background: rgba(16, 45, 61, 0.56);
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .cta-button .btn,
  .btn-submit {
    min-height: 52px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(248, 177, 46, 0.17);
  }

  .about-image {
    overflow: hidden;
    border: 1px solid rgba(75, 150, 190, 0.25);
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  }

  .about-image img {
    display: block;
    min-height: 250px;
    max-height: 330px;
    border-radius: 0 !important;
  }

  .about-content {
    margin-top: 28px;
  }

  .about-content h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 5.8vw, 1.68rem);
  }

  .about-content .lead {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-content > p:not(.lead) {
    margin-bottom: 22px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .about-content .row {
    --bs-gutter-y: 12px;
    margin-top: 0 !important;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 5px 14px;
    padding: 18px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(27, 58, 74, 0.92), rgba(17, 39, 51, 0.96));
    text-align: left;
  }

  .feature-item i {
    display: inline-flex;
    grid-row: 1 / span 2;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(248, 177, 46, 0.28);
    border-radius: 14px;
    background: rgba(248, 177, 46, 0.1);
    font-size: 22px;
  }

  .feature-item h5 {
    align-self: end;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
  }

  .feature-item p {
    grid-column: 2;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .testimonial-section {
    margin-top: 42px !important;
    padding-top: 36px !important;
    border-top: 1px solid rgba(248, 177, 46, 0.16);
  }

  .testimonial-intro {
    margin-bottom: 18px;
  }

  .testimonial-intro h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
  }

  .testimonial-intro p {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .swiper-nav-buttons {
    margin: 16px 0 20px !important;
  }

  .slider-next,
  .slider-prev {
    border: 1px solid rgba(248, 177, 46, 0.3);
    border-radius: 14px;
    background: rgba(248, 177, 46, 0.1);
    color: #f8b12e;
  }

  .testimonial-item {
    padding: 22px 20px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(27, 58, 74, 0.9), rgba(15, 34, 45, 0.97));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  }

  .testimonial-item > p {
    margin-bottom: 18px;
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .services .section-title {
    padding-bottom: 18px;
  }

  .service-header {
    margin-bottom: 18px;
    padding: 20px 18px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 18px;
    background: rgba(17, 42, 56, 0.68);
  }

  .service-heading {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 5.8vw, 1.7rem);
  }

  .service-summary p {
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.62;
  }

  .services .row.gy-4 {
    --bs-gutter-y: 14px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 5px 15px;
    padding: 19px 18px;
    overflow: hidden;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(25, 55, 71, 0.96), rgba(14, 33, 44, 0.98));
    text-align: left;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  }

  .service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #f8b12e;
  }

  .service-icon {
    grid-row: 1 / span 2;
  }

  .service-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 1px solid rgba(248, 177, 46, 0.26);
    border-radius: 15px;
    background: rgba(248, 177, 46, 0.1);
    font-size: 24px;
  }

  .service-card h3 {
    align-self: end;
    margin: 1px 0 4px;
    font-size: 1.04rem;
  }

  .service-card p {
    grid-column: 2;
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.58;
  }

  .steps-wrapper {
    gap: 13px;
    margin: 0;
  }

  .step-item {
    padding: 19px 18px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-left: 3px solid #f8b12e;
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(26, 56, 72, 0.93), rgba(15, 35, 46, 0.97));
  }

  .step-content {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0 14px;
    align-items: start;
  }

  .step-icon {
    display: inline-flex;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(248, 177, 46, 0.25);
    border-radius: 14px;
    background: rgba(248, 177, 46, 0.1);
    font-size: 21px;
  }

  .step-info {
    min-width: 0;
  }

  .step-number {
    display: block;
    margin: 0 0 5px;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .step-info h3 {
    margin: 0 0 8px;
    font-size: 1rem;
  }

  .step-info p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .portfolio > .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  .portfolio-filters {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0 18px 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filters li,
  .portfolio-filters li:first-child {
    display: inline-flex;
    grid-column: auto;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 999px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .isotope-container {
    --bs-gutter-y: 16px;
    margin-right: 0;
    margin-left: 0;
    padding: 0 18px;
  }

  .portfolio-entry {
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 18px;
    background: #102937;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  }

  .entry-image {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
  }

  .entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .entry-overlay {
    top: auto;
    min-height: 54%;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 46px 18px 17px;
    background: linear-gradient(to top, rgba(3, 17, 25, 0.99), rgba(3, 17, 25, 0.78), transparent);
    opacity: 1;
  }

  .overlay-content {
    width: 100%;
    text-align: left;
  }

  .entry-meta {
    margin-bottom: 3px;
    font-size: 0.66rem;
  }

  .entry-title {
    margin: 0;
    font-size: 1.05rem;
  }

  .entry-links {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .entry-links a {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(248, 177, 46, 0.25);
    background: rgba(248, 177, 46, 0.1);
  }

  .team > .container.mb-5 {
    margin-bottom: 28px !important;
  }

  .team > .container.mb-5 .col-lg-10 {
    padding: 20px 18px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-left: 3px solid #f8b12e;
    border-radius: 18px;
    background: rgba(17, 42, 56, 0.68);
    text-align: left;
  }

  .texte-team,
  .phrase-couleur-orange {
    margin-bottom: 0;
    font-size: 0.91rem;
    line-height: 1.65;
  }

  .texte-team br {
    display: none;
  }

  .team .row.gy-4 {
    --bs-gutter-y: 14px;
  }

  .team-member {
    padding: 24px 20px 20px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(26, 56, 72, 0.94), rgba(15, 34, 45, 0.98));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  }

  .team-member .member-img {
    margin-bottom: 15px;
  }

  .team-member .member-img img {
    width: 108px;
    height: 108px;
    border-color: rgba(248, 177, 46, 0.35);
  }

  .team-member h4 {
    margin-bottom: 4px;
    font-size: 1.15rem;
  }

  .team-member span {
    margin-bottom: 12px;
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .team-member p {
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .team-member .social {
    margin: 0 0 16px;
  }

  .team-member .team-desc-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
  }

  .faq .row {
    --bs-gutter-y: 26px;
  }

  .faq-title {
    max-width: 20rem;
    margin-bottom: 12px;
    font-size: clamp(1.42rem, 6vw, 1.72rem);
  }

  .faq-description {
    margin-bottom: 0;
    padding: 16px 17px;
    border-left: 3px solid #f8b12e;
    border-radius: 0 15px 15px 0;
    background: rgba(17, 42, 56, 0.62);
    font-size: 0.91rem;
    line-height: 1.62;
  }

  .faq-container {
    gap: 11px;
    margin-top: 24px;
  }

  .faq-item {
    padding: 17px 54px 17px 17px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(24, 52, 68, 0.94), rgba(14, 32, 43, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  }

  .faq-item.faq-active {
    border-color: rgba(248, 177, 46, 0.42);
  }

  .faq-item h3 {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .faq-content {
    padding-top: 12px;
  }

  .faq-content p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .faq-toggle {
    top: 10px;
    right: 9px;
    border-radius: 12px;
    background: rgba(248, 177, 46, 0.1);
    color: #f8b12e;
  }

  .contact .section-title {
    padding-bottom: 22px;
  }

  .contact .row.gy-4 {
    --bs-gutter-y: 12px;
    margin-bottom: 28px !important;
  }

  .contact-info-box {
    min-height: 86px;
    padding: 17px;
    border: 1px solid rgba(75, 150, 190, 0.2);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(25, 55, 71, 0.94), rgba(14, 33, 44, 0.98));
  }

  .contact-info-box .icon-box {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(248, 177, 46, 0.25);
    border-radius: 14px;
  }

  .contact-info-box h4 {
    margin-bottom: 4px;
    font-size: 0.98rem;
  }

  .contact-info-box p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .form-container-overlap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-form-wrapper {
    padding: 24px 17px 20px;
    border: 1px solid rgba(75, 150, 190, 0.22);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(25, 55, 71, 0.96), rgba(14, 33, 44, 0.99));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  }

  .contact-form-wrapper h3 {
    margin-bottom: 20px !important;
    font-size: 1.2rem;
  }

  .contact-form-wrapper .row {
    --bs-gutter-y: 12px;
  }

  .input-with-icon .form-control {
    min-height: 52px;
    border: 1px solid rgba(75, 150, 190, 0.22);
    border-radius: 13px;
    background: rgba(3, 17, 25, 0.52);
  }

  .input-with-icon textarea.form-control {
    min-height: 140px;
  }

  .input-with-icon .form-control:focus {
    border-color: rgba(248, 177, 46, 0.55);
    box-shadow: 0 0 0 3px rgba(248, 177, 46, 0.08);
  }

  .form-check-label {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer {
    padding-top: 50px;
    padding-bottom: 24px;
    background:
      radial-gradient(circle at 90% 0%, rgba(24, 91, 126, 0.18), transparent 32%),
      #020814;
  }

  .footer-top .row {
    --bs-gutter-y: 32px;
  }

  .footer-about .logo span {
    font-size: 1.35rem;
  }

  .footer-about p {
    margin-top: 14px;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .footer .social-links {
    gap: 9px;
    margin-top: 18px !important;
  }

  .footer-links h4,
  .footer-contact h4 {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1rem;
  }

  .footer-links h4::after,
  .footer-contact h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: #f8b12e;
  }

  .footer-links ul li {
    margin-bottom: 10px;
  }

  .footer-links ul li a,
  .footer-contact p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .footer-contact {
    padding-top: 22px;
    border-top: 1px solid rgba(248, 177, 46, 0.12);
  }

  .copyright {
    margin-top: 32px !important;
    padding-top: 22px;
    border-top: 1px solid rgba(75, 150, 190, 0.15);
  }

  .copyright p,
  .copyright .credits {
    font-size: 0.78rem;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .portfolio-filters {
    display: flex;
    grid-template-columns: none;
  }

  .service-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 5px 13px;
    padding: 18px 16px;
  }

  .service-icon i {
    width: 46px;
    height: 46px;
  }

  .step-item {
    padding: 17px 15px;
  }

  .footer-links {
    width: 50%;
  }
}

/* Align the mobile brand copy with the logo and improve its contrast */
@media (max-width: 768px) {
  .header .brand-logo {
    display: flex;
    align-items: center;
  }

  .header .brand-copy {
    position: static;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    transform: none;
  }

  .header .brand-copy .sitename,
  .header .brand-services {
    width: 100%;
    text-align: center;
  }

  .header .brand-services {
    color: #0876a6;
    font-weight: 700;
  }
}

/* Refined and more elegant mobile heading scale */
@media (max-width: 768px) {
  .hero-h1 {
    max-width: 20rem;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(1.32rem, 5.4vw, 1.58rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.028em;
    text-wrap: balance;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 .highlight {
    display: inline;
    font-weight: 600;
  }

  .section-title {
    padding-bottom: 24px;
  }

  .section-title > div {
    max-width: 20rem;
    font-size: clamp(1.16rem, 4.8vw, 1.38rem) !important;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .service-heading,
  .about-content h2,
  .faq-title,
  .titre-contact {
    max-width: 20rem;
    font-size: clamp(1.16rem, 4.8vw, 1.38rem) !important;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  .testimonial-intro h3 {
    font-size: 1.12rem;
    font-weight: 600;
  }

  .service-card h3,
  .step-info h3,
  .entry-title,
  .faq-item h3,
  .contact-form-wrapper h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .contact-form-wrapper h3 {
    font-size: 1.08rem;
  }
}

/* Solid orange burger button with the site's blue icon */
@media (max-width: 1199px) {
  .mobile-nav-toggle,
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible,
  .mobile-nav-toggle[aria-expanded="true"],
  .mobile-nav-active .mobile-nav-toggle {
    border-color: #f8b12e;
    background: #f8b12e;
    color: #0876a6;
    box-shadow: 0 8px 18px rgba(248, 177, 46, 0.24);
  }
}

/* Keep the About illustration as balanced as the mobile hero visual */
@media (max-width: 768px) {
  .about-image {
    width: min(100%, 374px);
    margin-right: auto;
    margin-left: auto;
  }

  .about-image .about-illustration {
    min-height: 0;
    max-height: none;
    border-radius: 0 !important;
  }
}

/* Precisely align the brand title with the visual center of the logo */
@media (max-width: 768px) {
  .header .brand-copy {
    position: relative;
    display: block;
    height: 42px;
    min-height: 42px;
    gap: 0;
  }

  .header .brand-copy .sitename {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
  }

  .header .brand-services {
    position: absolute;
    top: calc(50% + 12px);
    left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .header .brand-copy {
    height: 38px;
    min-height: 38px;
  }

  .header .brand-services {
    top: calc(50% + 10px);
  }
}

/* Stronger Sora brand sizing on mobile */
@media (max-width: 768px) {
  .header .brand-copy .sitename {
    font-size: clamp(19px, 5.5vw, 22px);
    font-weight: 800;
  }

  .header .brand-services {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 380px) {
  .header .brand-copy .sitename {
    font-size: 18px;
  }

  .header .brand-services {
    font-size: 7.5px;
    letter-spacing: 0.07em;
  }
}

/* Professional compact mobile navigation */
@media (max-width: 1199px) {
  .header,
  .header.scrolled {
    padding: 12px 0;
    background: transparent;
    box-shadow: none;
  }

  .header.scrolled {
    padding: 8px 0;
  }

  .header-container,
  .header.scrolled .header-container {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 7px 8px;
    border: 1px solid rgba(8, 118, 166, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(3, 17, 25, 0.17), inset 0 1px 0 #ffffff;
  }

  .mobile-nav-toggle,
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible,
  .mobile-nav-toggle[aria-expanded="true"],
  .mobile-nav-active .mobile-nav-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #f8b12e;
    border-radius: 14px;
    background: #f8b12e;
    color: #0876a6;
    box-shadow: 0 8px 18px rgba(248, 177, 46, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-nav-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(248, 177, 46, 0.3);
  }

  .mobile-nav-active .navmenu ul,
  .navmenu.active ul {
    justify-content: flex-start;
    gap: 10px;
    padding: max(104px, calc(env(safe-area-inset-top) + 86px)) 18px max(30px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 88% 12%, rgba(8, 118, 166, 0.28), transparent 34%),
      radial-gradient(circle at 10% 88%, rgba(248, 177, 46, 0.12), transparent 34%),
      #020814;
  }

  .navmenu .nav-list li {
    width: min(100%, 420px);
    margin: 0;
  }

  .mobile-nav-active .navmenu .nav-link,
  .navmenu.active .nav-link {
    min-height: 56px;
    justify-content: flex-start;
    padding: 14px 17px;
    border: 1px solid rgba(120, 200, 235, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    color: #f5f9fc;
    font-family: "Poppins", sans-serif !important;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .mobile-nav-active .navmenu .nav-link::after,
  .navmenu.active .nav-link::after {
    display: none;
  }

  .mobile-nav-active .navmenu li:not(:last-child) .nav-link:hover,
  .mobile-nav-active .navmenu li:not(:last-child) .nav-link.active,
  .navmenu.active li:not(:last-child) .nav-link:hover,
  .navmenu.active li:not(:last-child) .nav-link.active {
    border-color: rgba(248, 177, 46, 0.46);
    background: rgba(248, 177, 46, 0.12);
    color: #f8b12e;
  }

  .mobile-nav-active .navmenu li:last-child .nav-link,
  .navmenu.active li:last-child .nav-link {
    border-color: #f8b12e;
    background: #f8b12e;
    color: #102937;
    box-shadow: 0 10px 24px rgba(248, 177, 46, 0.2);
  }
}

@media (max-width: 380px) {
  .header-container,
  .header.scrolled .header-container {
    width: calc(100% - 14px);
    margin: 0 7px;
    border-radius: 17px;
  }
}

/* Keep the refined brand proportions and fixed header on mobile */
@media (max-width: 1199px) {
  .header,
  .header.scrolled {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100000 !important;
    transform: none !important;
  }

  .header .brand-copy .sitename,
  .header .brand-copy .sitename span {
    font-family: "Sora", sans-serif !important;
    font-size: clamp(16px, 4.5vw, 18px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
  }

  .header .brand-services,
  .header .brand-services span {
    font-family: "Poppins", sans-serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.09em !important;
  }
}

@media (max-width: 380px) {
  .header .brand-copy .sitename,
  .header .brand-copy .sitename span {
    font-size: 15.5px !important;
  }

  .header .brand-services,
  .header .brand-services span {
    font-size: 7.3px !important;
  }
}

/* MOBILE HERO IMAGE SCALE 20260903 */
@media (max-width: 991px) {
  .hero-mobile-visual img {
    width: min(92vw, 430px);
    max-width: 430px;
  }
}

@media (max-width: 575px) {
  .hero-mobile-visual img {
    width: min(94vw, 390px);
    max-width: 390px;
  }
}

@media (max-width: 380px) {
  .hero-mobile-visual img {
    width: min(94vw, 330px);
    max-width: 330px;
  }
}