/* Logo : cyan #10a0c0 · rouge #e00010 · nuit #07131c
   Gabarit commercial clair, coins 10px, Inter. */

:root {
  --nuit: #07131c;
  --cyan: #10a0c0;
  --cyan-deep: #0c88a4;
  --rouge: #e00010;
  --rouge-deep: #c0000e;
  --page: #ffffff;
  --soft: #f3f8fb;
  --encre: #07131c;
  --texte: #3a3a3a;
  --muted: #5c6770;
  --ligne: rgba(7, 19, 28, 0.12);
  --sans: "Inter", "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(7, 19, 28, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.6rem; }

body {
  margin: 0;
  background: var(--page);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(3.7rem + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection { background: var(--cyan); color: #fff; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--cyan);
  color: #fff;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.lede {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--encre);
}

h2 {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--encre);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--encre);
}

.prose p,
.block p { margin: 0.35rem 0 0; }

.prose a,
.block a:not(.cta),
.catalogue a,
.section-head a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.mark {
  background-image: linear-gradient(var(--rouge), var(--rouge));
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 88%;
}

.line { display: inline; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid #d7f4fb;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(16, 160, 192, 0.45);
  cursor: pointer;
  animation: pulse-cyan 2.6s ease-out infinite;
}

.cta:hover { background: var(--cyan-deep); }

.cta-ghost {
  background: var(--rouge);
  color: #fff;
  border-color: #ffd5d8;
  animation-name: pulse-rouge;
  animation-delay: 1.3s;
}

.cta-ghost:hover { background: var(--rouge-deep); }

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

/* Header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.8rem;
  padding: 0.4rem 1.25rem;
  background: var(--nuit);
  box-shadow: 0 8px 20px rgba(7, 19, 28, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img { height: 74px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.7rem;
  color: #d7e6ef;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }

.site-nav a[aria-current="page"] { color: var(--cyan); }

.nav-cta {
  margin-left: 0.35rem;
  padding: 0.55rem 1rem;
  background: var(--cyan);
  color: #fff !important;
  border: 2px solid #d7f4fb;
  border-radius: var(--radius);
  animation: pulse-cyan 2.6s ease-out infinite;
}

.nav-cta:hover { background: var(--cyan-deep); }

.phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-left: 0.35rem;
  padding: 0.35rem 0.8rem;
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  line-height: 1.15;
}

.phone span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fd8e8;
}

.phone strong {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.phone:hover { background: rgba(16, 160, 192, 0.16); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  cursor: pointer;
}

/* Hero */

.hero { padding: 2.4rem 0 2.8rem; background: #fff; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.offer-line {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--encre);
}

.price-pill {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.12rem 0.6rem;
  background: var(--nuit);
  color: #fff;
  font-weight: 800;
  border-radius: var(--radius);
}

.hero-mark { margin: 0; }

.hero-mark img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.page-hero { padding: 2.6rem 0 1.6rem; background: #fff; }

.tone-fire { border-top: 4px solid var(--rouge); }
.tone-ice { border-top: 4px solid var(--cyan); }
.tone-both { border-top: 4px solid var(--cyan); }

.page-hero h1 { max-width: 20ch; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 1.6rem;
  align-items: center;
}

.plate { margin: 0; }

.plate img,
.plate-span img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.plate img[src*="svc-"] {
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
}

.meridian {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, #f0a020 52%, var(--rouge) 100%);
}

.section { padding: 3.4rem 0; }

.section-head {
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-head p {
  margin: 0.35rem auto 0;
  max-width: 38rem;
  color: var(--muted);
}

.include {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.2rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.include li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--encre);
  font-size: 0.95rem;
}

.include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.28rem;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* Service cards */

.svc-grid,
.type-grid {
  display: grid;
  gap: 1rem;
}

.svc-grid { grid-template-columns: repeat(4, 1fr); }
.type-grid { grid-template-columns: repeat(3, 1fr); }

.svc-grid a,
.type-grid a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: var(--encre);
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.svc-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.svc-grid strong {
  display: block;
  padding: 0.85rem 0.95rem 0.15rem;
  background: var(--nuit);
  color: var(--cyan);
  font-size: 1.02rem;
}

.svc-grid span {
  display: block;
  padding: 0.15rem 0.95rem 0.95rem;
  background: var(--nuit);
  color: #d5e4ee;
  font-size: 0.9rem;
}

.svc-grid a:hover strong { color: #fff; }

.type-grid a { padding: 1.15rem 1.05rem 1rem; min-height: 100%; }

.type-grid strong { font-size: 1.05rem; }

.type-grid span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.type-grid em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--cyan-deep);
  font-style: normal;
  font-weight: 700;
}

.type-grid a:hover em { color: var(--rouge); }

/* Offers */

.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offers > li,
.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.05rem 1.1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offers h3 { min-height: 2.6em; }

.price {
  margin: 0.35rem 0 0;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--encre);
  line-height: 1.1;
}

.price-old {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: line-through;
}

.price-sub,
.disclaimer {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.offer-points {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.offer-points li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0.12rem 0 0.12rem 1.15rem;
  background: transparent;
  color: var(--texte);
  font-size: 0.9rem;
  box-shadow: none;
  border-radius: 0;
}

.offer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.24rem;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.offers .cta { margin-top: 1rem; }

.disclaimer { max-width: 46rem; margin-top: 1.2rem; }

.price-card { position: sticky; top: 5.6rem; }
.price-card .price { margin-top: 0.2rem; }
.price-card .cta { margin-top: 1rem; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding: 1.1rem 1rem 1.15rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  background: var(--nuit);
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
}

.steps li:nth-child(2) span { background: var(--cyan); }
.steps li:nth-child(3) span { background: var(--rouge); }

.steps h3 { margin-top: 0.7rem; }
.steps p { margin: 0; color: var(--muted); }

/* Inner pages */

.block { padding: 3rem 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 1.8rem;
  align-items: start;
}

.sheet a {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--ligne);
  text-decoration: none;
}

.sheet a:hover { background: rgba(16, 160, 192, 0.06); }

.sheet-name { font-weight: 700; color: var(--encre); }
.sheet-desc { color: var(--muted); }

.sheet-meta {
  color: var(--rouge);
  font-weight: 700;
  text-align: right;
}

.compare,
.catalogue { width: 100%; border-collapse: collapse; background: #fff; }

.compare th,
.compare td,
.catalogue th,
.catalogue td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--ligne);
  text-align: left;
  vertical-align: top;
}

.compare th,
.catalogue th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
}

.compare td:first-child { color: var(--encre); font-weight: 700; }

.catalogue { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.catalogue-block { margin-top: 1.8rem; }

.catalogue caption {
  padding: 0.8rem 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: left;
  color: var(--encre);
}

.catalogue .num,
.compare .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.catalogue tbody tr:hover td { background: rgba(16, 160, 192, 0.06); }

.table-wrap { overflow-x: auto; }

.faq { margin-top: 1rem; border-top: 1px solid var(--ligne); }

.faq details { border-bottom: 1px solid var(--ligne); }

.faq summary {
  padding: 0.8rem 0;
  font-weight: 700;
  color: var(--encre);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-weight: 700;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 0 0 0.85rem; color: var(--muted); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  background: var(--soft);
  color: var(--encre);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}

.jump a:hover { background: var(--cyan); color: #fff; }

/* Communes */

.communes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.communes a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.communes strong { color: var(--encre); }
.communes span { color: var(--cyan-deep); font-weight: 700; font-size: 0.88rem; }
.communes a:hover strong,
.communes a.is-current strong { color: var(--rouge); }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-side .phone-xl {
  display: inline-block;
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--encre);
  text-decoration: none;
}

.contact-side .phone-xl:hover { color: var(--rouge); }

.form-card {
  padding: 1.4rem 1.25rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.form-card label,
label { color: var(--encre); }

.ask { white-space: nowrap; }

form { display: grid; gap: 0.85rem; }

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.75rem;
  background: #fff;
  color: var(--encre);
  border: 1px solid #c5d2dc;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}

textarea { min-height: 140px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--cyan);
  border-color: var(--cyan);
}

.span-2 { grid-column: 1 / -1; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success,
.form-error,
.form-note {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--soft);
  color: var(--encre);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
}

.form-error { border-left-color: var(--rouge); }
.form-success,
.form-error { display: none; }

/* Footer */

.site-foot {
  padding: 0 0 2rem;
  background: var(--nuit);
  color: #d5e4ee;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.6rem;
  padding-top: 2rem;
}

.site-foot h2 {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: #fff;
}

.site-foot a {
  display: block;
  margin: 0.28rem 0;
  color: #d5e4ee;
  text-decoration: none;
}

.site-foot a:hover { color: var(--cyan); }

.site-foot .brand { margin-bottom: 0.6rem; }
.site-foot .brand img { height: 96px; }
.site-foot p { margin: 0 0 0.6rem; color: #b7c9d4; }

.legal {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(214, 232, 242, 0.16);
  color: #93a8b6;
  font-size: 0.86rem;
  max-width: 52rem;
}

.callbar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  min-height: 3.6rem;
}

.callbar a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.callbar-devis {
  background: var(--cyan);
  border: 2px solid #d7f4fb;
  border-right: 4px solid var(--nuit);
  animation: pulse-cyan 2.6s ease-out 1.3s infinite;
}
.callbar-call {
  background: var(--rouge);
  border: 2px solid #ffd5d8;
  animation: pulse-rouge 2.6s ease-out infinite;
}
.callbar-devis:hover { background: var(--cyan-deep); }
.callbar-call:hover { background: var(--rouge-deep); }

main > section:nth-of-type(even) { background: var(--soft); }

main > section:nth-of-type(even) :is(.offers > li, .price-card, .steps li, .type-grid a, .communes a, .form-card) {
  background: #fff;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; order: 3; margin-left: 0.35rem; }
  .phone { order: 2; margin-left: auto; }
  .phone span { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.45rem 1rem 0.9rem;
    background: var(--nuit);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; }
  .nav-cta { margin: 0.35rem 0 0; justify-content: center; }
  .offers,
  .type-grid,
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid,
  .page-hero-grid,
  .offers,
  .steps,
  .split,
  .contact-grid,
  .foot-grid,
  .communes,
  .fields,
  .include,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .plate { order: -1; }
  .hero-mark img { aspect-ratio: 682 / 1024; max-height: none; object-position: center; }
  .plate { order: -1; }
  .price-card { position: static; }
  .form-card { order: -1; }
  .sheet a { grid-template-columns: 1fr; gap: 0.2rem; }
  .sheet-meta { text-align: left; }
  .brand img { height: 58px; }
  .site-foot .brand img { height: 80px; }
  .page-hero { padding-top: 1.8rem; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.15rem); }
}

@keyframes pulse-cyan {
  0% { box-shadow: 0 0 0 0 rgba(16, 160, 192, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(16, 160, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 160, 192, 0); }
}

@keyframes pulse-rouge {
  0% { box-shadow: 0 0 0 0 rgba(224, 0, 16, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(224, 0, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 0, 16, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta,
  .nav-cta,
  .callbar a { animation: none; }
}
