
/* =====================================================
   LAYOUT.CSS — DÉMARCHECO
   Header + Footer uniquement
   À charger avec /assets/layout.js
   ===================================================== */

:root {
  --dc-blue: #102A43;
  --dc-blue-dark: #071d34;
  --dc-blue-soft: #173B5C;
  --dc-green: #68b914;
  --dc-green-dark: #559b10;
  --dc-green-alt: #0f8f68;
  --dc-green-alt-dark: #08795f;
  --dc-orange: #F5A623;
  --dc-text: #102A43;
  --dc-muted: #475569;
  --dc-border: #d9e2ec;
  --dc-bg: #f6f8fb;
  --dc-white: #ffffff;
}

/* Base minimale utile au layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dc-text);
  background: var(--dc-bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

#site-header,
#site-footer {
  width: 100%;
}

#site-header img,
#site-footer img {
  max-width: 100%;
}

.dc-header ul,
.dc-footer-pro ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-header p,
.dc-footer-pro p {
  margin-top: 0;
}

/* =====================================================
   HEADER
   ===================================================== */

.dc-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: sticky;
  top: 0;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
}

.dc-nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.dc-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.dc-logo img {
  height: 72px;
  width: auto;
  max-width: 270px;
  display: block;
  object-fit: contain;
}

.dc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.dc-menu a {
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.dc-menu a:hover,
.dc-menu a.active {
  color: var(--dc-green);
}

.dc-menu-item {
  position: relative;
  padding: 28px 0;
}

.dc-menu-item > a::after {
  content: "▾";
  font-size: 10px;
  color: var(--dc-green);
  margin-left: 7px;
}

.dc-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 285px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.2s ease;
  z-index: 99999;
}

.dc-menu-item:hover .dc-dropdown,
.dc-menu-item:focus-within .dc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dc-dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #222222;
}

.dc-dropdown a:hover,
.dc-dropdown a.active {
  background: #f6fbef;
  color: var(--dc-green);
}

.dc-call {
  background: #4f970f;
  color: #ffffff !important;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.dc-call:hover {
  background: #3f7c0b;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.dc-burger {
  display: none;
  background: #4f970f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 22px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  line-height: 1;
}

#dc-menu-toggle {
  display: none;
}

.dc-menu-mobile-call {
  display: none !important;
}

/* =====================================================
   FOOTER
   ===================================================== */

.dc-footer-pro {
  width: 100%;
  background: var(--dc-blue-dark);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 0;
}

.dc-footer-pro * {
  box-sizing: border-box;
}

.dc-footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Bloc CTA haut footer */
.dc-footer-top {
  padding: 54px 0 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.dc-footer-cta {
  background:
    radial-gradient(circle at top right, rgba(104, 185, 20, 0.24), transparent 34%),
    linear-gradient(135deg, #0f2f4e, #102a43);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.dc-footer-cta h2 {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 900;
}

.dc-footer-cta p {
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 780px;
}

.dc-footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dc-footer-btn-main,
.dc-footer-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.dc-footer-btn-main {
  background: var(--dc-green-alt-dark);
  color: #ffffff !important;
}

.dc-footer-btn-main:hover {
  background: #065f46;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.dc-footer-btn-light {
  background: #ffffff;
  color: var(--dc-blue) !important;
}

.dc-footer-btn-light:hover {
  background: #f4f8ef;
  color: var(--dc-blue) !important;
  transform: translateY(-2px);
}

/* Colonnes footer */
.dc-footer-main {
  padding: 48px 0 34px;
}

.dc-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

/* Variante utilisée dans layout.js : 5 colonnes */
.dc-footer-grid-5 {
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.05fr;
  gap: 34px;
}

.dc-footer-logo-box {
  display: inline-flex;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20);
}

.dc-footer-logo-box img {
  height: 82px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  display: block;
}

.dc-footer-intro {
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 22px;
  max-width: 430px;
}

.dc-footer-highlight {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.dc-footer-highlight span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.dc-footer-highlight b {
  color: var(--dc-green);
  font-size: 16px;
}

.dc-footer-col h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dc-footer-col a {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
  transition: 0.2s ease;
}

.dc-footer-col a:hover {
  color: var(--dc-green);
  transform: translateX(4px);
}

/* Carte contact */
.dc-footer-contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 20px;
}

.dc-footer-contact-card h3 {
  margin-bottom: 14px;
}

.dc-footer-contact-card p {
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.dc-footer-contact-card a {
  color: #ffffff;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.dc-footer-mini-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--dc-green-alt-dark);
  color: #ffffff !important;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 900;
  margin-top: 8px;
  width: 100%;
  text-align: center;
  min-height: 44px;
}

.dc-footer-mini-btn:hover {
  background: #065f46;
  color: #ffffff !important;
  transform: none !important;
}

/* Zone envoyer dossier */
.dc-footer-send-zone {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 34px;
  padding-bottom: 34px;
}

.dc-footer-send-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 26px;
}

.dc-footer-send-grid h3 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 900;
}

.dc-footer-send-grid p {
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.dc-footer-send-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dc-footer-send-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dc-blue) !important;
  font-size: 13px;
  font-weight: 900;
  transition: 0.2s ease;
}

.dc-footer-send-links a:hover {
  background: #f4f8ef;
  color: var(--dc-green-alt-dark) !important;
  transform: translateY(-2px);
}

/* Bas footer */
.dc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #dbeafe;
  font-size: 13px;
}

.dc-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dc-footer-bottom-links a {
  color: #dbeafe;
  font-size: 13px;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.dc-footer-bottom-links a:hover {
  color: var(--dc-green);
}

/* =====================================================
   ACCESSIBILITÉ / PETITS ÉLÉMENTS COMMUNS
   ===================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
label:focus-visible {
  outline: 3px solid var(--dc-orange) !important;
  outline-offset: 3px !important;
  border-radius: 8px;
}

.dc-success-message {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  max-width: 380px;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.dc-success-message.show {
  opacity: 1;
  transform: translateY(0);
}

.dc-success-message strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.dc-success-message span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

/* =====================================================
   RESPONSIVE HEADER / FOOTER
   ===================================================== */

@media (max-width: 1180px) {
  .dc-footer-grid-5 {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 1120px) {
  .dc-nav-wrap {
    padding: 10px 16px;
    gap: 16px;
  }

  .dc-logo img {
    height: 60px;
    max-width: 220px;
  }

  .dc-menu {
    gap: 15px;
  }

  .dc-menu a {
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .dc-call {
    padding: 12px 15px;
    font-size: 12px;
  }
}

@media (max-width: 1050px) {
  .dc-footer-cta {
    grid-template-columns: 1fr;
  }

  .dc-footer-cta-actions {
    justify-content: flex-start;
  }

  .dc-footer-grid,
  .dc-footer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .dc-footer-send-grid {
    grid-template-columns: 1fr;
  }

  .dc-footer-send-links {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .dc-nav-wrap {
    flex-wrap: wrap;
  }

  .dc-logo img {
    height: 58px;
    max-width: 210px;
  }

  .dc-burger {
    display: block;
    margin-left: auto;
  }

  .dc-call {
    display: none;
  }

  .dc-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 10px 0 16px;
  }

  #dc-menu-toggle:checked ~ .dc-menu {
    display: flex;
  }

  .dc-menu > a,
  .dc-menu-item > a {
    display: flex;
    padding: 14px 8px;
    font-size: 14px;
    min-height: 46px;
  }

  .dc-menu-item {
    padding: 0;
  }

  .dc-menu-item > a::after {
    content: "";
  }

  .dc-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 14px;
    background: #f8faf7;
    display: block;
    min-width: 0;
  }

  .dc-dropdown a {
    padding: 11px 14px;
    font-size: 13px;
    min-height: 46px;
  }

  .dc-menu-mobile-call {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #4f970f;
    color: #ffffff !important;
    text-align: center;
    margin-top: 10px;
    border-radius: 10px;
    padding: 14px !important;
  }
}

@media (max-width: 650px) {
  .dc-footer-wrap {
    padding: 0 16px;
  }

  .dc-footer-top {
    padding: 36px 0 28px;
  }

  .dc-footer-cta {
    padding: 24px;
    border-radius: 22px;
  }

  .dc-footer-cta h2 {
    font-size: 25px;
  }

  .dc-footer-cta-actions {
    flex-direction: column;
  }

  .dc-footer-btn-main,
  .dc-footer-btn-light {
    width: 100%;
  }

  .dc-footer-grid,
  .dc-footer-grid-5 {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dc-footer-logo-box img {
    height: 64px;
    max-width: 250px;
  }

  .dc-footer-send-grid {
    padding: 20px;
    border-radius: 20px;
  }

  .dc-footer-send-grid h3 {
    font-size: 20px;
  }

  .dc-footer-send-links {
    flex-direction: column;
  }

  .dc-footer-send-links a {
    width: 100%;
    border-radius: 12px;
  }

  .dc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dc-footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .dc-logo img {
    height: 50px;
    max-width: 185px;
  }

  .dc-nav-wrap {
    padding: 8px 12px;
  }

  .dc-menu > a,
  .dc-menu-item > a {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* =====================================================
   PERFORMANCE
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
  .dc-header *,
  .dc-footer-pro *,
  .dc-success-message {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

#site-header {
  min-height: 93px;
}

#site-footer {
  min-height: 520px;
}

@media (max-width: 920px) {
  #site-header {
    min-height: 74px;
  }
}

@media (max-width: 650px) {
  #site-footer {
    min-height: 900px;
  }
}


/* =====================================================
   PAC.CSS — DÉMARCHECO
   Page : /Mairie/PAC/
   CSS spécifique page Pompe à chaleur
   Header/footer gérés par /assets/style.css + layout.js
   ===================================================== */

.pac-page {
  --pac-blue: #102A43;
  --pac-blue-dark: #071d34;
  --pac-green: #08795f;
  --pac-green-dark: #065f46;
  --pac-green-soft: #eaf7f1;
  --pac-orange: #F5A623;
  --pac-orange-soft: #fff7ed;
  --pac-text: #102A43;
  --pac-muted: #475569;
  --pac-light: #f6f8fb;
  --pac-white: #ffffff;
  --pac-border: #d9e2ec;
  --pac-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --pac-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --pac-radius: 24px;

  width: 100%;
  background: var(--pac-white);
  color: var(--pac-text);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.pac-page *,
.pac-page *::before,
.pac-page *::after { box-sizing: border-box; }

.pac-page a {
  color: var(--pac-green);
  font-weight: 900;
  text-decoration: none;
}

.pac-page a:hover { color: var(--pac-green-dark); }

.pac-container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.pac-page h1,
.pac-page h2,
.pac-page h3 {
  margin: 0;
  color: var(--pac-blue);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pac-page h1 {
  max-width: 860px;
  font-size: clamp(36px, 5.8vw, 66px);
  line-height: 1.03;
}

.pac-page h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.pac-page h3 {
  font-size: 21px;
  line-height: 1.22;
}

.pac-page p {
  margin: 0;
  color: var(--pac-muted);
  font-size: 17px;
  line-height: 1.72;
}

.pac-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--pac-green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pac-label::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: var(--pac-green);
  box-shadow: 0 0 0 5px rgba(8, 121, 95, 0.12);
}

/* HERO */
.pac-hero {
  padding: 34px 0 76px;
  background:
    radial-gradient(circle at 86% 12%, rgba(8, 121, 95, 0.18), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(245, 166, 35, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #eef7f4 100%);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
}

.pac-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.pac-breadcrumb a { color: #64748b; }
.pac-breadcrumb a:hover { color: var(--pac-green); }
.pac-breadcrumb span { color: #94a3b8; }
.pac-breadcrumb span:last-child { color: var(--pac-blue); }

.pac-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.pac-hero-content > p:not(.pac-label):not(.pac-lead) {
  max-width: 820px;
  margin-top: 16px;
}

.pac-lead {
  max-width: 820px;
  margin-top: 20px;
  color: #334155;
  font-size: 18px;
  line-height: 1.72;
}

.pac-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pac-actions-center { justify-content: center; }

.pac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 950;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pac-btn:hover { transform: translateY(-2px); }

.pac-btn-primary {
  background: var(--pac-green);
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(8, 121, 95, 0.22);
}

.pac-btn-primary:hover {
  background: var(--pac-green-dark);
  color: #ffffff !important;
}

.pac-btn-secondary {
  background: #ffffff;
  color: var(--pac-blue) !important;
  border-color: var(--pac-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.pac-btn-secondary:hover {
  border-color: rgba(8, 121, 95, 0.35);
  color: var(--pac-green) !important;
}

.pac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pac-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.pac-hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.pac-hero-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(8, 121, 95, 0.10);
}

.pac-card-top,
.pac-check-list,
.pac-alert {
  position: relative;
  z-index: 1;
}

.pac-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.pac-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--pac-green-soft);
  font-size: 27px;
}

.pac-card-top strong {
  display: block;
  margin-bottom: 6px;
  color: var(--pac-blue);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.pac-card-top p {
  font-size: 15px;
  line-height: 1.55;
}

.pac-check-list { display: grid; gap: 0; margin-top: 8px; }

.pac-check-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.pac-check-list span {
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

.pac-check-list b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--pac-green-soft);
  color: var(--pac-green);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.pac-alert {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: var(--pac-orange-soft);
}

.pac-alert strong {
  display: block;
  margin-bottom: 6px;
  color: #9a3412;
  font-size: 14px;
  font-weight: 950;
}

.pac-alert p {
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
}

.pac-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pac-anchor-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--pac-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--pac-blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pac-anchor-list a:hover {
  color: var(--pac-green);
  border-color: rgba(8, 121, 95, 0.35);
  transform: translateY(-1px);
}

/* SECTIONS */
.pac-section { padding: 72px 0; background: #ffffff; }
.pac-section-muted { background: var(--pac-light); }

.pac-section-dark {
  background:
    radial-gradient(circle at 86% 16%, rgba(8, 121, 95, 0.30), transparent 36%),
    linear-gradient(135deg, #071d34 0%, #102A43 58%, #0f766e 100%);
}

.pac-section-dark h2,
.pac-section-dark .pac-label,
.pac-section-dark .pac-section-head p,
.pac-section-dark .pac-doc-card h3 { color: #ffffff; }

.pac-section-dark .pac-section-head > p:not(.pac-label) { color: rgba(255, 255, 255, 0.82); }

.pac-section-head {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.pac-section-head p:not(.pac-label) { margin-top: 14px; }
.pac-section-head .pac-label { margin-left: auto; margin-right: auto; }
.pac-section-head-light h2 { color: #ffffff; }

.pac-grid { display: grid; gap: 18px; }
.pac-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pac-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pac-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
  gap: 34px;
  align-items: center;
}

.pac-split > div > p:not(.pac-label) { margin-top: 16px; }

.pac-card,
.pac-doc-card,
.pac-code-card,
.pac-incomplete,
.pac-link-card,
.pac-source-box,
.pac-related,
.pac-warning-list,
.pac-cta-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--pac-radius);
  background: #ffffff;
  box-shadow: var(--pac-shadow-soft);
}

.pac-card,
.pac-doc-card,
.pac-incomplete,
.pac-link-card,
.pac-source-box,
.pac-related,
.pac-warning-list,
.pac-cta-card { padding: 24px; }

.pac-card p,
.pac-doc-card p,
.pac-incomplete p,
.pac-link-card p,
.pac-source-box p,
.pac-warning-list p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
}

.pac-card h3,
.pac-doc-card h3,
.pac-incomplete h3,
.pac-link-card h3 { margin-top: 10px; }

.pac-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--pac-green-soft);
  font-size: 23px;
}

.pac-doc-card {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.pac-doc-card span,
.pac-code-card span,
.pac-link-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 44px;
  min-height: 36px;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 14px;
  background: var(--pac-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.pac-doc-card p,
.pac-doc-card a { color: rgba(255, 255, 255, 0.82); }

.pac-doc-card a {
  display: inline-block;
  margin-top: 12px;
  color: #ffffff;
  font-weight: 950;
}

.pac-doc-card a:hover { text-decoration: underline; }

.pac-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--pac-shadow-soft);
}

.pac-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.pac-table th,
.pac-table td {
  padding: 18px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
  color: #334155;
  line-height: 1.55;
}

.pac-table th {
  background: #f1f5f9;
  color: var(--pac-blue);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pac-table tr:last-child td { border-bottom: 0; }

.pac-note {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  background: var(--pac-orange-soft);
}

.pac-note strong {
  display: block;
  color: #9a3412;
  font-size: 17px;
  margin-bottom: 6px;
}

.pac-note p { color: #7c2d12; font-size: 16px; }

.pac-code-card {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(8, 121, 95, 0.16), transparent 38%),
    #ffffff;
}

.pac-code-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--pac-blue);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.pac-warning-list { display: grid; gap: 14px; }

.pac-warning-list div {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.pac-warning-list strong {
  display: block;
  color: var(--pac-blue);
  font-size: 18px;
  margin-bottom: 6px;
}

.pac-warning-list p { margin-top: 0; }

.pac-incomplete strong {
  display: block;
  margin-top: 14px;
  color: var(--pac-green-dark);
  line-height: 1.5;
}

.pac-related { padding: 30px; }
.pac-link-card span { background: var(--pac-blue); }
.pac-link-card a { display: inline-flex; margin-top: 12px; }

.pac-source-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
}

.pac-source-box h2 { margin-bottom: 14px; }
.pac-source-box .pac-actions { margin-top: 22px; }

/* FAQ */
.pac-faq {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.pac-faq details {
  padding: 22px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--pac-shadow-soft);
}

.pac-faq summary {
  cursor: pointer;
  color: var(--pac-blue);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
  list-style: none;
}

.pac-faq summary::-webkit-details-marker { display: none; }

.pac-faq summary::after {
  content: "+";
  float: right;
  margin-left: 14px;
  color: var(--pac-green);
  font-size: 24px;
  line-height: 1;
}

.pac-faq details[open] summary::after { content: "−"; }
.pac-faq p { margin-top: 14px; font-size: 16px; }

/* CTA */
.pac-cta {
  padding: 76px 0;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #053c32 0%, #08795f 100%);
}

.pac-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 28px;
  align-items: center;
}

.pac-cta h2,
.pac-cta .pac-label { color: #ffffff; }

.pac-cta .pac-label::before {
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

.pac-cta p {
  max-width: 760px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.pac-cta-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.pac-cta-card strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 20px;
}

.pac-cta-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.pac-cta-card .pac-btn { width: 100%; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .pac-hero-grid,
  .pac-split,
  .pac-grid-2,
  .pac-grid-3,
  .pac-cta-grid { grid-template-columns: 1fr; }

  .pac-hero { padding: 28px 0 58px; }
  .pac-section, .pac-cta { padding: 56px 0; }
  .pac-hero-card { max-width: 680px; }
}

@media (max-width: 680px) {
  .pac-container { width: min(100% - 24px, 1180px); }
  .pac-page h1 { font-size: 36px; }
  .pac-page h2 { font-size: 28px; }

  .pac-actions,
  .pac-anchor-list {
    flex-direction: column;
    align-items: stretch;
  }

  .pac-btn,
  .pac-anchor-list a { width: 100%; }
  .pac-tags { display: none; }

  .pac-hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  .pac-check-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .pac-card,
  .pac-doc-card,
  .pac-incomplete,
  .pac-link-card,
  .pac-source-box,
  .pac-related,
  .pac-warning-list,
  .pac-cta-card {
    padding: 20px;
    border-radius: 20px;
  }

  .pac-table { min-width: 680px; }
  .pac-faq details { padding: 18px; }
  .pac-faq summary { font-size: 17px; }
}

@media (max-width: 480px) {
  .pac-hero-card { display: none; }
  .pac-hero { padding-bottom: 42px; }
  .pac-page h1 { font-size: 34px; }
}

/* ACCESSIBILITÉ / PERF */
@media (prefers-reduced-motion: reduce) {
  .pac-page *,
  .pac-page *::before,
  .pac-page *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}


/* =====================================================
   PAC — AJOUTS JUILLET 2026
   Fortes chaleurs / climatisation / régularisation
   ===================================================== */

.pac-section-heat {
  background:
    radial-gradient(circle at 92% 14%, rgba(245, 166, 35, 0.24), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(8, 121, 95, 0.12), transparent 32%),
    #fffaf3;
}

.pac-heat-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #fed7aa;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 24px 60px rgba(124, 45, 18, 0.10);
}

.pac-heat-content h2 {
  max-width: 820px;
}

.pac-heat-content > p:not(.pac-label) {
  margin-top: 16px;
}

.pac-heat-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.20), transparent 38%),
    linear-gradient(145deg, #9a3412, #c2410c);
  color: #ffffff;
}

.pac-heat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 30px;
}

.pac-heat-side strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.pac-heat-side p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.65;
}

.pac-heat-mini-list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.pac-heat-mini-list span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.pac-section-regularisation {
  background:
    radial-gradient(circle at 8% 12%, rgba(8, 121, 95, 0.16), transparent 30%),
    linear-gradient(180deg, #f8fffc 0%, #ffffff 100%);
}

.pac-regularisation-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pac-regularisation-highlight > div {
  padding: 26px;
  border: 1px solid #cfe8df;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--pac-shadow-soft);
}

.pac-regularisation-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--pac-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.pac-regularisation-highlight h3 {
  margin-bottom: 10px;
}

.pac-regularisation-highlight p {
  font-size: 16px;
  line-height: 1.65;
}

.pac-regularisation-warning {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  background: var(--pac-orange-soft);
}

.pac-regularisation-warning strong {
  display: block;
  color: #9a3412;
  font-size: 18px;
  line-height: 1.4;
}

.pac-regularisation-warning p {
  margin-top: 8px;
  color: #7c2d12;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .pac-heat-banner,
  .pac-regularisation-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pac-heat-banner {
    padding: 20px;
    border-radius: 22px;
  }

  .pac-heat-side,
  .pac-regularisation-highlight > div,
  .pac-regularisation-warning {
    padding: 20px;
    border-radius: 20px;
  }
}
