/* Dera75 - static site stylesheet */

:root {
  --c-red: #af1f1a;
  --c-red-bright: #d30303;
  --c-red-hover: #44218f;
  --c-navy: #23283f;
  --c-heading: #082751;
  --c-text: #4b5162;
  --c-muted: #6a7080;
  --c-bg-soft: #f1f0f7;
  --c-teal: #22a2c4;
  --c-blue: #17a8e3;
  --c-purple: #7d3fff;
  --c-border: #e6e8ef;
  --shadow-soft: 0 50px 150px rgba(147, 155, 193, .1);
  --shadow-card: 0 20px 150px rgba(147, 155, 193, .2);
  --container: 1600px;
  --container-theme: 1140px;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
}

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

a {
  color: var(--c-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--c-heading);
  line-height: 1.3;
  margin: 0 0 .6em;
}

p {
  margin: 0 0 1.1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--container-theme);
}

.site-header .container,
.site-footer .container {
  max-width: var(--container-theme);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 34px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.btn svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.btn-blue svg {
  width: 17px;
  height: 17px;
}

.btn {
  white-space: nowrap;
}

.btn-red {
  background: var(--c-red);
  color: #fff;
}

.btn-red:hover,
.btn-red:focus {
  background: var(--c-red-hover);
  color: #fff;
}

.btn-purple {
  background: rgba(125, 63, 255, .1);
  color: var(--c-purple);
}

.btn-purple:hover,
.btn-purple:focus {
  background: var(--c-purple);
  color: #fff;
}

.btn-blue {
  background: var(--c-blue);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 4px;
  padding: 14px 38px;
}

.btn-blue:hover,
.btn-blue:focus {
  background: #0d8dc4;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--c-navy);
  color: #fff;
}

.btn-lg {
  font-size: 20px;
  padding: 20px 40px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 500;
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(35, 40, 63, .08);
}

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

.logo img {
  width: 220px;
  height: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--c-navy);
  text-decoration: none;
  border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--c-red);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--c-red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--c-navy);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: #14161f url('../img/brown-rat-2115585_1920.webp') center/cover no-repeat;
  padding: 150px 20px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .58);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.35;
  color: #fff;
  margin-bottom: .5em;
}

.hero-badges {
  width: 300px;
  margin: 0 auto 22px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 34px;
  color: #fff;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 300;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  background: #14161f url('../img/brown-rat-2115585_1920-800.webp') center/cover no-repeat;
  padding: 92px 20px;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .6);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 auto;
  max-width: 880px;
  color: #fff;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--c-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li+li::before {
  content: "›";
  margin-right: 6px;
  color: #aab;
}

.breadcrumbs a {
  color: var(--c-muted);
}

.breadcrumbs a:hover {
  color: var(--c-red);
}

/* ---------- Stats ---------- */
.stats {
  background: #fff;
  box-shadow: 0 25px 65px 0 #edeff2;
  position: relative;
  z-index: 2;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px 34px;
  padding: 22px 0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 13px;
}

.stat img {
  width: 46px;
  height: 46px;
}

.stat-num {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-navy);
  white-space: nowrap;
}

.stat-label {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #2a2a2a;
  line-height: 1.5;
  white-space: nowrap;
}

/* ---------- Home sections ---------- */
.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--c-bg-soft);
}

.section-white {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-wide-left {
  grid-template-columns: 1.5fr 1fr;
}

.section h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--c-heading);
}

.section h2.upper {
  text-transform: uppercase;
}

.section .lead {
  font-size: 16px;
  line-height: 2;
  color: var(--c-navy);
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  box-shadow: var(--shadow-soft);
  padding: 44px 20px 38px;
  text-align: center;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(102, 189, 74, .72);
  box-shadow: 0 50px 50px rgba(147, 155, 193, .1);
}

.card svg {
  width: 42px;
  height: 42px;
  color: #be0a0a;
  margin: 0 auto 18px;
}

.card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--c-navy);
  margin: 0;
}

/* CTA panel */
.cta-panel-wrap {
  overflow: hidden;
}

.cta-panel {
  position: relative;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding: 56px 40px;
}

.cta-panel::after {
  content: "";
  position: absolute;
  top: 22%;
  right: -60px;
  width: 150px;
  height: 150px;
  background: var(--c-purple);
}

.cta-panel h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 42px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--c-heading);
  margin: 0 0 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

/* Feature rows (text + image) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 60px;
}

.feature-row .feature-text {
  padding: 64px 40px 64px 64px;
}

.feature-row .feature-media {
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.feature-row .feature-media img {
  border-radius: 6px;
  width: 100%;
}

.feature-row h2 {
  font-size: 34px;
  font-weight: 600;
  color: #000;
}

/* ---------- FAQ ---------- */
.faq h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 34px;
}

.faq-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(147, 155, 193, .16);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  transition: background-color .2s ease, color .2s ease;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #444;
  transition: transform .25s ease, color .2s ease;
}

.faq-item[open] summary,
.faq-item summary:hover {
  background: var(--c-red-bright);
  color: #fff;
}

.faq-item[open] summary::after,
.faq-item summary:hover::after {
  color: #fff;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 20px 24px 26px;
  color: #333;
  font-size: 15px;
}

/* ---------- Interior content ---------- */
.content-wrap {
  padding: 56px 0 70px;
}

.content-section {
  padding: 26px 0 40px;
}

.content-section .cols {
  display: grid;
  gap: 56px;
  align-items: start;
}

.content-section .cols.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.content-section .cols.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.content-section .cols.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.content-section h2 {
  font-size: 30px;
  font-weight: 600;
  color: #46536b;
  margin-top: .2em;
}

.content-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: #46536b;
}

.prose {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 1.1em;
}

.prose li {
  margin-bottom: .4em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 15px;
}

.prose th,
.prose td {
  border: 1px solid var(--c-border);
  padding: 8px 12px;
  text-align: left;
}

.prose img {
  border-radius: 8px;
  margin: 10px 0;
}

.content-figure {
  margin: 0;
}

.content-figure img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.content-figure figcaption {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 8px;
  text-align: center;
}

.rich-cta {
  text-align: center;
  margin: 10px 0 20px;
}

/* ToC */
.toc {
  background: #fff;
  border: 1px solid #e3e6ee;
  border-left: 4px solid var(--c-red-bright);
  border-radius: 8px;
  padding: 22px 26px;
  box-shadow: 0 12px 40px rgba(147, 155, 193, .12);
}

.toc-title {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--c-navy);
  margin: 0 0 12px;
}

.toc ul {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin-bottom: .45em;
  font-size: 14.5px;
}

.toc a {
  color: #444;
}

.toc a:hover {
  color: var(--c-red);
}

/* Link list (icon list) */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .7em;
  font-size: 16px;
}

.link-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--c-red-bright);
}

.link-list a {
  color: var(--c-text);
}

.link-list a:hover {
  color: var(--c-red);
}

/* CTA band (interior) */
.cta-band {
  background: var(--c-red-bright);
  padding: 44px 20px;
  text-align: center;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cta-band h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}

/* ---------- Form ---------- */
.form-section {
  background: #fff;
}

.hubspot-box {
  background: #fbfcff;
  border: 1px solid #e8ebf4;
  border-radius: 10px;
  padding: 26px;
}

.form-placeholder {
  text-align: center;
  padding: 34px 16px;
}

.form-placeholder p {
  color: var(--c-muted);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 18px;
}

.hs-form,
.hs-form * {
  font-family: 'Poppins', sans-serif !important;
}

.hs-form label,
.hs-form .hs-label {
  font-size: 14px !important;
  color: var(--c-navy) !important;
}

.hs-form input:not([type="submit"]),
.hs-form textarea,
.hs-form select {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1px solid #d9dde8 !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  color: var(--c-navy) !important;
  background: #fff !important;
}

.hs-form input:focus,
.hs-form textarea:focus {
  outline: 2px solid rgba(23, 168, 227, .35) !important;
  border-color: var(--c-blue) !important;
}

.hs-form .hs-button,
.hs-form input[type="submit"] {
  background: #ef7b45 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 13px 30px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover {
  background: var(--c-red) !important;
}

/* devis page */
.contact-side h2 {
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  color: #46536b;
}

.phone-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rubik', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--c-navy);
  margin: 18px 0 26px;
}

.phone-line svg {
  width: 26px;
  height: 26px;
  color: var(--c-navy);
}

.contact-side img {
  max-width: 380px;
  margin-top: 10px;
}

/* ---------- Arrondissement links ---------- */
.arrondissements {
  padding: 30px 0 44px;
  border-top: 1px solid #f0f1f5;
}

.arrondissements ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.arrondissements a {
  color: #454a58;
  font-size: 14px;
}

.arrondissements a:hover {
  color: var(--c-red);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid #eef0f6;
  padding: 54px 0 40px;
  font-size: 14px;
  color: #4a4f5e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
}

.footer-grid p {
  line-height: 1.9;
  margin: 0 0 16px;
}

.socials {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f0f7;
  color: var(--c-navy);
}

.socials a:hover {
  background: var(--c-red);
  color: #fff;
  text-decoration: none;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-grid img.badges {
  max-width: 300px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.footer-links li {
  margin-bottom: .55em;
}

.footer-links a {
  color: #454a58;
  text-decoration: underline;
  text-decoration-color: #d9dde8;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--c-red);
}

.map-holder {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f0f7;
  height: 230px;
  border: 1px solid #e8ebf4;
}

.map-holder iframe {
  width: 100%;
  height: 230px;
  border: 0;
  display: block;
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 16px;
}

.map-placeholder p {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
}

.map-address {
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-navy);
}

.site-info {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #eef0f6;
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
}

.bottom-bar {
  height: 10px;
  background: var(--c-teal);
}

/* ---------- Floating buttons ---------- */
.call-float {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-red-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(211, 3, 3, .45);
  z-index: 480;
  animation: pulse 2.6s infinite;
}

.call-float:hover {
  background: var(--c-red);
  color: #fff;
}

.call-float svg {
  width: 26px;
  height: 26px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 3, 3, .42); }
  70% { box-shadow: 0 0 0 16px rgba(211, 3, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 3, 3, 0); }
}

.cookie-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(35, 40, 63, .35);
  z-index: 480;
}

.cookie-float:hover {
  background: var(--c-red);
}

.cookie-float svg {
  width: 22px;
  height: 22px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 74px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #bfe3f5;
  color: #2b3a4a;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 470;
}

.to-top.is-visible {
  display: flex;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Cookie banner ---------- */
.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 31, .45);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.cc-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cc-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 30px);
  width: min(680px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(20, 22, 31, .35);
  z-index: 950;
  padding: 28px 30px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.cc-banner.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cc-banner h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-navy);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-banner h2 svg {
  width: 24px;
  height: 24px;
  color: var(--c-red-bright);
}

.cc-banner p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
  margin: 0 0 18px;
}

.cc-banner p a {
  color: var(--c-red);
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cc-actions .btn {
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
}

.cc-prefs {
  display: none;
  margin: 18px 0 6px;
  border-top: 1px solid #eef0f6;
  padding-top: 16px;
}

.cc-prefs.is-open {
  display: block;
}

.cc-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f4f5f9;
}

.cc-pref:last-of-type {
  border-bottom: 0;
}

.cc-pref strong {
  display: block;
  font-size: 15px;
  color: var(--c-navy);
}

.cc-pref span {
  display: block;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
}

.cc-switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  margin-top: 4px;
}

.cc-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.cc-switch .track {
  position: absolute;
  inset: 0;
  background: #d9dde8;
  border-radius: 999px;
  transition: background .2s ease;
}

.cc-switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}

.cc-switch input:checked + .track {
  background: var(--c-red-bright);
}

.cc-switch input:checked + .track::after {
  transform: translateX(20px);
}

.cc-switch input:disabled + .track {
  opacity: .6;
}

.cc-prefs-actions {
  margin-top: 14px;
  text-align: right;
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 90px 20px 110px;
}

.error-code {
  font-family: 'Anton', sans-serif;
  font-size: 120px;
  line-height: 1;
  color: var(--c-red-bright);
  margin: 0;
}

.error-page h1 {
  font-size: 32px;
  margin: 10px 0 14px;
}

.error-page p {
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-inner {
    flex-wrap: wrap;
  }

  .split,
  .split-wide-left {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-section .cols.cols-3,
  .content-section .cols.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 110px 20px;
  }

  .cta-panel h2 {
    font-size: 34px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 82px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 24px 40px rgba(35, 40, 63, .12);
    display: none;
    padding: 10px 20px 20px;
  }

  .nav-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid #f1f2f7;
  }

  .content-section .cols.cols-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row .feature-text {
    padding: 40px 26px;
  }

  .feature-row .feature-media {
    padding: 26px;
  }

  .feature-row .feature-media {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .arrondissements ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-hero {
    padding: 64px 18px;
  }

  .page-hero h1 {
    font-size: 25px;
  }

  .stats-inner {
    gap: 22px 34px;
  }

  .stat img {
    width: 40px;
    height: 40px;
  }

  .stat-num {
    font-size: 30px;
  }

  .cta-band h2 {
    font-size: 27px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .logo img {
    width: 165px;
  }

  .hero {
    padding: 84px 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-badges {
    width: 230px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2,
  .content-section h2 {
    font-size: 23px;
  }

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

  .content-section .cols.cols-3,
  .content-section .cols.cols-4 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 38px 20px;
  }

  .cta-panel h2 {
    font-size: 27px;
  }

  .cta-panel::after {
    display: none;
  }

  .btn {
    width: 100%;
    font-size: 16px;
    padding: 15px 22px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .arrondissements ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq h2 {
    font-size: 26px;
  }

  .feature-row h2 {
    font-size: 24px;
  }

  .error-code {
    font-size: 84px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
