﻿@charset "UTF-8";

/* ================================
   KMG â€“ Page Cuisine (CSS corrigÃ©)
   PrÃ©fixe kmg- pour Ã©viter les conflits
=================================== */

/* ---- Variables globales ---- */
:root{
  --kmg-bg:#aaa7a7 !important;        /* fond page */
  --kmg-panel:#2a2a2a;                /* cartes/panneaux */
  --kmg-text:#e8cc80;                 /* or KMG */
  --kmg-text-soft:#f5e5a1;            /* or clair */
  --kmg-white:#f7f7f7;
  --kmg-shadow:0 16px 40px rgba(0,0,0,.35);
  --kmg-radius:16px;
  --kmg-max:1100px;
  --kmg-header-height: 96px;

  /* Fond â€œbandesâ€ rÃ©utilisable */
  --kmg-band-bg: linear-gradient(180deg, #757570 0%, #757570 100%) !important;
}

/* Sécurité anti débordement horizontal + scroll smooth */
/* overflow: visible — overflow-x:clip casse position:fixed sur Samsung/Android Chrome */
body { overflow: visible; max-width: 100vw; }
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

/* --------- Base page --------- */
.kmg-page{
  background:var(--kmg-bg);
  color:var(--kmg-text);
  line-height:1.6;
}

.kmg-container{
  max-width:var(--kmg-max);
  margin-inline:auto;
  padding: clamp(16px, 2vw, 24px);
  overflow-x: hidden;
}

/* --------- HERO pleine largeur --------- */
.kmg-hero.full {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.kmg-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.kmg-hero__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Fondu Hero -> section suivante (cuisine) */
body.service-page.is-cuisine .kmg-hero.full::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(117, 117, 112, 0.45) 55%,
    #757570 100%
  );
}

body.service-page.is-cuisine .kmg-hero__inner {
  z-index: 3;
}

.kmg-hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  text-align: center; color: #E8CC80;
  padding-bottom: 60px;
}

/* Logo en hero â€” Ã€ GAUCHE en desktop, centrÃ© en mobile via media queries */
.kmg-logo-hero {
  position: absolute;
  top: 30px;
  left: 30px;
  transform: none;
  z-index: 10;
  opacity: 0;
  animation: fadeInLogo 1.8s ease forwards;
  animation-delay: 0.5s;
}
.kmg-logo-hero img { width: 160px; height:auto; display:block; }

@keyframes fadeInLogo {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

/* Titre hero avec effet â€œtypingâ€ + gradient or */
.kmg-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #E8CC80;
  text-align: center;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid rgba(255,255,255,.75);
  width: 0;                               /* sera animÃ© â†’ largeur finale */
  animation: typing 3.5s steps(30, end) forwards, blink .7s step-end infinite;
  background: linear-gradient(90deg,#E8CC80,#e6d6a5,#a78d43,#E8CC80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
  background-size: 200%;
}
@keyframes typing { from {width:0;} to {width:100%;} }
@keyframes blink { from,to{border-color:transparent;} 50%{border-color:transparent;} }

.kmg-subline {
  color: #F0EAD6;
  font-size: 2.8rem;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 3.5s;
}
@keyframes fadeIn { from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:none;} }

/* Bouton CTA */
.kmg-btn {
  position: relative; display: inline-block;
  background: linear-gradient(180deg, #C9B47A, #A78D43);
  color: #F0EAD6;
  padding: 20px 50px; font-size: 1.3rem;
  border-radius: 999px; text-decoration: none; font-weight: 400;
  overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .2s ease, filter .2s ease;
}
.kmg-btn::before{
  content:""; position:absolute; top:0; left:-75%;
  width:50%; height:100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);
  transform: skewX(-20deg); animation: shimmer 2.5s infinite;
}
@keyframes shimmer { 0%{left:-75%;} 100%{left:125%;} }
.kmg-btn:hover{ transform: translateY(-3px) scale(1.03); filter: brightness(1.1); }

/* Forcer la couleur du CTA dans le hero */
.kmg-hero .kmg-btn,
.kmg-hero .kmg-btn:link,
.kmg-hero .kmg-btn:visited,
.kmg-hero .kmg-btn:hover,
.kmg-hero .kmg-btn:active,
.kmg-hero .kmg-btn:focus{
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  text-shadow:0 0 6px rgba(240,234,214,.45);
}

/* ====== MENU BURGER KMG (INDEPENDANT) ====== */
body.service-page.kmg-burger-only .sidenav,
body.service-page.kmg-burger-only .sidenav-trigger {
  display: none !important;
}

body.service-page.kmg-burger-only .kmg-burger {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 12000;
    background: transparent !important;
    border: 1px solid rgba(232, 204, 128, 0.25);
    color: #e8cc80;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.service-page.kmg-burger-only .kmg-burger i {
  font-size: 22px;
}

@media (min-width: 993px) {
  body.service-page.kmg-burger-only .kmg-burger {
    display: none !important;
  }
}

body.service-page.kmg-burger-only .kmg-burger-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 11900;
}

body.service-page.kmg-burger-only.kmg-burger-open .kmg-burger-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.service-page.kmg-burger-only .kmg-burger-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  max-width: 85vw;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  z-index: 12000;
  padding: 64px 14px 22px;
  overflow-y: auto;
}

body.service-page.kmg-burger-only.kmg-burger-open .kmg-burger-panel {
  transform: translateX(0);
}

body.service-page.kmg-burger-only .kmg-burger-list,
body.service-page.kmg-burger-only .kmg-burger-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.service-page.kmg-burger-only .kmg-burger-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.service-page.kmg-burger-only .kmg-burger-list > li {
  border-bottom: 1px solid rgba(232, 204, 128, 0.15);
  padding: 2px 0;
}

body.service-page.kmg-burger-only .kmg-burger-list > li:last-child {
  border-bottom: none;
}

body.service-page.kmg-burger-only .kmg-burger-link,
body.service-page.kmg-burger-only .kmg-burger-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #e8cc80;
    font-family: "Playfair Display", "Footlight MT Light", serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 12px 10px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
    word-break: break-word;
}

body.service-page.kmg-burger-only .kmg-burger-sub {
  display: none;
  margin: 4px 0 8px;
  padding: 4px 0 8px 14px;
  border-left: 1px solid rgba(232, 204, 128, 0.25);
  background: rgba(0, 0, 0, 0.12);
}

body.service-page.kmg-burger-only .kmg-burger-sub.open {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.service-page.kmg-burger-only .kmg-burger-sub li {
    width: 100%;
}

body.service-page.kmg-burger-only .kmg-burger-sub a {
    display: block;
    color: #d4c4a0;
    font-family: "Playfair Display", "Footlight MT Light", serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 8px;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 204, 128, 0.12);
    white-space: normal;
    width: 100%;
}

body.service-page.kmg-burger-only .kmg-burger-sub li:last-child a {
  border-bottom: none;
}

body.service-page.kmg-burger-only .kmg-burger-sub a:hover {
  color: #fff;
  background: rgba(232, 204, 128, 0.15);
  padding-left: 10px;
}

/* --------- SECTION INTRO (full-bleed avec fond partagÃ©) --------- */
#kmg-intro-media.kmg-intro-strips{
  position:relative;
  padding:100px 0; display:grid; gap:60px; z-index:0;
}
#kmg-intro-media.kmg-intro-strips::before{
  content:""; position:absolute; inset:0; left:0;
  width:100%;
  background: var(--kmg-band-bg);
  z-index:-1;
}

/* 1ï¸âƒ£ Rapprocher la section MÃ©thode de la section Intro */
#kmg-intro-media {
  padding-bottom: 50px !important; /* RÃ©duit l'espace bas */
}


#kmg-intro-media .kmg-container{ width:95%; max-width:1600px; margin:0 auto; position:relative; z-index:1; overflow-x:hidden; }

/* Intro texte */
.kmg-intro-text{ text-align:center; max-width:900px; margin:0 auto 60px; color:#fff; }
.kmg-intro-title{
  font-size:3rem; font-weight:700; text-transform:uppercase; margin-bottom:20px;
  background: linear-gradient(90deg, #E8CC80, #e7c160);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kmg-intro-paragraph{ font-size:1.8rem; line-height:1.7; color:#f1f1f1; text-shadow:0 1px 3px rgba(0,0,0,.4); }
.kmg-intro-paragraph strong{ color:#E8CC80; font-weight:600; }

/* Bandes Ã©ditoriales */
.kmg-strip{ display:grid; grid-template-columns:1.8fr 1fr; gap:28px; align-items:center; max-width: 100%; overflow: hidden; }
.kmg-strip:nth-child(3){ grid-template-columns:1fr 1.35fr; }

/* === Espacement entre les bandes (kmg-strips) === */
.kmg-strip {
  margin-bottom: 80px; /* espace entre chaque bloc */
  padding: 40px 0;     /* espace interne au-dessus et en dessous */
}

/* Optionnel : si tu veux plus dâ€™air autour des images/vidÃ©os */
.kmg-strip__media {
  border-radius: 15px;       /* angles arrondis Ã©lÃ©gants */
  overflow: hidden;
  margin: 0 20px;            /* espace horizontal entre les mÃ©dias et le texte */
}

/* Pour Ã©viter que les vidÃ©os/images se touchent entre elles */
.kmg-strip:not(:last-child) {
  border-bottom: 1px solid rgba(232, 204, 128, 0.2); /* fine ligne dorÃ©e discrÃ¨te entre sections */
  padding-bottom: 60px;
}

/* MÃ©dia (vidÃ©o + image en crossfade) */
.kmg-strip__media{
  position:relative; height:500px; border-radius:20px; overflow:hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  line-height:0; /* pas dâ€™interligne autour des mÃ©dias */
  padding: 20px
}
.kmg-strip__media > video,
.kmg-strip__media > img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: opacity 2s ease; /* crossfade long et doux */
  display:block;
}
/* Par dÃ©faut : image visible, vidÃ©o cachÃ©e */
.kmg-strip__media > img{ opacity:1; }
.kmg-strip__media > video{ opacity:0; }

/* Quand la vidÃ©o joue â†’ on montre la vidÃ©o */
.kmg-strip__media.is-playing > video{ opacity:1 !important; }
.kmg-strip__media.is-playing > img{ opacity:0 !important; }

/* Quand la vidÃ©o se termine â†’ on revient Ã  l'image */
.kmg-strip__media.is-finished > video{ opacity:0 !important; }
.kmg-strip__media.is-finished > img{ opacity:1 !important; }

/* Effet overlay subtil */
.kmg-strip__media::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(80% 80% at 50% 20%, rgba(255,255,255,.08), transparent 60%),
              linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,.05) 50%, transparent);
}

.kmg-strip__content p{
  color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.4);
  font-size:1.6rem;
}

/* Boutons dans bandes */
.kmg-btn-strip{
  margin-top:16px; font-size:1.1rem; padding:18px 46px; font-weight:400;
  box-shadow:0 8px 24px rgba(0,0,0,.35); color:#fff; text-align:center; display:inline-block;
}
.kmg-btn-strip {
  background: transparent;
  border: 2px solid #C9B47A;
  color: #fff !important;
  padding: 16px 44px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .25s ease;
}
.kmg-btn-strip:hover {
  background: linear-gradient(180deg, #C9B47A, #A78D43);
  color: #fff;
}


/* --------- SECTION GALERIE --------- */
.kmg-gallery{ padding: clamp(24px, 5vw, 64px) 0; }
.kmg-section-title{ text-align:center; margin:0 0 1.2rem; font-family:"Playfair Display",serif; font-weight:700; font-size:clamp(26px,3.5vw,38px); }
.kmg-cards-visual{ display:grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(2, 1fr); }
.kmg-vcard{ background:#232323; border:1px solid rgba(255,255,255,.06); border-radius:var(--kmg-radius); overflow:hidden; box-shadow:var(--kmg-shadow); }
.kmg-vcard__img{ aspect-ratio:16/10; background:#111; overflow:hidden; }
.kmg-vcard__img img{ width:100%; height:100%; object-fit:cover; transform:scale(1.02); transition: transform .35s ease, filter .35s ease; display:block; }
.kmg-vcard:hover .kmg-vcard__img img{ transform:scale(1.06); filter:contrast(1.05) saturate(1.05); }
.kmg-vcard__title{ margin:.8rem 1rem 1rem; font-size:1.05rem; font-weight:600; color:var(--kmg-text); }

.kmg-method .kmg-vcard__title {
  color: #e8cc80;
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.kmg-method .kmg-vcard__p {
  color:floralwhite;
  font-size: 1.8rem;
  font-weight: 600;
}

.kmg-method .kmg-vcard__img img {
  box-shadow: 0 0 10px rgba(232, 204, 128, 0.4);
}
/* ===== SECTION TYPES DE CUISINE - fond uniforme, mÃªme que les autres ===== */
#types-de-cuisine.kmg-gallery {
  position: relative;
  margin: 0;
  padding: clamp(60px, 6vw, 100px) 0;
  overflow: hidden;
  z-index: 0;
}
/* 2ï¸âƒ£ RÃ©duire l'espace entre Types de cuisine et le footer */
#types-de-cuisine {
  padding-bottom: 10px !important; /* Diminue la marge sous la galerie */
  margin-bottom: 0 !important;
}

/* Pages services : fond uniforme sur toute la page */
body.service-page {
  background: #757570 !important;
  background-color: #757570 !important;
  align-items: stretch !important;
  display: block !important;
}
body.service-page header,
body.service-page main,
body.service-page footer {
  width: 100% !important;
}
body.service-page .kmg-page {
  background: #757570 !important;
}
/* Hero desktop : forcer la hauteur (contrer styles.css section { height: auto !important }) */
body.service-page .kmg-hero.full {
  height: 100vh !important;
}
/* Contenu hero ancrÃ© en bas (plus fiable que flex-end + height:100%) */
body.service-page .kmg-hero__inner {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #E8CC80;
  padding-bottom: 60px;
}
body.service-page .kmg-page > section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
  outline: none !important;
  /* box-shadow couvre les gaps subpixel au-dessus et en dessous */
  box-shadow: 0 -4px 0 0 #757570, 0 4px 0 0 #757570 !important;
}

/* Footer pages services : mÃªme fond que les sections */
body.service-page footer {
  background: #757570 !important;
  background-color: #757570 !important;
}

body.service-page .footer-content {
  background: #757570 !important;
  background-color: #757570 !important;
}

/* Footer nav : supprimer bordure Materialize + agrandir police */
body.service-page .footer-nav {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.service-page .footer-nav ul li a {
  font-size: 1.3rem !important;
  font-weight: 400 !important;
}

/* 3ï¸âƒ£ Ajustement gÃ©nÃ©ral : uniformiser la respiration */
section {
  scroll-margin-top: 80px;
  transition: padding 0.2s ease;
}

/* mÃªme fond que les sections intro et mÃ©thode */
#types-de-cuisine.kmg-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  width: 100%;
  background: var(--kmg-band-bg); /* mÃªme variable utilisÃ©e pour les autres sections */
  z-index: -1;
}

/* conteneur centrÃ© */
#types-de-cuisine .kmg-container {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* titre de section */
#types-de-cuisine .kmg-section-title {
  color: #fff;
  background: linear-gradient(90deg, #E8CC80, #e7c160);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-bottom: 2rem;
  font: size 1.5em;
}

/* grille */
#types-de-cuisine .kmg-cards-visual {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  width: 100%;
  overflow: hidden;
  max-width: 100%;
}

/* cartes */
#types-de-cuisine .kmg-vcard {
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--kmg-radius);
  overflow: hidden;
  box-shadow: var(--kmg-shadow);
  transition: transform .3s ease, filter .3s ease;
  
  
}
#types-de-cuisine .kmg-vcard:hover {
  transform: translateY(-6px);
  filter: brightness(1.1);
}

/* images */
#types-de-cuisine .kmg-vcard__img {
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #C9B47A, #A78D43);
  color: #fff;
  overflow: hidden;
}
#types-de-cuisine .kmg-vcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
  transition: transform .4s ease;
  max-width: 100%;
}
#types-de-cuisine .kmg-vcard:hover .kmg-vcard__img img {
  transform: scale(1.08);
}

/* titres des cartes - dorÃ© et cohÃ©rent */
#types-de-cuisine .kmg-vcard__title {
  background: none !important;
  color: var(--kmg-text) !important; /* or KMG */
  -webkit-text-fill-color: var(--kmg-text) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 1rem 0 1.2rem;
  border: none;
  box-shadow: none;
}

#types-de-cuisine.kmg-vcard-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* responsive */

/* Styles pour la section MÃ©thode */
.kmg-method {
  background-color: #757570; /* fond sombre raccord avec vos autres sections */
  color: #fff;
  padding: 100px 0;
  font-size: 1rem;
  margin-top: 0 !important; /* Supprime tout grand Ã©cart au-dessus */
  padding-top: 20px !important; /* Ajoute juste un peu dâ€™air */
  padding-bottom: 40px !important;
}
.kmg-method .kmg-section-title {
 color: #fff;
  background: linear-gradient(90deg, #E8CC80, #e7c160);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-bottom: 2rem;
}
.kmg-method .kmg-vcard {
  border:  2px solid #e8cc80;      /* contour or */
  border-radius: 10px;
  padding: 4rem;
  background: transparent;
  backdrop-filter: blur(5px);
  overflow: hidden;               /* Ã©vite que le contenu dÃ©passe */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;

}

/* Effet au survol (hover) */
.kmg-method .kmg-vcard:hover {
  transform: translateY(-5px);    /* lÃ©ger soulÃ¨vement */
  box-shadow: 0 0 15px rgba(232, 204, 128, 0.5);  /* lueur dorÃ©e */
}
.kmg-method .kmg-vcard__title {
  margin-bottom: 1rem;
  font-weight: 600;
}
.kmg-method-cta {
  text-align: center;
  margin-top: 6rem;
}

.kmg-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px !important; /* espace entre les cartes */
}

/* Texte */
.kmg-method .kmg-vcard p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #f1f1f1;
}

/* Images */
.kmg-method .kmg-vcard__img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.kmg-method .kmg-vcard__img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(232, 204, 128, 0.3);
  box-shadow: 0 0 10px rgba(232, 204, 128, 0.3);
}

/* Alternance visuelle */
.kmg-method .kmg-vcard:nth-child(even) .top {
  display: none;
}
.kmg-method .kmg-vcard:nth-child(odd) .bottom {
  display: none;
}

.kmg-vcard__img img.active {
  opacity: 1;
}

/* â€”â€”â€” Cartes mÃ©thode: espacement + texte plus gros â€”â€”â€” */
.kmg-method .kmg-method-grid { gap: 10px; }           /* Ã©carte les 4 cartes */
.kmg-method .kmg-vcard p { font-size: 1.3rem; }      /* paragraphe agrandi */

/* === Images alternÃ©es, version transparente et fluide === */
.kmg-method .kmg-vcard__img.xfade {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1rem;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  /* ðŸ‘‡ aucun fond noir ici */
  background: transparent;
  box-shadow: 0 0 12px rgba(232, 204, 128, 0.35);
}

/* Images superposÃ©es */
.kmg-method .kmg-vcard__img.xfade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  animation: kmgFade 14s infinite ease-in-out;
  transition: opacity 2.5s ease-in-out;
  border: 1px solid rgba(232, 204, 128, 0.25);
  background: transparent; /* ðŸ”¥ empÃªche le flash noir */
}

/* DÃ©lai entre les deux images */
.kmg-method .kmg-vcard__img.xfade img:first-child {
  animation-delay: 0s;
}
.kmg-method .kmg-vcard__img.xfade img:last-child {
  animation-delay: 7s;
}

/* Fondu fluide et transparent */
@keyframes kmgFade {
  0%, 40% {
    opacity: 1;
  }
  50%, 90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



/* === CTA "Demander un devis" â€” version agrandie === */

  /* Conteneur centrÃ© et spacÃ© */
  .cta-wrapper{
    display:flex; justify-content:center; align-items:center;
    padding:48px 0 24px;
  }

  /* CTA XL â€” prend plus de place et reste cohÃ©rent KMG */
  #cta-devis{
    display:inline-flex; align-items:center; justify-content:center;
    min-width: clamp(340px, 38vw, 560px);   /* largeur mini â†’ sâ€™adapte */
    font-size: 1.6rem !important;           /* texte + grand */
    line-height: 1.2 !important;
    padding: 1.2rem 3.2rem !important;      /* plus haut et plus large */
    border-radius: 999px !important;        /* pilule Ã©lÃ©gante */
    margin-block: 2rem 0;
    text-transform: uppercase; letter-spacing: .5px; font-weight: 400;

    /* style KMG : fond sombre + liserÃ© or + glow lÃ©ger */
    color:#fff !important;
    background: linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);
    border: 2px solid #e8cc80 !important;
    box-shadow:
      0 10px 22px rgba(0,0,0,.35),
      0 0 0 2px rgba(232,204,128,.30) inset;
    transition: transform .25s ease, box-shadow .25s ease;
  }

  #cta-devis:hover{
    transform: translateY(-2px);
    box-shadow:
      0 14px 28px rgba(0,0,0,.45),
      0 0 0 2px rgba(232,204,128,.60) inset;
  }

  /* Confort mobile */

 /* Harmonisation des espaces entre sections */
  .kmg-method {
    padding-bottom: 0px !important; /* au lieu de 80+ */
  }

  .cta-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0px !important; /* rapproche du bloc suivant */
  }

  #types-de-cuisine {
    margin-top: 0 !important;
    padding-top: 0px !important; /* rapproche du CTA */
  }

  /* Optionnel : uniformiser toutes les sections */
  section {
    scroll-margin-top: 80px; /* pour ancrage fluide */
  }


body.is-cuisine #types-de-cuisine {
  display: flex;
  flex-direction: column;
  justify-content: center;     /* centre verticalement le contenu */
  align-items: center;         /* centre horizontalement le tout */
  text-align: center;
  min-height: 100vh;            /* occupe ~80% de la hauteur de lâ€™Ã©cran */
  padding: 60px 0 !important;  /* respiration douce */
}

/* Aligne aussi la grille correctement */
body.is-cuisine #types-de-cuisine .kmg-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

body.is-cuisine #types-de-cuisine .kmg-grid-2 {
  justify-content: center;
  gap: 30px;
}

/* === RAPPROCHEMENT GLOBAL ENTRE SECTIONS === */

/* ðŸ”¹ Hero â†’ Intro */
.kmg-hero.full {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#kmg-intro-media {
  margin-top: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 20px !important;
}

/* ðŸ”¹ Intro â†’ MÃ©thode */
.kmg-intro-strips {
  padding-bottom: 20px !important;
}
.kmg-method {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

/* ðŸ”¹ MÃ©thode â†’ CTA bouton */
.cta-wrapper {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

/* ðŸ”¹ Ajuste aussi le scroll */
section {
  scroll-margin-top: 70px;
}


/* === Back-to-Top KMG === */
.kmg-backtotop {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: calc(clamp(12px, 2vw, 24px) + env(safe-area-inset-bottom));
  width: 56px; height: 56px;                  /* carrÃ© */
  border-radius: 12px;                         /* angle doux */
  display: grid; place-items: center;
  color: #fff;                                 /* flÃ¨che */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%) /* reflet haut */,
    linear-gradient(180deg, #2a2a2a 0%,  #757570 100%);                       /* fond sombre */
  border: 1px solid rgba(232, 204, 128, 0.65);
  box-shadow:
    0 10px 24px rgba(0,0,0,.35),
    0 0 0 1px rgba(232,204,128,.18) inset;
  cursor: pointer;
  z-index: 9999;                               /* au-dessus du ticker */
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98);
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

.kmg-backtotop svg { pointer-events: none; color: #ffffff; }

.kmg-backtotop::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -70%;
  width: 62%;
  height: 180%;
  transform: skewX(-20deg);
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.12) 42%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.12) 58%,
    transparent 100%
  );
  animation: kmg-backtop-mirror 3.8s ease-in-out infinite;
}

@keyframes kmg-backtop-mirror {
  0% { left: -80%; opacity: 0; }
  18% { opacity: .75; }
  50% { left: 130%; opacity: .35; }
  100% { left: 130%; opacity: 0; }
}

/* Ã‰tat visible */
.kmg-backtotop.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}

/* Hover / focus */
.kmg-backtotop:hover,
.kmg-backtotop:focus-visible {
  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 0 2px rgba(232,204,128,.55) inset;
  outline: none;
}

/* Mobile : cible tactile confortable */

.kmg-backtotop.has-ticker {
  bottom: calc(clamp(12px, 2vw, 24px) + 52px + env(safe-area-inset-bottom));
}

/* AccessibilitÃ© : rÃ©duit l'animation si demandÃ© */
@media (prefers-reduced-motion: reduce){
  .kmg-backtotop { transition: none; }
}

/* Animation zoom logo (mobile â€” sans opacity) */
@keyframes zoomLogo {
  from { transform: translate(-50%, -50%) scale(0.3); }
  to   { transform: translate(-50%, -50%) scale(1); }
}

/* Supprimer toute dÃ©marcation entre sections */
body.service-page .kmg-hero.full {
  margin-bottom: 0 !important;
}
body.service-page #kmg-intro-media.kmg-intro-strips {
  margin-top: 0 !important;
  background: #757570 !important;
}
body.service-page .kmg-gallery {
  background: #757570 !important;
}
body.service-page .kmg-method {
  background: #757570 !important;
}
body.service-page #types-de-cuisine {
  background: #757570 !important;
}
body.service-page main.kmg-page {
  background: #757570 !important;
}
/* Supprimer le min-height excessif sur types-de-cuisine */
body.is-cuisine #types-de-cuisine {
  min-height: auto !important;
}

/* ====== DESKTOP 1367px - 1439px : logo Ã  gauche + hero ajustÃ© ====== */
@media (min-width: 1367px) and (max-width: 1439px) {
  body.service-page .kmg-logo-hero {
    position: absolute !important;
    top: 50px !important;
    left: 30px !important;
    transform: none !important;
  }
  body.service-page .kmg-logo-hero img {
    width: 220px !important;
    height: auto !important;
    padding-top: 20px;
  }

  /* Hero inner : CENTRÃ‰ au milieu de la page (override du bottom:0) */
  body.service-page .kmg-hero__inner {
    top: 0 !important;
    bottom: 0 !important;
    height: 115% !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  /* Titre hero : agrandi */
  body.service-page .kmg-headline {
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    margin-bottom: 10px !important;
  }

  /* Sous-titre : agrandi, espace resserrÃ© avec le bouton */
  body.service-page .kmg-subline {
    font-size: 2rem !important;
    margin-bottom: 25px !important;
  }

  /* Bouton CTA : rapprochÃ© du texte */
  body.service-page .kmg-hero .kmg-btn {
    margin-top: 0 !important;
  }

  /* === Navbar : police plus grande + bouton Contactez-nous visible === */
  body.service-page header .navbar {
    padding-right: 120px !important;
  }
  body.service-page header .navbar ul {
    gap: 12px !important;
    top: 20px !important;
  }
  body.service-page header .navbar ul li a {
    font-size: 1.5rem !important;
    padding: 10px 7px !important;
  }
  /* Bouton Contactez-nous : rapprochÃ© Ã  gauche */
  body.service-page header .navbar ul li.only-desktop {
    right: 20px !important;
  }
  body.service-page.is-cuisine.kmg-contact-left header .navbar ul li.only-desktop {
    right: 180px !important;
  }
  body.service-page header .navbar .btn-contact {
    right: auto !important;
    margin-left: 0 !important;
    width: 85px !important;
    height: 50px !important;
  }
  body.service-page header .navbar .btn-contact span {
    font-size: 15px !important;
    white-space: nowrap !important;
  }
}

/* ====== DESKTOP 1440px - 2839px : logo Ã  gauche + hero ajustÃ© ====== */
@media (min-width: 1440px) and (max-width: 2839px) {
  body.service-page .kmg-logo-hero {
    position: absolute !important;
    top: 50px !important;
    left: 30px !important;
    transform: none !important;
  }
  body.service-page .kmg-logo-hero img {
    width: 400px !important;
    height: auto !important;
    padding-top: 20px;
    margin-top: -80px;
    margin-left: -40px;
  }

  /* Hero inner : CENTRÃ‰ au milieu de la page (override du bottom:0) */
  body.service-page .kmg-hero__inner {
    top: 0 !important;
    bottom: 0 !important;
    height: 115% !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  /* Titre hero : agrandi */
  body.service-page .kmg-headline {
    font-size: clamp(2.2rem, 4vw, 5.2rem) !important;
    margin-bottom: 10px !important;
  }

  /* Sous-titre : agrandi, espace resserrÃ© avec le bouton */
  body.service-page .kmg-subline {
    font-size:2.8rem !important;
    margin-bottom: 25px !important;
  }

  /* Bouton CTA : rapprochÃ© du texte */
  body.service-page .kmg-hero .kmg-btn {
    margin-top: 50px !important;
    margin-right: -20px !important;
  }

  /* === Navbar : police plus grande + bouton Contactez-nous visible === */
  body.service-page header .navbar {
    padding-right: 10px !important;
  }
  body.service-page header .navbar ul {
    gap: 12px !important;
    top: 20px !important;
    margin-right:-110px;
  }
  body.service-page header .navbar ul li a {
    font-size: 1.9rem !important;
    padding: 10px 7px !important;
  }
  /* Bouton Contactez-nous : rapprochÃ© Ã  gauche */
  body.service-page header .navbar ul li.only-desktop {
    right: 20px !important;
  }
  body.service-page.is-cuisine.kmg-contact-left header .navbar ul li.only-desktop {
    right: 220px !important;
  }
  body.service-page header .navbar .btn-contact {
    right: auto !important;
    margin-left: 0 !important;
    width: 85px !important;
    height: 50px !important;
  }
  body.service-page header .navbar .btn-contact span {
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  .btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100px; /* Ajuste la taille sans impacter la navbar */
  height: 60px;
  margin-right: 30px; /* Pousse le bouton complÃ¨tement Ã  droite */
  margin-top: 10px; /* Ajuste la hauteur pour aligner avec la navbar */
  border-radius: 80px;
  transition: all 0.3s ease-in-out;
  animation: pulse 1.5s infinite ease-in-out !important;
  right: 100px; /* AlignÃ© Ã  droite */
  transform: translateY(-50%);

}
}


/* ====== DESKTOP 1440px - 1599px : logo Ã  gauche ====== */
@media (min-width: 1439px) and (max-width: 1599px) {
  body.service-page .kmg-logo-hero {
    position: absolute !important;
    top: 70px !important;
    left: 50px !important;
    transform: none !important;
  }
  body.service-page .kmg-logo-hero img {
    width: 290px !important;
    height: auto !important;
    margin-top: -60px;
    margin-left: -40px;
  }

  .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px !important;
    position: fixed;
    top: 20px;
    width: 100%;
    height: auto;
    background-color: transparent;
    z-index: 10;
    background: transparent;
    border: none;
    box-shadow: none;
}
}

/* ====== DESKTOP 1600px+ : logo Ã  gauche ====== */
@media (min-width: 1600px) {
  body.service-page .kmg-logo-hero {
    position: absolute !important;
    top: 80px !important;
    left: 55px !important;
    transform: none !important;
  }
  body.service-page .kmg-logo-hero img {
    width: clamp(200px, 14vw, 300px) !important;
    max-width: 300px !important;
    height: auto !important;
  }

  /* Navbar : resserrer pour bouton Contactez-nous visible */
  body.service-page header .navbar ul {
    gap: 25px !important;
  }
  body.service-page header .navbar ul li a {
    padding: 10px 8px !important;
  }


}

/* ====== DESKTOP 2560px+ : tout le contenu hero agrandi ====== */
@media (min-width: 2560px) {
  /* Logo plus grand */
  body.service-page .kmg-logo-hero {
    top: 100px !important;
    left: 70px !important;
  }
  body.service-page .kmg-logo-hero img {
    width: clamp(300px, 16vw, 450px) !important;
    max-width: 450px !important;
    height: auto !important;
  }

  /* Titre hero agrandi */
  body.service-page .kmg-headline {
    font-size: clamp(4rem, 5vw, 6rem) !important;
  }

  /* Sous-titre agrandi */
  body.service-page .kmg-subline {
    font-size: 3.2rem !important;
    margin-bottom: 60px !important;
  }

  /* Bouton CTA agrandi */
  body.service-page .kmg-hero .kmg-btn {
    padding: 28px 70px !important;
    font-size: 1.8rem !important;
  }

  /* Hero inner : plus d'espace en bas */
  body.service-page .kmg-hero__inner {
    padding-bottom: 80px !important;
  }

  /* Navbar : resserrer pour bouton Contactez-nous visible */
  body.service-page header .navbar ul {
    gap: 40px !important;
  }
  body.service-page header .navbar ul li a {
    font-size: 1.2rem !important;
    padding: 12px 10px !important;
  }
}


/* ============================================================
   CUISINE FOOTER RESET + STYLE PREMIUM
   ============================================================ */
body.service-page.is-cuisine footer {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 14px 18px 16px !important;
}

body.service-page.is-cuisine footer .footer-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.service-page.is-cuisine footer .footer-content > * {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.service-page.is-cuisine footer .footer-logo img {
  max-width: 102px !important;
  height: auto !important;
  margin: 0 auto 2px !important;
}

body.service-page.is-cuisine footer .footer-title-container {
  display: block !important;
}

body.service-page.is-cuisine footer .footer-title-container::before,
body.service-page.is-cuisine footer .footer-title-container::after {
  display: none !important;
  content: none !important;
}

body.service-page.is-cuisine footer .footer-title {
  margin: 0 !important;
  font-size: 1.7rem !important;
  line-height: 1.2 !important;
  color: #f6e1a6 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

body.service-page.is-cuisine footer .footer-social {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

body.service-page.is-cuisine footer .footer-social a img {
  width: 30px !important;
  height: 30px !important;
  margin: 0 4px !important;
}

body.service-page.is-cuisine footer .footer-nav {
  margin-top: 2px !important;
}

body.service-page.is-cuisine footer .footer-nav ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.service-page.is-cuisine footer .footer-nav ul li {
  margin: 0 !important;
}

body.service-page.is-cuisine footer .footer-nav ul li a {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  color: #efd796 !important;
  -webkit-text-fill-color: #efd796 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  text-decoration: none !important;
}

body.service-page.is-cuisine footer .footer-copyright {
  margin-top: 2px !important;
}

body.service-page.is-cuisine footer .footer-copyright p,
body.service-page.is-cuisine footer .footer-copyright a {
  font-size: 0.86rem !important;
  line-height: 1.3 !important;
  color: #e8d9b0 !important;
  -webkit-text-fill-color: #e8d9b0 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  margin: 0 !important;
}


/* Sous-menus navbar (desktop/tablette): plus compacts et non gras */
body.service-page header .navbar ul li.has-submenu > .submenu {
  min-width: 230px !important;
  padding: 10px 8px !important;
}

body.service-page header .navbar ul li.has-submenu > .submenu li a {
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  padding: 6px 10px !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

body.service-page header,
body.service-page header .navbar,
body.service-page header .navbar ul {
  position: relative !important;
  z-index: 12000 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Header en surimpression du hero (pas de bande visible au-dessus de l'image) */
body.service-page header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

body.service-page header .navbar ul li.has-submenu > .submenu {
  z-index: 12050 !important;
}

/* Navbar un peu plus haute sur la hero */
@media (min-width: 768px) {
  body.service-page header .navbar ul {
    top: -20px !important;
  }
}

/* Recalage navbar + bouton contact (tablette paysage / desktop) */
@media (min-width: 1367px) and (max-width: 1439px) {
  body.service-page .kmg-logo-hero {
    top: 200px !important;
  }

  body.service-page header .navbar ul {
    top: -28px !important;
    margin-right: 20px !important;
    margin-bottom: 0 !important;
  }

  body.service-page header .navbar ul li.only-desktop,
  body.service-page.is-cuisine.kmg-contact-left header .navbar ul li.only-desktop {
    position: absolute !important;
    right: -75px !important;
  }
}

@media (min-width: 1440px) and (max-width: 1599px) {
  body.service-page .kmg-logo-hero {
    top: 130px !important;
  }

  body.service-page header .navbar ul {
    top: -40px !important;
    margin-right: 0 !important;
    padding-right: 190px !important;
  }

  body.service-page header .navbar ul li.only-desktop,
  body.service-page.is-cuisine.kmg-contact-left header .navbar ul li.only-desktop {
    position: absolute !important;
    right: 25px !important;
  }
}

/* =========================================================
   CUISINE.PHP - Recalage logo uniquement (desktop/tablette/mobile)
   ========================================================= */

/* Desktop: logo entre navbar et H1 + lÃ©ger dÃ©calage Ã  droite */
@media (min-width: 1367px) {
  body.service-page.is-cuisine .kmg-logo-hero {
    left: 124px !important;
    top: 142px !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }

  body.service-page.is-cuisine .kmg-logo-hero img {
    width: clamp(176px, 10.8vw, 212px) !important;
    max-width: 212px !important;
    height: auto !important;
    transform-origin: center center !important;
    will-change: transform, opacity !important;
    animation: kmg-cuisine-logo-settle 1.55s cubic-bezier(0.2, 0.85, 0.22, 1) 1 both !important;
  }
}


/* Animation d'entrÃ©e desktop: rotation + zoom, puis position fixe */
@keyframes kmg-cuisine-logo-settle {
  0% {
    transform: scale(0.72) rotate(-250deg);
    opacity: 0;
  }
  72% {
    transform: scale(1.22) rotate(7deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.12) rotate(0deg);
    opacity: 1;
  }
}

/* =========================================================
   CUISINE.PHP - Navbar centrÃ©e (desktop uniquement)
   ========================================================= */
@media (min-width: 1367px) {
  body.service-page.is-cuisine header .navbar {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  body.service-page.is-cuisine header .navbar ul {
    width: max-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center !important;
    transform: none !important;
  }

  body.service-page.is-cuisine header .navbar ul li a {
    font-size: 1.66rem !important;
    line-height: 1.06 !important;
  }

  /* Bouton contact sorti du flux pour ne plus masquer "Avis" */
  body.service-page.is-cuisine header .navbar ul li.only-desktop,
  body.service-page.is-cuisine.kmg-contact-left header .navbar ul li.only-desktop {
    position: fixed !important;
    top: 8px !important;
    right: 26px !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 12120 !important;
  }

  body.service-page.is-cuisine header .navbar .btn-contact {
    position: relative !important;
    left:-55% !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 112px !important;
    height: 64px !important;
    animation: kmg-cuisine-contact-pulse 2.2s ease-in-out infinite !important;
  }

  body.service-page.is-cuisine header .navbar .btn-contact span {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }

  body.service-page.is-cuisine header .navbar .btn-contact img {
    width: 310% !important;
    height: auto !important;
  }

  body.service-page.is-cuisine header .navbar .btn-contact:hover {
    transform: scale(1.06) !important;
  }
}

@keyframes kmg-cuisine-contact-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

/* CUISINE.PHP - CTA sans decoration de lien */
body.service-page.is-cuisine a.kmg-btn,
body.service-page.is-cuisine a.kmg-btn-strip,
body.service-page.is-cuisine a#cta-devis,
body.service-page.is-cuisine a.btn-contact,
body.service-page.is-cuisine a.kmg-btn:link,
body.service-page.is-cuisine a.kmg-btn:visited,
body.service-page.is-cuisine a.kmg-btn:hover,
body.service-page.is-cuisine a.kmg-btn:focus,
body.service-page.is-cuisine a.kmg-btn:active,
body.service-page.is-cuisine a.kmg-btn-strip:link,
body.service-page.is-cuisine a.kmg-btn-strip:visited,
body.service-page.is-cuisine a.kmg-btn-strip:hover,
body.service-page.is-cuisine a.kmg-btn-strip:focus,
body.service-page.is-cuisine a.kmg-btn-strip:active,
body.service-page.is-cuisine a#cta-devis:link,
body.service-page.is-cuisine a#cta-devis:visited,
body.service-page.is-cuisine a#cta-devis:hover,
body.service-page.is-cuisine a#cta-devis:focus,
body.service-page.is-cuisine a#cta-devis:active,
body.service-page.is-cuisine a.btn-contact:link,
body.service-page.is-cuisine a.btn-contact:visited,
body.service-page.is-cuisine a.btn-contact:hover,
body.service-page.is-cuisine a.btn-contact:focus,
body.service-page.is-cuisine a.btn-contact:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* =========================================================
   CUISINE.PHP - Footer calÃ© sur le footer d'accueil (desktop)
   ========================================================= */
body.service-page.is-cuisine footer {
  background: #757570 !important;
  background-color: #757570 !important;
  color: #e8cc80 !important;
  text-align: center !important;
  padding: 24px 20px 20px !important;
  margin: 0 auto !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

body.service-page.is-cuisine footer .footer-content {
  max-width: 1800px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  background: #757570 !important;
  background-color: #757570 !important;
}

body.service-page.is-cuisine footer .footer-content > * {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.service-page.is-cuisine footer .footer-logo img {
  max-width: 128px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 2px !important;
}

body.service-page.is-cuisine footer .footer-title-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 4px 0 6px !important;
}

body.service-page.is-cuisine footer .footer-title {
  margin: 0 !important;
  font-family: "Footlight MT Light", "Playfair Display", serif !important;
  font-size: clamp(2.2rem, 2.25vw, 3.05rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  color: #e8cc80 !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-shadow: none !important;
}

body.service-page.is-cuisine footer .footer-title-container::before,
body.service-page.is-cuisine footer .footer-title-container::after {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  height: 2px !important;
  margin: 0 36px !important;
  background: linear-gradient(90deg, #8c7a3c, #f5e6a3, #e8cc80, #f5e6a3, #8c7a3c) !important;
}

body.service-page.is-cuisine footer .footer-social {
  margin: 4px 0 8px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}

body.service-page.is-cuisine footer .footer-social a img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
}

body.service-page.is-cuisine footer .footer-nav {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin-top: 2px !important;
}

body.service-page.is-cuisine footer .footer-nav ul {
  list-style: none !important;
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.service-page.is-cuisine footer .footer-nav ul li {
  margin: 0 22px !important;
}

body.service-page.is-cuisine footer .footer-nav ul li a {
  color: #e8cc80 !important;
  text-decoration: none !important;
  font-size: 1.06rem !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body.service-page.is-cuisine footer .footer-copyright {
  margin-top: 4px !important;
}

body.service-page.is-cuisine footer .footer-copyright p,
body.service-page.is-cuisine footer .footer-copyright a {
  margin: 0 !important;
  color: #e8cc80 !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}


/* =========================================================
   CUISINE.PHP - Ajustement responsive fin navbar desktop
   ========================================================= */
@media (min-width: 1367px) and (max-width: 1599px) {
  body.service-page.is-cuisine header .navbar ul {
    gap: 12px !important;
  }

  body.service-page.is-cuisine header .navbar ul li a {
    font-size: 1.58rem !important;
  }
}

/* =========================================================
   LAPTOP SOURCE OF TRUTH - SERVICE PAGES 1024-1366
   ========================================================= */
@media (min-width: 1024px) and (max-width: 1366px) {
  body.service-page header {
    display: block !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    z-index: 12000 !important;
  }

  body.service-page header .navbar {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 78px !important;
    padding: 14px 150px 0 24px !important;
    justify-content: center !important;
    align-items: flex-start !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 12020 !important;
  }

  body.service-page header .navbar ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(10px, 1.4vw, 18px) !important;
    width: max-content !important;
    max-width: calc(100vw - 190px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    top: 0 !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }

  body.service-page header .navbar ul li {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  body.service-page header .navbar ul li a {
    font-size: clamp(1rem, 1.28vw, 1.22rem) !important;
    line-height: 1.1 !important;
    padding: 8px 5px !important;
    white-space: nowrap !important;
  }

  body.service-page header .navbar ul li.only-desktop,
  body.service-page.kmg-contact-left header .navbar ul li.only-desktop {
    position: fixed !important;
    top: 12px !important;
    right: 18px !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 12060 !important;
  }

  body.service-page header .navbar .btn-contact {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 104px !important;
    height: 60px !important;
    margin: 0 !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
  }

  body.service-page header .navbar .btn-contact span {
    font-size: 16px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.service-page .kmg-logo-hero {
    position: absolute !important;
    top: clamp(112px, 15vh, 150px) !important;
    left: clamp(28px, 6vw, 92px) !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
  }

  body.service-page .kmg-logo-hero img {
    width: clamp(154px, 15vw, 206px) !important;
    max-width: clamp(154px, 15vw, 206px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.service-page .kmg-hero.full {
    min-height: 100svh !important;
    height: 100svh !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.service-page .kmg-hero__inner {
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: clamp(150px, 19vh, 190px) clamp(24px, 4vw, 64px) 58px !important;
    gap: clamp(10px, 1.8vh, 18px) !important;
    text-align: center !important;
  }

  body.service-page .kmg-headline {
    width: auto !important;
    max-width: min(74vw, 960px) !important;
    margin: 0 auto !important;
    white-space: normal !important;
    overflow: visible !important;
    border-right: 0 !important;
    animation: none !important;
    font-size: clamp(2.05rem, 3.3vw, 3.1rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  body.service-page .kmg-subline {
    max-width: min(70vw, 860px) !important;
    margin: 0 auto !important;
    font-size: clamp(1.08rem, 1.75vw, 1.55rem) !important;
    line-height: 1.35 !important;
  }

  body.service-page .kmg-hero .kmg-btn {
    margin-top: clamp(12px, 2vh, 26px) !important;
  }

  body.service-page.kmg-burger-only .kmg-burger,
  body.service-page.kmg-burger-only .kmg-burger-overlay,
  body.service-page.kmg-burger-only .kmg-burger-panel {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  body.service-page header .navbar,
  body.service-page header nav.navbar,
  body.service-page header .only-desktop,
  body.service-page header .btn-contact {
    display: none !important;
  }

  body.service-page.kmg-burger-only .kmg-burger {
    display: inline-flex !important;
    position: fixed !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 12040 !important;
  }

  body.service-page.kmg-burger-only .kmg-burger-overlay,
  body.service-page.kmg-burger-only .kmg-burger-panel {
    display: block !important;
  }
}

/* =====================================================
   PATCH FOLD / MOBILE - Méthode en 4 étapes
   Image en haut, titre sous image, texte sous titre
   ===================================================== */

@media screen and (min-width: 360px) and (max-width: 620px) {

  body.service-page .kmg-method .kmg-cards-visual {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 96% !important;
    margin: 0 auto !important;
  }

  body.service-page .kmg-method .kmg-vcard {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 0 14px !important;
    overflow: hidden !important;
    min-height: auto !important;
  }

  body.service-page .kmg-method .kmg-vcard__img {
    order: 1 !important;
    width: 100% !important;
    height: clamp(150px, 42vw, 210px) !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border-radius: 10px 10px 0 0 !important;
  }

  body.service-page .kmg-method .kmg-vcard__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.service-page .kmg-method .kmg-vcard__title {
    order: 2 !important;
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
    padding: 0 10px !important;
    text-align: center !important;
  }

  body.service-page .kmg-method .kmg-vcard__p {
    order: 3 !important;
    font-size: clamp(0.86rem, 3.2vw, 1rem) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
}
