/*
 * invicta.css
 * Styles propres au site INVICTA CREATION, chargés après la feuille principale.
 * Couleurs de marque : orange #F26422, noir, blanc.
 * -----------------------------------------------
*/
:root {
  --theme-color1: #F26422;
  --theme-color1-rgb: 242, 100, 34;
  --theme-color3: #F26422;
  --theme-color3-rgb: 242, 100, 34;
  --theme-color3-text-color: #ffffff;
  --gradient-1: linear-gradient(180deg, rgba(24, 24, 24, 0) 0%, #F26422 100%);
}

/* Logo */
.header-style-five .logo img {
  height: 58px;
  width: auto;
  max-width: none;
}
.sticky-header .logo img {
  max-height: 46px;
}
.mobile-menu .nav-logo img {
  max-height: 48px;
}
@media (max-width: 767.98px) {
  .header-style-five .logo img {
    height: 46px;
  }
}

/* About */
.about-section-five .circle-container .logo,
.contact-section-two .circle-container .logo {
  color: var(--theme-color1);
  font-size: 34px;
}
.about-section-five .image-box .image img,
.why-choose-us .image img,
.faqs-section-four .image-box .image img,
.service-block11 .image img {
  width: 100%;
  display: block;
}

/* Clients */
.clients-section .clients-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--theme-color-white);
  font-family: var(--heading-font-family);
  margin-bottom: 40px;
}
.clients-section .client-img {
  width: auto;
  height: 136px;
  padding: 16px 20px;
  background-color: #ffffff;
  border: none;
  border-radius: 14px;
}
.clients-section .client-img img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.clients-section .client-img:hover {
  -webkit-filter: none;
          filter: none;
}

/* Contact form */
.contact-section-two .contact-column form .form-status {
  min-height: 24px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--theme-color-white);
}
.contact-section-two .contact-column form .form-status.is-error {
  color: #ff9d73;
}
.contact-section-two .contact-column form .form-status + .theme-btn-one {
  margin-top: 30px;
}
.contact-section-two .contact-column form input.is-invalid,
.contact-section-two .contact-column form textarea.is-invalid {
  border-bottom-color: var(--theme-color1);
}

/* Footer */
.footer-section-three .right-side .info a {
  color: inherit;
}
.footer-section-three .footer-brand .footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 24px;
}
.footer-section-three .footer-brand p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}
.footer-section-three .footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section-three .footer-contacts li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.footer-section-three .footer-contacts li i {
  color: var(--theme-color1);
  width: 24px;
}
.footer-section-three .footer-contacts li a {
  color: inherit;
}
.footer-section-three .footer-contacts li a:hover {
  color: var(--theme-color1);
}
@media (max-width: 991.98px) {
  .footer-section-three .footer-brand {
    margin-bottom: 40px;
  }
}

/* Mots insécables dans les titres animés lettre par lettre */
.page-wrapper .title span.nw,
.page-wrapper .title-shadow span.nw {
  display: inline-block;
  white-space: nowrap;
  color: inherit;
}
.page-wrapper .title span.nw.accent {
  color: var(--theme-color1);
}

/* Banner : texte d'accroche à droite */
.banner-section-five .social-info .text-box .text {
  font-size: 24px;
  line-height: 32px;
}

/* Titres animés : l'espace de fin dans un <span> disparaît (inline-block) ;
   on le rend par une marge, utile sur mobile où le <br> est masqué */
.sec-title .title .esp-apres {
  margin-right: 0.28em;
}

/* Étiquettes de section : l'animation mot à mot supprimait les espaces */
.sec-title .sub-title {
  gap: 0.35em;
}

/* Footer : bloc « Parlons-en » */
.footer-section-three .upper-box .inner-box {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 24px 40px;
}
.footer-section-three .upper-box .inner-box .left-side .title {
  font-size: 96px;
  white-space: nowrap;
}
@media (max-width: 1439.98px) {
  .footer-section-three .upper-box .inner-box .left-side .title {
    font-size: 80px;
  }
}
@media (max-width: 575.98px) {
  .footer-section-three .upper-box .inner-box .left-side .title {
    font-size: 54px;
  }
}
.footer-section-three .upper-box .inner-box .right-side .info span {
  font-size: 26px;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .footer-section-three .upper-box .inner-box .right-side .info span {
    font-size: 22px;
  }
}

/* Typographie française : pas de majuscule à chaque mot */
.main-menu .navigation > li,
.main-menu .navigation > li > a,
.mobile-menu .navigation li,
.mobile-menu .navigation li > a,
.service-block11 .inner-block .content-box .content-column .inner-column .title {
  text-transform: none;
}

/* Menu mobile : l'adresse e-mail tient sur une ligne */
.mobile-menu .contact-list-one .text a {
  font-size: 15px;
  white-space: nowrap;
}

/* À propos : sur tablette et mobile, le badge tournant chevauchait l'image */
@media (max-width: 1199.98px) {
  .about-section-five .circle-container {
    display: none;
  }
  .about-section-five .content-column .inner-column .title span {
    margin-left: 0;
  }
}

/* Grands écrans : le haut de page et l'en-tête ne collent plus aux bords */
.header-style-five .outer-box,
.banner-section-five .inner-container {
  padding-left: clamp(16px, 5vw, 110px);
  padding-right: clamp(16px, 5vw, 110px);
}

/* Écran de chargement : logo INVICTA sur fond noir à la place du mot « LOADING » */
.preloader {
  background-color: #030303;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 220px auto;
}
.preloader:before {
  content: none;
}
@media (max-width: 575.98px) {
  .preloader {
    background-size: 160px auto;
  }
}

/* Services : le titre indique qu'il est interactif ; le survol ne fait que le colorer */
.service-block11 .title-box {
  cursor: pointer;
}
.service-block11 .title-box:hover .title,
.service-block11 .inner-block.active .title-box .title {
  color: var(--theme-color1);
  -webkit-transition: color 250ms ease;
  transition: color 250ms ease;
}

/* Le défilement lissé (ScrollSmoother) est incompatible avec scroll-behavior: smooth de Bootstrap :
   à chaque changement de hauteur (accordéon), la page remontait en haut. */
:root, html {
  scroll-behavior: auto !important;
}

/* Piment 3D dans le titre du haut de page (remplace l'interrupteur décoratif du template) */
.banner-section-five .title-box .title .piment-3d {
  position: absolute;
  left: 4.05em;
  top: 0.7em;
  width: 2.7em;
  height: 2.7em;
  margin: 0;
}
.banner-section-five .title-box .title {
  position: relative;
}
.banner-section-five .title-box .title .piment-3d .piment-static {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-animation: piment-sway 6s ease-in-out infinite;
          animation: piment-sway 6s ease-in-out infinite;
  -webkit-transition: opacity 600ms ease;
  transition: opacity 600ms ease;
}
.banner-section-five .title-box .title .piment-3d.is-3d .piment-static {
  opacity: 0;
  -webkit-animation: none;
          animation: none;
}
@keyframes piment-sway {
  0%, 100% { -webkit-transform: rotate(-6deg) translateY(0); transform: rotate(-6deg) translateY(0); }
  50% { -webkit-transform: rotate(6deg) translateY(-6px); transform: rotate(6deg) translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-section-five .title-box .title .piment-3d .piment-static { -webkit-animation: none; animation: none; }
}
.banner-section-five .title-box .title .piment-3d model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: transparent;
  --progress-bar-height: 0px;
  outline: none;
  opacity: 0;
  -webkit-transition: opacity 600ms ease;
  transition: opacity 600ms ease;
}
.banner-section-five .title-box .title .piment-3d model-viewer.is-loaded {
  opacity: 1;
}
.banner-section-five .title-box .title .piment-3d model-viewer::part(default-progress-bar) {
  display: none;
}

/* Réalisations : grille de vidéos (vignette + lecture en grand) */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 70px;
  padding-bottom: 120px;
}
@media (max-width: 991.98px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-top: 50px; padding-bottom: 80px; } }
@media (max-width: 575.98px) { .realisations-grid { grid-template-columns: 1fr; } }
.realisation-card { display: block; color: inherit; }
.realisation-card .thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #141414;
}
.realisation-card .thumb img {
  width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; display: block;
  -webkit-transition: -webkit-transform 600ms ease; transition: transform 600ms ease;
}
.realisation-card:hover .thumb img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.realisation-card .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: var(--theme-color1); color: #fff; font-size: 22px;
  display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  -webkit-transition: -webkit-transform 300ms ease; transition: transform 300ms ease;
}
.realisation-card .play i { margin-left: 4px; }
.realisation-card:hover .play { -webkit-transform: scale(1.1); transform: scale(1.1); }
.realisation-card .meta { display: block; padding: 18px 4px 0; }
.realisation-card .client { display: block; font-family: var(--heading-font-family); font-size: 22px; font-weight: 600; color: #fff; }
.realisation-card .kind { display: block; margin-top: 4px; font-size: 15px; color: var(--theme-color1); }

/* Services : un seul appel à l'action après la liste */
.services-cta {
  padding-top: 50px;
  text-align: center;
}

/* Haut de page sur mobile : moins de vide, et l'accroche ne touche plus le slogan */
@media (max-width: 767.98px) {
  .banner-section-five {
    padding: 120px 0 50px;
  }
  .banner-section-five .right-box {
    margin-top: 40px;
  }
  .banner-section-five .title-box .title .piment-3d {
    width: 2.6em;
    height: 2.6em;
    margin: -0.9em 0 -0.7em 0;
  }
}

/* Accroche « Agence de communication à Abidjan » : petite, collée à droite avec les réseaux */
.banner-section-five .social-icon {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media (max-width: 991.98px) {
  .banner-section-five .social-info {
    margin: 0 0 0 auto;
    max-width: 240px;
  }
  .banner-section-five .social-info .text-box .text {
    font-size: 17px;
    line-height: 24px;
  }
}

/* Slogan plus imposant sur mobile, comme sur ordinateur */
@media (max-width: 767.98px) {
  .banner-section-five .title-box .title {
    font-size: 64px;
    line-height: 74px;
  }
  .banner-section-five .title-box .title .piment-3d {
    left: auto;
    right: -0.5em;
    top: 1.7em;
    width: 2.8em;
    height: 2.8em;
  }
}
@media (max-width: 575.98px) {
  .banner-section-five .title-box .title {
    font-size: 58px;
    line-height: 68px;
  }
}
@media (max-width: 374.98px) {
  .banner-section-five .title-box .title {
    font-size: 50px;
    line-height: 60px;
  }
}
@media (max-width: 575.98px) {
  .banner-section-five .title-box .title .piment-3d {
    right: auto;
    left: 4em;
    top: 1.85em;
    width: 2.5em;
    height: 2.5em;
  }
}

/* Mobile : l'accroche, sa flèche et les réseaux forment un petit bloc discret à droite */
@media (max-width: 991.98px) {
  .banner-section-five .social-info .line {
    text-align: right;
    margin-top: 2px;
  }
  .banner-section-five .social-info .line img {
    width: 150px;
    height: auto;
  }
  .banner-section-five .social-icon {
    margin-top: 12px;
    gap: 6px;
  }
  .banner-section-five .social-icon li a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
  }
}

/* Accroche : flèche en ligne après « à Abidjan » sur mobile, sous le texte sur ordinateur */
.banner-section-five .social-info .text-box .text .arrow-inline {
  display: none;
}
@media (max-width: 991.98px) {
  .banner-section-five .social-info {
    margin: 0;
    max-width: none;
  }
  .banner-section-five .social-info .text-box .text {
    text-align: left;
  }
  .banner-section-five .social-info .text-box .text .arrow-inline {
    display: inline-block;
    width: 120px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
  }
  .banner-section-five .social-info .line {
    display: none;
  }
  .banner-section-five .social-icon {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-top: 16px;
  }
}

/* À propos : PC = mot « Invicta » en filigrane gris ; mobile et tablette = piment couché avec vapeur */
.about-section-five .title-shadow.piment-shadow {
  display: none;
}
.about-section-five .title-shadow.piment-shadow img {
  width: 300px;
  height: auto;
  -webkit-filter: grayscale(1) brightness(0.75);
          filter: grayscale(1) brightness(0.75);
  opacity: 0.45;
}
/* Mobile et tablette : piment couché à droite, juste au-dessus de « À propos », bande noire réduite ;
   la vapeur sort de la zone noire, passe sur les icônes des réseaux et retombe au niveau de « Agence de communication » */
@media (max-width: 991.98px) {
  .about-section-five {
    padding-top: 16px;
  }
  .about-section-five .title-shadow.texte-shadow {
    display: none;
  }
  .about-section-five .title-shadow.piment-shadow {
    display: block;
    position: relative;
    height: 70px;
    padding: 0;
    overflow: visible;
  }
  .about-section-five .title-shadow.piment-shadow img {
    position: absolute;
    left: auto;
    right: 20px;
    bottom: -34px;
    width: 153px;
    -webkit-transform: rotate(62deg);
            transform: rotate(62deg);
  }
  .about-section-five .title-shadow.piment-shadow .steam {
    display: block;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 236px;
    z-index: 3;
    pointer-events: none;
  }
  .about-section-five .title-shadow.piment-shadow .steam canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* =========================================================
   Page Carrière
   ========================================================= */
.carriere-intro {
  position: relative;
  padding: 230px 0 90px;
}
@media (max-width: 991.98px) {
  .carriere-intro { padding: 150px 0 60px; }
}
.carriere-intro .text {
  font-size: 19px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 0 34px;
}
.carriere-actions {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -ms-flex-wrap: wrap; flex-wrap: wrap;
  gap: 16px 20px;
}
.carriere-points {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 1200px) {
  .carriere-points { margin: 70px 0 0 40px; }
}
.carriere-points li {
  border: 1px solid #2F2F2F;
  border-radius: 16px;
  padding: 22px 26px;
  background: #0D0D0D;
}
.carriere-points strong {
  display: block;
  font-family: var(--heading-font-family);
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}
.carriere-points span { color: rgba(255, 255, 255, 0.7); }

/* Offres en cours */
.offres-section { padding: 0 0 100px; }
.offres-section .sec-title { margin-bottom: 40px; }
.offres-loading { color: rgba(255, 255, 255, 0.5); }
.offre {
  border: 1px solid #2F2F2F;
  border-radius: 18px;
  background: #0D0D0D;
  margin-bottom: 18px;
  overflow: hidden;
}
.offre-head {
  width: 100%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  gap: 18px;
  padding: 26px 30px;
  background: none;
  border: 0;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.offre-title {
  font-family: var(--heading-font-family);
  font-size: 26px;
  font-weight: 600;
  -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto;
}
.offre-badges { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; }
.offre-badges .badge {
  border: 1px solid var(--theme-color1);
  color: var(--theme-color1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.offre-plus {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2F2F2F;
  -ms-flex-negative: 0; flex-shrink: 0;
  -webkit-transition: 0.3s; transition: 0.3s;
}
.offre-plus::before, .offre-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  background: #fff;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
  -webkit-transition: 0.3s; transition: 0.3s;
}
.offre-plus::after { -webkit-transform: translate(-50%, -50%) rotate(90deg); transform: translate(-50%, -50%) rotate(90deg); }
.offre.open .offre-plus { background: var(--theme-color1); border-color: var(--theme-color1); }
.offre.open .offre-plus::after { -webkit-transform: translate(-50%, -50%) rotate(0); transform: translate(-50%, -50%) rotate(0); }
.offre-head:hover .offre-title { color: var(--theme-color1); }
.offre-body { display: none; padding: 0 30px 30px; color: rgba(255, 255, 255, 0.75); }
.offre-body .resume { font-size: 18px; color: #fff; margin: 0 0 6px; }
.offre-body h4 { font-size: 18px; color: #fff; margin: 24px 0 10px; }
.offre-body ul { list-style: none; padding: 0; margin: 0; }
.offre-body li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.offre-body li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--theme-color1);
}
.offre-body .limite { margin: 20px 0 0; color: var(--theme-color1); }
.offre-body .theme-btn-one { margin-top: 26px; }
.offres-empty {
  border: 1px dashed #2F2F2F;
  border-radius: 18px;
  padding: 44px 30px;
  text-align: center;
}
.offres-empty strong {
  display: block;
  font-family: var(--heading-font-family);
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.offres-empty p { color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }
@media (max-width: 767.98px) {
  .offre-head { -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 20px; gap: 12px; }
  .offre-title { font-size: 21px; -ms-flex-preferred-size: calc(100% - 52px); flex-basis: calc(100% - 52px); }
  .offre-badges { -webkit-box-ordinal-group: 4; -ms-flex-order: 3; order: 3; -ms-flex-preferred-size: 100%; flex-basis: 100%; }
  .offre-body { padding: 0 20px 24px; }
}

/* Candidature */
.process-steps { list-style: none; padding: 0; margin: 0; }
.process-steps li {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid #2F2F2F;
}
.process-steps li:last-child { border-bottom: 1px solid #2F2F2F; }
.process-steps .num {
  font-family: var(--heading-font-family2);
  font-size: 30px;
  color: var(--theme-color1);
  line-height: 1;
  -ms-flex-negative: 0; flex-shrink: 0;
  width: 56px;
}
.process-steps strong { display: block; color: #fff; font-size: 20px; margin-bottom: 6px; }
.process-steps p { color: rgba(255, 255, 255, 0.7); margin: 0; }
@media (max-width: 1199.98px) {
  .candidature-section .content-column .inner-column { margin-bottom: 40px; }
}
.contact-section-two .contact-column form select {
  font-size: 20px;
  color: #fff;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #2F2F2F;
  border-radius: 0;
  padding: 0 32px 22px 0;
  margin-bottom: 26px;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px top 10px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  cursor: pointer;
}
.contact-section-two .contact-column form select:invalid { color: #8B8B8B; }
.contact-section-two .contact-column form select option { background: #111; color: #fff; }
.contact-section-two .contact-column form select.is-invalid { border-bottom-color: var(--theme-color1); }
.candidature-section .contact-column form textarea { margin-bottom: 26px; }
.file-field { position: relative; margin-bottom: 22px; }
.file-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-label {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  gap: 12px;
  border: 1px dashed #4A4A4A;
  border-radius: 14px;
  padding: 18px 20px;
  color: #8B8B8B;
  font-size: 17px;
  cursor: pointer;
  -webkit-transition: 0.25s; transition: 0.25s;
}
.file-label i { color: var(--theme-color1); font-size: 20px; }
.file-label:hover, .file-field input:focus + .file-label { border-color: var(--theme-color1); color: #fff; }
.file-field.has-file .file-label { border-style: solid; border-color: var(--theme-color1); color: #fff; }
.file-field.is-invalid .file-label { border-color: #ff9d73; color: #ff9d73; }
.form-note { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.55); margin: 0 0 6px; }
.form-note a { color: var(--theme-color1); }
.candidature-section .contact-column form .theme-btn-one { margin-top: 18px; }
