:root {
  --color-blue-950: #05285b;
  --color-blue-900: #073675;
  --color-blue-800: #0b458f;
  --color-blue-100: #eaf4ff;
  --color-blue-050: #f5faff;
  --color-red-700: #d70d18;
  --color-red-600: #e51320;
  --color-red-050: #fff0f1;
  --color-ink: #10213f;
  --color-muted: #5c6b82;
  --color-border: #dfe8f3;
  --color-bg: #ffffff;
  --color-soft: #f6f9fd;
  --shadow-sm: 0 8px 22px rgba(5, 40, 91, 0.09);
  --shadow-md: 0 18px 45px rgba(5, 40, 91, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  /* Indispensable avec les attributs width/height du HTML : le navigateur
     réserve la place d'après le rapport intrinsèque, sans figer la hauteur. */
  height: auto;
}

/* Champ servant de piège aux robots : hors écran plutôt que display:none,
   que certains robots savent détecter. Ne pas retirer. */
.form-field--confirm {
  position: absolute !important;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 28px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: #fff;
  color: var(--color-blue-900);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 54, 117, 0.08);
}

.topbar {
  background: linear-gradient(90deg, var(--color-blue-950), var(--color-blue-800));
  color: #fff;
  font-size: 0.92rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
  font-weight: 650;
}

.topbar__item span:first-child {
  color: #fff;
  opacity: 0.95;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 108px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand__logo {
  width: min(330px, 44vw);
  max-height: 105px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
  font-weight: 750;
  color: var(--color-blue-950);
}

.main-nav__link {
  position: relative;
  padding-block: 8px;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--color-red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav__link:hover::after,
.main-nav__link--active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-blue-950);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(5, 40, 91, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header--menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header--menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red-600), var(--color-red-700));
  box-shadow: 0 12px 24px rgba(229, 19, 32, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 16px 30px rgba(229, 19, 32, 0.28);
}

.btn--secondary {
  color: var(--color-blue-950);
  background: #fff;
  border-color: var(--color-blue-900);
}

.btn--large {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 12px;
}

.btn--full {
  width: 100%;
  min-height: 54px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(234, 244, 255, 0.92), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #f8fbff 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  min-height: 620px;
  padding-block: 70px 100px;
}

.hero__content,
.hero__visual {
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 14px;
  color: var(--color-blue-900);
  background: var(--color-blue-100);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--color-blue-950);
  font-size: clamp(2.35rem, 4.35vw, 4.65rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 710px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-blue-950);
}

.quick-points__icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--color-blue-900);
  background: #fff;
  border: 2px solid var(--color-blue-100);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(5, 40, 91, 0.08);
  font-weight: 900;
}

.quick-points strong,
.quick-points small {
  display: block;
}

.quick-points strong {
  font-size: 0.98rem;
}

.quick-points small {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.hero__blob,
.hero__appliances {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.hero__blob {
  width: min(780px, 115%);
  opacity: 0.92;
  filter: drop-shadow(0 20px 35px rgba(5, 40, 91, 0.07));
}

.hero__appliances {
  width: min(610px, 96%);
  transform: translate(-47%, -42%);
  filter: drop-shadow(0 20px 35px rgba(10, 24, 50, 0.16));
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -58px;
  pointer-events: none;
}

.wave img {
  width: 100%;
  height: 156px;
  object-fit: fill;
}

.section {
  padding-block: clamp(64px, 7vw, 92px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
  text-align: center;
}

/* Traits décoratifs de part et d'autre du titre : en pseudo-éléments plutôt
   qu'en <span> vides, la décoration n'encombre pas le balisage. */
.section-heading::before,
.section-heading::after {
  content: "";
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-red-600), transparent);
}

.section-heading h2,
.center-title {
  margin: 0;
  color: var(--color-blue-950);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.services {
  padding-top: 100px;
  background: #fff;
}

.cards {
  display: grid;
  gap: 22px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(234, 244, 255, 0.95), transparent 55%);
  pointer-events: none;
}

.service-card > * {
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__image {
  width: min(150px, 88%);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--color-blue-950);
  font-size: 1.2rem;
}

.service-card p {
  min-height: 82px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.services-note {
  width: fit-content;
  max-width: 100%;
  margin: 26px auto 0;
  padding: 14px 22px;
  color: var(--color-blue-950);
  background: var(--color-blue-050);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(5, 40, 91, 0.05);
}

.services-note h3 {
  margin-bottom: 4px;
  color: var(--color-red-700);
  font-size: 1.05rem;
  font-weight: 900;
}

.services-note p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 650;
}

.advantages {
  background: linear-gradient(180deg, #fff 0%, var(--color-soft) 100%);
}

.center-title {
  margin-bottom: 36px;
  text-align: center;
}

.advantages__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.advantages__story {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.advantages__story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red-600), var(--color-blue-800));
}

.advantages__kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 13px;
  color: var(--color-blue-900);
  background: var(--color-blue-100);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
}

.advantages__story p:not(.advantages__kicker) {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.advantages__story p:last-child {
  margin-bottom: 0;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.advantage {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.advantage__icon {
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  color: var(--color-blue-900);
  background: var(--color-blue-100);
  border-radius: 999px;
  font-size: 1.22rem;
  font-weight: 950;
}

.advantage h3 {
  margin: 0;
  color: var(--color-blue-950);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.15;
}
.brands {
  background: #fff;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.brand-grid span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--color-blue-950);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 5px 14px rgba(5, 40, 91, 0.04);
}

.emergency {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-block: 10px 24px;
  padding: 28px 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red-600), #ba0711);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px rgba(229, 19, 32, 0.22);
}

.emergency__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 900;
}

.emergency h2 {
  margin-bottom: 4px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.emergency p {
  margin: 0;
  opacity: 0.92;
  font-weight: 650;
}

.emergency__phone {
  min-width: 220px;
  padding: 18px 24px;
  color: var(--color-red-700);
  background: #fff;
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 950;
  text-align: center;
}

.contact {
  background:
    linear-gradient(180deg, #fff 0%, var(--color-soft) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 14px;
  color: var(--color-blue-950);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.contact__info h2::after {
  content: "";
  display: block;
  width: 210px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--color-red-600), transparent);
  border-radius: 999px;
}

.contact__info p {
  max-width: 480px;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.contact-list {
  display: grid;
  gap: 22px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-blue-950);
  font-size: 1.1rem;
  font-weight: 800;
}

.contact-list li > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--color-blue-900);
  background: var(--color-blue-100);
  border-radius: 999px;
}

.contact-list small {
  color: var(--color-muted);
  font-weight: 650;
}

.contact-card {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--color-blue-900);
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 950;
}

.contact-card h3 {
  margin-bottom: 12px;
  color: var(--color-blue-950);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.contact-card p {
  max-width: 430px;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.service-form {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 69, 143, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 55px rgba(5, 40, 91, 0.13);
}

.service-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red-600), var(--color-blue-800));
}

.service-form__header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.service-form h3 {
  margin-bottom: 7px;
  color: var(--color-blue-950);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.08;
}

.service-form__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--color-blue-950);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-field > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-field strong {
  color: var(--color-red-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--color-ink);
  background: #f8fbff;
  border: 1px solid #cddbeb;
  border-radius: 10px;
  font: inherit;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #b8cce3;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--color-blue-800);
  box-shadow: 0 0 0 4px rgba(11, 69, 143, 0.13);
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field--full {
  grid-column: 1 / -1;
}

.photo-uploader {
  position: relative;
  padding: 16px;
  background: #fff;
  border: 1px solid #cddbeb;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(234, 244, 255, 0.7);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.photo-uploader--dragover {
  background: var(--color-blue-050);
  border-color: var(--color-blue-800);
  box-shadow: 0 0 0 4px rgba(11, 69, 143, 0.11);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 12px;
}

.photo-preview,
.photo-add-tile {
  position: relative;
  min-height: 104px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.photo-preview {
  overflow: hidden;
  background: #eef5fc;
  border: 1px solid #d6e3f1;
  box-shadow: 0 8px 18px rgba(5, 40, 91, 0.08);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #fff;
  background: rgba(5, 40, 91, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(5, 40, 91, 0.22);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.photo-remove:hover {
  background: var(--color-red-700);
}

.photo-add-tile {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  color: var(--color-blue-900);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--color-blue-050) 100%);
  border: 2px dashed #9fb9d7;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.15;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.photo-add-tile:hover {
  border-color: var(--color-blue-800);
  background: #fff;
  transform: translateY(-1px);
}
.photo-add-tile--disabled {
  color: var(--color-muted);
  background: #f3f6fa;
  border-color: #c8d4e2;
  cursor: not-allowed;
  opacity: 0.82;
}

.photo-add-tile--disabled:hover {
  border-color: #c8d4e2;
  background: #f3f6fa;
  transform: none;
}

.photo-add-tile--disabled .photo-add-tile__icon {
  background: var(--color-muted);
  box-shadow: none;
  font-size: 1.2rem;
}

.photo-uploader--limit-reached .photo-limit__bar span {
  background: var(--color-red-700);
}

.photo-add-tile__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-blue-900);
  box-shadow: 0 8px 18px rgba(5, 40, 91, 0.18);
  font-size: 1.55rem;
  line-height: 1;
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.photo-help {
  margin: 11px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 650;
}
.photo-limit[hidden] {
  display: none;
}

.photo-limit {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.photo-limit__row {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.photo-limit-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.photo-limit-menu__toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 24px;
  margin-left: 4px;
  padding: 0;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.photo-limit-menu__toggle:hover,
.photo-limit-menu__toggle[aria-expanded="true"] {
  color: var(--color-blue-950);
  background: #e8eff7;
}

.photo-limit-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  width: max-content;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(5, 40, 91, 0.16);
}

.photo-limit-menu__panel[hidden] {
  display: none;
}

.photo-limit-menu__panel button {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  color: var(--color-red-700);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.photo-limit-menu__panel button:hover,
.photo-limit-menu__panel button:focus-visible {
  outline: 0;
  color: #fff;
  background: var(--color-red-700);
}
.photo-limit__bar {
  height: 5px;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  background: #e8eff7;
  border-radius: 999px;
}

.photo-limit__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue-800), var(--color-red-600));
  border-radius: inherit;
  transition: width 180ms ease;
}

.photo-limit__message {
  grid-column: 1 / -1;
  margin: -1px 0 0;
  color: var(--color-red-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.photo-limit__message:empty {
  display: none;
}

.photo-limit--message-only {
  display: block;
}

.photo-limit--message-only .photo-limit__row,
.photo-limit--message-only .photo-limit__bar {
  display: none;
}

.photo-uploader--near-limit {
  border-color: rgba(215, 13, 24, 0.45);
}
.photo-preview__button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.photo-preview__button:focus-visible {
  outline: 4px solid rgba(11, 69, 143, 0.28);
  outline-offset: -4px;
}

body.modal-open {
  overflow: hidden;
}
.service-success-modal[hidden] {
  display: none;
}

.service-success-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
}

.service-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 43, 0.68);
  backdrop-filter: blur(3px);
}

.service-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(2, 18, 43, 0.34);
  text-align: center;
}

.service-success-modal__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: #fff;
  background: var(--color-blue-900);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(5, 40, 91, 0.2);
  font-size: 2rem;
  font-weight: 950;
}

.service-success-modal h3 {
  margin-bottom: 10px;
  color: var(--color-blue-950);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.service-success-modal p {
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 650;
}

.service-success-modal .btn {
  min-width: 150px;
}

.photo-modal[hidden] {
  display: none;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 43, 0.72);
  backdrop-filter: blur(3px);
}

.photo-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(2, 18, 43, 0.36);
}

.photo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.photo-modal__header h3 {
  margin: 0;
  color: var(--color-blue-950);
  font-size: 1.05rem;
  line-height: 1.2;
}

.photo-modal__close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--color-blue-950);
  background: var(--color-blue-050);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.photo-modal__close:hover {
  background: var(--color-blue-100);
}

.photo-modal__body {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 18px;
  background: #061b3d;
}

.photo-modal__body img {
  width: auto;
  max-width: 100%;
  max-height: min(58vh, 520px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.photo-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--color-border);
}

.photo-modal__remove {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red-600), var(--color-red-700));
  box-shadow: 0 12px 24px rgba(229, 19, 32, 0.18);
}

.photo-modal__remove:hover {
  box-shadow: 0 16px 30px rgba(229, 19, 32, 0.25);
}

.service-form .btn {
  margin-top: 22px;
  min-height: 54px;
}
@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, var(--color-blue-950), #021b41);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 56px 44px;
}

.footer__logo-card {
  width: min(300px, 100%);
  padding: 10px;
  background: #fff;
  border-radius: var(--radius-md);
}

.footer__logo-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer p,
.site-footer a {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer nav {
  display: grid;
  gap: 7px;
}
.footer__section-title {
  margin-top: 26px;
}

.footer-hours {
  display: grid;
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.86);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer__bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}


@media (max-width: 560px) {
  .service-success-modal {
    padding: 14px;
  }

  .service-success-modal__dialog {
    padding: 30px 22px 24px;
    border-radius: 14px;
  }

  .service-success-modal .btn {
    width: 100%;
  }
  .photo-modal {
    padding: 14px;
  }

  .photo-modal__dialog {
    max-height: calc(100vh - 28px);
    border-radius: 14px;
  }

  .photo-modal__actions {
    flex-direction: column-reverse;
  }

  .photo-modal__actions .btn {
    width: 100%;
  }
}
@media (max-width: 1050px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding-block: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: 340px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: unset;
  }

  .hero__lead,
  .hero h1,
  .quick-points {
    margin-inline: auto;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 470px;
  }
  .cards--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages__layout {
    grid-template-columns: 1fr;
  }

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

  .advantage {
    align-items: flex-start;
  }

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

  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-inline: 10px;
    padding-block: 10px;
  }

  .topbar__item {
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .topbar__item span:last-child {
    min-width: 0;
  }

  .main-nav {
    width: 100%;
    display: none;
    grid-column: 1 / -1;
    padding: 14px 0 6px;
    border-top: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .site-header--menu-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav__link {
    padding: 12px 14px;
    border-radius: 10px;
    text-align: center;
  }

  .main-nav__link:hover,
  .main-nav__link--active {
    background: var(--color-blue-050);
  }

  .main-nav__link::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 14px;
    min-height: auto;
    padding-block: 14px;
  }

  .brand {
    justify-self: start;
  }

  .brand__logo {
    width: 290px;
  }

  .hero__grid {
    padding-block: 48px 76px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 7.4vw, 2.55rem);
    line-height: 1.06;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .eyebrow {
    width: auto;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.25;
    text-align: center;
  }

  .hero__visual {
    min-height: 340px;
  }

  .hero__blob {
    width: 115%;
  }

  .hero__appliances {
    width: 92%;
  }

  .hero__actions,
  .quick-points {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .quick-points {
    max-width: 380px;
  }

  .quick-points li {
    text-align: left;
  }

  .wave {
    bottom: -42px;
  }

  .wave img {
    height: 110px;
  }

  .section {
    padding-block: 58px;
  }

  .services {
    padding-top: 82px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading span {
    width: min(260px, 70%);
    margin-inline: auto;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .advantage {
    align-items: center;
    min-height: auto;
  }

  .cards--services,
  .brand-grid,
  .contact__grid,
  .footer__grid,
  .emergency {
    grid-template-columns: 1fr;
  }
.emergency {
    text-align: center;
    justify-items: center;
    padding: 28px 20px;
  }

  .emergency__phone {
    min-width: 0;
    width: 100%;
  }

  .contact-list li {
    font-size: 1rem;
  }

  .footer__grid {
    gap: 28px;
  }
}

@media (max-width: 430px) {
  .topbar {
    font-size: 0.86rem;
  }

  .brand__logo {
    width: 260px;
  }

  .btn--large {
    padding-inline: 18px;
  }

  .hero__visual {
    min-height: 280px;
  }

  .service-card {
    padding-inline: 20px;
  }

  .main-nav {
    font-size: 0.88rem;
  }
}

/* Le formulaire annonce désormais ses résultats en fenêtre : le message sous
   le bouton ne sert plus qu'aux lecteurs d'écran, pour signaler l'envoi en
   cours sans imposer une fenêtre à ce moment-là. */
.form-message {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Variante d'échec de la fenêtre de résultat. */
.service-success-modal--error .service-success-modal__icon {
  background: var(--color-red-600);
  box-shadow: 0 14px 30px rgba(229, 19, 32, 0.24);
}

/* Les cartes « Pourquoi nous choisir » portent désormais un texte sous le
   titre : la colonne évite que la description passe sous l'icône. */
.advantage__text {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.advantage__text p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Zones desservies : reprend la grille des marques, avec des colonnes plus
   larges car les noms de secteurs sont plus longs. */
.zone-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

/* Message secondaire de la confirmation (vacances, fermeture). Distinct du
   message principal sans être alarmant : il informe, il n'avertit pas. */
.service-success-modal__notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--color-blue-950);
  background: var(--color-blue-050);
  border: 1px solid var(--color-blue-100);
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: left;
  white-space: pre-line;
}

.service-success-modal__notice[hidden] { display: none; }
