/*
Theme Name: Hipno Child
Template:   hipno
Theme URI: https://1.envato.market/hipno-wp
Description: Hipno Child Theme
Author: AwaikenThemes
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: hipno-child
*/

/* =====================================================================
   Site customisations - kept in the CHILD theme so a parent theme update
   cannot overwrite them.
   ===================================================================== */

/* --- Sub-heading dot: brand teal instead of the theme's grey SVG --- */
.section-title .elementor-heading-title::before{
    background: #00989A;
    border-radius: 50%;
}

/* ===== Icon Box SVG colour (.st0/.st1 class-name collision) =====
   Inlined SVGs all share the generic classes .st0/.st1, and their internal
   <style> blocks are GLOBAL, so the last one on the page repainted every
   icon. This is now fixed properly by the SVG class-scoping script in
   wp-content/mu-plugins/ekit-swiper-fix.php, which renames each SVG's
   classes to be unique. No CSS override is needed here any more - a blanket
   "force white" rule broke icons that are meant to be dark on white cards. */
/* ===== Fix: blank gap under the footer =====
   The ElementsKit blog-posts widget overflows ~577px below the page
   (oversized absolutely-positioned ::before/::after overlays on
   .elementskit-entry-thumb), which stretched the scroll height and left a
   large empty white area under the footer. Clipping the widget removes it. */
.elementor-widget-elementskit-blog-posts{
    overflow: hidden;
}

/* ===== Header on mobile, tablet and small laptops =====
   Header = 4428003 > [ f5a6a04 logo column | 976fe44 hamburger + CTA column ]

   - The logo is sized as 65% of its column. The browser measures the logo box
     before that width is known, so the box came out 26px tall while the image
     is 53px: the image hung below its own box and nothing could centre on it
     (the old fix nudged the hamburger down a fixed 13px, which only matched
     one phone width). A fixed logo width - its desktop size - gives the box
     its real height, so plain flex centring works at every width.
   - The side gutter is 20px, the same as the page content below it.
   - Breakpoint edges are written as 767.02px / 1024.02px so fractional
     viewports (e.g. 767.3px at 150% display scaling) are not left between
     two ranges, matching how Elementor itself switches layouts. */
@media (max-width: 1024px){
    .elementor-element-4428003{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .elementor-element-46cce41 img{
        width: 186px !important;
        max-width: none !important;
        height: auto !important;
    }
    /* hamburger + CTA column: rest of the row, one line, right-aligned */
    .elementor-element-976fe44{
        width: auto !important;
        flex: 1 1 auto !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        gap: 16px !important;
        padding-top: 0 !important;
    }
    .elementor-element-4ad2ac5{ order: 2; }   /* hamburger at the far right */
}

/* Mobile: no "Nous contacter" in the header (it is in the menu). */
@media (max-width: 767px){
    .elementor-element-255a924{ display: none !important; }
}

/* Tablet: the logo / menu columns use an 80% / 20% split meant for phones,
   which made the logo column ~790px wide and wrapped the hamburger and CTA
   onto two lines (a 123px header, taller than the 90px the page banner slides
   under - hence a white strip above every banner). The logo column gets its
   desktop width instead. */
@media (min-width: 767.02px) and (max-width: 1024px){
    .elementor-element-f5a6a04{
        width: 286px !important;
        flex: 0 0 286px !important;
    }
}

/* Small laptops: the desktop menu (5 links with 20px side padding) plus
   "Nous contacter" is ~80px wider than the row, so the button dropped to a
   second line (149px header). Slightly tighter links keep it on one line. */
@media (min-width: 1024.02px) and (max-width: 1199px){
    .elementor-element-976fe44{ flex-wrap: nowrap !important; }
    .elementor-element-4ad2ac5 .elementskit-navbar-nav > li > a{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================================================
   PAGE BANNER (inorix_page_hero() in functions.php) — 404, Actus, articles
   ----------------------------------------------------------------------------
   Identical to the Elementor inner-page banners (.page-hero-section, e.g.
   "Le groupe Inorix"): pulled up under the transparent header, 393px tall on
   desktop, title 70px / 50px / 32px at the same height, and the same
   ElementsKit breadcrumb - Roboto 16px regular, white, " » " separators, 10px
   under the title. Content on the 1280px grid with a 20px gutter.
   Two-class selectors so they outrank the Elementor kit's h1/h2/p rules.
   ============================================================================ */
.inorix-container{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.inorix-hero{
    margin-top: -116px;
    min-height: 393px;
    padding: 190px 0 70px;
    background: #0b3a4a var(--inorix-hero) center / cover no-repeat;
}
.inorix-hero .inorix-hero__title{
    margin: 0 0 10px;
    color: #fff;
    font-family: "Noto Serif", serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 1.1;
}
.inorix-hero .inorix-breadcrumb ol{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
.inorix-hero .inorix-breadcrumb li{ margin: 0; padding: 0; }
.inorix-hero .inorix-breadcrumb .inorix-breadcrumb__sep{ padding: 0 8px; }
.inorix-hero .inorix-breadcrumb a{
    color: #fff;
    text-decoration: none;
    transition: color .2s linear;
}

/* the site's section sub-heading (dot + Roboto 500), reused by Actus */
.site-main .inorix-subheading{
    position: relative;
    margin: 0 0 14px;
    padding-left: 18px;
    color: #00989A;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}
.site-main .inorix-subheading::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 1024px){
    .inorix-hero{ margin-top: -90px; min-height: 351px; padding-top: 180px; }
    .inorix-hero .inorix-hero__title{ font-size: 50px; }
}
@media (max-width: 767px){
    .inorix-hero{ min-height: 331px; padding: 180px 0 50px; background-position: 80% center; } /* keeps the fingerprint in frame */
    .inorix-hero .inorix-hero__title{ font-size: 32px; }
}

/* ============================================================================
   404 PAGE (template-parts/404.php) — card from the INORIX mockup
   ============================================================================ */
.inorix-404 .inorix-404-body{
    padding: 100px 0;
    /* the brand fingerprint peeking in at the bottom-left, as on other pages */
    background: var(--inorix-404-print) no-repeat left -85px bottom -63px / 240px auto;
}
.inorix-404 .inorix-404-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 636px;
    padding: 80px;
    border-radius: 40px;
    overflow: hidden;
    /* photo recoloured to one teal (the mockup shows no red jackets), then
       deepened slightly so the white text keeps its contrast */
    background-color: #39737a;
    background-image:
        linear-gradient(rgba(8, 46, 54, .16), rgba(8, 46, 54, .16)),
        linear-gradient(#39737a, #39737a),
        var(--inorix-404-card);
    background-blend-mode: normal, color, normal;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.inorix-404 .inorix-404-card__label{       /* site sub-heading, lighter for the teal card */
    position: relative;
    margin: 0 0 14px;
    padding-left: 18px;
    color: #83C8DA;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}
.inorix-404 .inorix-404-card__label::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: currentColor;
}
.inorix-404 .inorix-404-card__title{
    margin: 0 0 12px;
    color: #fff;
    font-family: "Noto Serif", serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1.05;
}
.inorix-404 .inorix-404-card__text{
    max-width: 480px;                /* breaks after "recherchez", as in the mockup */
    margin: 0;
    color: #fff;
    font-family: "Noto Serif", serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
}
@media (max-width: 1024px){
    .inorix-404 .inorix-404-body{ padding: 80px 0; background-size: 190px auto; background-position: left -68px bottom -50px; }
    .inorix-404 .inorix-404-card{ min-height: 520px; padding: 60px; border-radius: 32px; }
    .inorix-404 .inorix-404-card__title{ font-size: 68px; }
    .inorix-404 .inorix-404-card__text{ max-width: 420px; font-size: 28px; }
}
@media (max-width: 767px){
    .inorix-404 .inorix-404-body{ padding: 60px 0 90px; background-size: 140px auto; background-position: left -50px bottom -40px; }
    .inorix-404 .inorix-404-card{ min-height: 440px; padding: 40px 24px; border-radius: 20px; }
    .inorix-404 .inorix-404-card__label{ font-size: 14px; }
    .inorix-404 .inorix-404-card__title{ font-size: 56px; }
    .inorix-404 .inorix-404-card__text{ max-width: 300px; font-size: 22px; }
}

/* ============================================================================
   ACTUS (template-parts/archive.php, template-parts/single.php)
   ----------------------------------------------------------------------------
   Cards copy the home page's news widget: 20px-radius photo at 1 : 0.72,
   Noto Serif 24px title, teal "En savoir plus" with an arrow, 3 columns with
   a 30px gap on the 1280px grid.
   ============================================================================ */
.inorix-actus-list{
    padding: 100px 0 120px;
    background: var(--inorix-print) no-repeat left -85px bottom -63px / 240px auto;
}
.inorix-section-head{ margin-bottom: 60px; }
.site-main .inorix-section-title{
    margin: 0;
    color: #003142;
    font-family: "Noto Serif", serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
}
.inorix-section-head--text{
    max-width: 760px;
    color: #003142;
    font-size: 18px;
    line-height: 1.6;
}

.inorix-actus-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 30px;
}
.inorix-post-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.inorix-post-card__thumb{
    display: block;
    width: 100%;
    aspect-ratio: 1 / .72;
    margin-bottom: 22px;
    border-radius: 20px;
    overflow: hidden;
    background: #e6f0f1;
}
.inorix-post-card__thumb img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.inorix-post-card:hover .inorix-post-card__thumb img{ transform: scale(1.05); }
.inorix-post-card__placeholder{          /* post without a featured image */
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #00A8AA 0%, #00898B 46%, #00636F 100%);
}
.site-main .inorix-post-card__date{ margin-bottom: 12px; }
.inorix-post-card .inorix-post-card__title{
    margin: 0 0 20px;
    font-family: "Noto Serif", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}
.inorix-post-card .inorix-post-card__title a{
    color: #003142;
    text-decoration: none;
    transition: color .25s ease;
}
.inorix-post-card .inorix-post-card__title a:hover{ color: #00989A; }
.inorix-post-card .inorix-post-card__more,
.inorix-article .inorix-article__back{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00989A;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.inorix-post-card .inorix-post-card__more{ margin-top: auto; }   /* links line up along a row */
.inorix-post-card__more svg,
.inorix-article__back svg{ transition: transform .3s ease; }
.inorix-post-card__more:hover svg{ transform: translateX(4px); }
.inorix-article__back:hover svg{ transform: translateX(-4px); }

/* pagination (only shown past 6 articles) */
.inorix-pagination{ margin-top: 70px; }
.inorix-pagination .nav-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.inorix-pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #cfe1e2;
    border-radius: 5px;
    color: #003142;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}
.inorix-pagination a.page-numbers:hover{ border-color: #00989A; color: #00989A; }
.inorix-pagination .page-numbers.current{ background: #00989A; border-color: #00989A; color: #fff; }

.inorix-actus-empty{
    padding: 60px;
    border-radius: 20px;
    background: #f1f7f7;
    color: #003142;
}
.inorix-actus-empty .inorix-actus-empty__title{
    margin: 0 0 8px;
    font-family: "Noto Serif", serif;
    font-size: 28px;
    font-weight: 500;
}

/* article page */
.site-main .inorix-article__date{ margin-bottom: 24px; }
.inorix-article .inorix-article__back{ margin-top: 40px; }

@media (max-width: 1024px){
    .inorix-actus-list{ padding: 80px 0 100px; background-size: 190px auto; background-position: left -68px bottom -50px; }
    .site-main .inorix-section-title{ font-size: 40px; }
    .inorix-actus-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
}
@media (max-width: 767px){
    .inorix-actus-list{ padding: 60px 0 90px; background-size: 140px auto; background-position: left -50px bottom -40px; }
    .inorix-section-head{ margin-bottom: 40px; }
    .site-main .inorix-section-title{ font-size: 32px; }
    .inorix-actus-grid{ grid-template-columns: 1fr; gap: 44px; }
    .inorix-post-card .inorix-post-card__title{ font-size: 22px; }
    .inorix-actus-empty{ padding: 36px 24px; }
}

/* ===== Fix: sector cards overlap on mobile =====
   Each card overlays absolutely-positioned widgets on a background image.
   On mobile the title AND the description are both set to top:20px in
   Elementor (desktop uses 30px / 66px), so they render on top of each other.
   Fixed offsets would break again as soon as a title wraps, and the widget
   order differs per card in the DOM, so instead the text is put back in normal
   flow (image kept as an absolute background) and ordered with flex:
   title -> description -> "En savoir plus" pinned to the bottom. */
@media (max-width: 767px){
    .e-con:has(> .service-item){
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 22px !important;
        min-height: 300px;
    }
    .e-con:has(> .service-item) > .service-item{
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
    }
    .e-con:has(> .service-item) > .elementor-element:not(.service-item){
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1 !important;
    }
    .e-con:has(> .service-item) > .elementor-element:has(h2){
        order: 1;
        margin-bottom: 10px;
    }
    .e-con:has(> .service-item) > .elementor-element:has(p.elementor-heading-title){
        order: 2;
    }
    .e-con:has(> .service-item) > .e-con{
        order: 3;
        margin-top: auto;
    }
}

/* ===== Mobile layout consistency =====
   Most top-level sections inset their content by ~20px on mobile, but a few
   were left at 0 (content touching the screen edges) or carried a desktop-only
   offset. Normalised to 20px so every section lines up. */
@media (max-width: 767px){
    /* "Une offre globale et intégrée" heading + the activities accordion:
       had padding 0, so text ran edge to edge unlike every other section */
    .elementor-element-c33bdd5,
    .elementor-element-33761d3{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* "Nous sommes présents" block: container kept a desktop padding-left:100px
       with no right padding, pushing content off-centre on mobile */
    .elementor-element-a6bace5{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Hero CTAs: the row wraps because each button widget is full width, so
       "Nos solutions" / "Nous contacter" stacked. Keep them on one line.

       Matched by shape, not by id: a container whose direct children are
       containers that each hold one button widget. That is exactly the CTA
       row of every hero slide (slide 1 = bf6e78e, slide 2 = 35a1e2f), so a
       new slide is handled automatically. */
    .ekit-swiper-slide .e-con:has(> .e-con > .elementor-widget-button){
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }
    .ekit-swiper-slide .e-con:has(> .e-con > .elementor-widget-button) > .e-con{
        width: auto !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
}

/* ===== More mobile layout consistency (other pages) ===== */
@media (max-width: 767px){
    /* Step number boxes (01-04) are forced to 100x100 by the theme while their
       Elementor slot is only 60px, so they spilled ~20px off the right edge.
       60px matches the theme's own smallest breakpoint. */
    .how-work-step-no h3,
    .how-work-step-no-alt h3{
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
    }

    /* Politique RSE: two sections had no horizontal padding */
    .elementor-element-a3b24b8,
    .elementor-element-56ab241{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ============================================================================
   MOBILE — one consistent side gutter for every section (site-wide audit)
   ----------------------------------------------------------------------------
   The site's own standard is a 20px gutter, built as:
       top-level container  padding 10px
     + inner row container  padding 10px
     = 20px before the text starts.

   Auditing all 11 pages at 375px showed many sections never got that:
   some ended up at 10px, some at 0px, one at 40px. The result was sections
   that looked misaligned next to their neighbours in the same layout.

   Each rule below only supplies the part that was missing, so nested cards
   keep their own inner padding and backgrounds stay full-bleed.
   ============================================================================ */
@media (max-width: 767px){

    /* --- Had 10px (inner row only, container was 0) --> add the missing 10px --- */
    .elementor-element-f81c30f,   /* Accueil  - "Nos secteurs" band            */
    .elementor-element-137ad9f,   /* Accueil                                    */
    .elementor-element-c877940,   /* Accueil                                    */
    .elementor-element-51694a4,   /* Accueil                                    */
    .elementor-element-a33f1a8,   /* Le groupe                                  */
    .elementor-element-44d7562,   /* Le groupe                                  */
    .elementor-element-a2eb636,   /* Politique RSE                              */
    .elementor-element-796ae39,   /* "Eléments de réassurance" (shared)         */
    .elementor-element-02199a2,   /* FAQ block (shared)                         */
    .elementor-element-fd1ce86,   /* Nous contacter - "Les agences INORIX"      */
    .elementor-element-46e0703,   /* Nous contacter - FAQ                       */
    .elementor-element-4164bcb{   /* Footer CTA "Exigence I Proximité..." (all) */
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* --- Had no gutter at all --> supply the whole 20px --- */
    .ekit-swiper-slide .hero-section, /* every hero slide, matched by class so a
                                        new slide is covered automatically     */
    .elementor-element-f3792cd,   /* Le groupe                                  */
    .elementor-element-5d10816,   /* Le groupe                                  */
    .elementor-element-aa50f37,   /* Politique RSE                              */
    .elementor-element-ab2402d{   /* Tertiaire & sièges sociaux                 */
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Left alone on purpose:
       .elementor-element-055f93a  - hero slider wrapper (Accueil), full-bleed
       .elementor-element-322bef9  - Google map (Nous contacter), full-bleed
       .elementor-element-9d40b30  - contact form: its 20px container padding is
                                     the gutter, the 20px inside is the grey
                                     card's own padding, so it was already right */
}

/* ============================================================================
   BUTTONS — wider, more modern proportions
   ----------------------------------------------------------------------------
   Before: padding 16px 20px, i.e. almost as tall as it was wide.
   After : much more left/right padding than top/bottom.
   Corner radius: 5px.

   Excluded on purpose:
     .service-btn        - link-style buttons inside the service cards, they
                           have no padding and no background by design
     .footer-phone-btn /
     .footer-comment-btn - icon buttons from the theme demo
     header CTA          - the ElementsKit button in the header keeps its own
                           padding (15px 25px) and its 5px radius, untouched
   ============================================================================ */
.elementor-widget-button:not(.service-btn):not(.footer-phone-btn):not(.footer-comment-btn) .elementor-button,
a.btn-default,
input.btn-default,
.wpcf7-submit.btn-default{
    padding: 15px 30px !important;
    border-radius: 5px !important;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.35;
    white-space: nowrap;
}

/* outlined variant carries a 1px border, so shave 1px to keep both the same height */
.btn-default.btn-highlighted{
    padding: 14px 29px !important;
}

@media (max-width: 767px){
    /* a little tighter on phones, still clearly wider than tall */
    .elementor-widget-button:not(.service-btn):not(.footer-phone-btn):not(.footer-comment-btn) .elementor-button,
    a.btn-default,
    input.btn-default,
    .wpcf7-submit.btn-default{
        padding: 13px 26px !important;
    }

    /* Hero slide CTAs. Must stay after the rule above, otherwise the 30px
       side padding pushes them onto two lines again. */
    .ekit-swiper-slide .e-con:has(> .e-con > .elementor-widget-button) .elementor-button{
        width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: 14px !important;
        text-align: center;
    }
}

/* ============================================================================
   MOBILE OFF-CANVAS MENU — modern panel with smooth motion
   ----------------------------------------------------------------------------
   Was: a flat teal panel that slid in by animating `left`, a white square "X",
   no backdrop at all (the parent theme sets the overlay to display:none), and
   menu items that appeared instantly.

   Now: gradient panel with a rounded outer edge and a soft corner glow, the
   slide driven by `transform` (GPU, no layout work per frame), a dimmed and
   blurred backdrop, a circular ghost close button, and menu items that fade
   in one after the other.
   ============================================================================ */
@media (max-width: 1024px){

    /* ---- the panel ------------------------------------------------------ */
    .elementskit-menu-container.elementskit-menu-offcanvas-elements{
        left: 0 !important;               /* slide with transform, not `left` */
        width: 86% !important;
        max-width: 370px;
        /* parked past its own 70px shadow, or the shadow shows as a grey band
           down the left edge of every page while the menu is closed */
        transform: translateX(calc(-100% - 90px));
        /* Elementor's per-widget CSS also sets these, so they need !important */
        transition: transform .55s cubic-bezier(.16,1,.3,1) !important;
        will-change: transform;
        pointer-events: none;
        background: linear-gradient(165deg,#00A8AA 0%,#00898B 46%,#00636F 100%) !important;
        box-shadow: 0 0 70px rgba(0,20,26,.5) !important;
        border-radius: 0 24px 24px 0 !important;
        padding: 0 0 24px !important;
        overflow-y: auto;
        display: flex !important;
        flex-direction: column;
    }
    .elementskit-menu-container.elementskit-menu-offcanvas-elements.active{
        transform: translateX(0);
        pointer-events: auto;
    }
    /* soft light falling in from the top-left corner */
    .elementskit-menu-container.elementskit-menu-offcanvas-elements::before{
        content: ''; position: absolute; inset: 0;
        pointer-events: none; border-radius: inherit;
        background: radial-gradient(110% 55% at 0% 0%, rgba(255,255,255,.20), transparent 62%);
    }

    /* ---- backdrop ------------------------------------------------------- */
    /* The parent theme hides the overlay entirely. Bringing it back also
       restores tap-outside-to-close, which ElementsKit already wires up. */
    .elementskit-menu-overlay.elementskit-menu-offcanvas-elements{
        display: block !important;
        z-index: 999 !important;
        background: rgba(0,28,36,.55) !important;
        backdrop-filter: blur(4px);
        opacity: 0; visibility: hidden;
        transition: opacity .5s ease, visibility .5s;
    }
    .elementskit-menu-overlay.elementskit-menu-offcanvas-elements.active{
        opacity: 1; visibility: visible;
    }

    /* ---- close button --------------------------------------------------- */
    .elementskit-menu-container .elementskit-nav-identity-panel{
        order: -1;                    /* it comes after the nav in the markup */
        padding: 18px 18px 16px !important;
        display: flex; justify-content: flex-end; align-items: center;
        border-bottom: 1px solid rgba(255,255,255,.16);
        position: relative; z-index: 2;
    }
    .elementskit-menu-close{
        width: 44px !important; height: 44px !important; padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,.14) !important;
        border: 1px solid rgba(255,255,255,.38) !important;
        float: none !important;
        font-size: 0 !important; line-height: 0 !important;
        color: transparent !important;          /* hide the literal "X" glyph */
        position: relative;
        transition: transform .4s cubic-bezier(.16,1,.3,1), background .25s ease;
    }
    .elementskit-menu-close::before,
    .elementskit-menu-close::after{
        content: ''; position: absolute; left: 50%; top: 50%;
        width: 17px; height: 2px; border-radius: 2px; background: #fff;
    }
    .elementskit-menu-close::before{ transform: translate(-50%,-50%) rotate(45deg); }
    .elementskit-menu-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
    .elementskit-menu-close:hover{
        background: rgba(255,255,255,.26) !important;
        transform: rotate(90deg);
    }

    /* ---- items, revealed one after the other ---------------------------- */
    .elementskit-menu-container .elementskit-navbar-nav{
        position: relative; z-index: 2; padding: 10px 0 0 !important;
    }
    .elementskit-menu-container .elementskit-navbar-nav > li{
        opacity: 0; transform: translateX(-16px);
        border-bottom: 1px solid rgba(255,255,255,.13);
    }
    .elementskit-menu-container.active .elementskit-navbar-nav > li{
        animation: inorixMenuIn .5s cubic-bezier(.16,1,.3,1) forwards;
    }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(1){ animation-delay: .12s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(2){ animation-delay: .19s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(3){ animation-delay: .26s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(4){ animation-delay: .33s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(5){ animation-delay: .40s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(6){ animation-delay: .47s; }
    .elementskit-menu-container.active .elementskit-navbar-nav > li:nth-child(7){ animation-delay: .54s; }
    @keyframes inorixMenuIn{ to{ opacity: 1; transform: translateX(0); } }

    .elementskit-menu-container .elementskit-navbar-nav > li > a{
        padding: 17px 24px !important;
        font-size: 17px !important;
        letter-spacing: .2px;
        transition: background .25s ease, padding-left .3s cubic-bezier(.16,1,.3,1);
    }
    .elementskit-menu-container .elementskit-navbar-nav > li > a:hover,
    .elementskit-menu-container .elementskit-navbar-nav > li.current-menu-item > a{
        background: rgba(255,255,255,.11);
        padding-left: 32px !important;
    }

    /* ---- submenus ------------------------------------------------------- */
    .elementskit-menu-container .elementskit-submenu-panel{
        background: rgba(0,0,0,.12) !important;
    }
    .elementskit-menu-container .elementskit-submenu-panel li a{
        padding-left: 38px !important;
        font-size: 15px !important;
        color: rgba(255,255,255,.88) !important;
    }

    /* ---- hamburger fades out, so only one close affordance is on screen -- */
    .elementskit-menu-hamburger{
        transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
    }
    body:has(.elementskit-menu-container.active) .elementskit-menu-hamburger{
        opacity: 0; transform: scale(.8); pointer-events: none;
    }

    /* ---- honour reduced-motion ------------------------------------------ */
    @media (prefers-reduced-motion: reduce){
        .elementskit-menu-container.elementskit-menu-offcanvas-elements,
        .elementskit-menu-overlay.elementskit-menu-offcanvas-elements,
        .elementskit-menu-close,
        .elementskit-menu-hamburger{ transition: none !important; }
        .elementskit-menu-container.active .elementskit-navbar-nav > li{
            animation: none !important; opacity: 1; transform: none;
        }
    }
}

/* ============================================================================
   BACK TO TOP — branded floating button
   ----------------------------------------------------------------------------
   The parent theme disables ElementsKit's back-to-top widget, so the site had
   none. Markup + behaviour live in the child theme's functions.php.

   The INORIX fingerprint (empreinte-verte.svg) is applied as a CSS mask rather
   than an <img> or an inlined SVG: a mask only uses the file's alpha, so the
   watermark takes whatever colour we give it, and the SVG's internal <style>
   block stays inside its own document instead of leaking .st0/.st1 rules into
   the page — the same collision that broke the icon colours on this site.
   ============================================================================ */
.inorix-totop{
    position: fixed; right: 22px; bottom: 24px; z-index: 900;
    /* Elementor's kit styles every <button> (padding, radius, background),
       and `.elementor-kit-8 button` outranks a single class, so these win it back. */
    width: 54px !important; height: 54px !important; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important; cursor: pointer;
    background: linear-gradient(150deg,#00A8AA 0%,#00898B 48%,#00636F 100%) !important;
    box-shadow: 0 4px 12px rgba(0,32,42,.16);
    opacity: 0; visibility: hidden;
    transform: translateY(18px) scale(.85);
    transition: opacity .4s ease,
                transform .5s cubic-bezier(.16,1,.3,1),
                visibility .4s,
                box-shadow .3s ease;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.inorix-totop.is-visible{
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}
.inorix-totop.is-visible:hover{
    box-shadow: 0 6px 16px rgba(0,32,42,.22);
    transform: translateY(-3px) scale(1.04);
}
.inorix-totop:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }

/* the fingerprint watermark */
.inorix-totop__print{
    position: absolute; inset: 0; border-radius: 50%;
    background: #fff; opacity: .18; pointer-events: none;
    -webkit-mask: var(--inorix-print) center / 116% no-repeat;
            mask: var(--inorix-print) center / 116% no-repeat;
    transition: opacity .4s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.inorix-totop:hover .inorix-totop__print{ opacity: .3; transform: scale(1.08); }
.inorix-totop:not(.has-print) .inorix-totop__print{ display: none; }

/* ring that fills with scroll progress */
.inorix-totop__ring{
    position: absolute; inset: 0; width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.inorix-totop__ring circle{ fill: none; stroke-width: 2.5; }
.inorix-totop__track{ stroke: rgba(255,255,255,.22); }
.inorix-totop__bar{
    stroke: #fff; stroke-linecap: round;
    transition: stroke-dashoffset .15s linear;
}

/* arrow */
.inorix-totop__arrow{
    position: absolute; left: 50%; top: 50%;
    width: 20px; height: 20px;
    transform: translate(-50%,-50%);
    fill: none; stroke: #fff; stroke-width: 2.2;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.inorix-totop:hover .inorix-totop__arrow{ transform: translate(-50%,-62%); }

@media (max-width: 767px){
    .inorix-totop{ right: 16px; bottom: 16px; width: 48px !important; height: 48px !important; }
    .inorix-totop__arrow{ width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce){
    .inorix-totop,
    .inorix-totop__print,
    .inorix-totop__arrow,
    .inorix-totop__bar{ transition: none !important; }
}

/* ============================================================================
   ICON FONTS — replaced with inline SVG
   ----------------------------------------------------------------------------
   Three icon fonts were being downloaded to draw a handful of glyphs:

       elementskit.woff   255KB  ->  submenu chevron + LinkedIn
       eicons.woff2       105KB  ->  slider prev/next chevrons
       fa-brands-400      115KB  ->  one LinkedIn icon on /le-groupe/

   A font file is only fetched when a glyph from it is actually painted, so
   swapping these few glyphs for SVG stops the downloads outright — no
   dequeuing needed. Font Awesome Solid/Regular stay: they draw ~40 icons.

   The SVG is applied as a mask, so the icon still inherits `currentColor` and
   every existing hover/rotate rule keeps working.
   ============================================================================ */

/* Point these elements at a normal font so the icon font is no longer
   referenced at all. Without this the browser still downloads the file for a
   pseudo-element that paints nothing — and `inherit` is not enough, because
   Font Awesome sets its family on the element itself, which ::before inherits.
   The `body` prefix is there to outrank the vendors' own !important rules. */
body .icon.elementskit-submenu-indicator,
body .icon.icon-linkedin,
body .elementskit-submenu-indicator,
body .ekit-menu-icon-linkedin,
body .icon-linkedin,
body .eicon-chevron-left,
body .eicon-chevron-right,
body .fa-linkedin,
body .fa-linkedin-in,
body .ekit-wid-con .icon.elementskit-submenu-indicator::before,
body .ekit-wid-con .icon.icon-linkedin::before,
body .icon.elementskit-submenu-indicator::before,
body .icon.icon-linkedin::before,
body .elementskit-submenu-indicator::before,
body .ekit-menu-icon-linkedin::before,
body .icon-linkedin::before,
body .eicon-chevron-left::before,
body .eicon-chevron-right::before,
body .fa-linkedin::before,
body .fa-linkedin-in::before{
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* --- shared: turn an icon-font pseudo-element into an SVG box -------------- */
.elementskit-submenu-indicator::before,
.ekit-menu-icon-linkedin::before,
.icon-linkedin::before,
.eicon-chevron-left::before,
.eicon-chevron-right::before,
.fa-linkedin::before,
.fa-linkedin-in::before{
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    background-color: currentColor;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

/* --- chevron down (menu submenu indicator) -------------------------------- */
.elementskit-submenu-indicator::before{
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- slider arrows -------------------------------------------------------- */
.eicon-chevron-left::before{
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.eicon-chevron-right::before{
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- LinkedIn (both the ElementsKit and the Font Awesome Brands variants) -- */
.ekit-menu-icon-linkedin::before,
.icon-linkedin::before,
.fa-linkedin::before,
.fa-linkedin-in::before{
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.98 3.5C4.98 4.88 3.87 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.02 8.02h4.96V24H.02V8.02zM8.98 8.02h4.75v2.18h.07c.66-1.25 2.27-2.57 4.68-2.57 5 0 5.93 3.29 5.93 7.57V24h-4.96v-7.83c0-1.87-.03-4.27-2.6-4.27-2.6 0-3 2.03-3 4.13V24H8.98V8.02z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.98 3.5C4.98 4.88 3.87 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.02 8.02h4.96V24H.02V8.02zM8.98 8.02h4.75v2.18h.07c.66-1.25 2.27-2.57 4.68-2.57 5 0 5.93 3.29 5.93 7.57V24h-4.96v-7.83c0-1.87-.03-4.27-2.6-4.27-2.6 0-3 2.03-3 4.13V24H8.98V8.02z'/%3E%3C/svg%3E");
}


/* ============================================================================
   HERO SLIDER — hold back the off-screen slide images
   ----------------------------------------------------------------------------
   The slides carry their photo as a CSS background, so `loading="lazy"` does
   not apply and all three (~1.1MB) are fetched during first paint although
   only slide 1 is visible. Blanking them from JavaScript is too late: the
   browser requests a background as soon as the CSS is applied, which is well
   before DOMContentLoaded. So the rule lives here, and the footer script drops
   `.inorix-slides-ready` on <html> once loading is done to release them.

   Slide 1 is matched by its own repeater class rather than :first-child, so
   the clones the slider creates for loop mode cannot shift which slide is
   protected — the visible hero always paints straight away.
   ============================================================================ */
html:not(.inorix-slides-ready) .ekit-swiper-slide:not(.elementor-repeater-item-0977d2f) .hero-section{
    background-image: none !important;
}


/* ============================================================================
   FOOTER — menu lists start exactly where the legal links start
   ----------------------------------------------------------------------------
   The two menu columns were pushed in with fixed padding (90px / 70px) while
   "Mentions légales" / "Politique de confidentialité" were *centred* in their
   columns, so the two only lined up at one screen width (14-16px off on a
   1500px screen, 40-50px off on tablet). Both rows now share one grid: equal
   columns, content left-aligned, and the same indent per column.

     menu row  b209ebb : 665b929 (Le Groupe...)    5ea61f8 (Nos secteurs...)
     legal row 58fd14d : fe3a370 (Mentions)        24a4574 (Politique)

   The indents are what the legal links already sat at on desktop (106px /
   90px into their column), capped as a share of the row so they shrink with
   the tablet layout instead of squeezing the text.
   ============================================================================ */
.elementor-element-b209ebb > .e-con,
.elementor-element-58fd14d > .e-con{
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
}
.elementor-element-fe3a370{ justify-content: flex-start !important; }   /* was space-evenly */
.elementor-element-24a4574{ align-items: flex-start !important; }       /* was center       */
.elementor-element-1f983b9 > .elementor-widget-container{ padding-left: 0 !important; }

.elementor-element-665b929,
.elementor-element-fe3a370{ padding-left: min(106px, 17%) !important; }
.elementor-element-5ea61f8,
.elementor-element-24a4574{ padding-left: min(90px, 14.4%) !important; }

/* Mobile: the columns stack, so every list sits on the footer's left edge,
   in line with the logo and the copyright above/below it. */
@media (max-width: 767px){
    .elementor-element-b209ebb > .e-con{
        flex: 0 0 100% !important;   /* keep the menu lists stacked, as designed */
        width: 100% !important;
    }

    /* The two legal links share one line. */
    .elementor-element-58fd14d{
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 28px !important;
    }
    .elementor-element-58fd14d > .e-con{
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0;
        padding-right: 0 !important;
    }
    .elementor-element-3e759a2{ padding-left: 0 !important; padding-right: 0 !important; }

    /* The line between the menu and the legal links is an 84%-wide divider
       pushed to the right; on a phone it now spans the full width instead. */
    .elementor-element-3c56a41 .elementor-divider-separator{
        width: 100% !important;
        margin-left: 0 !important;
    }

    .elementor-element-665b929,
    .elementor-element-fe3a370,
    .elementor-element-5ea61f8,
    .elementor-element-24a4574{ padding-left: 0 !important; }

    /* The copyright block is pulled up 116px so that on desktop it sits level
       with the legal links. Once stacked, that pull made it overlap
       "Politique de confidentialité". */
    .elementor-element-2bbd1e8{ margin-top: 0 !important; }
}

/* Tablet: the footer had no side padding, so its left column (logo, cities,
   copyright, legal notice) sat 10px from the screen edge while its right side
   and the header use 20px. 10px on the footer + the columns' own 10px = 20px;
   the right column drops its own right padding so that side stays at 20px. */
@media (min-width: 767.02px) and (max-width: 1024px){
    .elementor-element-4164bcb{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .elementor-element-3e759a2{ padding-right: 0 !important; }

    /* On narrow tablets "Politique de confidentialité" wraps to two lines;
       top-align the pair instead of centring "Mentions légales" against it. */
    .elementor-element-58fd14d{ align-items: flex-start !important; }
}

/* ==========================================================================
   COOKIE BANNER (tarteaucitron.js) — loaded by inorix_cookie_consent_*() in
   functions.php. The library injects its own stylesheet after this one and
   styles by id, so every rule here starts with "html body #tarteaucitronRoot".
   ========================================================================== */
html body #tarteaucitronRoot{--tac-navy:#003142;--tac-navy-hover:#00424f;--tac-teal:#00989A;--tac-teal-dark:#007f81;--tac-text:#56656d;--tac-line:#e3ecef;--tac-soft:#f4f9fa;--tac-chip:#eef2f6;font-family:Roboto,sans-serif;color:var(--tac-navy)}
html body #tarteaucitronRoot button:focus-visible,
html body #tarteaucitronRoot a:focus-visible{outline:2px solid var(--tac-teal);outline-offset:2px}

/* Banner: a floating card, bottom left (the back-to-top button is bottom right). */
html body #tarteaucitronRoot #tarteaucitronAlertBig{left:24px;right:auto;bottom:24px;width:min(460px,calc(100vw - 32px));margin:0;box-sizing:border-box;padding:36px 36px 26px;border:0;border-radius:28px;background:#fff;color:var(--tac-navy);text-align:left;box-shadow:0 30px 80px -20px rgba(0,49,66,.4),0 4px 18px rgba(0,49,66,.08);animation:inorix-cookie-in .5s cubic-bezier(.2,.8,.2,1) both}
html body #tarteaucitronRoot #tarteaucitronAlertBig[style*="display: block"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
@keyframes inorix-cookie-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
html body #tarteaucitronRoot.tarteaucitronTitleBanner.tarteaucitronSize-bottom #tarteaucitronAlertBig::before{content:var(--tacTitleBanner);grid-column:1/-1;display:block;margin:0 0 2px;padding:0 56px 0 0;text-align:left;font-family:Roboto,sans-serif;font-size:24px;font-weight:700;line-height:1.3;color:var(--tac-navy)}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert{grid-column:1/-1;display:block;max-height:none;margin:0 0 14px;padding:0;overflow:visible;color:var(--tac-text);font-size:16px;line-height:1.65;text-align:left}

html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton{box-sizing:border-box;width:100%;margin:0;padding:16px 12px;border:2px solid var(--tac-navy);border-radius:999px;font-family:Roboto,sans-serif;font-size:17px!important;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s linear,color .2s linear,border-color .2s linear}
html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronAllow{background:var(--tac-navy);color:#fff}
html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronAllow:hover{border-color:var(--tac-navy-hover);background:var(--tac-navy-hover)}
html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronDeny{background:#fff;color:var(--tac-navy)}
html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronDeny:hover{background:#f1f6f8}

/* "Personnaliser" and the privacy link: quiet text links under the two buttons. */
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl{box-sizing:border-box;justify-self:center;width:auto;margin:0;padding:6px 8px;border:0;border-radius:6px;background:transparent;color:var(--tac-text);font-family:Roboto,sans-serif;font-size:14px!important;font-weight:500;line-height:1.3;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .2s linear}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert:not(:has(+ #tarteaucitronPrivacyUrl)){grid-column:1/-1}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert:hover,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl:hover{background:transparent;color:var(--tac-navy)}

/* Close button (the library adds it with the closePopup setting). */
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseCross{position:absolute;top:24px;right:24px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:var(--tac-chip);color:var(--tac-navy);font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:1;cursor:pointer;transition:background-color .2s linear}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseCross:hover{background:#dce5ec}

@media (max-width:480px){
html body #tarteaucitronRoot #tarteaucitronAlertBig{left:16px;bottom:16px;padding:28px 24px 20px;border-radius:24px}
html body #tarteaucitronRoot.tarteaucitronTitleBanner.tarteaucitronSize-bottom #tarteaucitronAlertBig::before{font-size:22px}
html body #tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton{padding:14px 8px;font-size:16px!important}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseCross{top:18px;right:18px;width:40px;height:40px}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl{padding:6px 0;font-size:13px!important}
}
@media (prefers-reduced-motion:reduce){html body #tarteaucitronRoot #tarteaucitronAlertBig{animation:none}}

/* Cookie icon: out of the way while the banner is open, and gone for good once
   the visitor has accepted or refused (the class is set in functions.php). */
html body #tarteaucitronRoot:has(#tarteaucitronAlertBig[style*="display: block"]) #tarteaucitronIcon,
html.inorix-cookie-done body #tarteaucitronRoot #tarteaucitronIcon,
html body.tarteaucitron-modal-open #tarteaucitronRoot #tarteaucitronIcon{display:none!important}
html body #tarteaucitronRoot #tarteaucitronIcon #tarteaucitronManager img{filter:drop-shadow(0 4px 10px rgba(0,49,66,.3));transition:transform .2s ease}
html body #tarteaucitronRoot #tarteaucitronIcon #tarteaucitronManager:hover img{transform:scale(1.08)}

/* Settings panel */
html body #tarteaucitronRoot #tarteaucitronBack{background:rgba(0,33,46,.55)!important;opacity:1!important}
html body.tarteaucitron-modal-open div#tarteaucitronRoot#tarteaucitronRoot::before{background:transparent!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html body #tarteaucitronRoot #tarteaucitron{max-width:760px;border-radius:28px;background:#fff;box-shadow:0 40px 100px -20px rgba(0,33,46,.55);font-family:Roboto,sans-serif;scrollbar-width:thin;scrollbar-color:#c9dce1 transparent}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices{border-radius:28px;background:#fff}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronClosePanel{z-index:10;top:16px;right:16px!important;width:auto;padding:7px 16px;border:0;border-radius:999px;background:#eef4f6;color:var(--tac-navy);font-family:Roboto,sans-serif;font-size:13px;font-weight:500;transition:background-color .2s linear}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronClosePanel:hover{background:#dfeaee}

html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:40px 36px 16px;border:0;border-radius:28px 28px 0 0;background:#fff}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronH1{flex:0 0 100%;margin:0 0 4px;text-align:left;font-family:Roboto,sans-serif;font-size:26px;font-weight:700;line-height:1.2;color:var(--tac-navy)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset #tarteaucitronInfo{flex:0 0 100%;position:static;display:block;max-width:none!important;margin:0 0 12px!important;padding:0!important;border:0;background:transparent;color:var(--tac-text);font-size:15px;font-weight:400;line-height:1.6;text-align:left!important}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset #tarteaucitronInfo p{color:var(--tac-text);font-size:15px;line-height:1.6;text-align:left}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset #tarteaucitronInfo br{display:none}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrlDialog{display:inline-block;margin:10px 0 0;padding:0;border:0;background:transparent;color:var(--tac-teal-dark);font-family:Roboto,sans-serif;font-size:15px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName{flex:1 1 auto;margin:0;width:auto}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronH2{margin:0;color:var(--tac-navy);font-size:16px;font-weight:600}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronAsk{display:flex;gap:8px;float:none;margin:0}

html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder{padding:0 36px 8px;border-radius:0 0 20px 20px}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder ul{margin:0;padding:0;list-style:none}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronTitle button{margin:18px 0 0;padding:6px 0;background:transparent;color:var(--tac-navy);font-family:Roboto,sans-serif;font-size:15px;font-weight:600}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine:not(#tarteaucitronMainLineOffset){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:10px 0 0;padding:16px 18px;border:1px solid var(--tac-line);border-left:4px solid var(--tac-line);border-radius:14px;background:var(--tac-soft)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine:not(#tarteaucitronMainLineOffset):hover{background:var(--tac-soft)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine:not(#tarteaucitronMainLineOffset) .tarteaucitronName{flex:1 1 220px;float:none;width:auto;margin:0}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine:not(#tarteaucitronMainLineOffset) .tarteaucitronAsk{display:flex;gap:8px;float:none;margin:0}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronH3,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName a{color:var(--tac-navy);font-size:15px;font-weight:500;line-height:1.5}

/* Buttons: the library's yellow becomes teal (accepted) and navy (refused);
   a service nobody has chosen for yet stays neutral. */
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices button.tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices button.tarteaucitronDeny{padding:10px 20px;border:1px solid rgba(0,49,66,.25);border-radius:999px;background:#fff;color:var(--tac-navy);font-family:Roboto,sans-serif;font-size:15px!important;font-weight:500;line-height:1.2;cursor:pointer;transition:background-color .2s linear,color .2s linear,border-color .2s linear}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices button.tarteaucitronAllow:hover,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices button.tarteaucitronDeny:hover{border-color:var(--tac-navy)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed button.tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected{border-color:var(--tac-teal);background:var(--tac-teal);color:#fff}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronSave button.tarteaucitronAllow{border-color:var(--tac-navy);background:var(--tac-navy);color:#fff}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronSave button.tarteaucitronAllow:hover{border-color:var(--tac-navy-hover);background:var(--tac-navy-hover)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied button.tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected{border-color:var(--tac-navy);background:var(--tac-navy);color:#fff}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed:not(#tarteaucitronMainLineOffset){border-left-color:var(--tac-teal)}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied:not(#tarteaucitronMainLineOffset){border-left-color:var(--tac-navy)}
html body #tarteaucitronRoot #tarteaucitron button span{color:inherit}
/* Check mark only on the chosen button, instead of the library's empty/ticked boxes. */
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronCheck::before,
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronCross::before{content:none!important}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsAllowed .tarteaucitronAllow .tarteaucitronCheck::before,
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsSelected .tarteaucitronCheck::before,
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsSelected.tarteaucitronAllow .tarteaucitronCheck::before{content:"\2713"!important;margin-right:6px}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsDenied .tarteaucitronDeny .tarteaucitronCross::before,
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsSelected .tarteaucitronCross::before,
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronIsSelected.tarteaucitronDeny .tarteaucitronCross::before{content:"\2715"!important;margin-right:6px}

html body #tarteaucitronRoot #tarteaucitron div#tarteaucitronSave{position:sticky;bottom:0;z-index:2;padding:16px 36px 28px;border-radius:0 0 28px 28px;background:#fff;box-shadow:0 -14px 20px -14px rgba(0,49,66,.18)}
html body #tarteaucitronRoot a.tarteaucitronSelfLink img{filter:brightness(0) invert(1);opacity:.7}
@media (max-width:480px){
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronMainLineOffset{padding:48px 22px 12px}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder{padding:0 22px 8px}
html body #tarteaucitronRoot #tarteaucitron div#tarteaucitronSave{padding:14px 22px 22px}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronH1{font-size:22px}
}

/* ==========================================================================
   Service / RSE / values icon boxes (ElementsKit info box, containers 2048282
   on the service and RSE pages, f76a748 on Le groupe)
   The square itself (teal background, 15px padding, 10px radius, darker on
   hover, white icon) is set in each widget in Elementor. These SVG icons have
   no fixed size, so this fits them inside the padded square. Many also carry
   their own teal tile (a rect filled #04989a, one shade off), which showed as a lighter inner
   square when the box darkens on hover, so that tile is made transparent.
   Those full-tile icons only draw their glyph in about 65% of the tile, so they
   get a 4px padding instead of 15px: every glyph then measures about 40px,
   whichever kind of icon file a widget uses.
   ========================================================================== */
.elementor-element:is(.elementor-element-2048282,.elementor-element-f76a748) .elementskit-infobox .elementskit-box-header .elementskit-info-box-icon{box-sizing:border-box;transition:background-color .3s ease}
.elementor-element:is(.elementor-element-2048282,.elementor-element-f76a748) .elementskit-infobox .elementskit-box-header .elementskit-info-box-icon svg{width:100%;height:100%}
.elementor-element:is(.elementor-element-2048282,.elementor-element-f76a748) .elementskit-infobox .elementskit-info-box-icon svg rect[style*="04989a" i]{fill:transparent!important}
.elementor-element:is(.elementor-element-2048282,.elementor-element-f76a748) .elementskit-infobox .elementskit-box-header .elementskit-info-box-icon:has(svg rect[style*="04989a" i]){padding:4px}

/* ==========================================================================
   Contact page, agency icon boxes (.contact-info-item)
   The parent theme grows a navy layer over the round icon on hover. The other
   icon boxes darken to teal instead, so that layer is switched off here and the
   darker-teal hover set in each widget in Elementor shows.
   ========================================================================== */
.contact-info-item .elementskit-infobox .elementskit-info-box-icon::before{display:none}
.contact-info-item .elementskit-infobox .elementskit-info-box-icon{transition:background-color .3s ease}

/* ==========================================================================
   Activités / Secteurs pages, photo of the first section (image widget
   9268f6e, same ID on every page because they are duplicates)
   The widget sits in a column container with no width of its own. Chrome sized
   it from the photo's natural width (400 px, so 600 px high) and only then
   stretched it to the column (524 px on a laptop, so the photo grew to 786 px).
   The widget stayed 600 px, the rounded container overflowed it and the next
   section painted over the bottom of the photo: cut off, flat bottom edge,
   worse the wider the screen. A definite width makes the widget as high as the
   photo. Needed for any image widget that is alone in a column container and
   whose column is wider than the file.
   ========================================================================== */
.elementor-element-9268f6e.elementor-widget-image{width:100%}

/* Tablet and phone: the photo's column (e3d6f7a) keeps a left padding of
   100 px (tablet) / 80 px (phone) meant to push the photo right on desktop, so
   the photo sat off-centre and narrower than the text. Same padding on both
   sides centres it; on tablet it is capped at 520 px (the file is only 400 px
   wide) and centred in the full-width column. The extra classes beat the
   per-page rule Elementor writes (.elementor-NNNN .elementor-element.elementor-element-e3d6f7a). */
@media (max-width:1024px){
.elementor .elementor-element.elementor-element-e3d6f7a.e-con{--padding-left:10px}
.elementor .elementor-element.elementor-element-9268f6e.elementor-widget-image{max-width:520px;margin-inline:auto}
}

/* ==========================================================================
   RSE page, "méthode" steps 01-04 (container b214daa > 8c88fc0)
   The dotted arrows between the steps are the background image of each step
   (how-work-step-arrow-1-1.svg for steps 1 and 3, -2-1.svg for step 2, set in
   Elementor), drawn right behind the text. With the longer texts their long
   dotted lead-in ran under the last words of several lines. Same arrows, same
   size, same position and style, but the first 18 of their 60 dashes (the lead-in) are
   cut off: assets/images/how-work-step-arrow-{1,2}-short.svg are the originals
   with those dashes removed (same 196x149 box, so nothing moves or rescales).
   Clear of the text from about 1280 px; on narrower laptop screens the text
   blocks nearly fill the columns and the curve can still touch a word.
   Scoped to this page: the home page and Le groupe keep the full arrows. Extra
   classes beat Elementor's per-page rule
   (.elementor-11559 .elementor-element.elementor-element-ID:not(...)).
   Step 4 has no arrow and is not touched. Desktop only (no arrows below 1024 px).
   Variants tried and dropped 2026-10-19: scaling the arrows down (35-40%), and
   moving them to the empty corner beside each tile.
   ========================================================================== */
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(1),
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(3),
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(1) > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(3) > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("assets/images/how-work-step-arrow-1-short.svg")}
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(2),
.page-id-11559 .elementor .elementor-element.how-work-step-item.e-con:nth-child(2) > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("assets/images/how-work-step-arrow-2-short.svg")}

/* ==========================================================================
   Contact page, JotForm embed (iframe#JotFormIFrame-…, widget d9c2828)
   The shortcode widget sits in a column container with align-items:center, so
   it is only as wide as its content, and the iframe (min/max-width:100%) has
   no width of its own: it fell back to the 300px default and the form showed
   its phone layout in a 1300px box. A definite width lets it use the room; the
   form card is 752px wide, so the widget stops at 768px. Extra classes beat
   Elementor's .elementor.elementor .e-con > .elementor-widget{max-width:100%}.
   The iframe's height is set from the form's own setHeight message, see
   inorix_jotform_iframe_height() in functions.php.
   ========================================================================== */
.elementor .e-con .elementor-widget-shortcode:has(iframe[id^="JotFormIFrame-"]){width:100%;max-width:768px;margin-inline:auto}
