
==================================================================*/


/*==================================================================
  BLOC 1 — FONDATION
==================================================================*/

/* ---------- Polices locales (woff2 + woff) ---------- */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-400.woff2') format('woff2'),
         url('../fonts/manrope-400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-500.woff2') format('woff2'),
         url('../fonts/manrope-500.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-600.woff2') format('woff2'),
         url('../fonts/manrope-600.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-700.woff2') format('woff2'),
         url('../fonts/manrope-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-800.woff2') format('woff2'),
         url('../fonts/manrope-800.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Euphoria Script';
    src: url('../fonts/euphoria-script-400.woff2') format('woff2'),
         url('../fonts/euphoria-script-400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design tokens (Figma "Bullesdo/*") + overrides BS5 ---------- */
:root {
    /* Couleurs Figma */
    --primary-color: #0F2E43;     /* Bullesdo/Primary/Navy */
    --accent-color: #C7D234;      /* Bullesdo/Accent/Anis */
    --secondary-color: #588BB5;   /* Bullesdo/Secondary/Bleu */
    --text-color: #2A3B47;        /* Bullesdo/Text/Corps */
    --muted-color: #5B6B77;       /* Bullesdo/Text/Muted */
    --bg-soft: #F3F6F9;           /* Bullesdo/Neutral/Fond */
    --border-color: #DDE5EC;      /* Bullesdo/Neutral/Bordure */
    --white-color: #FFFFFF;       /* Bullesdo/Neutral/Blanc */
    --light-color: #FFFFFF;       /* Figma variable "light-color" */
    --deep-color: #0A2232;        /* overlay-hero (fond + dégradé) */
    --dark-color: #0F2E43;
    --glass-color: rgba(14, 37, 53, 0.46);

    /* Alias attendus par le CSS obligatoire GNSDF (pages internes / formulaires) */
    --tertiary-color: #5B6B77;
    --gray-color: #588BB5;
    --quaternary-color: #F3F6F9;
    --color-quaternary: #F3F6F9;
    --gold-from: #C7D234;
    --hp-light-70: rgba(91, 107, 119, 0.7);

    /* Typographie */
    --font-body: 'Manrope', sans-serif;
    --font-script: 'Euphoria Script', cursive;
    --fs-body: 16px;
    --lh-body: 1.65;
    --fs-h1: 50px;
    --fs-h2: 48px;
    --fs-h3: 30px;
    --fs-h3-card: 26px;
    --fs-h4: 20px;

    /* Rayons / transitions / layout */
    --radius-frame: 25px;
    --radius-card: 20px;
    --radius-menu: 10px;
    --radius-pill: 999px;
    --t-base: 0.3s ease;
    --frame-gutter: 25px;
    --header-h: 88px;

    /* Overrides Bootstrap 5 */
    --bs-primary: #0F2E43;
    --bs-primary-rgb: 15, 46, 67;
    --bs-secondary: #588BB5;
    --bs-secondary-rgb: 88, 139, 181;
    --bs-light: #F3F6F9;
    --bs-light-rgb: 243, 246, 249;
    --bs-body-color: #2A3B47;
    --bs-body-color-rgb: 42, 59, 71;
    --bs-body-bg: #FFFFFF;
    --bs-body-font-family: 'Manrope', sans-serif;
    --bs-body-font-size: 16px;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.65;
    --bs-link-color: #0F2E43;
    --bs-link-color-rgb: 15, 46, 67;
    --bs-link-hover-color: #588BB5;
    --bs-link-hover-color-rgb: 88, 139, 181;
    --bs-border-color: #DDE5EC;
    --bs-border-radius: 20px;
    --bs-secondary-color: #5B6B77;
    --bs-accordion-active-color: #FFFFFF;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0F2E43;
    --bs-btn-border-color:#0F2E43;
    --bs-btn-hover-color: #0F2E43;
    --bs-btn-hover-bg: #C7D234;
    --bs-btn-hover-border-color: #C7D234;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #C7D234;
    --bs-btn-active-border-color: #ccc;
    --bs-btn-disabled-bg: #0F2E43;
    --bs-btn-disabled-border-color: #0F2E43;
}
/* ---------- CSS obligatoire GNSDF (fourni par l'équipe) ---------- */
.fa-facebook::before {
    content: "\f39e" !important; /* override — CSS obligatoire GNSDF */
}
.footer-b {
    display: none;
}
html,
body {
    height: auto !important;        /* override — CSS obligatoire GNSDF */
    min-height: 100%;
    overflow: visible !important;   /* override — CSS obligatoire GNSDF */
    scroll-behavior: auto !important; /* override — smooth natif désactivé, géré par Lenis */
}
.p-absolute {
    position: absolute !important; /* override — CSS obligatoire GNSDF */
}
.txt-white {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important; /* override — CSS obligatoire GNSDF */
}
.grecaptcha-badge {
    z-index: 99;
}
a#non-cliquable {
    pointer-events: none;
    display: inline-block;
}
a.btn-cookies-link i {
    width: 20px !important; /* override — CMS cookies */
}
a.btn-cookies-link {
    color: var(--dark-color) !important; /* override — CMS cookies */
}
input {
    outline: none !important; /* override — CSS obligatoire GNSDF */
}
a#scrollTopBtn {
    right: 50%;
    bottom: 44px;
    transform: translateX(50%);
    border: 1px solid var(--bs-body-color);z-index: 99;
}

/* ---------- Lenis (smooth scroll) ---------- */
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* ---------- Resets ---------- */
body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-color);
    background: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fullsite {
    overflow-x: clip;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--primary-color);
    transition: color var(--t-base);
}
a:hover {
    color: var(--secondary-color);
}

/* FontAwesome — interligne des icônes */
.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
    line-height: 1;
}


/*==================================================================
  BLOC 2 — COMPOSANTS
==================================================================*/

/* ---------- Container (Figma : 1470px de contenu + 2 × 15px) ---------- */
.container,
.container-xl {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    color: var(--primary-color); 
    line-height: 1.2em;
    margin: 0 0 15px;
    font-weight: 500; 
      text-transform: uppercase;
}
h1 {
    font-size: var(--fs-h1);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
h2{
    font-size: var(--fs-h2);
}

 .section-title {
    font-size: var(--fs-h2);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}
h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.4;
}
 
.section-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-color);
}

/* ---------- Boutons (composant Figma "Bouton" — pill 999, h 49px) ---------- */
.btn-anis,
.btn-ghost,
.btn-navy,
.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 17px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn-anis i,
.btn-ghost i,
.btn-navy i,
.btn-outline-navy i {
    font-size: 14px;
    transition: transform var(--t-base);
}
.btn-anis:hover i,
.btn-navy:hover i,
.btn-outline-navy:hover i {
    transform: translateX(4px);
}

/* Icônes des CTA saisis dans l'éditeur CMS (l'éditeur supprime les <i> vides) */
.btn-anis:not(:has(i))::after {
    content: '\f061';
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    transition: transform var(--t-base);
}
.btn-anis:not(:has(i)):hover::after {
    transform: translateX(4px);
}
.btn-ghost[href^="tel:"]:not(:has(i))::before {
    content: '\f095';
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
}
section.content .cta-page {
    margin-top: 28px;
}

/* Primary — Prendre rendez-vous */
.btn-anis {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}
.btn-anis:hover,
.btn-anis:focus-visible {
    background: var(--border-color);
    border-color: var(--border-color);
    color: var(--primary-color);
}

/* Ghost-Light — sur fond navy / photo */
.btn-ghost {
    background: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: var(--white-color);
    color: var(--primary-color);
}
.btn-ghost .fa-phone {
    font-size: 16px;
}

/* Navy */
.btn-navy {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}
.btn-navy:hover,
.btn-navy:focus-visible {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

/* Outline-Navy */
.btn-outline-navy {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-navy:hover,
.btn-outline-navy:focus-visible {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Focus clavier visible (WCAG) */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

 
.mobile-only,
.footer-info-item.mobile-only {
    display: none;
}


/*==================================================================
  BLOC 3 — LAYOUT
==================================================================*/

/* ------------------------------------------------------------------
   3.1 HEADER — barre (logo + navbar + CTA)
------------------------------------------------------------------ */
header.header {
    position: relative;
}
.header-bar-wrap {
    position: absolute;
    top: 0;
    left: var(--frame-gutter);
    right: var(--frame-gutter);
    z-index: 100;
}
.header-bar {
    padding-top: 30px;
    transition: background-color var(--t-base), padding var(--t-base), box-shadow var(--t-base);
}
.header-bar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}
.header-logo img {
    display: block;
    width: 226px; 
    object-fit: contain;
    transition: width var(--t-base), height var(--t-base);
}

/* CTA "Nous écrire" */
.header-cta {
    flex-shrink: 0;
}

/* NUCLEAR — Nav horizontale (BS5 navbar-nav = column par défaut) */
.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-padding-x: 0;
    padding: 0;
    flex: 1 1 auto;
    justify-content: center;position: relative;
}
.navbar .lang-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar .navbar-nav,
.navbar .sf-menu,
header .navbar-nav {
    flex-direction: row !important; /* BS5 override — MANDATORY */
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-expand-lg .navbar-collapse {
    display: flex !important; /* BS5 override — MANDATORY */
}

/* Items de premier niveau (menu_b — UI/Nav 15px Medium) */
.navbar .sf-menu > li {
    position: relative;
    list-style: none;
}
.navbar .sf-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--white-color);
    text-decoration: none;
    white-space: nowrap;
}
.navbar .sf-menu > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 2px;
    margin-left: -9px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform var(--t-base);
}
.navbar .sf-menu > li > a:hover,
.navbar .sf-menu > li.selected > a {
    color: var(--accent-color);
}
.navbar .sf-menu > li.selected > a::after,
.navbar .sf-menu > li > a:hover::after {
    transform: scaleX(1);
}

/* Indicateur sous-menu (Nos soins + fa-angle-down) */
.navbar .sf-menu > li:has(> ul) > a::before {
    content: '\f107';
    order: 2;
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
}
.navbar .sf-menu .dropdown-toggle::after {
    border: 0;
}

/* Sous-menu — panneau verre (Figma submenu-nos-services) */
.navbar .sf-menu li ul,
.navbar .sf-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    z-index: 110;
    flex-direction: column !important; /* BS5 override — sous-menu vertical */
    gap: 1px;
    min-width: 283px;
    margin: 0;
    padding: 8px 12px;
    list-style: none;
    background: var(--glass-color);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border: 0;
    border-radius: var(--radius-menu);
}
.navbar .sf-menu li:hover > ul,
.navbar .sf-menu li:focus-within > ul,
.navbar .sf-menu li:hover > .dropdown-menu,
.navbar .sf-menu li:focus-within > .dropdown-menu {
    display: flex;
}
.navbar .sf-menu li ul li a,
.navbar .sf-menu .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--white-color);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border-radius: var(--radius-menu);
    transition: color var(--t-base), background-color var(--t-base);
}
.navbar .sf-menu li ul li a::before,
.navbar .sf-menu .dropdown-menu a::before {
    content: '\f105';
    width: 14px;
    flex-shrink: 0;
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    text-align: center;
}
.navbar .sf-menu li ul li a:hover,
.navbar .sf-menu li ul li.selected > a,
.navbar .sf-menu .dropdown-menu a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
}

 
.navbar-toggler {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F2E43' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e");
    display: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--accent-color);
}
.navbar-toggler .navbar-toggler-icon {
    width: 18px;
    height: 18px;
    background-image: var(--bs-navbar-toggler-icon-bg);
}

/* État sticky (classe is-sticky posée sur nav.navbar par app.js — bloc A1) */
.header-bar:has(.navbar.is-sticky) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background: var(--primary-color);
    box-shadow: 0 6px 30px rgba(10, 34, 50, 0.25);
    animation: headerSlideDown 0.4s ease both;
}
.header-bar:has(.navbar.is-sticky) .header-logo img {
    width: 96px; 
}

/* ------------------------------------------------------------------
   3.2 HERO — slideshow plein écran (gallery_simple_slideshow_b ids=17)
------------------------------------------------------------------ */
.banner {
    position: relative;
    height: 900px;
    margin: var(--frame-gutter) var(--frame-gutter) 0;
    border-radius: var(--radius-frame);
    overflow: hidden;
    background: var(--deep-color);
    isolation: isolate;
}
.banner-media,
.banner-media .container-fluid {
    position: absolute;
    inset: 0;
    padding: 0;
    z-index: auto;
}

/* Slideshow — double cible Swiper + Carousel BS5 */
.banner .swiper,
.banner .swiper-wrapper,
.banner .swiper-slide,
.banner .carousel,
.banner .carousel-inner,
.banner .carousel-item,
.banner #slideshow {
    height: 100%;
    width: 100%;
}
.banner .swiper-slide img,
.banner .carousel-item img,
.banner .carousel-item .w-100 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.banner .fade,
.banner .carousel-item {
    opacity: 1 !important; /* CMS override — BS5 .fade conflict (Rule 3) */
}
.banner .carousel-item {
    transition: transform 0.8s ease;
}
.banner .carousel-control-prev,
.banner .carousel-control-next,
.banner .carousel-caption {
    display: none;
}
 
.banner .carousel-indicators,
.banner .swiper-pagination {
    display: none;
}

/* Overlay — dégradé Figma overlay-hero */
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(10, 34, 50, 0) 23.663%, #0A2232 100%);
}

/* Contenu hero (DCVE box 1 — Home-hero) */
.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding-top: 313px;
    padding-bottom: 60px;
}
.banner-content .hero-surtitre {
    margin-bottom: 10px;
    font-family: var(--font-script);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--accent-color);
}
.banner-content h1,
.banner-content .hero-titre {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--white-color);
}
.banner-content .hero-texte {
    max-width: 560px;
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--white-color);
}
.banner-content .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.banner-content .hero-ctas .btn-ghost {
    gap: 12px;
    padding: 15px 28px 15px 24px;
}
.banner-content .hero-ctas .btn-ghost::before{
      color: var(--accent-color);
}
/* Bandeau pages internes (aucune maquette Figma — dérivé du hero) */
.banner.small {
    height: 520px;
}

/* H1 des pages internes — dans le contenu (block ContentTitle des layouts 1/4/5.tpl) */
section.content h1.page-title {
    margin: 0 0 40px;
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}
section.content h1.page-title .sub-title {
    display: block;
    margin-top: 8px;
    font-family: var(--font-script);
    font-size: 36px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent-color);
}

/* ------------------------------------------------------------------
   3.3 SECTION PRÉSENTATION (corps de la page Accueil — block Content)
------------------------------------------------------------------ */
.sec-presentation {
    padding: 120px 0;
    background: var(--white-color);
}
.sec-presentation .presentation-wrapper {
    display: flex; 
    gap: 96px;
}
.sec-presentation .presentation-wrapper:not(:last-child) {
    margin-bottom: 40px;
}
.sec-presentation .presentation-media {
    position: relative;
    flex: 697 1 0;
    min-width: 0; 
    border-radius: var(--radius-card);
}
.sec-presentation .presentation-wrapper.ord2 .presentation-media {
    order: 2;
}
.sec-presentation .presentation-media img {
    position: absolute;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}
.sec-presentation .presentation-texte {
    flex: 677 1 0;
    min-width: 0; 
      padding: 128px 0;
}
.sec-presentation .presentation-texte h1 {
    margin: 0 0 24px;
}
.sec-presentation .presentation-texte h2 {
    margin: 0 0 10px;  
}
.sec-presentation .presentation-texte p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted-color);
}
.sec-presentation .presentation-texte p.lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

 
.sec-presentation .badge-produits {
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px;
    border-radius: var(--radius-card);
    background: var(--primary-color);
}
.sec-presentation .badge-produits .badge-label {
    font-size: 14px;
    line-height: 1.6;
    color: var(--accent-color);
}
.sec-presentation .badge-produits .badge-valeur {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--white-color);
}
/* Ancres page L'institut — compensation header sticky (barre fixe 100px desktop / 88px mobile + respiration) */
#notre-philosophie,
#notre-equipe {
    scroll-margin-top: 140px;
}
@media (max-width: 991px) {
    #notre-philosophie,
    #notre-equipe {
        scroll-margin-top: 120px;
    }
}
/* ------------------------------------------------------------------
   3.4 SECTION NOS SOINS — bento de cercles (DCVE box 2 — Home-Services)
   Figma 37:369 : rang 1 = 3 × 480px (gap 10), rang 2 = 4 × 360px (gap 6)
------------------------------------------------------------------ */
.sec-prestations {
    margin: 0 var(--frame-gutter);
    padding: 120px 0;
    border-radius: var(--radius-frame);
    background: var(--bg-soft);
}
.sec-prestations .prestations-titre { 
    margin-bottom: 56px;
}
.sec-prestations .bento-prestations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sec-prestations .bento-row {
    display: flex;
    align-items: flex-start;
}
.sec-prestations .bento-row-1 {
    gap: 10px;
}
.sec-prestations .bento-row-2 {
    gap: 6px;
}

/* Carte prestation — cercle (rayon 500 sur carré) */
.sec-prestations .carte-prestation {
    position: relative;
    flex: 0 1 480px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 50%;
    isolation: isolate;
}
.sec-prestations .bento-row-2 .carte-prestation {
    flex-basis: 360px;
}
.sec-prestations .carte-prestation img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.6s ease;
}
.sec-prestations .carte-prestation::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 46, 67, 0) 0%, rgba(15, 46, 67, 0.15) 45%, rgba(15, 46, 67, 0.92) 100%);
    pointer-events: none;
}

/* Bouton flèche (Figma lien [fa-solid fa-arrow-right]) — pseudo-élément, rond navy 48px centré */
.sec-prestations .carte-prestation::after {
    content: '\f061';
    position: absolute;
    top: 9.375%;           /* 45 / 480 */
    left: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    color: var(--white-color);
    background: var(--primary-color);
    border: 1px solid var(--white-color);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
    transition: transform var(--t-base);
}
.sec-prestations .bento-row-2 .carte-prestation::after {
    top: 14.444%;          /* 52 / 360 */
}

/* Texte — rang 1 aligné en haut (y 310/480), rang 2 aligné en bas (32/360) */
.sec-prestations .carte-texte {
    position: absolute;
    top: 64.583%;          /* 310 / 480 */
    left: 10%;             /* lignes ≤ corde du cercle (Figma : sauts de ligne manuels) */
    right: 10%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sec-prestations .bento-row-2 .carte-texte {
    top: auto;
    bottom: 8.889%;        /* 32 / 360 */
    left: 15%;
    right: 15%;
}
.sec-prestations .carte-titre {
    margin: 0;
    font-size: var(--fs-h3-card);
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    color: var(--white-color);
}
.sec-prestations .carte-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--white-color);
    opacity: 0.85;
}

/* Hover (NOTES-integration : image scale 1.05, flèche translateX 4px) */
.sec-prestations .carte-prestation:hover img,
.sec-prestations .carte-prestation:focus-visible img {
    transform: scale(1.05);
}
.sec-prestations .carte-prestation:hover::after,
.sec-prestations .carte-prestation:focus-visible::after {
    transform: translateX(calc(-50% + 4px));
}

/* ------------------------------------------------------------------
   3.5 SECTION AVIS CLIENTS — guestbook id=1 → Swiper (blocs A5 + A6)
------------------------------------------------------------------ */
.sec-avis {
    padding: 120px 0;
    background: var(--white-color);
}
.sec-avis .avis-layout {
    display: flex;
    align-items: center;
    gap: 64px;
}
.sec-avis .avis-intro {
    flex: 0 0 295px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sec-avis .avis-intro p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted-color);
}
.sec-avis .carousel-nav {
    display: flex;
    gap: 12px;
}
.sec-avis .avis-prev,
.sec-avis .avis-next {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--primary-color);
    cursor: pointer;
    transition: background-color var(--t-base), color var(--t-base);
}
.sec-avis .avis-prev {
    background: transparent;
    color: var(--primary-color);
}
.sec-avis .avis-next {
    background: var(--primary-color);
    color: var(--white-color);
}
.sec-avis .avis-prev:hover {
    background: var(--primary-color);
    color: var(--white-color);
}
.sec-avis .avis-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}
.sec-avis .avis-prev.swiper-button-disabled,
.sec-avis .avis-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}
.sec-avis .avis-carousel {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

/* Éléments du module masqués sur la home */
.sec-avis .guestbook-form,
.sec-avis .average-score,
.sec-avis .count-messages,
.sec-avis #guestbookNav,
.sec-avis #gb-messages {
    display: none;
}
.sec-avis .swiper-container2 {
    overflow: hidden;
    position: relative;
}
.sec-avis .swiper-container2 .swiper-slide.d-none {
    display: flex !important; /* CMS override — pagination guestbook masque les pages > 0 */
}
.sec-avis .avis-pagination {
    position: static;
    margin-top: 24px;
    display: none;
}

/* Carte avis (composant Figma Carte-avis) */
.sec-avis .gb-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 36px;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
}
.sec-avis .gb-entry::after {
    content: '\f10d';
    position: absolute;
    top: 37px;
    right: 36px;
    font-family: 'Font Awesome 7 Pro', 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    color: var(--secondary-color);
}
.sec-avis .gb-entry > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sec-avis .gb-entry [itemprop="review"] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.sec-avis .gb-entry .gb-entry-score {
    display: flex;
    gap: 4px;
    min-height: 32px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1;
    color: var(--accent-color);
}
.sec-avis .gb-entry .gb-entry-score i {
    font-size: 18px;
    color: var(--accent-color)!important;
}
.sec-avis .gb-entry .message {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-color);
}
.sec-avis .gb-entry .review-user {
    display: block;
    margin-top: auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
}
.sec-avis .gb-entry .review-date {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-color);
}
.sec-avis .gb-entry .review-hour {
    display: none;
}
/* Lien ajouté par le bloc A6 — carte entièrement cliquable */
.sec-avis .gb-entry > a.link {
    position: absolute;
    inset: 0;
    z-index: 2;
    font-size: 0;
    border-radius: var(--radius-card);
}

/* ------------------------------------------------------------------
   3.6 SECTION PARALLAXE (DCVE box 3 — Home-parallax)
------------------------------------------------------------------ */
.sec-parallaxe {
    position: relative;
    margin: 0 var(--frame-gutter);
    padding: 150px 0;
    overflow: hidden;
    border-radius: var(--radius-frame) var(--radius-frame) 0 0;
    background-color: var(--primary-color);
    background-image: url('../images/bg-parallaxe.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    isolation: isolate;
}
.sec-parallaxe::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(270deg, rgba(10, 34, 50, 0) 23.663%, #0A2232 100%);
    pointer-events: none;
}
.sec-parallaxe .parallaxe-contenu {
    text-align: left;
}
.sec-parallaxe .parallaxe-contenu h2 {
    margin: 0 0 28px;
    color: var(--white-color);
      text-transform: uppercase;
    letter-spacing: -0.5px;
}
.sec-parallaxe .parallaxe-contenu p {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--white-color);
}
.sec-parallaxe .parallaxe-contenu p:last-child {
    margin-bottom: 0;
}


/* ------------------------------------------------------------------
   3.7 MODULE ACTUALITÉS (news_b — page-12) — nophoto v34 (Rule 23)
------------------------------------------------------------------ */
.news-object .nophoto,
.news-object .photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    overflow: hidden;
    background: var(--light-color);
    border-radius: var(--radius-card);
}
.news-object .nophoto img {
    width: 100%;
    height: 100%;
    max-width: 80%;
    max-height: 100%;
    object-fit: scale-down;
    padding: 10px;
    opacity: 0.6;
    border-radius: var(--radius-card);
}
.news-object .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}
.news-object .nophoto i[class*="fa-image"] {
    display: none;
}
.news-object .news-body-desc .date {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-color);
}
.news-object .read-more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--accent-color);
    color: var(--primary-color);
    transition: background-color var(--t-base);
}

/* Liste des actualités (page interne) */
section.content .news-object.Item {
    position: relative;
    margin-bottom: 20px;
    padding: 30px 15px;
    background: var(--quaternary-color);
    border-radius: var(--radius-card);
}
section.content .news-object.Item .news-body-desc {
    padding: 30px 0 0;
}
section.content .news-object.Item .news-abstract {
    display: block;
    margin-bottom: 15px;
}
section.content .news-object.Item h3 {
    font-size: 20px;
}
section.content .news-object.Item h3 .date {
    display: none;
}
section.content .news-object.Item:hover .read-more a {
    color: var(--white-color);
  background: var(--primary-color);
}
section.content article .NewsMasonry .NewsItem img.img-news-list,
img.img-news {
    max-width: 180px !important; /* CMS override — vignette news */
    height: 170px !important;    /* CMS override — vignette news */
    border-radius: var(--radius-card);
}
.Item .link > a {
    position: absolute;
    inset: 0;
    z-index: 2;
    font-size: 0;
    outline: none;
    border-radius: var(--radius-card);
}

/* Détail article (news_b.tpl) */
.news-detail .date {
    color: var(--muted-color);
}
.news-detail .img-news {
    border-radius: var(--radius-card);
}
.news-detail .btn-back {
    display: inline-flex;
    margin-top: 30px;
    padding: 15px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-pill);
    background: var(--primary-color);
    color: var(--white-color);
}
.news-detail .btn-back:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* ------------------------------------------------------------------
   3.8 PAGES INTERNES — CSS obligatoire GNSDF (fourni par l'équipe)
------------------------------------------------------------------ */
section.content.page-content {
    padding: 70px 0;
}
 
section.content img {
    max-width: 100%;
}
section.content ul {
    list-style-type: none !important; /* override — puces image GNSDF */
}
section.content ul li {
    background: url('../images/bullet.webp') no-repeat left 6px;
    padding-left: 20px;
    margin-left: -20px;
}

/* Encarts */
.box-light,
.box-border-left,
.box-border-right {
    padding: 20px;
    margin: 0 0 20px;
    background: var(--bs-light);
}
.box-border-left {
    border-left: 7px solid var(--bs-primary);
}
.box-border-right {
    border-right: 7px solid var(--bs-primary);
}
.box-dark {
    padding: 20px;
    margin: 0 0 20px;
    color: var(--white-color);
    background: var(--dark-color);
}
.box-dark a {
    color: var(--white-color) !important; /* override — liens CMS dans encart sombre */
}
h3.contact-field {
    display: none;
}
.content-page .tooltip {
    --bs-tooltip-color: var(--dark-color);
    opacity: 1;
}

/* Réseaux sociaux (pages internes) */
.content-page .networks_linking {
    display: flex;
    align-items: center;
    gap: 15px;
}
.content-page .networks_linking a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
.content-page .networks_linking a:hover i {
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Bloc texte + image (pages internes) */
section.content .row.bx-grid {
    margin-bottom: 30px;
}
section.content .row.bx-grid .img-page {
    position: relative;
    height: 100%;
    min-height: 240px;
}
section.content .row.bx-grid .img-page img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
section.content .row.bx-grid .text-page {
    padding: 30px 0;
}

/* Formulaires */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.form-control,
.sec-contact .form-select {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--tertiary-color);
    background: var(--white-color);
    border: 1px solid var(--tertiary-color);
    border-radius: 0;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
input::placeholder,
textarea::placeholder {
    color: var(--hp-light-70);
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gray-color);
}
.contactForm .contact-field-item {
    position: relative;
    display: block;
    float: left;
    width: 50%;
    margin: 0 0 20px !important; /* CMS override — espacement champs contact */
    padding: 0;
    clear: none !important;      /* CMS override — grille 2 colonnes */
}
.contactForm .contact-field-item:nth-child(even) {
    padding-right: 10px;
}
.contactForm .contact-field-item:nth-child(odd) {
    padding-left: 10px;
}
.contactForm .contact-field-item.fullwidth {
    float: none;
    width: 100%;
    padding: 0 !important;       /* CMS override — champ pleine largeur */
    clear: both !important;      /* CMS override — champ pleine largeur */
}
.contactForm textarea.form-control {
    height: 150px;
}
.contact-field-type_checkboxes .form-check {
    display: inline-block;
    margin-right: 10px;
}
.gdpr.form-check {
    display: inline-block;
    margin-top: 15px;
}
.sec-contact label {
    margin: 0;
    font-size: 15px;
    color: var(--light-color);
}
.sec-contact label a {
    color: var(--light-color);
}
.sec-contact label a:hover {
    color: var(--light-color);
    text-decoration: underline;
}
.sec-contact .form-check .form-check-input {
    margin-top: 0;
}
.bg-success {
    background-color: var(--light-color) !important; /* BS5 override — message de succès */
}
section.content .contact-field-item {
    margin-bottom: 15px;
}

/* Galerie photo */
section.content.page-content.content-page .grid-gallery {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 2%;
    justify-content: center;
}
section.content.page-content.content-page .grid-img .grid-gallery {
    display: block;
    width: 400px;
}
section.content.page-content.content-page .grid-img .link-picture {
    height: 320px;
}
section.content.page-content.content-page a.link-picture,
section.content.page-content.content-page a.link-subgallery {
    position: relative;
    width: 23.5%;
    height: 300px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    cursor: zoom-in;
    transition: transform 0.4s, box-shadow 0.4s;
}
section.content.page-content.content-page .link-subgallery:hover,
section.content.page-content.content-page .link-picture:hover {
    transform: scale(0.95) !important; /* override — CSS obligatoire GNSDF */
}
section.content.page-content.content-page .pagination {
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
section.content.page-content.content-page .pagination li {
    background-image: none !important; /* override — annule la puce image des ul */
}
section.content.page-content.content-page .pagination .page-link {
    color: var(--dark-color) !important; /* BS5 override — pagination */
}
section.content.page-content.content-page .pagination .active > .page-link,
section.content.page-content.content-page .pagination .page-link.active,
section.content.page-content.content-page .pagination .page-link:hover {
    color: var(--bs-white) !important;          /* BS5 override — pagination active */
    background: var(--bs-primary) !important;   /* BS5 override — pagination active */
    border-color: var(--bs-primary) !important; /* BS5 override — pagination active */
}
section.content.page-content.content-page span.title-subgallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: var(--bs-body-bg);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}
section.content.page-content.content-page .title-picture {
    display: none;
}
.fslightboxci h2 {
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    text-transform: none !important; /* override — titre lightbox */
    letter-spacing: 0 !important;    /* override — titre lightbox */
}

/* Avis (page interne) */
section.content.page-content.content-page div#Guestbook {
    clear: both;
}
section.content.page-content.content-page .star-rating label:has(~ :checked) i,
section.content.page-content.content-page .star-rating label:is(:hover, :has(~ :hover)) i {
    color: var(--gold-from) !important; /* CMS override — étoiles */
}
section.content.page-content.content-page .fa-star::before {
    color: var(--gold-from) !important; /* CMS override — étoiles */
}
section.content.page-content.content-page .average-review {
    float: left;
    margin: 20px 0;
}
section.content.page-content.content-page span.count-messages {
    float: right;
    margin: 20px 0;
}
section.content.page-content.content-page .gb-entry {
    clear: both;
    margin: 20px 0;
    padding: 10px 15px;
    background: var(--color-quaternary);
    border-bottom: 2px solid var(--gold-from);
    box-shadow: 0 0 5px 0 rgb(255 255 255 / 50%);
}
section.content.page-content.content-page .gb-entry span.review-date {
    float: right;
}
section.content .star-rating label .fa-star::before {
    content: "\f005";
    font-weight: 400 !important; /* CMS override — étoile vide */
}
section.content .star-rating label:has(~ :checked) .fa-star::before {
    font-weight: 900 !important; /* CMS override — étoile pleine */
}
section.content .star-rating [type="radio"] {
    appearance: none;
    padding: 0;
    border: none;
}

/* Accordéon */
.accordion-button {
    padding: 5px 40px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bs-body-color) !important; /* BS5 override — accordéon */
    background-color: var(--quaternary-color);
    border-radius: 50px !important;         /* BS5 override — accordéon */
    box-shadow: none !important;            /* BS5 override — accordéon */
}
.accordion-body {
    margin-top: 10px;
    border: none;
    background: var(--bs-body-bg);
}
.accordion-header {
    margin: 0 auto 10px;
}
.accordion-item {
    border: none !important; /* BS5 override — accordéon */
    background: transparent;
}
.accordion-item h2 {
    color: var(--bs-body-bg);
}
.accordion-button:not(.collapsed),
.accordion-button:hover {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-primary);
}
.accordion-button::after {
    display: none;
}
.accordion-item:last-of-type > .accordion-header .accordion-button span {
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: all 0.3s;
}
.accordion-item:last-of-type > .accordion-header .accordion-button span.moi-acc,
.accordion-item:last-of-type > .accordion-header .accordion-button:not(.collapsed) span.plus-acc {
    display: none;
}
.accordion-item:last-of-type > .accordion-header .accordion-button:not(.collapsed) span.moi-acc,
.accordion-item:last-of-type > .accordion-header .accordion-button span.plus-acc {
    display: block;
}

/* ------------------------------------------------------------------
   3.9 PAGE CONTACT (4.tpl)
------------------------------------------------------------------ */
.box-contact-info {
    padding: 36px;
    border-radius: var(--radius-card);
    background: var(--primary-color);
    color: var(--white-color);
}
.box-contact-info .h5 {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent-color);
}
.box-contact-info .info-block {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.box-contact-info .info-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.box-contact-info a {
    color: var(--white-color);
    text-decoration: none;
}
.box-contact-info a:hover {
    color: var(--accent-color);
}
.box-contact-info .contact-map {
    overflow: hidden;
    border-radius: var(--radius-card);
}
.box-contact-info .contact-map iframe {
    display: block;
    width: 100%;
    border: 0;
}
.contact_b input[type="submit"],
.contact_b button[type="submit"],
.contactForm input[type="submit"],
.contactForm button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 17px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--accent-color);
    color: var(--primary-color);
    transition: background-color var(--t-base), color var(--t-base);
}
section.content form input.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 17px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--accent-color);
    color: var(--primary-color);
    transition: background-color var(--t-base), color var(--t-base);
}
section.content form input.btn-primary:hover,
section.content form input.btn-primary:focus-visible {
    background: var(--primary-color);
    color: var(--white-color);
}
.contact_b input[type="submit"]:hover,
.contact_b button[type="submit"]:hover,
.contactForm input[type="submit"]:hover,
.contactForm button[type="submit"]:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* ------------------------------------------------------------------
   3.10 PAGE MENTIONS LÉGALES (5.tpl)
------------------------------------------------------------------ */
#mentions-legales h3 {
    margin-top: 32px;
    font-size: 24px;
}
#mentions-legales h4 {
    margin-top: 20px;
    font-size: 18px;
}

/* ------------------------------------------------------------------
   3.11 FOOTER
------------------------------------------------------------------ */
footer.bottom {
    margin: 0 var(--frame-gutter) var(--frame-gutter);
    padding-top: 96px;
    border-radius: 0 0 var(--radius-frame) var(--radius-frame);
    background: var(--primary-color);
    color: var(--white-color);
}
footer.bottom.footer-interne {
    margin-top: var(--frame-gutter);
    border-radius: var(--radius-frame);
}
.footer-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 64px;
}
footer.bottom.footer-interne .footer-wrapper {
    justify-content: center;
}

/* Colonne marque */
.footer-brand {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.footer-logo {
    display: block;
    line-height: 0;
}
.footer-logo img {
    display: block;
    width: 226px;
    height: 164px;
    object-fit: contain;
}
.footer-social,
.footer-social .networks_linking {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-social .networks_linking:empty {
    display: none;
}
.footer-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: var(--radius-pill);
    transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}
a.networks.networks_google {
    order: 3;
}
.footer-social a i {
    font-size: 16px;
}

/* Colonnes infos (coordonnées + horaires) */
.footer-infos {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 64px;
}
.footer-title {
    margin: 0 0 22px;
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent-color);
}
.footer-coordonnees {
    flex: 0 0 270px;
}
.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--white-color);
}
.footer-info-item + .footer-info-item {
    margin-top: 22px;
}
.footer-info-item i {
    flex: 0 0 16px;
    margin-top: 5px;
    font-size: 16px;
    color: var(--accent-color);
    text-align: center;
}
.footer-info-item a {
    color: var(--white-color);
    text-decoration: none;
}
.footer-info-item a:hover {
    color: var(--accent-color);
}
.footer-horaires {
    flex: 0 0 230px;
}

/* Horaires (DCVE box 4 — Home-horaire) */
.footer-horaires .horaires-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-horaires .horaires-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--white-color);
}
.footer-horaires .horaire-jour {
    font-size: 14px;
    line-height: 1.6;
}
.footer-horaires .horaire-heures {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

/* Carte (module maps id=1) — 300px, rayon 20 */
.footer-map {
    flex: 1 1 0;
    min-width: 0;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--secondary-color);
}
.footer-map .box-maps {
    height: 100%;
}
.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Barre légale */
.footer-legal {
    max-width: 1140px;
    margin: 72px auto 0;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.footer-legal p {
    margin: 0;
      display: flex;
    align-items: center;
      flex-wrap: wrap;
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-left: 7px;
}
.footer-legal a:hover {
    color: var(--accent-color);
}
.footer-legal .sep {
    padding: 0 6px;
}
.footer-cta-mobile {
    display: none;
}


/* ------------------------------------------------------------------
   3.2b FILM D'INTRODUCTION DU HERO (accueil) + bouton « Passer la vidéo »
------------------------------------------------------------------ */
.banner .hero-intro {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: var(--primary-color);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.banner .hero-intro.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.banner .hero-intro__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.banner .hero-intro::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 260px;
    background: linear-gradient(180deg, rgba(10, 34, 50, 0.8) 0%, rgba(10, 34, 50, 0) 100%);
    pointer-events: none;
}
.banner .hero-intro__skip {
    position: absolute;
    right: 32px;
    top: min(calc(100svh - 110px), calc(100% - 76px));
    z-index: 2;
    min-height: 44px;
    padding: 12px 22px;
    background: rgba(15, 46, 67, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.banner .hero-intro__skip i {
    font-size: 13px;
}
.banner .hero-intro__skip:hover {
  color:var(--accent-color);
}

header.header.small .header-bar-wrap {
    position: relative;
    background: #0f2e43;
    left: 0;
    min-height: var(--sticky-header-h, 100px);
}
header.header.small .header-bar-wrap .header-bar {
    padding: 15px 0;
}
/*==================================================================
  BLOC 4 — FINITIONS
==================================================================*/

@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

.dropdown-toggle { 
    display: none;
}
.content video {
    max-width: 450px;
    height: auto;
}
/*==================================================================
  BLOC 5 — RESPONSIVE (toutes les media queries regroupées ici)
==================================================================*/

/* ---------- Accessibilité — reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .banner .hero-intro {
        display: none;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;  /* override — accessibilité reduced-motion */
        transition-duration: 0.01ms !important; /* override — accessibilité reduced-motion */
    }
    .sec-parallaxe {
        background-attachment: scroll;
    }
}
 
@media (max-width: 1599px) {
    .banner-content h1,
    .banner-content .hero-titre {
        font-size: 60px;
    }
  .sec-prestations .carte-titre { 
    font-size: 22px;
  }
  .sec-avis .gb-entry { 
    padding: 24px;
  }
    .footer-wrapper,
    .footer-infos {
        gap: 40px;
    }
}
 
@media (max-width: 1399px) {
  
  :root {
        --fs-h1:45px;
    --fs-h2: 42px;
  }
  .navbar .navbar-nav, .navbar .sf-menu, header .navbar-nav { 
    gap: 25px;
  }
  .banner { 
    height: 800px;
  }
  .sec-presentation, .sec-prestations, .sec-avis {
    padding: 96px 0;
  }
  .sec-presentation .presentation-wrapper { 
    gap: 15px;
}
      .sec-prestations .carte-titre {
        font-size: 20px;
    }
  
  .footer-coordonnees, .footer-horaires {
    flex: inherit;
}
  .footer-legal { 
    margin: 40px auto 0;
    padding: 24px 0;
  }
  
  
}
@media (max-width: 1199px) {
   :root {
        --fs-h1:42px;
    --fs-h2: 40px;
     --frame-gutter: 15px;
  }
    .navbar .navbar-nav, .navbar .sf-menu {
        gap: 10px;
    }
  .navbar .sf-menu > li > a { 
    font-size: 14px;
  }
    .header-logo img {
        width: 150px; 
    }
    .banner {
        height: 760px;
    }
    .banner-content {
        padding-top: 260px;
    }
    .banner-content h1,
    .banner-content .hero-titre {
        font-size: 56px;
    }
    .sec-presentation .presentation-wrapper {
        gap: 56px;
    }
  .sec-presentation .presentation-texte { 
    padding: 70px 0;
}
    .sec-prestations .carte-titre {
        font-size: 18px;
    }
    .sec-prestations .carte-desc {
        font-size: 13px;
      line-height: normal;
    }
.sec-prestations .carte-texte { 
    left: 15%;
    right: 15%;
  }
  
    .sec-avis .avis-layout {
        gap: 40px;
    }
    .footer-wrapper {
        flex-wrap: wrap;
    }
   footer.bottom:not(.footer-interne) .footer-brand { 
    flex: 1 1 100%;
}
      .footer-wrapper, .footer-infos { 
        flex: 0 0 50%;
    }
  .banner.small {
	height: 420px;
}
  .box-contact-info {
	padding: 25px;
}
}

 
@media (max-width: 991px) {
    :root {
        --frame-gutter: 0px;
        --radius-frame: 0px;
              --fs-h1: 40px;
        --fs-h2: 35px;
    }

    /* Header — barre navy dans le flux (maquette tablette) */
    .header-bar-wrap {
        position: relative;
        height: var(--header-h);
        background: var(--primary-color);
    }
    .header-bar {
        position: relative;
        height: var(--header-h);
        padding: 0;
        background: var(--primary-color);
    }
    .header-bar > .container {
        height: 100%;
        gap: 12px;
    }
    
    .header-logo img,
    .header-bar:has(.navbar.is-sticky) .header-logo img {
        width: 104px;
        height: 76px;
    }
    .header-cta {
        order: 2;
        margin-left: auto;
    }
    .navbar {
        order: 3;
        flex: 0 0 auto;
        position: static;
    }
    .navbar .lang-nav {
        position: static;
    }
    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
/* Burger mobile : icône croix quand le menu est ouvert */
.navbar-toggler[aria-expanded="true"] {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F2E43' stroke-linecap='round' stroke-width='2.5' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}
.navbar-toggler .navbar-toggler-icon {
    transition: transform var(--t-base);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}
    /* Panneau menu mobile */
    .navbar-expand-lg .navbar-collapse {
        display: none !important; /* BS5 override — panneau fermé */
    }
    .navbar-expand-lg .navbar-collapse.show,
    .navbar-expand-lg .navbar-collapse.collapsing {
        display: block !important; /* BS5 override — panneau ouvert */
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 120;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: var(--primary-color);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    .navbar .navbar-nav,
    .navbar .sf-menu {
        flex-direction: column !important; /* BS5 override — vertical UNIQUEMENT en mobile */
        align-items: stretch;
        gap: 0;
        padding: 16px 15px 24px;
    }
    .navbar .sf-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar .sf-menu > li > a {
        display: flex;
        justify-content: space-between;
        min-height: 52px;
        padding: 16px 0;
        font-size: 17px;
    }
    .navbar .sf-menu > li > a::after {
        display: none;
    }
    .navbar .sf-menu li ul,
    .navbar .sf-menu .dropdown-menu {
        position: static;
        display: flex;
        min-width: 0;
        margin: 0 0 12px;
        padding: 0 0 0 8px;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .navbar .sf-menu li ul li a,
    .navbar .sf-menu .dropdown-menu a {
        min-height: 44px;
        padding: 12px 8px;
        white-space: normal;
    }

    /* Hero */
    .banner {
        height: 500px;
        margin: 0;
        border-radius: 0;
    }
    .banner-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 60px;
        padding-bottom: 60px;
              text-align: center;
    }
    .banner.small {
        height: 300px;
    }
.banner-content .hero-ctas { 
    justify-content: center;
}
  .banner-content .hero-texte { 
    margin: 0 auto 28px;
  }
      .banner-content h1, .banner-content .hero-titre {
        font-size: 50px;
    }
  
    /* Présentation */
      .sec-presentation, .sec-prestations, .sec-avis {
        padding: 70px 0;
    }
  .sec-presentation .presentation-texte { 
    padding: 0;
}
    .sec-presentation .presentation-wrapper {
             display: block;
    }
    .sec-presentation .presentation-media {
        flex: none;
        height: 300px;
        max-width: 480px;
        width: 100%;
        margin: 0 auto 30px;
    }
    .sec-prestations .carte-texte { 
        top: auto;
        bottom: 12%;
    }
  .sec-presentation .presentation-texte h1 br {
    display: none;
}
     .sec-prestations .carte-titre {
        font-size: 15px;
    }
.sec-prestations .bento-row { 
    flex-wrap: wrap;justify-content: center;
}
  .sec-prestations .carte-prestation { 
    flex: 0 1 32%;
    max-width: 250px;
  }
  
    /* Avis */
    .sec-avis .avis-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }
    .sec-avis .avis-intro,
    .sec-avis .avis-carousel {
        flex: none;
    }

    /* Parallaxe — background-attachment fixed non supporté iOS */
    .sec-parallaxe {
        background-attachment: scroll;
          padding: 100px 0;
    }
.sec-parallaxe .parallaxe-contenu {
    text-align: center;
}
  .sec-parallaxe::before { 
    background: rgba(10, 34, 50, 70%); 
}
  
    /* Footer */
    footer.bottom {
             padding: 60px 0;
              text-align: center;
    }
    .footer-wrapper {
        gap: 40px;
    }
  .footer-map {
    flex: 1 1 100%;
  }
      .footer-wrapper, .footer-infos {
        flex: inherit;
    }
      .footer-coordonnees, .footer-horaires {
        flex: none;
    }
    .footer-wrapper, .footer-infos {
        flex: 0 0 100%;
        justify-content: space-between;
              flex-direction: column;
        align-items: center;
    }
      .footer-map { 
        width: 100%;
    }
  .footer-map .box-maps {
    height: 300px;
}
  .footer-info-item { 
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
      .footer-legal { 
        flex-direction: column;
        gap: 0;
    }
  .footer-legal p { 
    justify-content: center;
}
  a#scrollTopBtn { 
    bottom: 30px;
  }
 
  
    section.content .row.bx-grid .img-page {
        min-height: inherit;
        max-width: 480px;
        height: 300px;
        margin: 0 auto;
    }
    section.content.page-content.content-page .text-page {
        padding-bottom: 0 !important; 
    }
  section.content .row.bx-grid {
    margin-bottom: 0;
}
  
      .news-detail .news-hero-img { 
    float: none;
    margin: 15px auto;
              display: table;
}
  
      .banner-overlay {
        background: linear-gradient(90deg, rgba(15, 46, 67, 0.92) 0%, rgba(15, 46, 67, 0.35) 100%);
    }
    
    section.content.page-content {
        padding: 60px 0;
    }
  
}
 
@media (max-width: 767px) {
  .content video {
    max-width: 100%;
    height: auto;
}
    :root {
             --fs-h1: 35px;
        --fs-h2: 32px;
          --header-h: auto;
    }
      .header-bar { 
        padding: 15px 0;
  }
    .banner .hero-intro__skip {
        right: 15px;
        top: min(calc(100svh - 160px), calc(100% - 64px));
    }
    .mobile-only,
    .footer-info-item.mobile-only {
        display: flex;
    }
  .banner-content h1, .banner-content .hero-titre {
        font-size: 40px;
  }
.btn-anis, .btn-ghost, .btn-navy, .btn-outline-navy { 
    min-height: inherit;
    padding: 16px 20px;
  }
  
    
    .banner-content .hero-ctas {
        gap: 12px;
    }
    
     

    /* Nos soins — grille 2 colonnes, cartes rectangulaires (Figma 10:127) */
    .sec-prestations .bento-prestations {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
    }
    .sec-prestations .bento-row {
        display: contents;
    }
    .sec-prestations .carte-prestation,
    .sec-prestations .bento-row-2 .carte-prestation {
        aspect-ratio: auto;
        height: 320px; 
        border-radius: var(--radius-card);
       max-width: 100%;
    }
    .sec-prestations .bento-row-2 .carte-prestation:last-child {
        grid-column: 1 / -1;
    }
    .sec-prestations .carte-texte,
    .sec-prestations .bento-row-2 .carte-texte {
        top: auto;
        bottom: 32px;
        left: 32px;
        right: 32px;
    }
    .sec-prestations .carte-titre {
        font-size: var(--fs-h3-card);
    }
    .sec-prestations .carte-desc {
        font-size: 14px;
    }
 
  
    /* Avis — swipe, sans flèches */
  
    .sec-avis .avis-intro {
        gap: 36px;
    }
  
  
    section.content.page-content.content-page a.link-picture,
    section.content.page-content.content-page a.link-subgallery {
        width: 49%;
    }
    .contactForm .contact-field-item,
    .contactForm .contact-field-item:nth-child(even),
    .contactForm .contact-field-item:nth-child(odd) {
        float: none;
        width: 100%;
        padding: 0;
    }
    .box-contact-info {
        padding: 24px;
    } 
  section.content.page-content.content-page .gb-entry span.review-date {
    float: none;
}
  
  
}
 
@media (max-width: 480px) {
  
    :root {
     --fs-h1: 32px;
        --fs-h2: 30px;
          --fs-h3: 28px; 
          --fs-h3-card: 20px;
    }

   
    .header-bar > .container { 
        flex-direction: column;
              align-items: center;
        justify-content: center;
    }
      .header-bar { 
        text-align: center;
    }
      .header-cta { 
        margin: auto;
    }
  
 
    /* Hero — contenu en bas, overlay vertical */
    .banner {
        height:500px;
    }
   .banner-content .hero-surtitre { 
    font-size: 30px;
  }
.banner-content h1, .banner-content .hero-titre { 
        font-size: 26px;
    }
    .banner-content .hero-texte {
        margin-bottom: 20px;
        font-size: 16px;
    }
    .banner-content .hero-ctas {
        flex-direction: column; 
    } 
    .banner.small {
        height: 270px;
    }
.header-bar:has(.navbar.is-sticky) a.header-logo ,.header-bar:has(.navbar.is-sticky) .header-cta{
    display: none;
}
  
    
    .sec-presentation .presentation-media {
        height: 300px;
    }
 .sec-presentation .presentation-texte p.lead {
    font-size: 16px;
  }

    /* Nos soins — 1 colonne, h 260 */
    .sec-prestations .prestations-titre {
        gap: 28px;
        margin-bottom: 28px;
    } 
    .sec-prestations .carte-prestation,
    .sec-prestations .bento-row-2 .carte-prestation {
        height: 280px;
    }
     .sec-prestations .carte-texte, .sec-prestations .bento-row-2 .carte-texte {
        bottom: 24px;
        left: 10px;
        right: 10px;
    }

    /* Avis */
    .sec-avis .avis-intro {
        gap: 28px;
    }
    .sec-avis .gb-entry {
        padding: 24px 15px;
    }
    .sec-avis .gb-entry::after {
        top: 25px;
        right: 24px;
    }

    /* Parallaxe */
    .sec-parallaxe { 
        padding: 70px 0;
    }
    .sec-parallaxe .parallaxe-contenu h2 {
        font-size: 24px;
    }
    .sec-parallaxe .parallaxe-contenu p {
        font-size: 16px;
    }
    .footer-map .box-maps {
        height: 250px;
    }
     
    /* Pages internes */
    section.content.page-content.content-page a.link-picture,
    section.content.page-content.content-page a.link-subgallery {
        width: 100%;
    }
      section.content .row.bx-grid .img-page { 
        height: 250px;
  }
  
}


/* ===== Recette — header mobile compact : logo + téléphone + burger sur une ligne ===== */
@media (max-width: 991px) {
  .header-bar { padding: 10px 0; }
  .header-bar .container { flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; }
  .header-bar .header-logo { margin-right: auto; }
  .header-bar .header-logo img { width: 72px; height: auto; }
  .header-bar .header-cta .btn-ghost { width: 44px; height: 44px; padding: 0; gap: 0; font-size: 0; border-radius: 50%; }
  .header-bar .header-cta .btn-ghost i { font-size: 16px; }
}

/* ===== Recette — sous-menus mobiles repliés, ouverts/fermés au clic sur l'intitulé ===== */
@media (max-width: 991px) {
  .navbar-nav > li.dropdown > .submenu { display: none; }
  .navbar-nav > li.dropdown.is-open > .submenu { display: flex; }
  .navbar-nav > li.dropdown > a.nav-link { cursor: pointer; }
}

/* ===== Recette — classe active du menu footer ===== */
footer a.active { color: #C7D234; }
