/* Pages intérieures v20 — prolongement premium de la charte Rojom-Bavaka. */
:root {
  --navy: #273749;
  --orange: #bc944a;
  --paper: #f2f5f8;
  --muted: #526276;
  --line: #d7e0e9;
  --inner-blue: #4b6b96;
  --inner-blue-deep: #35557f;
  --inner-gold: #bc944a;
  --inner-gold-deep: #76591e;
  --inner-ink: #273749;
  --inner-paper: #f2f5f8;
  --inner-white: #fff;
  --inner-shadow: 0 22px 62px rgba(39, 55, 73, .1);
  --inner-shadow-soft: 0 10px 32px rgba(39, 55, 73, .07);
  --inner-radius-xl: 28px;
  --inner-radius-lg: 22px;
  --inner-radius: 16px;
  --inner-max: 1280px;
}

html {
  background: var(--inner-white);
  scroll-padding-top: 112px;
}

body {
  min-width: 320px;
  color: var(--inner-ink);
  background: var(--inner-white);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(var(--inner-max), calc(100% - 48px));
}

main {
  overflow: clip;
}

h1,
h2,
h3 {
  color: var(--inner-ink);
  text-wrap: balance;
}

h1 {
  letter-spacing: -.05em;
}

h2 {
  letter-spacing: -.035em;
}

h3 {
  letter-spacing: -.018em;
}

p,
li {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--inner-blue);
  outline-offset: 4px;
}

/* En-tête : même langage visuel que l'accueil v20, sans changer le script du menu. */
.top {
  padding: 0;
  background: var(--inner-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #eef3f8;
  font-size: .79rem;
}

.top .wrap {
  min-height: 36px;
  align-items: center;
}

.top .wrap > a,
.top .utility-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #eef3f8 !important;
  opacity: 1;
}

.top .wrap > a {
  color: #f0cf85 !important;
  font-weight: 750;
  letter-spacing: .02em;
}

.utility-links {
  gap: 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(215, 224, 233, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 26px rgba(39, 55, 73, .055);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 92px;
}

.brand {
  gap: 12px;
  color: var(--inner-ink);
  font-size: 1rem;
  letter-spacing: .01em;
}

.brand .mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 15px;
  background: var(--inner-blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 18px rgba(75, 107, 150, .16);
}

.brand small {
  margin-top: 5px;
  color: #68788a;
  font-size: .63rem;
  letter-spacing: .18em;
}

nav {
  color: var(--inner-ink);
  font-size: .91rem;
  font-weight: 680;
}

nav > a:not(.btn) {
  position: relative;
  padding: 10px 0;
  border: 0;
  white-space: nowrap;
}

nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--inner-gold);
  transition: right .2s ease;
}

nav > a:not(.btn):hover {
  color: var(--inner-blue-deep);
  text-decoration: none;
}

nav > a:not(.btn):hover::after,
nav > a[aria-current]::after {
  right: 0;
}

nav a[aria-current] {
  border: 0;
  color: var(--inner-blue-deep);
}

.nav-road {
  display: inline-flex !important;
}

.nav-quote {
  min-height: 47px;
  padding: 0 20px;
  border-color: var(--inner-gold);
  border-radius: 14px;
  background: var(--inner-gold);
  color: #172438;
  box-shadow: 0 12px 26px rgba(188, 148, 74, .2);
  font-size: .9rem;
  white-space: nowrap;
}

.nav-quote:hover {
  border-color: #cba45a;
  background: #cba45a;
  color: #172438;
}

.menu {
  min-width: 68px;
  min-height: 44px;
  border: 1px solid #b9c7d5;
  border-radius: 12px;
  background: #fff;
  color: var(--inner-ink);
  font-weight: 750;
}

/* Héros intérieurs. */
.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 8vw, 108px) 0 clamp(62px, 7vw, 92px);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 44px 44px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .98) 0%, rgba(242, 245, 248, .97) 62%, rgba(226, 233, 241, .94) 100%);
  color: var(--inner-ink);
}

.inner-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(75, 107, 150, .14) 0 10%, transparent 32%),
    linear-gradient(90deg, transparent 0 78%, rgba(188, 148, 74, .08) 78% 78.25%, transparent 78.25%);
  pointer-events: none;
}

.inner-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: max(24px, calc((100vw - var(--inner-max)) / 2 + 24px));
  width: 104px;
  height: 5px;
  border: 0;
  border-radius: 0 0 999px 999px;
  background: var(--inner-gold);
  transform: none;
}

.inner-hero .wrap {
  position: relative;
  z-index: 1;
}

.inner-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--inner-gold-deep);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .17em;
}

.inner-hero .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: currentColor;
}

.inner-hero h1 {
  max-width: 940px;
  margin-bottom: 24px;
  color: var(--inner-ink);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.inner-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}

/* Rythme des sections et contenus. */
main .section {
  padding: clamp(70px, 8vw, 104px) 0;
  scroll-margin-top: 112px;
}

main .section.gray {
  border-block: 1px solid #e4eaf0;
  background: var(--inner-paper);
}

.section-head {
  align-items: end;
  gap: 56px;
  margin-bottom: 42px;
}

.section-head h2,
.content > h2,
.content > div > h2,
.anniversary-story h2,
.contact-form-layout h2 {
  color: var(--inner-ink);
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow,
.num,
.tag {
  color: var(--inner-gold-deep);
}

.two-col {
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, .78fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.content {
  font-size: 1rem;
}

.content p,
.content li,
.card p,
.step p,
.reading p {
  color: var(--muted);
}

.content p + h2,
.content p + h3,
.content ul + h2,
.content ul + h3 {
  margin-top: 2.1rem;
}

.content ul,
.reading ul {
  padding-left: 1.25rem;
}

.content li + li,
.reading li + li {
  margin-top: .45rem;
}

.note {
  padding: 30px;
  border: 1px solid #dce4ec;
  border-left: 5px solid var(--inner-gold);
  border-radius: var(--inner-radius-lg);
  background: linear-gradient(145deg, #fff, var(--inner-paper));
  box-shadow: var(--inner-shadow-soft);
}

.note h2,
.note h3 {
  color: var(--inner-ink);
}

.two-col > aside {
  align-self: start;
}

.two-col > aside.note,
.two-col > aside > .note {
  position: sticky;
  top: 126px;
}

.cards {
  gap: 24px;
}

.card {
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--inner-radius-lg);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 54px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--inner-gold);
}

.card:hover {
  border-color: #c8d4df;
  box-shadow: var(--inner-shadow);
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 13px;
  color: var(--inner-ink);
  font-size: 1.42rem;
  line-height: 1.25;
}

.num {
  margin-bottom: 28px;
  border-color: var(--inner-gold);
  font-weight: 850;
}

.service-block {
  margin: 0 0 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius-lg);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
  scroll-margin-top: 126px;
}

.service-block:first-child {
  padding-top: 34px;
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.photo-block {
  border-radius: var(--inner-radius-lg);
  background: #dfe6ed;
  box-shadow: var(--inner-shadow-soft);
}

.photo-block img {
  transition: transform .45s ease;
}

.photo-block:hover img {
  transform: scale(1.025);
}

.photo-block figcaption {
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(39, 55, 73, .92);
  color: #fff;
  font-size: .75rem;
}

.wide-image {
  height: clamp(310px, 38vw, 470px);
}

.service-photo {
  height: clamp(260px, 31vw, 360px);
}

.story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(42px, 6vw, 78px);
}

.story-grid .photo-block {
  min-height: 470px;
}

.reading {
  max-width: 900px;
}

.reading article {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius-lg);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.reading article:first-child {
  margin-top: 0;
}

.tag {
  border: 1px solid #e3d3b2;
  border-radius: 999px;
  background: #fbf6ec;
  font-size: .75rem;
  letter-spacing: .06em;
}

.inline-facts {
  gap: 10px;
}

.inline-facts span {
  border-color: #cbd6e1;
  border-radius: 999px;
  background: #fff;
  color: var(--inner-blue-deep);
  font-weight: 700;
}

.detail-cards {
  margin-top: 48px;
}

.capacity {
  color: var(--inner-blue-deep);
  font-weight: 780;
}

/* Appels à l'action et étapes. */
.btn {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--inner-blue);
  border-radius: 14px;
  background: var(--inner-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(75, 107, 150, .18);
  line-height: 1.2;
  font-weight: 780;
}

.btn:hover {
  border-color: var(--inner-blue-deep);
  background: var(--inner-blue-deep);
  color: #fff;
}

.btn.outline {
  border-color: #aebdcc;
  background: #fff;
  color: var(--inner-blue-deep);
  box-shadow: none;
}

.btn.outline:hover {
  border-color: var(--inner-blue);
  background: var(--inner-paper);
  color: var(--inner-blue-deep);
}

.text-link {
  color: var(--inner-blue-deep);
  font-weight: 800;
  text-decoration-color: var(--inner-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.actions {
  gap: 12px;
  margin-top: 30px;
}

main > .wrap {
  position: relative;
}

.band {
  margin-block: 18px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid #3f5369;
  border-radius: var(--inner-radius-xl);
  background: linear-gradient(120deg, var(--inner-ink), #324b66);
  color: #fff;
  box-shadow: var(--inner-shadow);
}

.band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.band p {
  color: #dce5ef;
}

.band .btn {
  border-color: var(--inner-gold);
  background: var(--inner-gold);
  color: #172438;
  box-shadow: 0 12px 28px rgba(188, 148, 74, .2);
}

.band .btn:hover {
  border-color: #cda75d;
  background: #cda75d;
  color: #172438;
}

.steps {
  gap: 20px;
}

.step {
  min-width: 0;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius-lg);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.step > span {
  margin-bottom: 22px;
  color: var(--inner-gold-deep);
  font-size: 2.45rem;
  font-weight: 820;
}

.step h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.faq {
  max-width: 940px;
}

.faq details {
  margin-bottom: 12px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius);
  background: #fff;
}

.faq summary {
  min-height: 68px;
  align-items: center;
  padding: 18px 0;
  color: var(--inner-ink);
}

.faq summary::after {
  color: var(--inner-blue);
}

.faq details[open] {
  border-color: #c7d3df;
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.faq details p {
  margin: 0 36px 22px 0;
}

/* Anniversaire. */
.anniversary-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(188, 148, 74, .11), transparent 28%),
    var(--inner-paper);
}

.anniversary-story {
  grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
  gap: clamp(44px, 7vw, 86px);
}

.anniversary-number {
  color: var(--inner-blue-deep);
  text-shadow: 0 10px 30px rgba(75, 107, 150, .1);
}

.anniversary-number span {
  color: var(--inner-gold-deep);
}

/* Tarifs : données inchangées, lecture renforcée. */
.pricing-status {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid #dec99f;
  border-radius: var(--inner-radius);
  background: #fbf5e9;
  color: #684d1f;
}

.table-scroll {
  margin: 28px 0 38px;
  border: 1px solid #cfd9e3;
  border-radius: var(--inner-radius);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

table {
  min-width: 640px;
  font-size: .95rem;
}

th,
td {
  padding: 17px 19px;
  border-color: #dfe6ed;
}

th {
  background: var(--inner-ink);
  color: #fff;
  font-weight: 760;
}

tbody tr:nth-child(even) {
  background: var(--inner-paper);
}

tbody tr:hover {
  background: #e9eff5;
}

.price-example {
  color: var(--inner-blue-deep);
}

/* Contact, formulaires et agences. */
.contact-form-section {
  background: linear-gradient(145deg, #f7f9fb, var(--inner-paper));
}

.contact-form-layout {
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 76px);
}

.contact-form-layout aside {
  top: 126px;
}

.contact-form {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #d8e1e9;
  border-radius: var(--inner-radius-xl);
  background: #fff;
  box-shadow: var(--inner-shadow);
}

label {
  color: var(--inner-ink);
  font-size: .93rem;
}

input,
select,
textarea {
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #91a4b7;
  border-radius: 12px;
  background: #fff;
  color: var(--inner-ink);
}

textarea {
  min-height: 125px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--inner-blue);
  outline: 3px solid rgba(75, 107, 150, .18);
  outline-offset: 1px;
  box-shadow: none;
}

.contact-steps li {
  border-color: var(--line);
}

.contact-steps b {
  color: var(--inner-gold-deep);
}

.contact-card {
  padding: 36px;
  border: 1px solid #3e5267;
  border-radius: var(--inner-radius-xl);
  background: linear-gradient(135deg, var(--inner-ink), #324a64);
  color: #fff;
  box-shadow: var(--inner-shadow);
}

.contact-card h2,
.contact-card h3 {
  color: #fff;
}

.contact-card p {
  color: #dce5ef;
}

.contact-card .eyebrow {
  color: #e8c982;
}

.contact-card .btn {
  border-color: var(--inner-gold);
  background: var(--inner-gold);
  color: #172438;
}

.message-preview pre {
  border: 1px solid var(--line);
  border-radius: var(--inner-radius);
  background: var(--inner-paper);
}

.agency-layout {
  gap: 28px;
}

.agency-info {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius-lg);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.agency-select {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--inner-radius);
  background: #fff;
}

.agency-select.active {
  border-color: var(--inner-blue);
  box-shadow: inset 4px 0 var(--inner-gold), var(--inner-shadow-soft);
}

.agency-map iframe,
.map-consent {
  border-radius: var(--inner-radius-lg);
}

.map-consent {
  border-color: var(--line);
  background: linear-gradient(145deg, #e9eff5, var(--inner-paper));
}

/* Dialogue de devis conservé pour compatibilité avec les scripts existants. */
dialog {
  border: 1px solid var(--line);
  border-radius: var(--inner-radius-xl);
  color: var(--inner-ink);
  box-shadow: 0 30px 100px rgba(39, 55, 73, .32);
}

dialog::backdrop {
  background: rgba(20, 32, 46, .72);
}

dialog h2 {
  color: var(--inner-ink);
}

.quote-progress li {
  border-color: #d9e1e8;
}

.quote-progress li[aria-current],
.quote-progress li.active {
  border-color: var(--inner-gold);
  color: var(--inner-blue-deep);
}

/* Pied de page et accès rapides. */
footer {
  margin-top: 0;
  padding-top: 64px;
  border-top: 0;
  background: #1f2d3c;
  color: #fff;
}

footer .brand,
footer .brand span,
footer .footer-grid h2 {
  color: #fff;
}

.footer-grid {
  gap: clamp(38px, 6vw, 76px);
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: #e9c77a;
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

footer .footer-grid p,
footer .footer-grid a:not(.brand),
footer .copyright,
footer .footer-preferences,
footer .footer-preferences a,
footer .footer-preferences button {
  color: #d7e1eb;
}

footer .footer-grid a:not(.brand):hover,
footer .footer-preferences a:hover,
footer .footer-preferences button:hover {
  color: #fff;
}

.copyright,
.footer-preferences {
  border-color: rgba(255, 255, 255, .14);
}

.footer-preferences button {
  min-height: 42px;
  border-color: #77899a;
}

.floating-actions {
  z-index: 25;
  gap: 10px;
}

.reservation-fab {
  min-height: 48px;
  padding: 8px 15px;
  border: 1px solid #d0ab63;
  border-radius: 15px;
  background: var(--inner-gold);
  color: #172438;
  box-shadow: 0 14px 30px rgba(39, 55, 73, .2);
}

.reservation-fab > span:first-child {
  display: none;
}

.reservation-fab small {
  color: #5f4618;
}

.reservation-fab:hover {
  border-color: #cda75d;
  background: #cda75d;
}

.whatsapp-fab {
  width: 54px;
  height: 54px;
}

/* Navigation sur écran large et format intermédiaire. */
@media (min-width: 1051px) {
  .menu {
    display: none;
  }

  nav,
  nav.open {
    display: flex;
    align-items: center;
  }

  .mobile-tracking {
    display: none !important;
  }
}

@media (min-width: 1051px) and (max-width: 1249px) {
  .nav {
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 0 12px;
  }

  nav,
  nav.open {
    flex-basis: 100%;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 1250px) {
  .nav {
    flex-wrap: nowrap;
    gap: 30px;
    padding: 0;
  }

  nav,
  nav.open {
    flex: 1;
    flex-basis: auto;
    justify-content: flex-end;
    gap: clamp(13px, 1.35vw, 22px);
    margin: 0;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 1050px) {
  .nav {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin: 0;
    padding: 12px 0 5px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }

  nav.open {
    display: flex;
  }

  nav > a:not(.btn) {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid #e7ecf1;
  }

  nav > a:not(.btn)::after {
    display: none;
  }

  .nav-quote {
    width: 100%;
    margin: 8px 0 2px;
  }

  .mobile-tracking {
    display: flex !important;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 92px;
  }

  .wrap {
    width: min(var(--inner-max), calc(100% - 32px));
  }

  .top {
    display: none;
  }

  .brand .mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }

  .inner-hero {
    padding: 56px 0 54px;
    border-radius: 0 0 30px 30px;
  }

  .inner-hero::after {
    right: 16px;
    width: 76px;
  }

  .inner-hero h1 {
    font-size: clamp(2.45rem, 10.4vw, 3.65rem);
    line-height: 1.04;
  }

  .inner-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  main .section {
    padding: 60px 0 !important;
  }

  .section-head {
    display: block;
    margin-bottom: 30px;
  }

  .section-head h2,
  .content > h2,
  .content > div > h2,
  .anniversary-story h2,
  .contact-form-layout h2 {
    font-size: clamp(2rem, 8vw, 2.65rem);
  }

  .section-head p {
    margin-top: 16px;
  }

  .two-col,
  .story-grid,
  .anniversary-story,
  .contact-form-layout,
  .agency-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .two-col > aside.note,
  .two-col > aside > .note,
  .contact-form-layout aside {
    position: static;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .service-block,
  .reading article,
  .note {
    padding: 25px;
    border-radius: 19px;
  }

  .service-block:first-child {
    padding-top: 25px;
  }

  .story-grid .photo-block {
    min-height: 340px;
  }

  .story-grid.reverse .photo-block {
    order: 0;
  }

  .band {
    margin-block: 8px;
    padding: 30px;
    border-radius: 22px;
  }

  .band .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    padding: 24px;
  }

  .contact-form,
  .contact-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .actions {
    align-items: stretch;
  }

  .actions .btn {
    flex: 1 1 220px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .footer-preferences {
    padding-bottom: 94px;
  }

  .floating-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--inner-max), calc(100% - 28px));
  }

  .brand > span:last-child {
    font-size: .9rem;
  }

  .brand small {
    font-size: .56rem;
  }

  .inner-hero {
    padding: 48px 0;
  }

  .inner-hero .eyebrow {
    font-size: .68rem;
    letter-spacing: .13em;
  }

  .inner-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  main .section {
    padding: 52px 0 !important;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-block,
  .story-grid .photo-block {
    border-radius: 18px;
  }

  .wide-image,
  .story-grid .photo-block {
    height: 290px;
    min-height: 290px;
  }

  .service-photo {
    height: 240px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    flex-basis: auto;
  }

  .quote-progress {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reservation-fab {
    min-height: 44px;
    padding: 7px 12px;
  }

  .whatsapp-fab {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .card:hover,
  .btn:hover,
  .photo-block:hover img {
    transform: none;
  }
}

@media print {
  .top,
  header,
  .floating-actions,
  dialog,
  footer {
    display: none !important;
  }

  .inner-hero,
  main .section,
  main .section.gray {
    padding: 24px 0 !important;
    border: 0;
    background: #fff;
  }

  .card,
  .note,
  .service-block,
  .table-scroll {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* À propos V24 : montrer les trois métiers sans transformer la page en catalogue. */
.about-gallery-section{padding-top:78px!important;background:#f7f9fb}
.operations-gallery{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);grid-template-rows:repeat(2,minmax(220px,1fr));gap:16px}
.operations-gallery figure{position:relative;min-height:0;margin:0;overflow:hidden;border-radius:var(--inner-radius-lg);background:#dfe6ed;box-shadow:var(--inner-shadow-soft)}
.operations-gallery-main{grid-row:1 / 3}
.operations-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.operations-gallery figure:hover img{transform:scale(1.025)}
.operations-gallery figcaption{position:absolute;right:12px;bottom:12px;left:12px;padding:15px 17px;border:1px solid rgba(255,255,255,.28);border-radius:13px;background:rgba(23,37,53,.84);color:#fff;backdrop-filter:blur(10px)}
.operations-gallery figcaption span{display:block;margin-bottom:4px;color:#e7c87f;font-size:.62rem;font-weight:820;letter-spacing:.14em}
.operations-gallery figcaption b{font-size:.9rem;line-height:1.35}
.operations-gallery-foot{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.operations-gallery-foot p{margin:0;color:var(--muted);font-size:.82rem}

/* Les options d’entrée de gamme restent immédiatement repérables. */
.price-choice-best{background:#fbf5e9!important;box-shadow:inset 4px 0 var(--inner-gold)}
.price-best{color:#6a4d19;font-size:1.02rem;white-space:nowrap}
.price-best small,td small{color:#687688;font-size:.72rem;font-weight:650}
.best-value-label{display:inline-flex;margin-left:9px;padding:4px 7px;border:1px solid #d9b96f;border-radius:999px;background:#f4e4bd;color:#674a17;font-size:.58rem;font-weight:820;letter-spacing:.08em;vertical-align:middle}

@media(max-width:800px){
  .operations-gallery{grid-template-columns:1fr;grid-template-rows:none}
  .operations-gallery-main{grid-row:auto}
  .operations-gallery figure{height:min(64vw,330px)}
  .operations-gallery-foot{align-items:flex-start;flex-direction:column;gap:10px}
}

@media(max-width:520px){
  .operations-gallery figure{height:230px;border-radius:18px}
  .operations-gallery figcaption{padding:12px 13px}
  .best-value-label{display:flex;width:fit-content;margin:6px 0 0}
}
