/* =============================================================================
   Fichier : public/assets/css/app.css
   Design du site public ISMA GROUP (mobile d'abord, puis tablette et ordinateur).
   Couleurs du logo : indigo, jaune, magenta, cyan (les encres CMJN de l'imprimeur).
   Chargé après Bootstrap 5.3 (grille et utilitaires).
   ========================================================================== */

:root {
    --isma-ink: #14163F;
    --isma-ink-2: #1D2058;
    --isma-indigo: #2E318E;
    --isma-blue: #22459F;
    --isma-yellow: #FCBE15;
    --isma-yellow-dark: #E5A800;
    --isma-magenta: #D21674;
    --isma-cyan: #00ADEF;
    --isma-text: #1C1E3F;
    --isma-muted: #5B5F7A;
    --isma-bg: #F5F6FB;
    --isma-border: #E4E6F0;
    --isma-wa: #25D366;
    --isma-wa-dark: #0F7B41;
    --isma-radius: 14px;
    --isma-shadow: 0 10px 30px rgba(20, 22, 63, .10);
    --isma-shadow-lg: 0 20px 50px rgba(20, 22, 63, .18);
    --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--isma-text);
}

/* --- Base ----------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    color: var(--isma-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--isma-ink);
}

a {
    color: var(--isma-indigo);
}

a:hover {
    color: var(--isma-magenta);
}

img {
    max-width: 100%;
    height: auto;
}

/* <picture> (version WebP) ne doit pas changer la mise en page : l'image reste
   dimensionnée par son conteneur (cartes, galerie, bannière). */
picture {
    display: contents;
}

:focus-visible {
    outline: 3px solid var(--isma-cyan);
    outline-offset: 2px;
}

.container {
    max-width: 1240px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--isma-yellow);
    color: var(--isma-ink);
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: -0.125em;
}

.visually-hidden-focusable:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* --- Boutons ---------------------------------------------------------------- */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.cta:hover {
    transform: translateY(-2px);
}

.cta .icon {
    font-size: 18px;
}

.cta--yellow {
    background: var(--isma-yellow);
    color: var(--isma-ink);
    box-shadow: 0 6px 18px rgba(252, 190, 21, .35);
}

.cta--yellow:hover {
    background: #FFD24D;
    color: var(--isma-ink);
}

.cta--outline-light {
    border-color: rgba(255, 255, 255, .85);
    color: #fff;
    background: transparent;
}

.cta--outline-light:hover {
    background: #fff;
    color: var(--isma-ink);
}

.cta--outline {
    border-color: var(--isma-yellow);
    color: var(--isma-ink);
    background: #fff;
}

.cta--outline:hover {
    background: var(--isma-yellow);
    color: var(--isma-ink);
}

.cta--wa {
    background: var(--isma-wa-dark);
    color: #fff;
}

.cta--wa:hover {
    background: #0B6634;
    color: #fff;
}

.cta--dark {
    background: var(--isma-ink);
    color: #fff;
}

.cta--dark:hover {
    background: var(--isma-indigo);
    color: #fff;
}

.cta--sm {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12.5px;
}

.cta--block {
    width: 100%;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid var(--isma-yellow);
    color: var(--isma-ink);
    background: #fff;
    font-size: 18px;
    transition: background-color .15s ease;
}

.icon-btn:hover {
    background: var(--isma-yellow);
    color: var(--isma-ink);
}

/* --- Bandeau supérieur ------------------------------------------------------ */
.topbar {
    background: var(--isma-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 44px;
    padding: 6px 0;
    text-align: center;
}

.topbar__text strong {
    color: var(--isma-yellow);
}

.topbar .cta {
    min-height: 32px;
    padding: 6px 14px;
    font-size: 12px;
}

/* --- En-tête ---------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(20, 22, 63, .10);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--isma-ink);
}

.brand img {
    width: 52px;
    height: 52px;
}

.brand__name {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 21px;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--isma-ink);
}

.brand__tag {
    display: block;
    margin-top: 4px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--isma-muted);
}

.main-nav__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--isma-ink);
    text-decoration: none;
    background: none;
    border: 0;
    width: 100%;
}

.main-nav__link.is-active {
    color: var(--isma-indigo);
}

.main-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 6px;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--isma-yellow);
}

.main-nav__link .icon {
    font-size: 12px;
    transition: transform .2s ease;
}

.dropdown-panel {
    display: none;
    margin: 0 0 8px;
    padding: 6px 0 6px 12px;
    list-style: none;
    border-left: 3px solid var(--isma-yellow);
}

.has-dropdown.is-open .dropdown-panel {
    display: block;
}

.has-dropdown.is-open > .main-nav__link .icon {
    transform: rotate(180deg);
}

.dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--isma-text);
    text-decoration: none;
}

.dropdown-panel a:hover {
    background: var(--isma-bg);
    color: var(--isma-indigo);
}

.dropdown-panel .icon {
    font-size: 18px;
    color: var(--isma-magenta);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--isma-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.header-phone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--isma-bg);
    color: var(--isma-indigo);
}

.header-phone small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--isma-muted);
}

.header-phone a {
    display: block;
    line-height: 1.3;
    color: var(--isma-ink);
    text-decoration: none;
    white-space: nowrap;
}

.header-phone a:hover {
    color: var(--isma-magenta);
}

.header-quote {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--isma-ink);
    color: #fff;
    font-size: 24px;
}

/* Menu mobile : panneau latéral */
.main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1100;
    width: min(340px, 88vw);
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    box-shadow: var(--isma-shadow-lg);
    transform: translateX(100%);
    transition: transform .25s ease;
    visibility: hidden;
}

.main-nav.is-open {
    transform: none;
    visibility: visible;
}

.main-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.main-nav__close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--isma-bg);
    color: var(--isma-ink);
    font-size: 20px;
}

.main-nav__contact {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(20, 22, 63, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}

.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Héros (bannière d'accueil) -------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 120px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(252, 190, 21, .32), transparent 26%),
        radial-gradient(circle at 70% 85%, rgba(210, 22, 116, .38), transparent 30%),
        radial-gradient(circle at 98% 70%, rgba(0, 173, 239, .30), transparent 28%),
        linear-gradient(135deg, var(--isma-ink) 0%, var(--isma-ink-2) 60%, #23266F 100%);
}

.hero__kicker {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(22px, 4.2vw, 34px);
    text-transform: uppercase;
    color: #fff;
}

.hero__title {
    margin: 4px 0 16px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(46px, 10vw, 84px);
    line-height: .95;
    text-transform: uppercase;
    color: #fff;
}

.hero__title span {
    display: block;
    color: var(--isma-yellow);
}

.hero__lead {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

/* Téléphone : les 3 atouts sur une même ligne, icône au-dessus du texte */
.hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.hero__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.hero__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(252, 190, 21, .7);
    border-radius: 12px;
    color: var(--isma-yellow);
    font-size: 20px;
}

.hero__feature strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.hero__feature small {
    display: block;
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .75);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Téléphone : « Demander un devis » occupe toute la largeur */
.hero__cta-main {
    width: 100%;
}

.hero__visual {
    position: relative;
    margin-top: 40px;
}

.hero__visual::before,
.hero__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    z-index: 0;
}

.hero__visual::before {
    width: 46%;
    aspect-ratio: 1;
    top: -8%;
    right: -6%;
    background: radial-gradient(circle, var(--isma-yellow) 0 35%, rgba(252, 190, 21, 0) 70%);
}

.hero__visual::after {
    width: 50%;
    aspect-ratio: 1;
    bottom: -10%;
    left: -8%;
    background: radial-gradient(circle, var(--isma-magenta) 0 30%, rgba(210, 22, 116, 0) 70%);
}

.hero__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 22px;
    border: 6px solid rgba(255, 255, 255, .12);
    box-shadow: var(--isma-shadow-lg);
    transform: rotate(-1.5deg);
}

.hero__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero__frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: linear-gradient(90deg, var(--isma-cyan) 0 25%, var(--isma-magenta) 25% 50%, var(--isma-yellow) 50% 75%, var(--isma-indigo) 75%);
}

.hero__badge {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: -34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border: 5px solid var(--isma-yellow);
    border-radius: 50%;
    background: var(--isma-ink);
    color: #fff;
    text-align: center;
    font-family: var(--font-head);
    box-shadow: 0 0 0 6px rgba(20, 22, 63, .6);
    line-height: 1.05;
}

.hero__badge small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero__badge strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--isma-yellow);
    text-transform: uppercase;
}

/* --- Bandeau des catégories (chevauche le héros) ---------------------------- */
.services-strip {
    position: relative;
    z-index: 3;
    margin-top: -72px;
}

.services-strip__card {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 152px;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--isma-shadow);
    scrollbar-width: thin;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
    color: var(--isma-text);
    border-right: 1px solid var(--isma-border);
    border-radius: 12px;
    transition: background-color .15s ease;
}

.strip-item:hover {
    background: var(--isma-bg);
    color: var(--isma-text);
}

.strip-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
    background: var(--isma-indigo);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12);
}

.strip-item:nth-child(4n+1) .strip-item__icon { background: var(--isma-cyan); }
.strip-item:nth-child(4n+2) .strip-item__icon { background: var(--isma-magenta); }
.strip-item:nth-child(4n+3) .strip-item__icon { background: var(--isma-yellow); color: var(--isma-ink); }
.strip-item:nth-child(4n+4) .strip-item__icon { background: var(--isma-indigo); }

.strip-item__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--isma-ink);
}

.strip-item__meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--isma-muted);
}

.strip-item--all {
    justify-content: center;
    background: var(--isma-ink);
    color: #fff;
    border-right: 0;
}

.strip-item--all:hover {
    background: var(--isma-indigo);
    color: #fff;
}

.strip-item--all .strip-item__title {
    color: #fff;
}

.strip-item--all .strip-item__icon {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, .6);
    box-shadow: none;
    color: #fff !important;
}

/* --- Sections et titres ------------------------------------------------------ */
.section {
    padding: 56px 0;
}

.section--tight {
    padding: 40px 0;
}

.section--alt {
    background: var(--isma-bg);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.section-title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(22px, 3.4vw, 28px);
    text-transform: uppercase;
    color: var(--isma-ink);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--isma-yellow);
}

.section-title--center {
    text-align: center;
}

.section-title--center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-intro {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--isma-muted);
    line-height: 1.6;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--isma-ink);
}

.section-link .icon {
    color: var(--isma-magenta);
    transition: transform .15s ease;
}

.section-link:hover .icon {
    transform: translateX(4px);
}

/* --- Cartes produits / services --------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--isma-border);
    border-radius: var(--isma-radius);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--isma-shadow);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--isma-bg);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.product-card__chip {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(20, 22, 63, .85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.placeholder-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 56px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 173, 239, .55), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(210, 22, 116, .55), transparent 45%),
        radial-gradient(circle at 80% 15%, rgba(252, 190, 21, .6), transparent 35%),
        var(--isma-indigo);
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.product-card__title {
    margin: 0 0 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.product-card__title a {
    color: var(--isma-ink);
    text-decoration: none;
}

.product-card__title a:hover {
    color: var(--isma-magenta);
}

.product-card__text {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: var(--isma-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 12px;
}

.price small {
    display: block;
    font-size: 11px;
    color: var(--isma-muted);
}

.price strong {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 17px;
    color: var(--isma-ink);
    white-space: nowrap;
}

.chip-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--isma-yellow);
    color: var(--isma-ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.product-card__actions .cta {
    min-height: 44px;
    gap: 6px;
    padding: 8px 6px;
    font-size: 11.5px;
    letter-spacing: 0;
    text-align: center;
}

/* --- Bandeau d'engagements --------------------------------------------------- */
.assurance {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px;
    border-radius: 18px;
    background: var(--isma-ink);
    color: #fff;
}

.assurance__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.assurance__item:last-child {
    border-bottom: 0;
}

.assurance__icon {
    font-size: 34px;
    color: var(--isma-yellow);
}

.assurance__item strong {
    display: block;
    font-family: var(--font-head);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.assurance__item small {
    display: block;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .75);
}

.assurance__main small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .8);
}

.assurance__main .big {
    display: block;
    margin: 2px 0 8px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}

.assurance__main .big span {
    color: var(--isma-yellow);
}

.assurance__main .cta {
    white-space: nowrap;
}

/* --- Comment ça marche / Pourquoi nous ---------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    text-align: center;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--isma-ink);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 0 0 6px #E9EAF5;
}

.step:nth-child(2) .step__num { background: var(--isma-magenta); }
.step:nth-child(3) .step__num { background: var(--isma-cyan); }
.step:nth-child(4) .step__num { background: var(--isma-yellow); color: var(--isma-ink); }

.step strong {
    display: block;
    font-family: var(--font-head);
    font-size: 13px;
    text-transform: uppercase;
    color: var(--isma-ink);
}

.step p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--isma-muted);
}

.why-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 28px 24px;
    border-radius: 18px;
    background: var(--isma-bg);
    box-shadow: var(--isma-shadow);
}

.why-card::before,
.why-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: .85;
}

.why-card::before {
    right: -58px;
    top: -58px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 40% 40%, var(--isma-yellow) 0 30%, transparent 31%),
                radial-gradient(circle at 70% 65%, var(--isma-magenta) 0 24%, transparent 25%),
                radial-gradient(circle at 35% 75%, var(--isma-cyan) 0 18%, transparent 19%);
}

.why-card::after {
    right: 30px;
    bottom: -20px;
    width: 70px;
    height: 70px;
    background: var(--isma-cyan);
    opacity: .2;
}

.why-card h3 {
    position: relative;
    z-index: 1;
    padding-right: 48px;
    margin-bottom: 18px;
    font-size: 20px;
    text-transform: uppercase;
}

.check-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.45;
}

.check-list .icon {
    margin-top: 2px;
    font-size: 18px;
    color: var(--isma-ink);
}

/* --- Réalisations ------------------------------------------------------------ */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.work {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: var(--isma-radius);
    background: var(--isma-bg);
    color: #fff;
}

.work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.work:hover img {
    transform: scale(1.06);
}

.work__caption {
    position: absolute;
    inset: auto 0 0;
    padding: 40px 12px 12px;
    background: linear-gradient(transparent, rgba(20, 22, 63, .92));
}

.work__caption strong {
    display: block;
    font-family: var(--font-head);
    font-size: 14px;
    line-height: 1.3;
}

.work__caption small {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--isma-yellow);
    color: var(--isma-ink);
    font-size: 11px;
    font-weight: 700;
}

.work__zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--isma-ink);
    opacity: 0;
    transition: opacity .2s ease;
}

.work:hover .work__zoom,
.work:focus-visible .work__zoom {
    opacity: 1;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-btn {
    min-height: 40px;
    padding: 8px 16px;
    border: 2px solid var(--isma-border);
    border-radius: 999px;
    background: #fff;
    color: var(--isma-ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: var(--isma-yellow);
    color: var(--isma-ink);
}

.filter-btn.is-active,
.filter-btn[aria-pressed="true"] {
    border-color: var(--isma-ink);
    background: var(--isma-ink);
    color: #fff;
}

/* Visionneuse */
.lightbox {
    width: min(960px, 94vw);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #000;
    color: #fff;
}

.lightbox::backdrop {
    background: rgba(10, 11, 35, .88);
}

.lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.lightbox__caption {
    padding: 12px 56px 14px 16px;
    font-weight: 600;
    background: var(--isma-ink);
}

.lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--isma-ink);
    font-size: 18px;
}

/* --- Avis clients ------------------------------------------------------------ */
.testimonial {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--isma-border);
    border-radius: var(--isma-radius);
    background: #fff;
}

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    color: var(--isma-yellow);
    font-size: 16px;
}

.stars .is-off {
    color: #D8DAE6;
}

.testimonial blockquote {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--isma-indigo);
    color: #fff;
    font-weight: 700;
}

.testimonial__author small {
    display: block;
    color: var(--isma-muted);
}

/* --- Bandeau d'appel + pied de page ---------------------------------------- */
.site-footer {
    margin-top: 24px;
    padding-bottom: 24px;
    background: var(--isma-ink);
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.site-footer::before {
    content: "";
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--isma-cyan) 0 25%, var(--isma-magenta) 25% 50%, var(--isma-yellow) 50% 75%, var(--isma-indigo) 75%);
}

.cta-band {
    display: grid;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cta-band__text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-band__icon {
    flex-shrink: 0;
    font-size: 42px;
    color: var(--isma-yellow);
}

.cta-band h2 {
    margin: 0 0 4px;
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
}

.cta-band p {
    margin: 0;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
}

.footer-brand .brand__name {
    color: #fff;
}

.footer-brand .brand__tag {
    color: rgba(255, 255, 255, .7);
}

.footer-brand p {
    margin: 16px 0;
    line-height: 1.6;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
}

.socials a:hover {
    border-color: var(--isma-yellow);
    background: var(--isma-yellow);
    color: var(--isma-ink);
}

.footer-title {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--isma-yellow);
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--isma-yellow);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact .icon {
    margin-top: 3px;
    color: var(--isma-yellow);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
}

.payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pay-chip {
    padding: 5px 10px;
    border-radius: 6px;
    background: #fff;
    color: var(--isma-ink);
    font-size: 12px;
    font-weight: 700;
}

.pay-chip--orange { background: #FF7900; color: #14163F; }
.pay-chip--moov { background: #0057A8; color: #fff; }
.pay-chip--cash { background: #E3F4E8; color: #0B5A2F; }

/* Bouton WhatsApp flottant et barre d'action mobile */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--isma-wa);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.06);
}

.wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--isma-wa);
    animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.55); opacity: 0; }
}

.mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 950;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--isma-ink);
    box-shadow: 0 -6px 20px rgba(20, 22, 63, .25);
}

.mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 62px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-bar a .icon {
    font-size: 20px;
}

.mobile-bar__wa {
    background: var(--isma-wa-dark);
}

.mobile-bar__quote {
    background: var(--isma-yellow);
    color: var(--isma-ink) !important;
}

body {
    padding-bottom: 62px;
}

/* --- Pages intérieures ------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 44px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 10%, rgba(252, 190, 21, .28), transparent 22%),
        radial-gradient(circle at 80% 100%, rgba(210, 22, 116, .32), transparent 30%),
        linear-gradient(135deg, var(--isma-ink), var(--isma-ink-2));
}

.page-hero h1 {
    margin: 8px 0;
    font-weight: 800;
    font-size: clamp(28px, 5vw, 42px);
    text-transform: uppercase;
    color: #fff;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.6;
}

.breadcrumb-isma {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
}

.breadcrumb-isma li + li::before {
    content: "›";
    margin-right: 6px;
}

.breadcrumb-isma a {
    color: rgba(255, 255, 255, .9);
}

.breadcrumb-isma a:hover {
    color: var(--isma-yellow);
}

.category-block + .category-block {
    margin-top: 48px;
}

.category-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.category-block__head h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 22px;
}

.category-block__head h2 .icon {
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--isma-yellow);
    color: var(--isma-ink);
}

/* Fiche service */
.gallery__main {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: var(--isma-bg);
}

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

.gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}

.gallery__thumb {
    flex: 0 0 84px;
    height: 64px;
    padding: 0;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 10px;
    background: none;
}

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

.gallery__thumb[aria-current="true"] {
    border-color: var(--isma-yellow);
}

.service-info__category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--isma-bg);
    color: var(--isma-indigo);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.service-info h1 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
}

.price-box {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 6px solid var(--isma-yellow);
    border-radius: 12px;
    background: var(--isma-bg);
}

.price-box strong {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 28px;
    color: var(--isma-ink);
}

.price-box small {
    display: block;
    color: var(--isma-muted);
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--isma-border);
    border-radius: 12px;
}

.facts .icon {
    font-size: 22px;
    color: var(--isma-magenta);
}

.facts small {
    display: block;
    font-size: 12px;
    color: var(--isma-muted);
}

.facts strong {
    font-size: 14px;
}

.service-actions {
    display: grid;
    gap: 10px;
}

.content-card {
    padding: 24px;
    border: 1px solid var(--isma-border);
    border-radius: 18px;
    background: #fff;
}

.prose p {
    line-height: 1.7;
}

/* Contact, devis, formulaires */
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--isma-border);
    border-radius: var(--isma-radius);
    background: #fff;
    color: var(--isma-text);
    text-decoration: none;
}

a.info-card:hover {
    border-color: var(--isma-yellow);
    color: var(--isma-text);
    box-shadow: var(--isma-shadow);
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--isma-ink);
    color: var(--isma-yellow);
    font-size: 22px;
}

.info-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: 14px;
    text-transform: uppercase;
}

.info-card span {
    color: var(--isma-muted);
    font-size: 14px;
}

.form-card {
    padding: 24px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--isma-shadow);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--isma-ink);
}

.form-label .optional {
    font-weight: 400;
    color: var(--isma-muted);
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1.5px solid #CDD0E2;
    border-radius: 10px;
    font-size: 16px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--isma-cyan);
    box-shadow: 0 0 0 .2rem rgba(0, 173, 239, .2);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--isma-magenta);
}

.invalid-feedback {
    display: block;
    color: #B0105E;
    font-weight: 600;
}

.form-text {
    color: var(--isma-muted);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.file-drop {
    display: block;
    padding: 20px;
    border: 2px dashed #B9BDD6;
    border-radius: 14px;
    background: var(--isma-bg);
    text-align: center;
    cursor: pointer;
}

.file-drop:hover,
.file-drop:focus-within {
    border-color: var(--isma-cyan);
}

.file-drop .icon {
    font-size: 36px;
    color: var(--isma-indigo);
}

.file-list {
    display: grid;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.file-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--isma-border);
}

.file-list li.is-error {
    border-color: var(--isma-magenta);
    color: #B0105E;
}

.alert-isma {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.alert-isma .icon {
    margin-top: 2px;
    font-size: 20px;
}

.alert-isma--success { background: #E7F7EE; color: #0B5A2F; border-left: 5px solid var(--isma-wa-dark); }
.alert-isma--error { background: #FDECF3; color: #8C0E4C; border-left: 5px solid var(--isma-magenta); }
.alert-isma--warning { background: #FFF7DC; color: #6B4E00; border-left: 5px solid var(--isma-yellow); }

.map-facade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 173, 239, .45), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(210, 22, 116, .45), transparent 40%),
        var(--isma-ink);
}

.map-facade iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
}

.hours-table {
    width: 100%;
    font-size: 14px;
}

.hours-table td {
    padding: 6px 0;
    border-bottom: 1px dashed var(--isma-border);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.reference-box {
    display: inline-block;
    margin: 12px 0 20px;
    padding: 14px 24px;
    border: 3px dashed var(--isma-yellow);
    border-radius: 14px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(22px, 5vw, 32px);
    letter-spacing: .04em;
    color: var(--isma-ink);
}

.equipment {
    overflow: hidden;
    height: 100%;
    border-radius: var(--isma-radius);
    background: #fff;
    border: 1px solid var(--isma-border);
}

.equipment img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.equipment div {
    padding: 14px 16px;
}

.equipment strong {
    display: block;
    font-family: var(--font-head);
    color: var(--isma-ink);
}

.equipment small {
    color: var(--isma-muted);
}

.rounded-photo {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--isma-shadow);
    object-fit: cover;
}

.big-code {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(90px, 20vw, 160px);
    line-height: 1;
    background: linear-gradient(90deg, var(--isma-cyan), var(--isma-magenta), var(--isma-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Section « À propos » de l'accueil (le dirigeant) ------------------------ */
.about-ceo__visual {
    position: relative;
    max-width: 520px;
    margin: 0 auto 18px;
}

.about-ceo__visual::before,
.about-ceo__visual::after {
    content: "";
    position: absolute;
}

.about-ceo__visual::before {
    top: -14px;
    left: -14px;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--isma-cyan), var(--isma-magenta));
}

.about-ceo__visual::after {
    right: -12px;
    bottom: -12px;
    width: 36%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--isma-yellow);
}

.about-ceo__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 22px;
    box-shadow: var(--isma-shadow-lg);
}

.about-ceo__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 70% 35%;
}

.about-ceo__badge {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: -18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 14px;
    background: var(--isma-ink);
    color: #fff;
    box-shadow: var(--isma-shadow);
}

.about-ceo__badge-icon,
.about-ceo__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.about-ceo__badge-icon {
    background: var(--isma-yellow);
    color: var(--isma-ink);
    font-size: 20px;
}

.about-ceo__badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 14px;
    text-transform: uppercase;
}

.about-ceo__badge small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.about-ceo__kicker {
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--isma-magenta);
}

.about-ceo__role {
    margin: 16px 0 10px;
    font-weight: 600;
    color: var(--isma-indigo);
}

.about-ceo__text {
    max-width: 640px;
    line-height: 1.7;
    color: var(--isma-muted);
}

.about-ceo__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.about-ceo__contacts a,
.about-ceo__item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 10px 12px;
    border: 1px solid var(--isma-border);
    border-radius: 12px;
    background: #fff;
    color: var(--isma-ink);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.about-ceo__contacts a:hover {
    border-color: var(--isma-yellow);
    color: var(--isma-ink);
}

.about-ceo__contacts small {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--isma-muted);
}

.about-ceo__icon {
    background: var(--isma-ink);
    color: var(--isma-yellow);
    font-size: 18px;
}

/* Apparition douce au défilement */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* =============================================================================
   Petit téléphone (< 576 px) : cartes en 2 colonnes plus compactes
   ========================================================================== */
@media (max-width: 575.98px) {
    .product-card__body {
        padding: 12px;
    }

    .price strong {
        font-size: 16px;
    }
}

/* =============================================================================
   Tablette (≥ 768 px)
   ========================================================================== */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .about-ceo__contacts {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-bar {
        display: none;
    }

    .wa-float {
        bottom: 24px;
        right: 24px;
    }

    .hero {
        padding: 56px 0 130px;
    }

    .hero__features {
        grid-template-columns: repeat(3, auto);
        gap: 22px;
    }

    .hero__feature {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }

    .hero__feature strong {
        font-size: 13px;
    }

    .hero__feature small {
        font-size: 12.5px;
    }

    .hero__cta-main {
        width: auto;
    }

    .services-strip__card {
        grid-auto-flow: row;
        grid-template-columns: repeat(4, 1fr);
        overflow: visible;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .assurance {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
    }

    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 32px;
        left: calc(50% + 44px);
        width: calc(100% - 88px);
        border-top: 2px dashed #B9BDD6;
    }

    .work-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .cta-band {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .form-card {
        padding: 32px;
    }

    .service-actions {
        grid-template-columns: 1fr 1fr;
    }

    .facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================================================
   Ordinateur (≥ 992 px) : menu horizontal
   ========================================================================== */
@media (min-width: 992px) {
    .about-ceo__frame img {
        aspect-ratio: 1;
    }

    .menu-toggle,
    .main-nav__head,
    .main-nav__contact,
    .nav-overlay {
        display: none !important;
    }

    .main-nav {
        position: static;
        width: auto;
        padding: 0;
        overflow: visible;
        background: none;
        box-shadow: none;
        transform: none;
        visibility: visible;
    }

    .main-nav__list {
        flex-direction: row;
        gap: 26px;
    }

    .main-nav__link {
        width: auto;
        padding: 24px 0;
        font-size: 13.5px;
    }

    .main-nav__link.is-active::after {
        left: 0;
        bottom: 16px;
        width: 100%;
    }

    .has-dropdown {
        position: relative;
    }

    .dropdown-panel {
        position: absolute;
        top: 100%;
        left: -16px;
        z-index: 10;
        display: block;
        min-width: 280px;
        margin: 0;
        padding: 10px;
        border: 0;
        border-top: 4px solid var(--isma-yellow);
        border-radius: 0 0 14px 14px;
        background: #fff;
        box-shadow: var(--isma-shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .has-dropdown:hover .dropdown-panel,
    .has-dropdown:focus-within .dropdown-panel,
    .has-dropdown.is-open .dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-phone,
    .header-quote {
        display: inline-flex;
    }

    .hero {
        padding: 64px 0 140px;
    }

    .hero__visual {
        margin-top: 0;
    }

    .assurance {
        grid-template-columns: 1.3fr repeat(4, 1fr);
        padding: 8px 12px;
    }

    .assurance__item {
        padding: 20px 14px;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .assurance__item:last-child {
        border-right: 0;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    }
}

/* =============================================================================
   Grand écran (≥ 1200 px)
   ========================================================================== */
@media (min-width: 1200px) {
    .services-strip__card {
        grid-template-columns: repeat(8, 1fr);
    }

    .strip-item:nth-child(4) {
        border-right: 1px solid var(--isma-border);
    }

    .product-grid--6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }



    .product-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mouvements réduits : pas d'animation pour les personnes qui le demandent */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
