/**
 * Responsive layer — loaded last.
 * Works at template/component level so Elementor exports stay untouched.
 */

:root {
  --tao-page-gutter: clamp(1rem, 4vw, 2rem);
}

html,
body,
#contenu,
.page-content {
  max-width: 100%;
  overflow-x: clip;
}

.page-content,
.page-content .elementor,
.page-content .e-con,
.page-content .e-con-inner,
.elementor-header,
.elementor-footer {
  min-width: 0;
}

.page-content img,
.page-content video,
.page-content iframe,
.page-content svg {
  max-width: 100%;
}

.page-content iframe {
  border: 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content .elementor-heading-title {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-content p,
.page-content li,
.page-content .elementor-text-editor {
  overflow-wrap: break-word;
}

/* Lisibilité/tactile: éviter les micro-textes et liens trop bas sur mobile. */
.page-content h6.elementor-heading-title,
.page-content .elementor-widget-heading h6.elementor-heading-title,
.page-content .elementor-icon-list-text,
.page-content .tao-detail-hero__eyebrow,
.page-content .tao-hub-hero-v2__kicker {
  font-size: max(0.78rem, 12px) !important;
  line-height: 1.35 !important;
}

.page-content .elementor-widget-rating .elementor-heading-title,
.page-content .elementor-19 .elementor-element-af46fe2 .elementor-heading-title {
  font-size: max(0.78rem, 12px) !important;
  line-height: 1.35 !important;
}

.page-content .tao-detail-breadcrumb__link,
.page-content .tao-detail-breadcrumb a,
.tao-footer a,
.tao-footer__link,
.tao-footer__btn,
.tao-footer__social-link,
.tao-footer__top {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.page-content summary {
  min-height: 40px;
  display: flex;
  align-items: center;
}

/* Yin-yang figuratif: default compact size, never inherit huge Elementor icon sizes. */
.page-content .tao-yin-yang-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1rem !important;
  height: 1rem !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  vertical-align: -0.12em;
}

.page-content .tao-yin-yang-icon__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50%;
  object-fit: cover;
}

.page-content .elementor-icon-list-icon .tao-yin-yang-icon {
  width: 0.95rem !important;
  height: 0.95rem !important;
}

.page-content .elementor-icon-list-icon .tao-yin-yang-icon__img {
  width: 0.95rem !important;
  height: 0.95rem !important;
}

.page-content .elementor-19 .elementor-element-cabca67 .tao-yin-yang-icon,
.page-content .elementor-19 .elementor-element-cabca67 .tao-yin-yang-icon__img {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem !important;
  max-height: 1rem !important;
}

.page-content .elementor-19 .elementor-element-cabca67 .elementor-icon-list-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1rem !important;
  min-width: 1rem !important;
  line-height: 1 !important;
}

.page-content .elementor-icon-list-item {
  align-items: center;
  gap: 0.45rem;
}

.page-content .elementor-button-icon .tao-yin-yang-icon {
  width: 1.05em !important;
  height: 1.05em !important;
  font-size: 1em !important;
}

.page-content .elementor-icon-wrapper > .tao-yin-yang-icon {
  width: clamp(2rem, 4vw, 2.75rem) !important;
  height: clamp(2rem, 4vw, 2.75rem) !important;
}

.page-content.tao-page-service-detail [data-id="647be7f7"] .tao-yin-yang-icon,
.page-content.tao-page-service-detail [data-id="65dd4835"] .tao-yin-yang-icon {
  width: 1.75rem !important;
  height: 1.75rem !important;
}

.page-content.tao-page-service-hub .elementor-element-32389c6 .elementor-icon-wrapper > .tao-yin-yang-icon {
  width: clamp(2rem, 4vw, 2.75rem) !important;
  height: clamp(2rem, 4vw, 2.75rem) !important;
}

/* Accueil: diaporama hero — enchaînement direct (5 images × 6 s, sans fondu). */
.page-content .elementor-19 .elementor-element-2610596 {
  --tao-hero-slides: 5;
  --tao-hero-slide-duration: 6s;
  --tao-hero-cycle: calc(var(--tao-hero-slides) * var(--tao-hero-slide-duration));
  overflow: hidden !important;
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0;
  z-index: 0;
  animation: tao-home-hero-cut var(--tao-hero-cycle) steps(1, end) infinite;
  animation-fill-mode: both;
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(1) {
  animation-delay: calc(0 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(2) {
  animation-delay: calc(1 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(3) {
  animation-delay: calc(2 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(4) {
  animation-delay: calc(3 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(5) {
  animation-delay: calc(4 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: scale(1);
  animation: tao-home-hero-kenburns var(--tao-hero-cycle) ease-in-out infinite;
  animation-fill-mode: both;
  will-change: transform;
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(1) .elementor-background-slideshow__slide__image {
  animation-delay: calc(0 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(2) .elementor-background-slideshow__slide__image {
  animation-delay: calc(1 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(3) .elementor-background-slideshow__slide__image {
  animation-delay: calc(2 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(4) .elementor-background-slideshow__slide__image {
  animation-delay: calc(3 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:nth-child(5) .elementor-background-slideshow__slide__image {
  animation-delay: calc(4 * var(--tao-hero-slide-duration));
}

.page-content .elementor-19 .elementor-element-2610596 .tao-home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: min(760px, calc(100vw - 2rem));
  margin-inline: auto;
  text-align: center;
}

.page-content .elementor-19 .elementor-element-2610596 .tao-home-hero-slogan {
  margin: 0 !important;
  font-family: var(--font-heading), "Ovo", Georgia, serif !important;
  color: #fff !important;
  font-size: clamp(1.85rem, 4.1vw, 3.15rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-wrap: balance;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.68),
    0 14px 46px rgba(0, 0, 0, 0.55) !important;
}

.page-content .elementor-19 .elementor-element-2610596 h1.tao-home-hero-seo {
  margin: 0 !important;
  font-family: var(--font-body), "Bricolage Grotesque", system-ui, sans-serif !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(0.82rem, 1.35vw, 1rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55) !important;
}

.page-content .elementor-19 .elementor-element-c4d68d2 > .e-con-inner {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 0.35rem !important;
}

.page-content .elementor-19 .elementor-element-2610596 > .e-con-inner {
  max-width: min(1120px, calc(100vw - 2rem)) !important;
}

.page-content .elementor-19 .elementor-element-2610596 > .elementor-background-overlay {
  background:
    radial-gradient(circle at 50% 54%, rgba(5, 14, 13, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(5, 12, 10, 0.12) 0%, rgba(5, 12, 10, 0.46) 48%, rgba(5, 12, 10, 0.86) 100%) !important;
  opacity: 1 !important;
}

/* Accueil: supprimer les blancs entre hero/bandeau et carte/footer. */
#contenu:has(.page-content .elementor-19) {
  padding-bottom: 0 !important;
}

.page-content .elementor-19 .elementor-element-cde7e9e {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.page-content .elementor-19 .elementor-element-cabca67,
.page-content .elementor-19 .elementor-element-cabca67 > .e-con-inner,
.page-content .elementor-19 .elementor-element-201653a,
.page-content .elementor-19 .elementor-element-201653a > .e-con-inner {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Accueil mobile : bandeau confiance pleine largeur + défilement */
@media (max-width: 767px) {
  .page-content .elementor-19 .elementor-element-cde7e9e,
  .page-content .elementor-19 .elementor-element-cde7e9e > .e-con-inner,
  .page-content .elementor-19 .elementor-element-cabca67,
  .page-content .elementor-19 .elementor-element-cabca67 > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-content .elementor-19 .tao-home-trust-band {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .page-content .elementor-19 .tao-home-trust-band > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .page-content .elementor-19 .tao-home-trust-band__viewport {
    padding: 0.9rem 0;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 6%,
      #000 94%,
      transparent
    );
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .page-content .elementor-19 .tao-home-trust-band__track {
    display: flex;
    width: max-content;
    justify-content: flex-start;
    animation: tao-home-trust-marquee 24s linear infinite;
    will-change: transform;
  }

  .page-content .elementor-19 .tao-home-trust-band__group {
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding-inline: 1.5rem;
  }

  .page-content .elementor-19 .tao-home-trust-band__group--clone {
    display: inline-flex;
  }

  .page-content .elementor-19 .tao-home-trust-band__item {
    white-space: nowrap;
  }

  .page-content .elementor-19 .tao-home-trust-band__text {
    font-size: max(0.72rem, 11px);
    letter-spacing: 0.06em;
  }

  .page-content .elementor-19 .tao-home-trust-band__sep {
    display: inline;
    opacity: 0.35;
    color: var(--e-global-color-vamtam_accent_1, #417572);
    font-weight: 400;
  }

  @keyframes tao-home-trust-marquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .page-content .elementor-19 .tao-home-trust-band__viewport {
      -webkit-mask-image: none;
      mask-image: none;
    }

    .page-content .elementor-19 .tao-home-trust-band__track {
      animation: none;
      width: 100%;
      justify-content: center;
    }

    .page-content .elementor-19 .tao-home-trust-band__group {
      flex-wrap: wrap;
      justify-content: center;
      padding-inline: 1rem;
    }

    .page-content .elementor-19 .tao-home-trust-band__group--clone {
      display: none;
    }
  }

  /* Section guide : titres au-dessus de la photo */
  .page-content .elementor-19 #guide > .e-con-inner,
  .page-content .elementor-19 .elementor-element-207c0b2 > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .page-content .elementor-19 #guide .elementor-element-3222611,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-3222611 {
    display: contents !important;
  }

  .page-content .elementor-19 #guide .elementor-element-3222611 > .e-con-inner,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-3222611 > .e-con-inner {
    display: contents !important;
  }

  .page-content .elementor-19 #guide .elementor-element-e8b1ecd,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-e8b1ecd {
    order: 1;
    width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-2e51a9b,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-2e51a9b {
    order: 2;
    width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-e19223d,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-e19223d {
    order: 3;
    width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-99edfa7,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-99edfa7 {
    order: 4;
    width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-d1bec23,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-d1bec23 {
    order: 5;
    width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 {
    order: 6;
    width: 100%;
    max-width: 100%;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203 > .e-con-inner,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.65rem;
    padding: 0 !important;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-element-09b5c7b,
  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-element-de50bb5,
  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-element-71064c4,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-element-09b5c7b,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-element-de50bb5,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-element-71064c4 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-widget,
  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-widget-container,
  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-button-wrapper,
  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-button,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-widget,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-widget-container,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-button-wrapper,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-button,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-button {
    display: inline-flex !important;
    justify-content: center;
    text-align: center;
  }

  .page-content .elementor-19 #guide .elementor-element-171b203 .elementor-button-content-wrapper,
  .page-content .elementor-19 .elementor-element-207c0b2 .elementor-element-171b203 .elementor-button-content-wrapper {
    justify-content: center;
    width: 100%;
  }
}

.page-content .elementor-19 .elementor-element-226aa78 {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
  --margin-bottom: 0px !important;
  --margin-block-end: 0px !important;
}

.page-content .elementor-19 .elementor-element-226aa78 .elementor-custom-embed,
.page-content .elementor-19 .elementor-element-226aa78 iframe {
  display: block;
}

@keyframes tao-home-hero-cut {
  0%,
  19.99% {
    opacity: 1;
    z-index: 2;
  }

  20%,
  100% {
    opacity: 0;
    z-index: 0;
  }
}

@keyframes tao-home-hero-kenburns {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1.06);
  }
}

/* Cartes agenda accueil : enchaînement direct (2 images × 5 s). */
.page-content .elementor-19 .elementor-element-7641a74 .elementor-background-slideshow__slide,
.page-content .elementor-19 .elementor-element-4a6c80f .elementor-background-slideshow__slide,
.page-content .elementor-19 .elementor-element-a7919b6 .elementor-background-slideshow__slide {
  opacity: 0;
  animation: tao-card-slideshow-cut 10s steps(1, end) infinite;
  animation-fill-mode: both;
}

.page-content .elementor-19 .elementor-element-7641a74 .elementor-background-slideshow__slide:nth-child(1),
.page-content .elementor-19 .elementor-element-4a6c80f .elementor-background-slideshow__slide:nth-child(1),
.page-content .elementor-19 .elementor-element-a7919b6 .elementor-background-slideshow__slide:nth-child(1) {
  animation-delay: 0s;
}

.page-content .elementor-19 .elementor-element-7641a74 .elementor-background-slideshow__slide:nth-child(2),
.page-content .elementor-19 .elementor-element-4a6c80f .elementor-background-slideshow__slide:nth-child(2),
.page-content .elementor-19 .elementor-element-a7919b6 .elementor-background-slideshow__slide:nth-child(2) {
  animation-delay: 5s;
}

@keyframes tao-card-slideshow-cut {
  0%,
  49.99% {
    opacity: 1;
    z-index: 2;
  }

  50%,
  100% {
    opacity: 0;
    z-index: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide,
  .page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide__image,
  .page-content .elementor-19 .elementor-element-7641a74 .elementor-background-slideshow__slide,
  .page-content .elementor-19 .elementor-element-4a6c80f .elementor-background-slideshow__slide,
  .page-content .elementor-19 .elementor-element-a7919b6 .elementor-background-slideshow__slide {
    animation: none !important;
    transform: none !important;
    opacity: 0 !important;
  }

  .page-content .elementor-19 .elementor-element-2610596 .elementor-background-slideshow__slide:first-child,
  .page-content .elementor-19 .elementor-element-7641a74 .elementor-background-slideshow__slide:first-child,
  .page-content .elementor-19 .elementor-element-4a6c80f .elementor-background-slideshow__slide:first-child,
  .page-content .elementor-19 .elementor-element-a7919b6 .elementor-background-slideshow__slide:first-child {
    opacity: 1 !important;
  }
}

/* Header: tablet widths use the mobile menu to avoid squeezed desktop nav. */
@media (max-width: 1024px) {
  .elementor-header .elementor-element-5408edd {
    display: none !important;
  }

  .elementor-header .elementor-hidden-desktop {
    display: flex !important;
  }

  .elementor-header .elementor-element-bcdd262 > .e-con-inner {
    gap: 0 !important;
    --row-gap: 0px !important;
    --column-gap: 0px !important;
    padding: 0 !important;
  }

  /* Barre mobile : burger (gauche) · logo (centre écran) · icônes (droite) */
  .elementor-header .elementor-element-ae335e5 {
    width: 100% !important;
    --width: 100% !important;
    --display: block !important;
    --flex-wrap-mobile: nowrap !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    --min-height: 64px !important;
    display: block !important;
    position: relative !important;
    overflow: visible !important;
    min-height: 64px !important;
    background: #fff !important;
  }

  .elementor-header .elementor-element-ae335e5:not(.elementor-motion-effects-element-type-background),
  .elementor-header .elementor-element-ae335e5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #fff !important;
  }

  .elementor-header .elementor-element-ae335e5 > .e-con-inner.tao-mobile-header-bar,
  .elementor-header .tao-mobile-header-bar {
    display: grid !important;
    --display: grid !important;
    grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
    grid-template-areas: "menu logo actions";
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 64px;
    height: 64px;
    margin: 0 !important;
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)) !important;
    padding-block: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
    background: #fff !important;
  }

  .elementor-header .tao-mobile-header-bar__slot {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    min-width: 0;
    min-height: 0;
    position: relative !important;
  }

  .elementor-header .tao-mobile-header-bar__slot--menu {
    grid-area: menu;
    justify-content: flex-start;
    z-index: 3;
    overflow: visible !important;
  }

  .elementor-header .tao-mobile-header-bar__slot--logo {
    grid-area: logo;
    justify-content: center;
    z-index: 2;
    max-width: 100%;
    padding-inline: 0.5rem;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions {
    grid-area: actions;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 3;
  }

  .elementor-header .tao-mobile-header-bar__slot .elementor-element,
  .elementor-header .tao-mobile-header-bar__slot .elementor-widget,
  .elementor-header .tao-mobile-header-bar__slot .e-con,
  .elementor-header .tao-mobile-header-bar__slot .elementor-widget-container,
  .elementor-header .tao-mobile-header-bar__slot .elementor-button-wrapper,
  .elementor-header .tao-mobile-header-bar__slot .elementor-button {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    --width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .elementor-header .tao-mobile-header-bar__slot--menu .elementor-widget-nav-menu,
  .elementor-header .tao-mobile-header-bar__slot--menu .elementor-widget-container,
  .elementor-header .tao-mobile-header-bar__slot--menu .elementor-widget-nav-menu {
    display: flex !important;
    align-items: center !important;
    height: 100%;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions .elementor-widget-button {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto;
  }

  .elementor-header .tao-mobile-header-bar__slot--logo img,
  .elementor-header .tao-mobile-header-bar__slot--logo .tao-site-logo-img {
    display: block;
    width: auto !important;
    height: clamp(34px, 9vw, 42px) !important;
    max-height: clamp(34px, 9vw, 42px) !important;
    max-width: min(168px, 54vw) !important;
    margin: 0 auto;
    object-fit: contain;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions .elementor-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    background: rgba(26, 31, 30, 0.07) !important;
    color: #1a1f1e !important;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions .elementor-element-bb9f07a .elementor-button {
    background: rgba(26, 31, 30, 0.07) !important;
    color: #1a1f1e !important;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions .elementor-button-icon {
    font-size: 1rem;
    line-height: 1;
  }

  .elementor-header .tao-mobile-header-bar__slot--actions .elementor-element-tao-mob-mail .elementor-button {
    background: #2f3836 !important;
    color: #fff !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-button-text {
    display: none !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-button-content-wrapper {
    gap: 0;
  }

  .elementor-header .tao-mobile-header-bar .elementor-widget-nav-menu {
    position: static;
    overflow: visible !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a1f1e !important;
    padding: 0 !important;
    cursor: pointer;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--open,
  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    pointer-events: none;
  }

  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--open::before {
    content: "";
    display: block;
    width: 1.25rem;
    height: 0.9rem;
    background:
      linear-gradient(#1a1f1e, #1a1f1e) 0 0 / 100% 2px no-repeat,
      linear-gradient(#1a1f1e, #1a1f1e) 0 50% / 100% 2px no-repeat,
      linear-gradient(#1a1f1e, #1a1f1e) 0 100% / 100% 2px no-repeat;
  }

  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--open i,
  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--close i {
    display: none !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-menu-toggle__icon--close {
    display: none !important;
    position: relative;
  }

  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--open {
    display: none !important;
  }

  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--close {
    display: inline-flex !important;
  }

  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--close::before,
  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.25rem;
    height: 2px;
    background: #1a1f1e;
    border-radius: 1px;
  }

  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .elementor-header
    .tao-mobile-header-bar
    .elementor-widget-nav-menu.tao-nav-open
    .elementor-menu-toggle__icon--close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--main {
    display: none !important;
  }

  .elementor-header .elementor-widget-nav-menu .elementor-nav-menu--main {
    display: none !important;
  }

  .elementor-header .elementor-widget-nav-menu .elementor-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  /* Panneau pleine largeur : le slot burger (~72px) ne doit pas contraindre le dropdown */
  .elementor-header .tao-mobile-header-bar .elementor-widget-nav-menu .elementor-nav-menu--dropdown,
  .elementor-header .tao-mobile-header-bar nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed !important;
    top: calc(64px + 0.5rem + env(safe-area-inset-top, 0px)) !important;
    left: max(16px, env(safe-area-inset-left, 0px)) !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    z-index: 1000;
    display: none !important;
    width: auto !important;
    min-width: min(360px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    max-height: calc(100svh - 5.5rem - env(safe-area-inset-top, 0px));
    overflow-x: hidden !important;
    overflow-y: auto !important;
    clip: auto !important;
    padding: 0.75rem !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 18px 50px rgba(26, 31, 30, 0.18);
    box-sizing: border-box;
  }

  .elementor-header .tao-mobile-header-bar .elementor-widget-nav-menu.tao-nav-open .elementor-nav-menu--dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--dropdown .elementor-nav-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--dropdown li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--dropdown .elementor-item {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.85rem 1rem !important;
    border-radius: 12px;
    color: #1a1f1e !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--dropdown .elementor-item:hover,
  .elementor-header .tao-mobile-header-bar .elementor-nav-menu--dropdown .elementor-item:focus-visible {
    background: rgba(26, 31, 30, 0.06) !important;
    color: #1a1f1e !important;
  }
}

@media (min-width: 1025px) {
  .elementor-header .elementor-element-5408edd > .e-con-inner {
    flex-wrap: nowrap !important;
  }
}

/* Full-bleed sections without Windows 100vw horizontal scroll. */
.page-content.tao-page-service-hub .tao-hub-hero-v2 {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Service detail: keep content first on tablet/mobile; sticky bottom handles quick contact. */
@media (max-width: 1023px) {
  .page-content.tao-page-service-detail .tao-detail-layout__aside {
    order: 0 !important;
  }

  .page-content.tao-page-service-detail .tao-detail-aside__card {
    margin-top: 0.5rem;
  }

  .page-content.tao-page-service-detail .tao-detail-breadcrumb__list li[aria-current="page"] {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .page-content.tao-page-service-detail .tao-detail-aside__card {
    padding: 1.15rem;
  }

  .page-content.tao-page-service-detail .tao-detail-sticky {
    grid-template-columns: 1fr;
  }

  .page-content.tao-page-service-detail .tao-detail-sticky__tel,
  .page-content.tao-page-service-detail .tao-detail-sticky__cta {
    min-height: 44px;
  }
}

/* Tarifs: avoid crushed labels/prices on very narrow phones. */
@media (max-width: 380px) {
  .page-content.tao-page-service-detail [data-id="4009c99"] .e-con.e-con--row > .e-con-inner {
    grid-template-columns: 1fr !important;
    row-gap: 0.15rem !important;
  }

  .page-content.tao-page-service-detail [data-id="4009c99"] .e-con.e-con--row > .e-con-inner > .elementor-widget:first-child,
  .page-content.tao-page-service-detail [data-id="4009c99"] .e-con.e-con--row > .e-con-inner > .elementor-widget:last-child {
    grid-column: 1 !important;
    justify-self: start !important;
    text-align: left !important;
    white-space: normal !important;
  }
}

/* Hub hero and CTA buttons on phones. */
@media (max-width: 767px) {
  .page-content.tao-page-service-hub .tao-hub-hero-v2 {
    min-height: min(720px, 92svh);
  }

  .page-content.tao-page-service-hub .tao-hub-hero-v2__copy {
    max-width: 100%;
  }

  .page-content.tao-page-service-hub .tao-hub-hero-v2__cta,
  .page-content.tao-page-service-hub .tao-google-reviews-badge--compact {
    width: 100%;
    justify-content: center;
  }

  .page-content.tao-page-service-hub .elementor-element-5040a83 > .e-con-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem !important;
  }

  .page-content.tao-page-service-hub .elementor-element-dc13f48,
  .page-content.tao-page-service-hub .elementor-element-cf3fe05 {
    align-items: center !important;
    width: 100% !important;
  }

  .page-content.tao-page-service-hub .elementor-element-dc13f48 .elementor-button,
  .page-content.tao-page-service-hub .elementor-element-cf3fe05 .elementor-button {
    width: min(100%, 320px);
    justify-content: center;
  }
}

/* Blog/contact cards: preserve readable columns on tablet, single column on phone. */
@media (max-width: 900px) {
  .tao-blog-card--featured .tao-blog-card__media,
  .tao-blog-post__hero-media {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .tao-contact-page {
    padding-top: clamp(4.25rem, 16vw, 5.5rem);
  }

  .tao-contact-page__form-inner,
  .tao-contact-card,
  .tao-blog-card__link,
  .tao-blog-post__cta-inner {
    border-radius: 18px;
  }

  .tao-contact-card__schedule li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .tao-contact-card__schedule strong {
    white-space: normal;
  }

  .tao-blog-post__body {
    font-size: 1rem;
    line-height: 1.72;
  }

  .tao-blog-post__body > header,
  .tao-blog-post__body .blog-article__intro {
    border-left: 0;
    border-top: 3px solid rgba(65, 117, 114, 0.45);
    border-radius: 16px;
  }

  .tao-footer {
    border-radius: 20px 20px 0 0;
  }

  .tao-footer__actions,
  .tao-footer__social-links {
    width: 100%;
  }

  .tao-footer__btn,
  .tao-footer__social-link {
    width: 100%;
  }
}

@media (hover: none) {
  .tao-blog-card__link:hover,
  .tao-blog-related__link:hover,
  .page-content .tao-loop-card:hover,
  .tao-footer__btn:hover,
  .tao-footer__social-link:hover {
    transform: none;
  }
}
