/* ==========================================================================
   JH SARL — Feuille de style principale
   Design tokens dérivés du logo (noir / blanc / rouge, touche de bleu)
   Signature visuelle : routes maritimes en pointillé (écho au globe du logo)
   ========================================================================== */

:root {
    --jh-red: #c8102e;
    --jh-red-dark: #a50d26;
    --jh-black: #17181a;
    --jh-navy: #0b2540;
    --jh-navy-light: #123054;
    --jh-white: #ffffff;
    --jh-grey-50: #f7f7f8;
    --jh-grey-100: #efeff1;
    --jh-grey-300: #d5d7db;
    --jh-grey-500: #8a8d93;
    --jh-grey-700: #4a4d53;

    --jh-font-display: "Montserrat", sans-serif;
    --jh-font-body: "Inter", sans-serif;

    --jh-radius: 10px;
    --jh-shadow-sm: 0 2px 10px rgba(15, 20, 30, 0.06);
    --jh-shadow-md: 0 10px 30px rgba(15, 20, 30, 0.1);
    --jh-shadow-lg: 0 20px 50px rgba(15, 20, 30, 0.16);

    --jh-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--jh-font-body);
    color: var(--jh-black);
    background: var(--jh-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-top: 84px; /* offset for fixed navbar */
    overflow-x: hidden; /* sécurité contre le léger débordement des grilles Bootstrap à gouttière large (g-5) sur très petits écrans */
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
.jh-display {
    font-family: var(--jh-font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--jh-navy);
}
a {
    text-decoration: none;
    color: inherit;
}
::selection {
    background: var(--jh-red);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--jh-red);
    outline-offset: 2px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.jh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--jh-font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jh-red);
}
.jh-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--jh-red);
    display: inline-block;
}
.jh-section {
    padding: 5.5rem 0;
}
.jh-section-sm {
    padding: 3rem 0;
}
.jh-bg-navy {
    background: var(--jh-navy);
    color: #fff;
}
.jh-bg-navy h1,
.jh-bg-navy h2,
.jh-bg-navy h3 {
    color: #fff;
}
.jh-bg-grey {
    background: var(--jh-grey-50);
}
.jh-text-muted {
    color: var(--jh-grey-700);
}

.jh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    border: 2px solid transparent;
    transition:
        transform var(--jh-transition),
        box-shadow var(--jh-transition),
        background var(--jh-transition),
        color var(--jh-transition);
    white-space: nowrap;
}
.jh-btn-primary {
    background: var(--jh-red);
    color: #fff;
    box-shadow: var(--jh-shadow-sm);
}
.jh-btn-primary:hover {
    background: var(--jh-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--jh-shadow-md);
    color: #fff;
}
.jh-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}
.jh-btn-outline-light:hover {
    background: #fff;
    color: var(--jh-navy);
    border-color: #fff;
    transform: translateY(-2px);
}
.jh-btn-outline-dark {
    border-color: var(--jh-navy);
    color: var(--jh-navy);
}
.jh-btn-outline-dark:hover {
    background: var(--jh-navy);
    color: #fff;
    transform: translateY(-2px);
}
.jh-btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.jh-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    background: rgba(11, 37, 64, 0.55);
    backdrop-filter: blur(6px);
    transition:
        background var(--jh-transition),
        padding var(--jh-transition),
        box-shadow var(--jh-transition);
}
.jh-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    padding: 0.6rem 0;
    box-shadow: var(--jh-shadow-sm);
}
.jh-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.jh-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--jh-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jh-font-display);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.jh-brand-text {
    font-family: var(--jh-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.05;
    color: #fff;
    transition: color var(--jh-transition);
}
.jh-brand-sub {
    display: block;
    font-family: var(--jh-font-body);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--jh-transition);
}
.jh-navbar.is-scrolled .jh-brand-text {
    color: var(--jh-navy);
}
.jh-navbar.is-scrolled .jh-brand-sub {
    color: var(--jh-grey-700);
}
.jh-navbar .nav-link {
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--jh-transition);
}
.jh-navbar.is-scrolled .nav-link {
    color: var(--jh-navy);
}
.jh-navbar .nav-link.active,
.jh-navbar .nav-link:hover {
    color: var(--jh-red) !important;
}
.jh-navbar-cta {
    margin-left: 0.5rem;
}
.navbar-toggler {
    border: none;
    box-shadow: none !important;
    padding: 0.5rem;
    margin: -0.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background var(--jh-transition);
}
.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}
.jh-navbar.is-scrolled .navbar-toggler:hover {
    background: rgba(11, 37, 64, 0.08);
}
.navbar-toggler .bi {
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}
.jh-navbar.is-scrolled .navbar-toggler .bi {
    color: var(--jh-navy);
}

.jh-page-header {
    background: linear-gradient(160deg, var(--jh-navy) 0%, #061626 100%);
    color: #fff;
    padding: 8.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.jh-page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px
    );
    background-size: 26px 26px;
    opacity: 0.5;
}
.jh-page-header .container {
    position: relative;
    z-index: 1;
}
.jh-breadcrumb-custom {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}
.jh-breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.85);
}
.jh-breadcrumb-custom a:hover {
    color: var(--jh-red);
}

/* ==========================================================================
   Hero (Accueil) — carousel
   ========================================================================== */
.jh-hero {
    position: relative;
    height: 92vh;
    min-height: 620px;
    overflow: hidden;
    margin-top: -84px;
}
.jh-hero .carousel,
.jh-hero .carousel-inner,
.jh-hero .carousel-item {
    height: 100%;
}
.jh-hero .carousel-item {
    position: relative;
}
.jh-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jh-hero .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 16, 28, 0.78) 0%,
        rgba(6, 16, 28, 0.45) 45%,
        rgba(6, 16, 28, 0.88) 100%
    );
}
.jh-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    padding-top: 84px;
}
.jh-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--jh-font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: var(--jh-red);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.jh-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 1.3rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.jh-hero h1 em {
    font-style: normal;
    color: var(--jh-red);
}
.jh-hero p.lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2.1rem;
}
.jh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.jh-hero .carousel-indicators {
    bottom: 2.2rem;
    margin-bottom: 0;
}
.jh-hero .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border: none;
}
.jh-hero .carousel-indicators .active {
    background: var(--jh-red);
}
.jh-hero .carousel-control-prev,
.jh-hero .carousel-control-next {
    width: 8%;
    max-width: 60px;
    opacity: 0;
    transition: opacity var(--jh-transition);
}
.jh-hero:hover .carousel-control-prev,
.jh-hero:hover .carousel-control-next {
    opacity: 0.8;
}
/* Sur écrans tactiles (mobile/tablette), pas de hover : on garde les flèches visibles mais discrètes */
@media (hover: none) and (pointer: coarse) {
    .jh-hero .carousel-control-prev,
    .jh-hero .carousel-control-next {
        opacity: 0.55;
    }
}
.jh-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    z-index: 6;
    color: #fff;
    opacity: 0.75;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--jh-font-display);
    animation: jh-bounce 2.2s infinite;
}
@keyframes jh-bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 8px);
    }
}

/* ==========================================================================
   Route line — élément de signature (réseau mondial)
   ========================================================================== */
.jh-route {
    width: 100%;
    height: auto;
    display: block;
}
.jh-route .jh-route-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 2;
    stroke-dasharray: 6 8;
    stroke-linecap: round;
}
.jh-route .jh-route-path-active {
    fill: none;
    stroke: var(--jh-red);
    stroke-width: 2;
    stroke-dasharray: 8 500;
    stroke-linecap: round;
    animation: jh-dash 7s linear infinite;
}
@keyframes jh-dash {
    to {
        stroke-dashoffset: -1000;
    }
}
.jh-route circle {
    fill: #fff;
}
.jh-route .jh-route-city {
    fill: rgba(255, 255, 255, 0.85);
    font-family: var(--jh-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Trust bar / Stats
   ========================================================================== */
.jh-trustbar {
    background: var(--jh-black);
    color: #fff;
    padding: 1.4rem 0;
}
.jh-trustbar-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--jh-font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.jh-trustbar-item .bi {
    color: var(--jh-red);
    font-size: 1.15rem;
}

.jh-stat {
    text-align: center;
    padding: 1rem;
}
.jh-stat-number {
    font-family: var(--jh-font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--jh-navy);
    line-height: 1;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
}
.jh-stat-number .jh-suffix {
    color: var(--jh-red);
    font-size: 1.6rem;
}
.jh-stat-label {
    font-size: 0.9rem;
    color: var(--jh-grey-700);
    font-weight: 500;
}

/* ==========================================================================
   Cards — Services
   ========================================================================== */
.jh-service-card {
    background: #fff;
    border-radius: var(--jh-radius);
    padding: 2.1rem 1.8rem;
    box-shadow: var(--jh-shadow-sm);
    border: 1px solid var(--jh-grey-100);
    height: 100%;
    transition:
        transform var(--jh-transition),
        box-shadow var(--jh-transition),
        border-color var(--jh-transition);
    position: relative;
    overflow: hidden;
}
.jh-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--jh-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--jh-transition);
}
.jh-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--jh-shadow-lg);
    border-color: transparent;
}
.jh-service-card:hover::before {
    transform: scaleX(1);
}
.jh-service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--jh-grey-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    transition: background var(--jh-transition);
}
.jh-service-card:hover .jh-service-icon {
    background: var(--jh-red);
}
.jh-service-icon .bi {
    font-size: 1.5rem;
    color: var(--jh-navy);
    transition: color var(--jh-transition);
}
.jh-service-card:hover .jh-service-icon .bi {
    color: #fff;
}
.jh-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}
.jh-service-card p {
    color: var(--jh-grey-700);
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
}
.jh-service-link {
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--jh-red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.jh-service-link .bi {
    transition: transform var(--jh-transition);
}
.jh-service-card:hover .jh-service-link .bi {
    transform: translateX(4px);
}

/* ==========================================================================
   Pourquoi nous choisir
   ========================================================================== */
.jh-advantage {
    display: flex;
    gap: 1.1rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid var(--jh-grey-100);
}
.jh-advantage:last-child {
    border-bottom: none;
}
.jh-advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--jh-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.jh-advantage-icon .bi {
    color: #fff;
    font-size: 1.25rem;
}
.jh-advantage h4 {
    font-size: 1.02rem;
    margin-bottom: 0.3rem;
}
.jh-advantage p {
    color: var(--jh-grey-700);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   About / image frame
   ========================================================================== */
.jh-img-frame {
    position: relative;
    border-radius: var(--jh-radius);
    overflow: hidden;
    box-shadow: var(--jh-shadow-md);
}
.jh-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jh-img-badge {
    position: absolute;
    bottom: -1.4rem;
    right: -1.4rem;
    background: var(--jh-red);
    color: #fff;
    border-radius: var(--jh-radius);
    padding: 1.3rem 1.6rem;
    box-shadow: var(--jh-shadow-lg);
    font-family: var(--jh-font-display);
}
.jh-img-badge .jh-img-badge-num {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}
.jh-img-badge .jh-img-badge-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

.jh-timeline {
    border-left: 2px solid var(--jh-grey-100);
    padding-left: 1.6rem;
    margin-left: 0.4rem;
}
.jh-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.jh-timeline-item:last-child {
    padding-bottom: 0;
}
.jh-timeline-item::before {
    content: "";
    position: absolute;
    left: -2.05rem;
    top: 0.2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--jh-red);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.jh-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--jh-radius);
    cursor: pointer;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
}
.jh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jh-gallery-item:hover img {
    transform: scale(1.08);
}
.jh-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(6, 16, 28, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
    opacity: 0;
    transition: opacity var(--jh-transition);
}
.jh-gallery-item:hover .jh-gallery-overlay {
    opacity: 1;
}
.jh-gallery-overlay span {
    color: #fff;
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.88rem;
}
.jh-gallery-zoom {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: all var(--jh-transition);
}
.jh-gallery-item:hover .jh-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}
.jh-gallery-filter .btn {
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--jh-grey-300);
    color: var(--jh-navy);
    background: #fff;
}
.jh-gallery-filter .btn.active {
    background: var(--jh-navy);
    border-color: var(--jh-navy);
    color: #fff;
}

/* Lightbox */
.jh-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 20, 0.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.jh-lightbox.show {
    display: flex;
}
.jh-lightbox img {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.jh-lightbox-close,
.jh-lightbox-prev,
.jh-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--jh-transition);
}
.jh-lightbox-close:hover,
.jh-lightbox-prev:hover,
.jh-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}
.jh-lightbox-close {
    top: 1.6rem;
    right: 1.6rem;
}
.jh-lightbox-prev {
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
}
.jh-lightbox-next {
    right: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
}
.jh-lightbox-caption {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--jh-font-display);
    font-size: 0.85rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.jh-blog-card {
    background: #fff;
    border-radius: var(--jh-radius);
    overflow: hidden;
    box-shadow: var(--jh-shadow-sm);
    border: 1px solid var(--jh-grey-100);
    height: 100%;
    transition:
        transform var(--jh-transition),
        box-shadow var(--jh-transition);
}
.jh-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jh-shadow-md);
}
.jh-blog-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.jh-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jh-blog-card:hover .jh-blog-thumb img {
    transform: scale(1.06);
}
.jh-blog-body {
    padding: 1.5rem;
}
.jh-blog-tag {
    display: inline-block;
    font-family: var(--jh-font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jh-red);
    background: rgba(200, 16, 46, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}
.jh-blog-meta {
    font-size: 0.78rem;
    color: var(--jh-grey-500);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.jh-blog-body h3 {
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}
.jh-blog-body p {
    font-size: 0.88rem;
    color: var(--jh-grey-700);
}
.jh-blog-featured {
    background: #fff;
    border-radius: var(--jh-radius);
    overflow: hidden;
    box-shadow: var(--jh-shadow-md);
}
.jh-blog-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.jh-cta-band {
    background: linear-gradient(
        120deg,
        var(--jh-navy) 0%,
        #081b30 60%,
        var(--jh-black) 100%
    );
    color: #fff;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}
.jh-cta-band::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(200, 16, 46, 0.35),
        transparent 70%
    );
    top: -220px;
    right: -160px;
}
.jh-cta-band .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.jh-footer {
    background: var(--jh-black);
    color: rgba(255, 255, 255, 0.75);
    padding: 4.5rem 0 0;
}
.jh-footer h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.3rem;
}
.jh-footer a {
    color: rgba(255, 255, 255, 0.68);
    transition: color var(--jh-transition);
}
.jh-footer a:hover {
    color: var(--jh-red);
}
.jh-footer .jh-footer-links li {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}
.jh-footer p.small {
    font-size: 0.88rem;
}
.jh-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}
.jh-footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    align-items: flex-start;
}
.jh-footer-contact .bi {
    color: var(--jh-red);
    margin-top: 0.15rem;
}
.jh-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.3rem;
}
.jh-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--jh-transition);
}
.jh-social a:hover {
    background: var(--jh-red);
    border-color: var(--jh-red);
    color: #fff;
    transform: translateY(-3px);
}
.jh-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}
.jh-newsletter-mini .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px 0 0 999px;
    padding: 0.7rem 1.2rem;
}
.jh-newsletter-mini .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.jh-newsletter-mini .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    border-color: var(--jh-red);
    color: #fff;
}
.jh-newsletter-mini .btn {
    border-radius: 0 999px 999px 0;
    background: var(--jh-red);
    color: #fff;
    border: 1px solid var(--jh-red);
    font-weight: 600;
    padding: 0 1.3rem;
}
.jh-newsletter-mini .btn:hover {
    background: var(--jh-red-dark);
}

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.jh-form-label {
    font-family: var(--jh-font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--jh-navy);
    margin-bottom: 0.4rem;
}
.jh-form-control {
    border: 1px solid var(--jh-grey-300);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.94rem;
    transition:
        border-color var(--jh-transition),
        box-shadow var(--jh-transition);
    width: 100%;
}
.jh-form-control:focus {
    border-color: var(--jh-red);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
    outline: none;
}
.jh-form-note {
    font-size: 0.78rem;
    color: var(--jh-grey-500);
}
.jh-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0;
    width: 0;
    overflow: hidden;
}
.jh-contact-card {
    background: #fff;
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow-md);
    padding: 2.4rem;
}
.jh-map-frame {
    border-radius: var(--jh-radius);
    overflow: hidden;
    box-shadow: var(--jh-shadow-sm);
    border: 1px solid var(--jh-grey-100);
}
.jh-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}
.jh-contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.jh-contact-info-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--jh-grey-50);
    display: flex;
    align-items: center;
    justify-content: center;
}
.jh-contact-info-icon .bi {
    color: var(--jh-red);
    font-size: 1.2rem;
}
.jh-invalid-feedback {
    color: var(--jh-red);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}
.jh-form-control.is-invalid {
    border-color: var(--jh-red);
}
.jh-form-control.is-invalid ~ .jh-invalid-feedback {
    display: block;
}

.jh-toast-success,
.jh-toast-danger {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    background: var(--jh-navy);
    color: #fff;
    padding: 1rem 1.4rem;
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    max-width: 320px;
}
.jh-toast-success.show,
.jh-toast-danger.show {
    transform: translateY(0);
    opacity: 1;
}
.jh-toast-message {
    flex: 1;
}

.jh-toast-success .bi {
    color: #4ade80;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.jh-toast-danger .bi {
    color: #f87171;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.jh-toast-close {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.2s;
}

.jh-toast-close:hover {
    opacity: 1;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.jh-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.jh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.jh-reveal-delay-1 {
    transition-delay: 0.1s;
}
.jh-reveal-delay-2 {
    transition-delay: 0.2s;
}
.jh-reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.jh-back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--jh-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--jh-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--jh-transition);
    z-index: 1000;
    border: none;
}
.jh-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.jh-back-to-top:hover {
    background: var(--jh-red);
}

/* ==========================================================================
   Blog article detail
   ========================================================================== */
.jh-article-body {
    font-size: 1.05rem;
    color: #2c2f33;
}
.jh-article-body p {
    margin-bottom: 1.4rem;
}
.jh-article-body h2 {
    font-size: 1.4rem;
    margin: 2.2rem 0 1rem;
}
.jh-article-cover {
    border-radius: var(--jh-radius);
    overflow: hidden;
    margin-bottom: 2.2rem;
    box-shadow: var(--jh-shadow-md);
}
.jh-article-cover img {
    width: 100%;
    display: block;
}
.jh-article-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--jh-grey-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: var(--jh-navy);
    transition: all var(--jh-transition);
}
.jh-article-share a:hover {
    background: var(--jh-red);
    border-color: var(--jh-red);
    color: #fff;
}

/* ==========================================================================
   Pagination / Mentions légales
   ========================================================================== */
.jh-pagination .page-link {
    border: none;
    color: var(--jh-navy);
    font-family: var(--jh-font-display);
    font-weight: 600;
    margin: 0 0.2rem;
    border-radius: 8px;
}
.jh-pagination .page-item.active .page-link {
    background: var(--jh-red);
    color: #fff;
}
.jh-pagination .page-link:hover {
    background: var(--jh-grey-100);
}
.jh-legal-content h2 {
    font-size: 1.2rem;
    margin: 2rem 0 0.8rem;
}
.jh-legal-content p,
.jh-legal-content li {
    color: var(--jh-grey-700);
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive — Mobile / Tablette / Desktop / Grand écran
   Points de rupture Bootstrap : xs(<576) sm(≥576) md(≥768) lg(≥992) xl(≥1200) xxl(≥1400)
   ========================================================================== */

/* ---------- Grand écran (≥1400px) : on respire un peu plus ---------- */
@media (min-width: 1400px) {
    .container {
        max-width: 1260px;
    }
    .jh-hero h1 {
        font-size: 3.9rem;
    }
}

/* ---------- Tablette & mobile (<992px) : navbar en menu déroulant ---------- */
@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }
    .jh-navbar {
        background: rgba(11, 37, 64, 0.98);
        padding: 0.65rem 0;
    }
    .jh-navbar.is-scrolled {
        padding: 0.65rem 0;
    }
    .jh-navbar .navbar-collapse {
        margin-top: 0.7rem;
        background: #fff;
        border-radius: var(--jh-radius);
        padding: 1rem 1.3rem;
        box-shadow: var(--jh-shadow-md);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    .jh-navbar .nav-link {
        color: var(--jh-navy) !important;
        padding: 0.7rem 0.2rem !important;
        border-bottom: 1px solid var(--jh-grey-100);
        font-size: 0.95rem;
    }
    .jh-navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    .jh-navbar-cta {
        margin-left: 0;
        margin-top: 0.9rem;
        width: 100%;
    }
    .jh-navbar-cta .jh-btn {
        width: 100%;
    }
    .jh-img-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    .jh-hero {
        margin-top: -72px;
    }
    .jh-hero-content {
        padding-top: 72px;
    }
    .jh-page-header {
        padding: 7rem 0 3.5rem;
    }

    /* Cartes services/avantages : 2 colonnes confortables sur tablette (gérées par col-md-6 Bootstrap) */
    .jh-service-card {
        padding: 1.8rem 1.5rem;
    }
}

/* ---------- Tablette portrait / petit desktop (576–991px) ---------- */
@media (min-width: 576px) and (max-width: 991.98px) {
    .jh-hero h1 {
        font-size: clamp(2.4rem, 5vw, 3rem);
    }
    .jh-contact-card {
        padding: 2rem;
    }
}

/* ---------- Mobile (<768px) ---------- */
@media (max-width: 767.98px) {
    .jh-section {
        padding: 3.2rem 0;
    }
    .jh-section-sm {
        padding: 2.2rem 0;
    }
    .jh-hero {
        min-height: 100svh;
    }
    .jh-hero-content {
        align-items: flex-start;
        padding-top: 110px;
        padding-bottom: 2rem;
    }
    .jh-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
        margin-bottom: 1rem;
    }
    .jh-hero p.lead {
        font-size: 1rem;
        margin-bottom: 1.6rem;
    }
    .jh-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        width: 100%;
    }
    .jh-hero-actions .jh-btn {
        width: 100%;
    }
    .jh-hero .carousel-indicators {
        bottom: 1.1rem;
    }
    .jh-scroll-cue {
        display: none;
    }

    .jh-contact-card {
        padding: 1.5rem;
    }
    .jh-page-header {
        padding: 6.5rem 0 3rem;
    }
    .jh-page-header h1 {
        font-size: 1.7rem !important;
    }

    /* Boutons pleine largeur pour un tap confortable */
    .jh-cta-band .d-flex.flex-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .jh-cta-band .jh-btn {
        width: 100%;
    }

    /* Statistiques et trust-bar restent en 2 colonnes (col-6) mais plus compactes */
    .jh-stat-number {
        font-size: 1.9rem;
    }
    .jh-trustbar-item {
        font-size: 0.78rem;
    }

    /* Empêche le zoom automatique iOS sur les champs de formulaire (nécessite ≥16px) */
    .jh-form-control,
    select.jh-form-control {
        font-size: 16px;
    }

    /* Lightbox : contrôles réduits et repositionnés pour ne pas gêner la photo */
    .jh-lightbox {
        padding: 1rem;
    }
    .jh-lightbox-prev,
    .jh-lightbox-next {
        width: 44px;
        height: 44px;
    }
    .jh-lightbox-prev {
        left: 0.6rem;
    }
    .jh-lightbox-next {
        right: 0.6rem;
    }
    .jh-lightbox-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 44px;
        height: 44px;
    }
    .jh-lightbox-caption {
        bottom: 0.8rem;
        font-size: 0.78rem;
        padding: 0 3rem;
        text-align: center;
    }

    .jh-footer {
        padding: 3.5rem 0 0;
        text-align: center;
    }
    .jh-footer-brand {
        justify-content: center;
    }
    .jh-social {
        justify-content: center;
    }
    .jh-footer-contact li {
        text-align: left;
    }
    .jh-newsletter-mini .input-group {
        flex-wrap: nowrap;
    }
    .jh-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .jh-back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
    }
    .jh-toast-success {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

/* ---------- Petits mobiles (<400px) ---------- */
@media (max-width: 399.98px) {
    .jh-brand-sub {
        display: none;
    }
    .jh-brand-text {
        font-size: 0.92rem;
    }
    .jh-brand-mark {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .jh-hero h1 {
        font-size: 1.7rem;
    }
    .jh-eyebrow {
        font-size: 0.66rem;
    }
    .jh-btn {
        padding: 0.75rem 1.3rem;
        font-size: 0.88rem;
    }
    .jh-contact-card {
        padding: 1.2rem;
    }
    .jh-stat-number {
        font-size: 1.6rem;
    }
}

/* ---------- Confort tactile général (tous supports à pointeur grossier) ---------- */
@media (hover: none) and (pointer: coarse) {
    .jh-service-card:hover {
        transform: none;
    } /* évite un état "hover collé" persistant au tap */
    a,
    button,
    .jh-gallery-filter .btn {
        -webkit-tap-highlight-color: rgba(200, 16, 46, 0.15);
    }
}

/* ---------- Very short viewports (paysage mobile) ---------- */
@media (max-height: 480px) and (orientation: landscape) {
    .jh-hero {
        min-height: auto;
        height: auto;
        padding-bottom: 2rem;
    }
    .jh-hero-content {
        position: relative;
        padding-top: 100px;
    }
    .jh-hero .carousel,
    .jh-hero .carousel-inner,
    .jh-hero .carousel-item {
        height: 100vh;
        min-height: 420px;
    }
}
