/* Happy Tails — design 4 "Hometown". Toutes les regles sont sous .ht4.
   Mise en page mobile (< 900 px) = maquette 390 px ; desktop (>= 900 px) = maquette 1440 px.
   Organisation : regles communes, puis bloc "M" (max-width: 899.98px) et bloc "D"
   (min-width: 900px) par composant. Noms d'animations prefixes ht4- (globaux). */

/* ===== Polices (familles renommees pour ne pas entrer en conflit avec d'autres designs) ===== */
@font-face {
  font-family: "HT4 Fraunces";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("/happytails/fonts/design4/font-b58654dd4f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HT4 Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/happytails/fonts/design4/font-48642176d9.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HT4 Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/happytails/fonts/design4/font-fd76a14fbb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Base ===== */
.ht4,
.ht4 *,
.ht4 *::before,
.ht4 *::after {
  box-sizing: border-box;
}
.ht4 {
  --sand: #f6efe4;
  --cream: #fcf6ec;
  --line: #e6dccb;
  --gold: #e3a33a;
  --serif: "HT4 Fraunces", Georgia, "Times New Roman", serif;
  --sans: "HT4 Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  display: block;
  background: #ffffff;
  color: #24302f;
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ht4 :where(a),
.ht4 :where(a:hover) {
  color: inherit;
}
.ht4 :is(h1, h2, h3) {
  text-wrap: balance;
}
.ht4 p {
  text-wrap: pretty;
}
.ht4 .e-serif {
  font-family: var(--serif);
}
.ht4 .e-gold {
  color: var(--gold, #e3a33a);
}
.ht4 .e-label {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cta, #b9502a);
}

/* Couleurs de theme dans les SVG */
.ht4 .e-f-ink { fill: var(--ink, #12474f); }
.ht4 .e-f-cta { fill: var(--cta, #b9502a); }
.ht4 .e-f-ctad { fill: var(--cta-dark, #9a3f1e); }
.ht4 .e-f-tint { fill: var(--tint, #dceae6); }
.ht4 .e-s-ink { stroke: var(--ink, #12474f); }
.ht4 .e-s-cta { stroke: var(--cta, #b9502a); }
.ht4 .e-nostroke { stroke: none; }
.ht4 .e-rosette-serif { font-family: var(--serif); fill: var(--ink, #12474f); }
.ht4 .e-rosette-sans { font-family: var(--sans); fill: var(--ink, #12474f); }

/* Variantes de blocs desktop / mobile */
@media (max-width: 899.98px) {
  .ht4 .e-d-only { display: none !important; }
}
@media (min-width: 900px) {
  .ht4 .e-m-only { display: none !important; }
}

/* ===== Animations ===== */
@keyframes ht4-up { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes ht4-up-m { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes ht4-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ht4-rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 0.95; } 100% { transform: translateY(-280px) scale(1.15); opacity: 0; } }
@keyframes ht4-rise-m { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 0.95; } 100% { transform: translateY(-260px) scale(1.15); opacity: 0; } }
@keyframes ht4-swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes ht4-bob { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes ht4-spin { to { transform: rotate(360deg); } }
@keyframes ht4-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes ht4-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes ht4-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ht4-bounce-m { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes ht4-radar { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ht4-nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(6px); } 90% { transform: translateX(0); } }
@keyframes ht4-bar-in { from { transform: translateY(140%); } to { transform: none; } }
@keyframes ht4-msg-a { from { opacity: 0; translate: 0 10px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ht4-msg-b { from { opacity: 0; translate: 0 10px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }

.ht4 .e-stars-fill { animation: ht4-fill 1.4s 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.ht4 .e-bub { transform-box: fill-box; transform-origin: center; }
.ht4 .e-rosette { transform-origin: 50% 8%; animation: ht4-swing 5s ease-in-out infinite; }
.ht4 .e-dog { transform-box: view-box; transform-origin: 200px 420px; animation: ht4-bob 4.5s ease-in-out infinite; }
.ht4 .e-rays { transform-box: view-box; transform-origin: 300px 112px; animation: ht4-spin 40s linear infinite; }
.ht4 .e-pin { transform-box: fill-box; transform-origin: bottom center; }
.ht4 .e-radar { transform-box: fill-box; transform-origin: center; animation: ht4-radar 2.6s ease-out infinite; }
.ht4 .e-nudge { animation: ht4-nudge 2.6s ease-in-out infinite; }
.ht4 .e-msg-a { animation: ht4-msg-a 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.ht4 .e-msg-b { animation: ht4-msg-b 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }

@media (max-width: 899.98px) {
  .ht4 .e-in { animation: ht4-up-m 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .ht4 .e-bub { animation: ht4-rise-m 7s ease-in infinite; }
  .ht4 .e-pin { animation: ht4-bounce-m 1.8s ease-in-out infinite; }
}
@media (min-width: 900px) {
  .ht4 .e-in { animation: ht4-up 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .ht4 .e-bub { animation: ht4-rise 7s ease-in infinite; }
  .ht4 .e-pin { animation: ht4-bounce 1.8s ease-in-out infinite; }
  .ht4 .e-btn:hover .e-ringing { animation: ht4-ring 0.7s ease; }
}
.ht4 .e-in.e-d1 { animation-delay: 0.05s; }
.ht4 .e-in.e-d2 { animation-delay: 0.15s; }
.ht4 .e-in.e-d3 { animation-delay: 0.25s; }
.ht4 .e-in.e-d4 { animation-delay: 0.35s; }
.ht4 .e-in.e-d5 { animation-delay: 0.45s; }
.ht4 .e-bub.e-bd1 { animation-delay: -1s; }
.ht4 .e-bub.e-bd2 { animation-delay: -3.5s; }
.ht4 .e-bub.e-bd3 { animation-delay: -5.5s; }
.ht4 .e-bub.e-bd4 { animation-delay: -2.2s; }
.ht4 .e-bub.e-bd5 { animation-delay: -4.6s; }
.ht4 .e-bub.e-bd6 { animation-delay: -6.2s; }
.ht4 .e-radar.e-radar-2 { animation-delay: 1.3s; }

/* Apparition au defilement (navigateurs compatibles) */
@supports (animation-timeline: view()) {
  @media (max-width: 899.98px) {
    .ht4 .e-reveal,
    .ht4 .e-reveal-m {
      animation: ht4-up-m linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
  @media (min-width: 900px) {
    .ht4 .e-reveal,
    .ht4 .e-reveal-d {
      animation: ht4-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .ht4 .e-fill-view {
      animation: ht4-fill linear both;
      animation-timeline: view();
      animation-range: entry 20% entry 70%;
    }
  }
}

/* ===== Composants communs ===== */
.ht4 .e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.ht4 .e-btn--cta { background: var(--cta, #b9502a); color: #ffffff; }
.ht4 .e-btn--ink { background: transparent; color: var(--ink, #12474f); border-color: var(--ink, #12474f); }
.ht4 .e-btn--light { background: transparent; color: #fcf6ec; border-color: rgba(252, 246, 236, 0.75); }
.ht4 .e-btn--block { width: 100%; }

.ht4 .e-dot { position: relative; border-radius: 50%; background: #e8735f; flex: none; }
.ht4 .e-dot.is-open { background: #4cc27a; }
.ht4 .e-dot.is-appt { background: currentColor; opacity: .55; } /* sur rendez-vous : pastille neutre */
.ht4 .e-dot.is-unknown { visibility: hidden; }
.ht4 .e-dot.is-open::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ht4-ping 1.9s ease-out infinite;
}

.ht4 :is(.e-btn, .e-nav a, .e-tlink, .e-chip, .e-arrow, .e-dotbtn, .e-x, .e-flip-btn, .e-svc-btn, .e-menubtn, .e-mtile, .e-barbtn):focus-visible {
  outline: 3px solid var(--cta, #b9502a);
  outline-offset: 3px;
}

@media (max-width: 899.98px) {
  .ht4 { font-size: 17px; line-height: 1.55; }
  .ht4 .e-label { font-size: 12px; }
  .ht4 .e-btn {
    min-height: 56px;
    padding: 0 22px;
    font: 700 17px/1 var(--sans);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .ht4 .e-btn:active { transform: scale(0.97); }
  .ht4 .e-btn--cta:active { background: var(--cta-dark, #9a3f1e); }
  .ht4 .e-btn--ink:active { background: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-btn--light:active { background: #fcf6ec; color: var(--ink, #12474f); }
  .ht4 .e-dot { width: 8px; height: 8px; }
}
@media (min-width: 900px) {
  .ht4 { font-size: 18px; line-height: 1.6; }
  .ht4 .e-label { font-size: 13px; }
  .ht4 .e-btn {
    min-height: 54px;
    padding: 0 26px;
    font: 700 16px/1 var(--sans);
    letter-spacing: 0.01em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }
  .ht4 .e-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(14, 40, 40, 0.55); }
  .ht4 .e-btn:active { transform: translateY(0) scale(0.98); }
  .ht4 .e-btn--cta:hover { background: var(--cta-dark, #9a3f1e); }
  .ht4 .e-btn--ink:hover { background: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-btn--light:hover { background: #fcf6ec; color: var(--ink, #12474f); }
  .ht4 .e-btn--lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
  .ht4 .e-dot { width: 9px; height: 9px; }

  /* grille "bento" 12 colonnes */
  .ht4 .e-hero-grid,
  .ht4 .e-svcs,
  .ht4 .e-work-grid,
  .ht4 .e-rev-wrap,
  .ht4 .e-visit-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }
  .ht4 .e-wrap { max-width: 1200px; margin: 0 auto; }
}

/* ===== Bandeau du haut ===== */
.ht4 .e-topbar { background: var(--ink-deep, #0b3238); color: #fcf6ec; }
.ht4 .e-topbar-in { display: flex; align-items: center; justify-content: space-between; }
.ht4 .e-tb-status { display: inline-flex; align-items: center; }
@media (max-width: 899.98px) {
  .ht4 .e-topbar { font-size: 14px; }
  .ht4 .e-topbar-in { padding: 7px 16px; gap: 10px; }
  .ht4 .e-tb-status { gap: 8px; }
  .ht4 .e-tb-place { opacity: 0.9; }
}
@media (min-width: 900px) {
  .ht4 .e-topbar { font-size: 15px; }
  .ht4 .e-topbar-in { max-width: 1200px; margin: 0 auto; padding: 8px 24px; flex-wrap: wrap; gap: 6px 24px; }
  .ht4 .e-tb-status { gap: 10px; }
  .ht4 .e-tb-mid { display: inline-flex; align-items: center; gap: 10px; opacity: 0.9; }
  .ht4 .e-tb-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; min-height: 32px; }
}

/* ===== En-tete ===== */
.ht4 .e-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line, #e6dccb);
}
.ht4 .e-header-in { display: flex; align-items: center; }
.ht4 .e-brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.ht4 .e-logo-img { object-fit: contain; }
.ht4 .e-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.ht4 .e-brand-name { font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-brand-sub { font-weight: 700; text-transform: uppercase; color: var(--cta, #b9502a); }

/* Menu mobile */
.ht4 .e-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--tint, #dceae6);
  color: var(--ink, #12474f);
  font: 700 15px/1 var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ht4 .e-menubtn.is-open { background: var(--ink, #12474f); color: #ffffff; }
.ht4 .e-bars { display: flex; flex-direction: column; gap: 4px; }
.ht4 .e-bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.ht4 .e-menubtn.is-open .e-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ht4 .e-menubtn.is-open .e-bars span:nth-child(2) { opacity: 0; }
.ht4 .e-menubtn.is-open .e-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.ht4 .e-drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ht4 .e-drop.is-open { grid-template-rows: 1fr; }
.ht4 .e-drop > div { overflow: hidden; min-height: 0; }
.ht4 .e-drop-in { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ht4 .e-mtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ht4 .e-mtile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 96px;
  padding: 16px;
  border-radius: 20px;
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink, #12474f);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
  opacity: 0;
  translate: 0 10px;
}
.ht4 .e-drop.is-open .e-mtile {
  opacity: 1;
  translate: 0 0;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.35s ease, translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ht4 .e-drop.is-open .e-mtile:nth-child(2) { transition-delay: 0s, 0s, 0.05s, 0.05s; }
.ht4 .e-drop.is-open .e-mtile:nth-child(3) { transition-delay: 0s, 0s, 0.1s, 0.1s; }
.ht4 .e-drop.is-open .e-mtile:nth-child(4) { transition-delay: 0s, 0s, 0.15s, 0.15s; }
.ht4 .e-mtile:active { transform: scale(0.97); background: var(--tint, #dceae6); }

@media (max-width: 899.98px) {
  .ht4 .e-header { z-index: 30; background: rgba(252, 246, 236, 0.94); }
  .ht4 .e-header-in { padding: 10px 14px 10px 16px; gap: 10px; }
  .ht4 .e-brand { gap: 10px; }
  .ht4 .e-logo-mark, .ht4 .e-logo-img { width: 38px; height: 45px; }
  .ht4 .e-brand-name { font-size: 22px; }
  .ht4 .e-brand-sub { font-size: 10px; letter-spacing: 0.26em; margin-top: 4px; }
}
@media (min-width: 900px) {
  .ht4 .e-header { z-index: 40; background: rgba(252, 246, 236, 0.92); }
  .ht4 .e-header-in { max-width: 1200px; margin: 0 auto; padding: 12px 24px; gap: 24px; }
  .ht4 .e-brand { gap: 14px; }
  .ht4 .e-logo-mark, .ht4 .e-logo-img { width: 46px; height: 54px; }
  .ht4 .e-brand-name { font-size: 27px; }
  .ht4 .e-brand-sub { font-size: 11px; letter-spacing: 0.28em; margin-top: 5px; }
  .ht4 .e-nav { display: flex; align-items: center; gap: 4px; font-size: 16px; color: var(--ink, #12474f); }
  .ht4 .e-nav a { text-decoration: none; font-weight: 600; padding: 10px 16px; border-radius: 999px; transition: background-color 0.25s ease; }
  .ht4 .e-nav a:hover { background: var(--tint, #dceae6); }
  .ht4 .e-hd-actions { display: flex; align-items: center; gap: 10px; }
  .ht4 .e-hd-text { min-height: 48px; padding: 0 20px; }
  .ht4 .e-hd-call { min-height: 48px; padding: 0 22px; }
}

/* ===== Sections ===== */
.ht4 .e-sec--services, .ht4 .e-sec--reviews, .ht4 .e-sec--cta { background: #ffffff; }
.ht4 .e-sec--work, .ht4 .e-sec--visit { background: var(--sand, #f6efe4); }
.ht4 .e-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ht4 .e-h2 { margin: 0; font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-divider { display: flex; align-items: center; color: var(--gold, #e3a33a); }
.ht4 .e-divider > span { height: 2px; background: currentColor; border-radius: 2px; }
.ht4 .e-head-p { margin: 0; color: #56625f; }
@media (max-width: 899.98px) {
  .ht4 .e-sec { scroll-margin-top: 70px; }
  /* au-dela de la largeur d'un telephone : colonne centree de 640 px */
  .ht4 .e-wrap, .ht4 .e-hero-grid, .ht4 .e-topbar-in, .ht4 .e-header-in, .ht4 .e-drop-in, .ht4 .e-foot-in { max-width: 640px; margin: 0 auto; }
  .ht4 .e-head { gap: 8px; }
  .ht4 .e-h2 { font-size: 34px; line-height: 1.1; }
  .ht4 .e-divider { gap: 10px; font-size: 14px; }
  .ht4 .e-divider > span { width: 40px; }
  .ht4 .e-head-p { font-size: 16px; }
}
@media (min-width: 900px) {
  .ht4 .e-sec { scroll-margin-top: 90px; }
  .ht4 .e-head { gap: 12px; }
  .ht4 .e-h2 { font-size: clamp(38px, 4vw, 54px); line-height: 1.08; }
  .ht4 .e-divider { gap: 12px; font-size: 16px; }
  .ht4 .e-divider > span { width: 56px; }
  .ht4 .e-head-p { max-width: 46ch; }
}

/* ===== Hero ===== */
.ht4 .e-hero { background: var(--sand, #f6efe4); }
.ht4 .e-hero-card { background: #ffffff; display: flex; flex-direction: column; }
.ht4 .e-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--tint, #dceae6);
  color: var(--ink, #12474f);
  font-weight: 700;
}
.ht4 .e-h1 { margin: 0; font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-h1 em { font-style: italic; font-weight: 600; color: var(--cta, #b9502a); }
.ht4 .e-hero-sub { margin: 0; color: #56625f; }
.ht4 .e-hero-btns { display: flex; }
.ht4 .e-hero-rating { display: flex; align-items: center; }
.ht4 .e-stars { position: relative; display: inline-flex; }
.ht4 .e-stars-bg { display: flex; gap: 2px; color: #e7dfd2; }
.ht4 .e-stars-fill { position: absolute; inset: 0; display: flex; gap: 2px; color: var(--gold, #e3a33a); }
.ht4 .e-hero-rating-txt { color: #56625f; }
.ht4 .e-hero-rating-txt strong { color: var(--ink, #12474f); }
.ht4 .e-art {
  position: relative;
  background: var(--tint, #dceae6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.ht4 .e-arch-frame { position: relative; border: 2px solid var(--ink, #12474f); border-bottom: 0; border-radius: 999px 999px 0 0; }
.ht4 .e-arch-in { position: relative; width: 100%; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; background: #fcf6ec; }
.ht4 .e-hero-svg, .ht4 .e-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht4 .e-hero-photo { object-fit: cover; }
.ht4 .e-rosette { position: absolute; height: auto; }

/* Tuiles */
.ht4 .e-tile { display: flex; }
.ht4 .e-tile--status { position: relative; flex-direction: column; background: var(--ink, #12474f); color: #fcf6ec; }
.ht4 .e-tile-label { display: inline-flex; align-items: center; font-weight: 700; text-transform: uppercase; opacity: 0.85; }
.ht4 .e-tile-title { font-weight: 700; }
.ht4 .e-tile-sub { opacity: 0.9; }
.ht4 .e-tile--rating, .ht4 .e-tile--trust { background: #ffffff; }
.ht4 .e-tile-num { font-weight: 700; line-height: 1; color: var(--ink, #12474f); }
.ht4 .e-tile-stars { display: flex; color: var(--gold, #e3a33a); }
.ht4 .e-tile-strong { color: var(--ink, #12474f); }
.ht4 .e-tile-small { color: #56625f; }
.ht4 .e-tile--trust { align-items: center; }
.ht4 .e-tile-arch { background: var(--tint, #dceae6); color: var(--ink, #12474f); display: grid; place-items: center; flex: none; }
.ht4 .e-tile-trust { display: flex; flex-direction: column; }
.ht4 .e-tile-trust-title { font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-tile-trust-sub { color: #56625f; }

@media (max-width: 899.98px) {
  .ht4 .e-hero-grid { padding: 14px 14px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ht4 .e-hero-card, .ht4 .e-art, .ht4 .e-tile--trust { grid-column: 1 / -1; }
  .ht4 .e-hero-card { border-radius: 24px; padding: 26px 22px 24px; gap: 16px; }
  .ht4 .e-kicker { gap: 7px; min-height: 32px; padding: 0 13px; font-size: 13px; }
  .ht4 .e-h1 { font-size: 40px; line-height: 1.06; }
  .ht4 .e-hero-sub { font-size: 18px; }
  .ht4 .e-hero-btns { flex-direction: column; gap: 10px; }
  .ht4 .e-hero-btns .e-btn { width: 100%; min-height: 58px; font-size: 18px; }
  .ht4 .e-hero-rating { justify-content: center; gap: 10px; }
  .ht4 .e-hero-rating .e-stars svg { width: 19px; height: 19px; }
  .ht4 .e-hero-rating-txt { font-size: 15px; }
  .ht4 .e-art { height: 330px; border-radius: 24px; padding: 26px 0 0; }
  .ht4 .e-arch-frame { width: 250px; height: 304px; padding: 8px 8px 0; }
  .ht4 .e-rosette { top: 12px; right: 10px; width: 100px; filter: drop-shadow(0 8px 10px rgba(10, 30, 32, 0.25)); }
  .ht4 .e-rays { stroke-width: 6; }
  .ht4 .e-bubs { stroke-width: 3; }
  .ht4 .e-bub-d { display: none; }
  .ht4 .e-line-hero { stroke-width: 8; }

  .ht4 .e-tile { border-radius: 22px; }
  .ht4 .e-tile.e-in { animation-delay: 0.25s; }
  .ht4 .e-tile--status, .ht4 .e-tile--rating { padding: 18px 16px; flex-direction: column; gap: 4px; }
  .ht4 .e-tile-label { gap: 8px; font-size: 11px; letter-spacing: 0.14em; }
  .ht4 .e-tile-title { font-size: 25px; line-height: 1.15; }
  .ht4 .e-tile-sub { font-size: 14px; line-height: 1.35; }
  /* toute la tuile statut est un lien vers les horaires */
  .ht4 .e-tile-link { position: absolute; inset: 0; z-index: 1; border-radius: 22px; font-size: 0; color: transparent; text-decoration: none; }
  .ht4 .e-tile-link svg { display: none; }
  .ht4 .e-tile-num { font-size: 44px; }
  .ht4 .e-tile-col { display: contents; }
  .ht4 .e-tile-stars { gap: 1px; }
  .ht4 .e-tile-stars svg { width: 15px; height: 15px; }
  .ht4 .e-tile-small { font-size: 14px; line-height: 1.35; }
  .ht4 .e-tile--trust { padding: 16px; gap: 14px; }
  .ht4 .e-tile-arch { width: 52px; height: 60px; border-radius: 26px 26px 10px 10px; }
  .ht4 .e-tile-arch svg { width: 26px; height: 26px; }
  .ht4 .e-tile-trust { gap: 2px; }
  .ht4 .e-tile-trust-title { font-size: 20px; line-height: 1.2; }
  .ht4 .e-tile-trust-sub { font-size: 15px; }
}
@media (min-width: 900px) {
  .ht4 .e-hero-grid { max-width: 1200px; margin: 0 auto; padding: 36px 24px 80px; }
  .ht4 .e-hero-card { grid-column: span 7; border-radius: 28px; padding: 56px 52px 48px; justify-content: center; gap: 24px; }
  .ht4 .e-kicker { gap: 8px; min-height: 36px; padding: 0 16px; font-size: 14px; letter-spacing: 0.04em; }
  .ht4 .e-h1 { font-size: clamp(46px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.01em; }
  .ht4 .e-hero-sub { font-size: 21px; max-width: 34ch; }
  .ht4 .e-hero-btns { flex-wrap: wrap; gap: 12px; }
  .ht4 .e-hero-rating { flex-wrap: wrap; gap: 10px 14px; padding-top: 4px; }
  .ht4 .e-hero-rating-txt { font-size: 17px; }
  .ht4 .e-art { grid-column: span 5; min-height: 560px; border-radius: 28px; padding: 40px 36px 0; }
  .ht4 .e-art:hover .e-rosette { animation-duration: 1.2s; }
  .ht4 .e-arch-frame { width: 100%; max-width: 420px; height: 500px; padding: 10px 10px 0; }
  .ht4 .e-rosette { top: 18px; right: 18px; width: 150px; filter: drop-shadow(0 10px 14px rgba(10, 30, 32, 0.25)); }
  .ht4 .e-rays { stroke-width: 5; }
  .ht4 .e-bubs { stroke-width: 2.5; }
  .ht4 .e-bub-m { display: none; }
  .ht4 .e-line-hero { stroke-width: 7; }

  .ht4 .e-tile { grid-column: span 4; border-radius: 24px; padding: 28px 30px; transition: transform 0.35s ease, box-shadow 0.35s ease; }
  .ht4 .e-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(14, 40, 40, 0.55); }
  .ht4 .e-tile--status { gap: 8px; }
  .ht4 .e-tile-label { gap: 10px; font-size: 13px; letter-spacing: 0.16em; }
  .ht4 .e-tile-title { font-size: 36px; line-height: 1.1; }
  .ht4 .e-tile-sub { font-size: 17px; }
  .ht4 .e-tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
  .ht4 .e-tlink svg { transition: transform 0.3s ease; }
  .ht4 .e-tlink:hover svg { transform: translateY(3px); }
  .ht4 .e-tile-link { margin-top: auto; font-size: 16px; color: #fcf6ec; }
  .ht4 .e-tile--rating { align-items: center; gap: 22px; }
  .ht4 .e-tile-num { font-size: 72px; }
  .ht4 .e-tile-col { display: flex; flex-direction: column; gap: 6px; }
  .ht4 .e-tile-stars { gap: 2px; }
  .ht4 .e-tile-strong { font-size: 18px; line-height: 1.3; }
  .ht4 .e-tile-small { font-size: 16px; line-height: 1.3; }
  .ht4 .e-tile--trust { gap: 20px; }
  .ht4 .e-tile-arch { width: 74px; height: 84px; border-radius: 37px 37px 12px 12px; }
  .ht4 .e-tile-trust { gap: 4px; }
  .ht4 .e-tile-trust-title { font-size: 24px; line-height: 1.15; }
  .ht4 .e-tile-trust-sub { font-size: 16px; line-height: 1.35; }
}

/* ===== Services ===== */
.ht4 .e-svc-wrap { display: flex; flex-direction: column; }
.ht4 .e-svc { position: relative; background: var(--sand, #f6efe4); display: flex; flex-direction: column; align-items: flex-start; }
.ht4 .e-arch { background: var(--tint, #dceae6); color: var(--ink, #12474f); display: grid; place-items: center; }
.ht4 .e-svc-title { margin: 0; font-weight: 700; line-height: 1.15; color: var(--ink, #12474f); }
.ht4 .e-svc-desc { color: #56625f; }
.ht4 .e-svc-btn {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cta, #b9502a);
  cursor: pointer;
}
.ht4 .e-svc-btn::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 899.98px) {
  .ht4 .e-svc-wrap { padding: 56px 14px; gap: 22px; }
  .ht4 .e-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ht4 .e-svcs--n1 > *, .ht4 .e-svcs--n3 > :last-child, .ht4 .e-svcs--n5 > :last-child { grid-column: 1 / -1; }
  .ht4 .e-svc { border-radius: 22px; padding: 18px 16px 14px; gap: 6px; transition: transform 0.2s ease; }
  .ht4 .e-svc:active { transform: scale(0.97); }
  .ht4 .e-arch { width: 58px; height: 66px; border-radius: 29px 29px 10px 10px; margin-bottom: 6px; transition: background-color 0.2s ease, color 0.2s ease; }
  .ht4 .e-arch-icon { width: 28px; height: 28px; }
  .ht4 .e-svc:active .e-arch { background: var(--cta, #b9502a); color: #ffffff; }
  .ht4 .e-svc-title { font-size: 20px; }
  .ht4 .e-svc-desc { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
  .ht4 .e-svc-btn { gap: 6px; min-height: 40px; font: 700 15px/1 var(--sans); -webkit-tap-highlight-color: transparent; }
  .ht4 .e-svc-btn svg { width: 16px; height: 16px; stroke-width: 2.4; }
  .ht4 .e-svc-btn::after { border-radius: 22px; }
}
@media (min-width: 900px) {
  .ht4 .e-svc-wrap { padding: 96px 24px; gap: 48px; }
  .ht4 .e-svc {
    border-radius: 24px;
    padding: 28px 26px 24px;
    gap: 10px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
  }
  .ht4 .e-svc:hover { transform: translateY(-6px); background: #ffffff; box-shadow: 0 28px 46px -28px rgba(14, 40, 40, 0.5), inset 0 0 0 1.5px var(--line, #e6dccb); }
  .ht4 .e-arch {
    width: 92px;
    height: 104px;
    border-radius: 46px 46px 14px 14px;
    margin-bottom: 8px;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
  }
  .ht4 .e-svc:hover .e-arch { background: var(--cta, #b9502a); color: #ffffff; transform: translateY(-4px); }
  .ht4 .e-svc-title { font-size: 26px; }
  .ht4 .e-svc-desc { margin: 0 0 8px; font-size: 17px; }
  .ht4 .e-svc-btn { gap: 8px; min-height: 44px; font: 700 16px/1 var(--sans); }
  .ht4 .e-svc-btn svg { transition: transform 0.3s ease; }
  .ht4 .e-svc:hover .e-svc-btn svg { transform: translateX(5px); }
  .ht4 .e-svc-btn::after { border-radius: 24px; }
}
@media (min-width: 1041px) {
  .ht4 .e-svcs--n1 > * { grid-column: 4 / span 6; }
  .ht4 .e-svcs--n2 > * { grid-column: span 6; }
  .ht4 .e-svcs--n3 > *, .ht4 .e-svcs--n6 > * { grid-column: span 4; }
  .ht4 .e-svcs--n4 > * { grid-column: span 3; }
  .ht4 .e-svcs--n5 > * { grid-column: span 6; }
  .ht4 .e-svcs--n5 > :nth-child(-n + 3) { grid-column: span 4; }
}
@media (min-width: 900px) and (max-width: 1040px) {
  .ht4 .e-svcs > * { grid-column: span 6; }
  .ht4 .e-svcs--n1 > *, .ht4 .e-svcs--n3 > :last-child, .ht4 .e-svcs--n5 > :last-child { grid-column: span 12; }
}

/* ===== Nos realisations (avant / apres + vignettes) ===== */
.ht4 .e-work-wrap { display: flex; flex-direction: column; }
.ht4 .e-work-p { margin: 0; color: #56625f; }
.ht4 .e-flip { position: relative; }
.ht4 .e-flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.3, 0.8, 0.2, 1); }
.ht4 .e-flip.is-flipped .e-flip-in { transform: rotateY(180deg); }
.ht4 .e-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ht4 .e-face--front { background: #efe5d3; }
.ht4 .e-face--back { background: var(--tint, #dceae6); transform: rotateY(180deg); }
.ht4 .e-ba-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink, #12474f);
  font-weight: 700;
}
.ht4 .e-ba-tag--after { background: var(--cta, #b9502a); color: #ffffff; }
.ht4 .e-face-svg { position: absolute; left: 50%; bottom: -6px; height: auto; }
.ht4 .e-face-photo, .ht4 .e-shot-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht4 .e-flip-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ht4 .e-flip-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink, #12474f);
  color: #ffffff;
  font: 700 16px/1 var(--sans);
}
.ht4 .e-flip-pill svg { transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
.ht4 .e-shot { position: relative; overflow: hidden; margin: 0; }
.ht4 .e-shot--0 { background: #f3e3c7; }
.ht4 .e-shot--1 { background: var(--tint, #dceae6); }
.ht4 .e-shot--2 { background: #e9eedd; }
.ht4 .e-shot--3 { background: #f2e1d5; }
.ht4 .e-shot-img { position: absolute; inset: 0; }
.ht4 .e-shot-svg { position: absolute; left: 50%; bottom: -8px; height: auto; }
.ht4 .e-cap {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink, #12474f);
  font-weight: 700;
}
@media (max-width: 899.98px) {
  .ht4 .e-work-wrap { padding: 56px 0; gap: 20px; }
  .ht4 .e-work-head { padding: 0 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .ht4 .e-work-title { display: contents; }
  .ht4 .e-work-p { font-size: 16px; }
  .ht4 .e-work-grid { display: contents; }
  .ht4 .e-flip-wrap { padding: 0 14px; }
  .ht4 .e-flip { height: 360px; perspective: 1400px; }
  .ht4 .e-face { border-radius: 24px; }
  .ht4 .e-ba-tag { top: 16px; left: 16px; min-height: 34px; padding: 0 14px; font-size: 14px; }
  .ht4 .e-face-svg { width: 86%; margin-left: -43%; }
  .ht4 .e-line-face { stroke-width: 8; }
  .ht4 .e-flip-btn { border-radius: 24px; padding: 0 0 18px; -webkit-tap-highlight-color: transparent; }
  .ht4 .e-flip-pill { gap: 8px; min-height: 48px; padding: 0 20px; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.55); transition: transform 0.2s ease; }
  .ht4 .e-flip.is-flipped .e-flip-pill svg { transform: rotate(180deg); }
  .ht4 .e-flip-btn:active .e-flip-pill { transform: scale(0.96); }
  .ht4 .e-more { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 0; }
  .ht4 .e-more-title { font-weight: 700; font-size: 20px; color: var(--ink, #12474f); }
  .ht4 .e-nudge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cta, #b9502a); }
  .ht4 .e-shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; }
  .ht4 .e-shots::-webkit-scrollbar { display: none; }
  .ht4 .e-shot { flex: 0 0 220px; height: 240px; border-radius: 22px; scroll-snap-align: start; }
  .ht4 .e-shot:last-child { margin-right: 16px; }
  .ht4 .e-shot-svg { width: 96%; margin-left: -48%; }
  .ht4 .e-line-shot { stroke-width: 9; }
  .ht4 .e-cap { left: 12px; bottom: 12px; min-height: 32px; padding: 0 12px; font-size: 14px; }
}
@media (min-width: 900px) {
  .ht4 .e-work-wrap { padding: 96px 24px; gap: 44px; }
  .ht4 .e-work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
  .ht4 .e-work-title { display: flex; flex-direction: column; gap: 10px; }
  .ht4 .e-work-p { max-width: 40ch; }
  .ht4 .e-work-grid { grid-auto-rows: 272px; }
  .ht4 .e-flip-wrap, .ht4 .e-shots { display: contents; }
  .ht4 .e-flip { grid-column: span 6; grid-row: span 2; perspective: 1800px; }
  .ht4 .e-face { border-radius: 28px; }
  .ht4 .e-ba-tag { top: 22px; left: 22px; min-height: 38px; padding: 0 16px; font-size: 15px; }
  .ht4 .e-face-svg { width: 78%; margin-left: -39%; }
  .ht4 .e-line-face { stroke-width: 7; }
  .ht4 .e-flip-btn { border-radius: 28px; padding: 0 0 26px; }
  .ht4 .e-flip-pill {
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  .ht4 .e-flip-btn:hover .e-flip-pill { transform: translateY(-3px); background: var(--cta, #b9502a); }
  .ht4 .e-flip-btn:hover .e-flip-pill svg { transform: rotate(180deg); }
  .ht4 .e-shot { border-radius: 24px; grid-column: span 3; }
  .ht4 .e-shot-img { transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .ht4 .e-shot:hover .e-shot-img { transform: scale(1.07); }
  .ht4 .e-shot-svg { width: 92%; margin-left: -46%; }
  .ht4 .e-line-shot { stroke-width: 8; }
  .ht4 .e-cap {
    left: 14px;
    bottom: 14px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }
  .ht4 .e-shot:hover .e-cap { background: var(--ink, #12474f); color: #ffffff; transform: translateY(-3px); }
}
@media (min-width: 1041px) {
  /* moins de 4 vignettes : elles remplissent la colonne de droite */
  .ht4 .e-shots--n1 .e-shot { grid-column: span 6; grid-row: span 2; }
  .ht4 .e-shots--n2 .e-shot { grid-column: span 6; }
  .ht4 .e-shots--n3 .e-shot:last-child { grid-column: span 6; }
  /* pas de vignettes : la carte avant/apres est centree */
  .ht4 .e-shots--n0 .e-flip { grid-column: 4 / span 6; }
}
@media (min-width: 900px) and (max-width: 1040px) {
  .ht4 .e-flip { grid-column: span 12; }
  .ht4 .e-shot { grid-column: span 6; }
}

/* ===== Avis ===== */
.ht4 .e-rev-card { background: var(--ink, #12474f); color: #fcf6ec; display: flex; flex-direction: column; }
.ht4 .e-rev-label { font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold, #e3a33a); }
.ht4 .e-rev-h2 { margin: 0; font-weight: 700; line-height: 1.1; }
.ht4 .e-rev-score { display: flex; align-items: center; }
.ht4 .e-rev-num { font-weight: 700; line-height: 1; }
.ht4 .e-rev-meta { display: flex; flex-direction: column; }
.ht4 .e-rev-stars { position: relative; display: inline-flex; }
.ht4 .e-rev-stars-bg { display: flex; gap: 3px; color: rgba(252, 246, 236, 0.22); }
.ht4 .e-rev-stars-fill { position: absolute; inset: 0; display: flex; gap: 3px; color: var(--gold, #e3a33a); }
.ht4 .e-rev-based { opacity: 0.88; }
.ht4 .e-carousel { background: var(--sand, #f6efe4); display: flex; flex-direction: column; overflow: hidden; }
.ht4 .e-quote-mark { color: var(--gold, #e3a33a); }
.ht4 .e-car-view { overflow: hidden; }
.ht4 .e-track { display: flex; }
.ht4 .e-slide { flex: 0 0 100%; min-width: 0; margin: 0; display: flex; flex-direction: column; }
.ht4 .e-slide-q { margin: 0; font-weight: 500; color: var(--ink, #12474f); }
.ht4 .e-slide-q.is-ph { color: #7a8583; }
.ht4 .e-slide-meta { font-weight: 700; color: #56625f; }
.ht4 .e-car-ctrl { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line, #e6dccb); }
.ht4 .e-dots { display: flex; align-items: center; }
.ht4 .e-arrows { display: flex; }
.ht4 .e-arrow {
  border-radius: 50%;
  border: 2px solid var(--ink, #12474f);
  background: transparent;
  color: var(--ink, #12474f);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ht4 .e-dotbtn { height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ht4 .e-dotbtn span {
  display: block;
  border-radius: 999px;
  background: var(--ink, #12474f);
  opacity: 0.25;
  transition: width 0.35s ease, opacity 0.35s ease, background-color 0.35s ease;
}
.ht4 .e-dotbtn.is-on span { opacity: 1; background: var(--cta, #b9502a); }
@media (max-width: 899.98px) {
  .ht4 .e-rev-wrap { padding: 56px 14px; display: flex; flex-direction: column; gap: 12px; }
  .ht4 .e-rev-card { border-radius: 24px; padding: 28px 22px; gap: 14px; }
  .ht4 .e-rev-label { font-size: 12px; }
  .ht4 .e-rev-h2 { font-size: 32px; }
  .ht4 .e-rev-score { gap: 14px; }
  .ht4 .e-rev-num { font-size: 58px; }
  .ht4 .e-rev-meta { gap: 4px; }
  .ht4 .e-rev-stars-bg { display: none; }
  .ht4 .e-rev-stars-fill { position: static; gap: 2px; }
  .ht4 .e-rev-stars svg { width: 20px; height: 20px; }
  .ht4 .e-rev-based { font-size: 15px; }
  .ht4 .e-rev-btn { width: 100%; min-height: 52px; font-size: 16px; }
  .ht4 .e-carousel { border-radius: 24px; padding: 26px 22px 16px; gap: 14px; }
  .ht4 .e-quote-mark { width: 44px; height: 34px; }
  .ht4 .e-track { transition: transform 0.6s cubic-bezier(0.3, 0.8, 0.2, 1); }
  .ht4 .e-slide { padding-right: 8px; gap: 12px; }
  .ht4 .e-slide-q { font-size: 23px; line-height: 1.32; }
  .ht4 .e-slide-meta { display: block; font-size: 14px; }
  .ht4 .e-car-ctrl { gap: 10px; }
  .ht4 .e-arrows { gap: 8px; }
  .ht4 .e-arrow { width: 48px; height: 48px; -webkit-tap-highlight-color: transparent; transition: transform 0.2s ease; }
  .ht4 .e-arrow:active { transform: scale(0.92); background: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-arrow svg { width: 18px; height: 18px; }
  .ht4 .e-dotbtn { width: 32px; -webkit-tap-highlight-color: transparent; }
  .ht4 .e-dotbtn span { width: 9px; height: 9px; }
  .ht4 .e-dotbtn.is-on span { width: 24px; }
}
@media (min-width: 900px) {
  .ht4 .e-rev-wrap { padding: 96px 24px; }
  .ht4 .e-rev-card { grid-column: span 5; border-radius: 28px; padding: 48px 44px; gap: 18px; }
  .ht4 .e-rev-wrap--solo .e-rev-card { grid-column: span 12; }
  .ht4 .e-rev-label { font-size: 13px; }
  .ht4 .e-rev-h2 { font-size: clamp(34px, 3.4vw, 46px); }
  .ht4 .e-rev-score { gap: 18px; padding-top: 10px; }
  .ht4 .e-rev-num { font-size: 80px; }
  .ht4 .e-rev-meta { gap: 6px; }
  .ht4 .e-rev-based { font-size: 17px; }
  .ht4 .e-rev-btn { align-self: flex-start; margin-top: auto; }
  .ht4 .e-carousel { grid-column: span 7; border-radius: 28px; padding: 48px 48px 36px; gap: 22px; }
  .ht4 .e-car-view { flex: 1; }
  .ht4 .e-track { transition: transform 0.7s cubic-bezier(0.3, 0.8, 0.2, 1); }
  .ht4 .e-slide { padding-right: 12px; gap: 18px; }
  .ht4 .e-slide-q { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.3; }
  .ht4 .e-slide-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
  .ht4 .e-slide-stars { display: flex; gap: 2px; color: var(--gold, #e3a33a); }
  .ht4 .e-car-ctrl { gap: 16px; }
  .ht4 .e-dots { gap: 2px; padding-top: 12px; }
  .ht4 .e-rev-count { margin-left: 10px; font-size: 15px; font-weight: 600; color: #56625f; font-variant-numeric: tabular-nums; }
  .ht4 .e-arrows { gap: 10px; padding-top: 12px; }
  .ht4 .e-arrow { width: 52px; height: 52px; transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }
  .ht4 .e-arrow:hover { background: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-arrow:active { transform: scale(0.94); }
  .ht4 .e-dotbtn { width: 40px; }
  .ht4 .e-dotbtn span { width: 10px; height: 10px; }
  .ht4 .e-dotbtn.is-on span { width: 30px; }
}
@media (min-width: 900px) and (max-width: 1040px) {
  .ht4 .e-rev-card, .ht4 .e-carousel { grid-column: span 12; }
}

/* ===== Horaires & adresse ===== */
.ht4 .e-visit-wrap { display: flex; flex-direction: column; }
.ht4 .e-hours { background: #ffffff; display: flex; flex-direction: column; }
.ht4 .e-hours-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ht4 .e-hours-h3 { margin: 0; font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* "By Appointment" sur une ligne (le titre passe a la ligne si besoin) */
  border-radius: 999px;
  background: var(--ink, #12474f);
  color: #fcf6ec;
  font-weight: 700;
}
.ht4 .e-htable { display: flex; flex-direction: column; gap: 2px; }
.ht4 .e-hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line, #e6dccb);
  font-variant-numeric: tabular-nums;
}
.ht4 .e-hrow.is-today { background: var(--tint, #dceae6); font-weight: 700; border-radius: 10px; }
.ht4 .e-hday { display: inline-flex; align-items: center; }
.ht4 .e-today {
  display: none;
  align-items: center;
  border-radius: 999px;
  background: var(--cta, #b9502a);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ht4 .e-hrow.is-today .e-today { display: inline-flex; }
.ht4 .e-htime { color: #24302f; }
.ht4 .e-htime.is-closed { color: #8a938f; }
.ht4 .e-hours-note { margin: 0; color: #56625f; }
.ht4 .e-map-card { background: #ffffff; overflow: hidden; }
.ht4 .e-map { position: relative; background: #eee6d6; }
.ht4 .e-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht4 .e-map-h3 { margin: 0; font-weight: 700; color: var(--ink, #12474f); }
.ht4 .e-map-p { margin: 0; color: #56625f; }
@media (max-width: 899.98px) {
  .ht4 .e-visit-wrap { padding: 56px 14px; gap: 12px; }
  .ht4 .e-visit-head { padding-bottom: 10px; }
  .ht4 .e-visit-grid { display: contents; }
  .ht4 .e-hours { border-radius: 24px; padding: 22px 18px; gap: 12px; }
  .ht4 .e-hours-h3 { font-size: 23px; }
  .ht4 .e-badge { gap: 7px; min-height: 30px; padding: 0 12px; font-size: 13px; }
  .ht4 .e-htable { font-size: 16px; }
  .ht4 .e-hrow { gap: 10px; padding: 9px 10px; }
  .ht4 .e-hday { gap: 8px; }
  .ht4 .e-today { min-height: 20px; padding: 0 7px; font-size: 11px; }
  .ht4 .e-hours-note { font-size: 15px; }
  .ht4 .e-map-card { border-radius: 24px; }
  .ht4 .e-map { height: 190px; }
  .ht4 .e-map-body { padding: 20px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
  .ht4 .e-map-txt { display: contents; }
  .ht4 .e-map-h3 { font-size: 22px; }
  .ht4 .e-map-p { font-size: 16px; }
  .ht4 .e-map-btn { width: 100%; margin-top: 10px; min-height: 52px; font-size: 16px; }
}
@media (min-width: 900px) {
  .ht4 .e-visit-wrap { padding: 96px 24px; gap: 44px; }
  .ht4 .e-hours { grid-column: span 5; border-radius: 28px; padding: 36px 34px; gap: 18px; }
  .ht4 .e-hours-head { flex-wrap: wrap; }
  .ht4 .e-hours-h3 { display: flex; align-items: center; gap: 10px; font-size: 28px; }
  .ht4 .e-badge { gap: 8px; min-height: 34px; padding: 0 14px; font-size: 14px; }
  .ht4 .e-hrow { gap: 12px; padding: 11px 14px; transition: background-color 0.3s ease; }
  .ht4 .e-hday { gap: 10px; }
  .ht4 .e-today { min-height: 22px; padding: 0 9px; font-size: 12px; }
  .ht4 .e-hours-note { font-size: 16px; }
  .ht4 .e-map-card { grid-column: span 7; border-radius: 28px; display: flex; flex-direction: column; }
  .ht4 .e-map { height: 320px; }
  .ht4 .e-map-body { padding: 30px 34px 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; flex: 1; }
  .ht4 .e-map-txt { display: flex; flex-direction: column; gap: 6px; }
  .ht4 .e-map-h3 { font-size: 26px; }
  .ht4 .e-map-btn { min-height: 52px; }
}
@media (min-width: 900px) and (max-width: 1040px) {
  .ht4 .e-hours, .ht4 .e-map-card { grid-column: span 12; }
}

/* ===== Bandeau d'appel en arche ===== */
.ht4 .e-cta-arch {
  position: relative;
  background: var(--ink, #12474f);
  color: #fcf6ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ht4 .e-cta-arch::before { content: ""; position: absolute; border: 1.5px solid rgba(252, 246, 236, 0.28); pointer-events: none; }
.ht4 .e-cta-stars { color: var(--gold, #e3a33a); letter-spacing: 0.4em; }
.ht4 .e-cta-h2 { margin: 0; font-weight: 700; }
.ht4 .e-cta-p { margin: 0; opacity: 0.9; }
.ht4 .e-cta-btns { display: flex; }
@media (max-width: 899.98px) {
  .ht4 .e-cta-wrap { padding: 56px 14px; }
  .ht4 .e-cta-arch { padding: 84px 22px 34px; gap: 12px; border-radius: 50% 50% 24px 24px / 110px 110px 24px 24px; }
  .ht4 .e-cta-arch::before { inset: 10px; border-radius: 50% 50% 16px 16px / 100px 100px 16px 16px; }
  .ht4 .e-cta-stars { font-size: 15px; }
  .ht4 .e-cta-h2 { font-size: 32px; line-height: 1.1; }
  .ht4 .e-cta-p { font-size: 17px; }
  .ht4 .e-cta-btns { flex-direction: column; gap: 10px; width: 100%; padding-top: 6px; }
  .ht4 .e-cta-btns .e-btn { width: 100%; }
}
@media (min-width: 900px) {
  .ht4 .e-cta-wrap { padding: 96px 24px; }
  .ht4 .e-cta-arch { max-width: 1000px; margin: 0 auto; padding: 118px 48px 76px; gap: 18px; border-radius: 50% 50% 32px 32px / 150px 150px 32px 32px; }
  .ht4 .e-cta-arch::before { inset: 14px; border-radius: 50% 50% 22px 22px / 138px 138px 22px 22px; }
  .ht4 .e-cta-stars { font-size: 18px; }
  .ht4 .e-cta-h2 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; }
  .ht4 .e-cta-p { font-size: 20px; }
  .ht4 .e-cta-btns { flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
}

/* ===== Pied de page ===== */
.ht4 .e-footer { background: var(--ink-deep, #0b3238); color: #d8e2df; }
.ht4 .e-foot-in { display: flex; flex-direction: column; }
.ht4 .e-foot-grid { display: grid; }
.ht4 .e-foot-brand, .ht4 .e-foot-col { display: flex; flex-direction: column; min-width: 0; }
.ht4 .e-foot-name { font-weight: 700; color: #ffffff; }
.ht4 .e-foot-desc { margin: 0; }
.ht4 .e-foot-label { font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold, #e3a33a); }
.ht4 .e-foot-item { text-decoration: none; display: flex; align-items: center; overflow-wrap: anywhere; }
.ht4 .e-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ht4 .e-foot-privacy { text-decoration: underline; }
@media (max-width: 899.98px) {
  .ht4 .e-footer { font-size: 16px; }
  .ht4 .e-foot-in { padding: 40px 18px 112px; gap: 24px; }
  .ht4 .e-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .ht4 .e-foot-brand { grid-column: 1 / -1; gap: 8px; }
  .ht4 .e-foot-name { font-size: 24px; }
  .ht4 .e-foot-col { gap: 2px; }
  .ht4 .e-foot-label { font-size: 12px; margin-bottom: 6px; }
  .ht4 .e-foot-item { min-height: 36px; }
  .ht4 .e-foot-bottom { gap: 8px; padding-top: 18px; font-size: 13px; }
}
@media (min-width: 900px) {
  .ht4 .e-foot-in { max-width: 1200px; margin: 0 auto; padding: 64px 24px 28px; gap: 40px; }
  .ht4 .e-foot-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 36px; }
  .ht4 .e-foot-brand { gap: 12px; }
  .ht4 .e-foot-name { font-size: 26px; }
  .ht4 .e-foot-desc { font-size: 17px; }
  .ht4 .e-foot-col { gap: 4px; }
  .ht4 .e-foot-label { font-size: 13px; margin-bottom: 8px; }
  .ht4 .e-foot-item { min-height: 34px; }
  .ht4 .e-foot-bottom { gap: 10px; padding-top: 22px; font-size: 14px; }
}

/* ===== Barre d'actions flottante (mobile) ===== */
.ht4 .e-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 50;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(8, 28, 30, 0.5), 0 0 0 1px rgba(14, 40, 40, 0.06);
  animation: ht4-bar-in 0.7s 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
.ht4 .e-bar--single { grid-template-columns: 1fr; }
.ht4 .e-barbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
  font: 700 17px/1 var(--sans);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.ht4 .e-barbtn:active { transform: scale(0.97); filter: brightness(0.92); }
.ht4 .e-barbtn--text { background: var(--tint, #dceae6); color: var(--ink, #12474f); }
.ht4 .e-barbtn--call { background: var(--cta, #b9502a); color: #ffffff; }

/* ===== Panneau "Quick Text" ===== */
.ht4 .e-catch {
  position: fixed;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  cursor: default;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.ht4 .e-catch.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.ht4 .e-pop { position: fixed; z-index: 90; background: #ffffff; visibility: hidden; }
.ht4 .e-grab { display: flex; justify-content: center; padding-top: 10px; }
.ht4 .e-grab span { width: 44px; height: 5px; border-radius: 999px; background: #d9d2c5; }
.ht4 .e-pop-head { display: flex; align-items: center; justify-content: space-between; }
.ht4 .e-pop-title { display: inline-flex; align-items: center; gap: 10px; }
.ht4 .e-pop-title .e-serif { font-weight: 700; }
.ht4 .e-x { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.ht4 .e-pop-body { display: flex; flex-direction: column; }
.ht4 .e-pop-step { display: flex; flex-direction: column; }
.ht4 .e-pop-label { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #56625f; }
.ht4 .e-chips { display: flex; flex-wrap: wrap; }
.ht4 .e-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1.5px solid var(--line, #e6dccb);
  background: #ffffff;
  font: 600 15px/1 var(--sans);
  color: var(--ink, #12474f);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ht4 .e-check { display: inline-block; width: 0; overflow: hidden; transition: width 0.25s ease; }
.ht4 .e-preview { display: flex; flex-direction: column; border-radius: 18px; background: var(--tint, #dceae6); }
.ht4 .e-preview-to { color: #56625f; }
.ht4 .e-preview-to strong { color: var(--ink, #12474f); }
.ht4 .e-bubble { align-self: flex-end; max-width: 94%; background: var(--cta, #b9502a); color: #ffffff; line-height: 1.45; }
.ht4 .e-pop-actions { display: flex; }
@media (max-width: 899.98px) {
  .ht4 .e-catch { z-index: 80; background: rgba(10, 30, 32, 0.45); }
  .ht4 .e-pop {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 600px;
    max-height: 100dvh;
    margin: 0 auto;
    overflow-y: auto;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.45);
    transform: translateY(105%);
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1), visibility 0s linear 0.5s;
  }
  .ht4 .e-pop.is-open { transform: none; visibility: visible; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1); }
  .ht4 .e-pop-head { gap: 10px; padding: 10px 18px 0; }
  .ht4 .e-pop-title .e-serif { font-size: 25px; color: var(--ink, #12474f); }
  .ht4 .e-x { background: var(--sand, #f6efe4); color: var(--ink, #12474f); -webkit-tap-highlight-color: transparent; }
  .ht4 .e-x svg { width: 18px; height: 18px; }
  .ht4 .e-pop-body { padding: 14px 18px 22px; gap: 14px; }
  .ht4 .e-pop-step { gap: 7px; }
  .ht4 .e-pop-label { font-size: 11px; }
  .ht4 .e-chips { gap: 7px; }
  .ht4 .e-chip { min-height: 42px; padding: 0 14px; -webkit-tap-highlight-color: transparent; }
  .ht4 .e-chip:active { transform: scale(0.95); }
  .ht4 .e-chip.is-on { background: var(--ink, #12474f); border-color: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-chip.is-on .e-check { width: 15px; }
  .ht4 .e-check svg { width: 13px; height: 13px; }
  .ht4 .e-preview { gap: 8px; padding: 12px; }
  .ht4 .e-preview-to { font-size: 12px; }
  .ht4 .e-bubble { padding: 11px 14px; border-radius: 18px 18px 6px 18px; font-size: 15px; }
  .ht4 .e-send { width: 100%; }
}
@media (min-width: 900px) {
  .ht4 .e-catch { z-index: 88; background: rgba(10, 30, 32, 0.18); }
  .ht4 .e-pop {
    top: 96px;
    right: max(24px, calc((100% - 1200px) / 2 + 24px));
    width: min(460px, calc(100% - 32px));
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(8, 28, 30, 0.6), 0 0 0 1px rgba(14, 40, 40, 0.06);
    transform-origin: calc(100% - 200px) 0;
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
    transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.15), visibility 0s linear 0.45s;
  }
  .ht4 .e-pop.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  }
  .ht4 .e-pop::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 196px;
    width: 16px;
    height: 16px;
    background: var(--ink, #12474f);
    transform: rotate(45deg);
    border-radius: 3px;
  }
  .ht4 .e-pop-head { gap: 12px; padding: 16px 14px 16px 22px; background: var(--ink, #12474f); color: #ffffff; border-radius: 24px 24px 0 0; }
  .ht4 .e-pop-title .e-serif { font-size: 23px; }
  .ht4 .e-x { background: transparent; color: inherit; transition: background-color 0.2s ease; }
  .ht4 .e-x:hover { background: rgba(255, 255, 255, 0.14); }
  .ht4 .e-pop-body { padding: 20px 22px 22px; gap: 16px; }
  .ht4 .e-pop-step { gap: 8px; }
  .ht4 .e-pop-label { font-size: 12px; }
  .ht4 .e-chips { gap: 8px; }
  .ht4 .e-chip { min-height: 44px; padding: 0 16px; }
  .ht4 .e-chip:hover { border-color: var(--ink, #12474f); }
  .ht4 .e-chip:active { transform: scale(0.96); }
  .ht4 .e-chip.is-on { background: var(--ink, #12474f); border-color: var(--ink, #12474f); color: #ffffff; }
  .ht4 .e-chip.is-on .e-check { width: 16px; }
  .ht4 .e-preview { gap: 10px; padding: 14px; }
  .ht4 .e-preview-to { font-size: 13px; }
  .ht4 .e-bubble { padding: 12px 16px; border-radius: 20px 20px 6px 20px; font-size: 16px; }
  .ht4 .e-preview-note { font-size: 12px; color: #56625f; text-align: right; }
  .ht4 .e-pop-actions { flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .ht4 .e-send { flex: 1 1 220px; }
  .ht4 .e-callinstead { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink, #12474f); text-underline-offset: 4px; }
}

/* ===== Entre 900 et 1040 px : variante tablette de la maquette desktop ===== */
@media (min-width: 900px) and (max-width: 1040px) {
  .ht4 .e-nav { display: none; }
  .ht4 .e-hero-card, .ht4 .e-art { grid-column: span 12; }
  .ht4 .e-tile { grid-column: span 6; }
  .ht4 .e-tile--trust { grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce) {
  .ht4 *,
  .ht4 *::before,
  .ht4 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Avis masques (ou aucun avis) : pas de tuile de note, 2 tuiles au lieu de 3. */
@media (max-width: 899.98px) {
  .ht4 .e-hero-grid--norating .e-tile--status { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .ht4 .e-hero-grid--norating .e-tile { grid-column: span 6; }
}
/* Menu mobile en tuiles : un nombre impair de liens (ex. sans "Reviews") -> la derniere
   tuile prend toute la largeur au lieu de laisser une case vide. */
.ht4 .e-mtiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
