:root {
  --citynum-blue: #0c6293;
  --citynum-ink: #123247;
  --citynum-text: #314b5d;
  --citynum-green: #087c68;
  --citynum-mint: #5ed7bf;
  --citynum-paper: #f3faf9;
  --citynum-border: #d7e8eb;
}

body {
  color: var(--citynum-text);
}

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

[data-elementor-type="header"] .elementor-element-e6b8e6f {
  background-color: #fff;
  border-bottom: 1px solid var(--citynum-border);
  min-height: 78px;
}

[data-elementor-type="header"] img[alt="CityNum"],
[data-elementor-type="footer"] img[alt="CityNum"] {
  display: block;
  width: clamp(132px, 13vw, 188px);
  height: auto;
  object-fit: contain;
}

.elementor-element-ebe1325 {
  background-color: var(--citynum-paper);
  background-image:
    radial-gradient(ellipse at 82% 45%, #d7f6ec 0%, transparent 52%),
    linear-gradient(#0c62930b 1px, transparent 1px),
    linear-gradient(90deg, #0c62930b 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.elementor-element-ebe1325 h1 {
  max-width: 13ch;
  color: var(--citynum-ink);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.elementor-element-ebe1325 h1 span {
  color: var(--citynum-green);
}

.elementor-element-ebe1325 p {
  max-width: 43ch;
  color: var(--citynum-text);
  line-height: 1.55;
}

.elementor-element-fd6e4b3 svg {
  max-width: 100%;
  height: auto;
}

.elementor-element-fd6e4b3 svg image {
  filter: hue-rotate(115deg) saturate(.72);
}

.elementor-element-e6b8e6f .e-svg svg path {
  fill: var(--citynum-blue);
}

.elementor-element-ebe1325 :is(a, button)[class*="e-79125f5"],
.elementor-element-ebe1325 [class*="e-79125f5"] :is(a, button),
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem 1.65rem;
  border: 1px solid var(--citynum-blue);
  border-radius: 999px;
  background: var(--citynum-blue);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.elementor-element-ebe1325 :is(a, button)[class*="e-79125f5"]:hover,
.elementor-element-ebe1325 [class*="e-79125f5"] :is(a, button):hover,
.wpcf7 input[type="submit"]:hover {
  background: var(--citynum-ink);
  border-color: var(--citynum-ink);
  color: #fff;
}

img:is(
  [src*="creation-site-internet-collectivite"],
  [src*="contrat-de-maintenance-collectivite"],
  [src*="identite-visuelle-collectivite"],
  [src*="site-web-eco-responsable"],
  [src*="accompagnement-humain"],
  [src*="securite-et-conformite-site-internet"],
  [src*="simplicite-et-transparence"]
) {
  filter: hue-rotate(119deg) saturate(.82);
}

[data-elementor-type="footer"] {
  border-top: 1px solid var(--citynum-border);
  background-color: #edf6f8;
}

.wpcf7 :is(input:not([type="submit"]), textarea) {
  border-color: var(--citynum-border);
  padding: .65rem .8rem;
  color: var(--citynum-ink);
}

.citynum-contact-card {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--citynum-border);
  border-radius: 20px;
  background-color: var(--citynum-paper);
}

.citynum-contact-card h2 {
  margin: 0 0 .45rem;
  color: var(--citynum-ink);
}

.citynum-contact-card a {
  display: inline-block;
  margin-top: .6rem;
  color: var(--citynum-blue);
  font-weight: 650;
  text-underline-offset: .2em;
}

@media (max-width: 767px) {
  [data-elementor-type="header"] .elementor-element-e6b8e6f {
    min-height: 64px;
  }

  .elementor-element-ebe1325 h1 {
    margin-inline: auto;
    font-size: clamp(2.2rem, 8.3vw, 3.15rem);
  }

  .elementor-element-ebe1325 p {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-element-ebe1325 :is(svg, svg *) {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
