:root {
  /* Palette Aquitaine Recyclage : bleu sécurité + vert recyclage */
  --blue-primary: #004391;
  --blue-dark: #002b63;
  --green-accent: #58BB17;
  --green-soft: #eaf8e5;
  --green-light: #f6fcf3;

  /* Compatibilité avec les classes existantes */
  --green-900: var(--blue-primary);
  --green-800: var(--blue-dark);
  --green-700: var(--blue-primary);
  --green-100: var(--green-soft);
  --green-50: var(--green-light);
  --gold: var(--green-accent);
  --text: #17243a;
  --muted: #5f6f81;
  --white: #ffffff;
  --border: rgba(0, 67, 145, 0.14);
  --shadow: 0 24px 70px rgba(0, 67, 145, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: var(--green-900);
  color: var(--white);
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 172px;
  max-width: 38vw;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--green-900);
  font-weight: 700;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green-900);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(88, 187, 23, 0.28), transparent 34%),
    linear-gradient(135deg, var(--green-50), #ffffff 52%, var(--green-100));
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(88, 187, 23, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-700);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--green-900);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  max-width: 900px;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.3rem;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: #2f3f56;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 67, 145, 0.22);
}


.btn-light {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.btn-light:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-900);
  border: 1px solid var(--border);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--green-900);
  font-weight: 700;
}

.trust-list li::before {
  content: "✓";
  color: var(--green-700);
  margin-right: 8px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 2rem;
}

.section {
  padding: 78px 0;
}

.alt {
  background: var(--green-50);
}

.intro-section p {
  font-size: 1.08rem;
  color: #2f3f56;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 67, 145, 0.06);
}

.service-number {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.9rem;
}

.service-card p {
  color: var(--muted);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
}

.steps-list strong {
  color: var(--green-900);
}

.steps-list span {
  color: var(--muted);
}

.dark-band {
  background: var(--green-900);
  color: var(--white);
}

.dark-band h2,
.dark-band .section-kicker {
  color: var(--white);
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}


.cities-accordion {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(88, 187, 23, 0.06), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.cities-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  color: var(--green-900);
}

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

.cities-accordion summary strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.cities-accordion summary small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.accordion-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--green-900);
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.cities-accordion[open] .accordion-icon {
  transform: rotate(45deg);
  background: var(--green-700);
}

.cities-accordion .zone-grid {
  padding: 0 26px 26px;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.zone-grid a {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 800;
  color: var(--green-900);
}

.zone-grid a:hover,
.zone-grid a:focus {
  border-color: var(--green-700);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--green-900);
}

.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(0, 67, 145, 0.96), rgba(88, 187, 23, 0.93)),
    radial-gradient(circle at 20% 20%, rgba(88, 187, 23, 0.4), transparent 34%);
  color: var(--white);
}

.contact-section h2,
.contact-section .section-kicker {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 40px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-line {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-line span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-line strong {
  font-size: 1.2rem;
}

.contact-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0;
  background: #001f45;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .two-columns,
  .band-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .brand-logo {
    width: 138px;
    max-width: 42vw;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  .hero-actions,
  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

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

  .section {
    padding: 56px 0;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Images améliorées en v4 */
.hero-side {
  display: grid;
  gap: 18px;
}

.image-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 67, 145, 0.94), rgba(88, 187, 23, 0.76)),
    radial-gradient(circle at 80% 10%, rgba(88, 187, 23, 0.42), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(0, 67, 145, 0.18);
}

.video-local video {
  display: block;
  background: #001f45;
}


.image-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.image-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 31, 69, 0.04), rgba(0, 31, 69, 0.76)),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22), transparent 28%);
  pointer-events: none;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  pointer-events: none;
}

.image-card.is-missing img {
  display: none;
}

.image-card.is-missing::before {
  background:
    linear-gradient(135deg, rgba(0, 67, 145, 0.94), rgba(88, 187, 23, 0.76)),
    radial-gradient(circle at 80% 10%, rgba(88, 187, 23, 0.42), transparent 32%);
}

.image-placeholder {
  position: relative;
  z-index: 3;
  display: none;
  min-height: inherit;
  place-items: center;
  text-align: center;
  padding: 26px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.image-placeholder small {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.image-card.is-missing .image-placeholder {
  display: grid;
}

.hero-photo {
  min-height: 520px;
  margin: 0;
}

.hero-photo figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--white);
  background: rgba(0, 31, 69, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-photo figcaption strong {
  font-size: 1.1rem;
}

.hero-photo figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.photo-section {
  padding-top: 10px;
  background: linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
}

.centered-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.photo-card {
  display: grid;
  min-height: 410px;
  align-content: end;
}

.photo-card.featured-photo {
  min-height: 470px;
  transform: translateY(-18px);
}

.photo-card > div:not(.image-placeholder) {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--white);
}

.photo-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(88, 187, 23, 0.92);
  color: #0f2506;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.photo-card h3 {
  color: var(--white);
  font-size: 1.45rem;
}

.photo-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 920px) {
  .hero-side {
    max-width: 720px;
  }

  .hero-photo {
    min-height: 420px;
  }

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

  .photo-card,
  .photo-card.featured-photo {
    min-height: 340px;
    transform: none;
  }
}

@media (max-width: 600px) {
  .image-card {
    border-radius: 24px;
  }

  .image-card::after {
    inset: 10px;
    border-radius: 18px;
  }

  .hero-photo {
    min-height: 340px;
  }

  .hero-photo figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
  }

  .photo-card,
  .photo-card.featured-photo {
    min-height: 310px;
  }

  .photo-card > div:not(.image-placeholder) {
    padding: 24px;
  }
}

.image-card.is-missing figcaption,
.image-card.is-missing > div:not(.image-placeholder) {
  display: none;
}


/* Page locale v6 */
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green-900);
  text-decoration: none;
}

.local-hero h1 {
  max-width: 980px;
}

.local-cards-grid .service-card {
  min-height: 285px;
}

.local-zone-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0, 67, 145, 0.08);
}

.local-zone-card h3 {
  margin-bottom: 18px;
}

.light-tags span {
  background: var(--white);
  color: var(--green-900);
  border: 1px solid var(--border);
}

/* Page contact v7 */
.contact-hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(88, 187, 23, 0.3), transparent 34%),
    linear-gradient(135deg, #f6fcf3, #ffffff 50%, #eaf8e5);
}

.contact-form-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

.contact-intro-card,
.quote-form {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(0, 67, 145, 0.1);
}

.contact-intro-card {
  position: sticky;
  top: 102px;
  padding: 30px;
}

.contact-intro-card p {
  color: var(--muted);
}

.contact-benefits {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-benefits article {
  padding: 18px;
  border-radius: 20px;
  background: var(--green-50);
  border: 1px solid var(--border);
}

.contact-benefits strong,
.contact-benefits span {
  display: block;
}

.contact-benefits strong {
  color: var(--green-900);
  margin-bottom: 4px;
}

.contact-benefits span {
  color: var(--muted);
  font-size: 0.96rem;
}

.quote-form {
  padding: clamp(24px, 4vw, 42px);
}

.form-header {
  margin-bottom: 26px;
}

.form-header p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.quote-form label,
.quote-form fieldset {
  display: grid;
  gap: 8px;
}

.quote-form label span,
.quote-form legend {
  color: var(--green-900);
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
  min-height: 150px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(88, 187, 23, 0.12);
}

.full-field,
.type-fieldset {
  grid-column: 1 / -1;
  margin-top: 18px;
}

.type-fieldset {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--green-50);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-grid label,
.consent-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
}

.checkbox-grid input,
.consent-field input {
  width: 18px;
  min-height: auto;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--green-800);
}

.checkbox-grid span,
.consent-field span {
  font-weight: 800;
  color: var(--green-900);
}

.form-help,
.file-field small,
.form-privacy {
  color: var(--muted);
  font-size: 0.92rem;
}

.file-field input[type="file"] {
  min-height: auto;
  padding: 16px;
  background: var(--green-50);
}

.form-submit {
  margin-top: 24px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.form-privacy {
  margin: 16px 0 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.success-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.success-dialog::backdrop {
  background: rgba(0, 31, 69, 0.62);
  backdrop-filter: blur(6px);
}

.success-box {
  position: relative;
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 2rem;
  font-weight: 900;
}

.error-dialog .success-icon {
  background: #eaf8e5;
  color: #2d650b;
}

.success-box p {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
  font-size: 1.5rem;
  cursor: pointer;
}

.dialog-ok {
  border: 0;
  cursor: pointer;
}

@media (max-width: 920px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .quote-form,
  .contact-intro-card,
  .success-box {
    border-radius: 24px;
  }
}

.contact-card-button {
  margin-top: 18px;
  width: 100%;
  color: var(--green-900) !important;
}


/* Page mentions légales */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-links a {
  text-decoration: none;
}

.footer-group-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-hero {
  padding: 72px 0;
}

.legal-section {
  background: linear-gradient(180deg, #ffffff, var(--green-50));
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 67, 145, 0.08);
}

.legal-card-main,
.legal-card:nth-child(n+3) {
  grid-column: span 1;
}

.legal-card h2,
.legal-card h3 {
  margin-bottom: 14px;
}

.legal-card p {
  margin: 0 0 12px;
  color: #2f3f56;
}

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

.legal-note-card {
  position: sticky;
  top: 104px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 187, 23, 0.25), transparent 36%),
    var(--green-900);
  color: var(--white);
}

.legal-note-card h3,
.legal-note-card .section-kicker,
.legal-note-card p {
  color: var(--white);
}

.legal-note-card .btn {
  margin-top: 12px;
  color: var(--green-900) !important;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.legal-list div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.legal-list div:last-child {
  border-bottom: 0;
}

.legal-list dt {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-list dd {
  margin: 0;
  color: var(--green-900);
  font-weight: 700;
}

.to-complete {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf8e5;
  color: #2d650b;
}

@media (max-width: 860px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-note-card {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}


/* SEO v13 - blocs locaux renforcés */
.local-profile-card p {
  margin-top: .75rem;
}
#contexte-local strong {
  color: var(--color-text, #17243a);
}


/* V15 - contenu SEO accueil */
.home-seo-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.home-seo-panel > div {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(246, 252, 243, 0.95), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 55px rgba(0, 67, 145, 0.08);
}

.home-seo-panel h3 {
  margin-bottom: 14px;
}

.home-seo-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .home-seo-panel {
    grid-template-columns: 1fr;
  }
}


/* V16 - pages services premium et maillage interne */
.service-home-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.linked-service-card,
.premium-service-card {
  position: relative;
  overflow: hidden;
}

.linked-service-card::after,
.premium-service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(88, 187, 23, 0.13);
  pointer-events: none;
}

.service-card-wide {
  grid-column: 1 / -1;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green-900);
  font-weight: 900;
  text-decoration: none;
}

.inline-link::after {
  content: "→";
  transition: transform .2s ease;
}

.inline-link:hover::after {
  transform: translateX(4px);
}

.service-hero {
  background:
    radial-gradient(circle at 80% 16%, rgba(88, 187, 23, 0.28), transparent 34%),
    linear-gradient(135deg, #f6fcf3, #ffffff 48%, #eaf8e5);
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.service-link-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green-900);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 67, 145, 0.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-link-grid a:hover,
.service-link-grid a.is-current {
  transform: translateY(-2px);
  border-color: rgba(88, 187, 23, 0.65);
  box-shadow: 0 20px 52px rgba(0, 67, 145, 0.12);
}

.service-link-grid a.is-current {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}

@media (max-width: 980px) {
  .service-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .service-home-grid,
  .service-link-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }
}



/* V19 - optimisation PageSpeed : les fonds des cartes services passent en images HTML lazy-load
   Au lieu d'être chargées depuis background-image dans le CSS, les images sont chargées seulement
   quand les cartes approchent du viewport. */
.service-card-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(0, 43, 99, 0.88), rgba(0, 43, 99, 0.66));
  box-shadow: 0 20px 54px rgba(0, 67, 145, 0.20);
}

.service-card-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.01);
  pointer-events: none;
}

.service-card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(88, 187, 23, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(0, 43, 99, 0.84), rgba(0, 43, 99, 0.48));
  pointer-events: none;
}

.service-card-bg::after {
  z-index: 1;
  background: rgba(88, 187, 23, 0.20);
}

.service-card-bg > :not(.service-card-bg-img) {
  position: relative;
  z-index: 2;
}

.service-card-bg .service-number {
  color: #a9ec79;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.service-card-bg h3 {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.service-card-bg p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.30);
}

.service-card-bg .inline-link {
  color: var(--white);
}

.service-card-bg .inline-link::after {
  background: rgba(255, 255, 255, 0.85);
}

/* V22 - refonte premium du bloc Nos services sur la page d'accueil */
.premium-services-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(88, 187, 23, 0.24), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.11), transparent 28%),
    linear-gradient(135deg, #001f45 0%, var(--green-900) 48%, #002b63 100%);
  color: var(--white);
}

.premium-services-section::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  pointer-events: none;
}

.premium-services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.premium-services-section .container {
  position: relative;
  z-index: 1;
}

.premium-services-section .section-heading {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(14px);
  text-align: center;
}

.premium-services-section .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(88, 187, 23, 0.14);
  border: 1px solid rgba(88, 187, 23, 0.34);
  color: #a9ec79;
}

.premium-services-section h2 {
  color: var(--white);
  text-wrap: balance;
}

.premium-services-section .section-heading p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.service-home-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.service-home-grid .linked-service-card {
  grid-column: span 6;
}

.service-home-grid .service-card-wide {
  grid-column: 1 / -1;
}

.service-home-grid .service-card-bg {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #001f45;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-home-grid .service-card-bg:hover,
.service-home-grid .service-card-bg:focus-within {
  transform: translateY(-6px);
  border-color: rgba(88, 187, 23, 0.58);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.34);
}

.service-home-grid .service-card-bg-img {
  opacity: 0.54;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.04);
  transition: transform 420ms ease, opacity 220ms ease;
}

.service-home-grid .service-card-bg:hover .service-card-bg-img,
.service-home-grid .service-card-bg:focus-within .service-card-bg-img {
  opacity: 0.64;
  transform: scale(1.08);
}

.service-home-grid .service-card-bg::before {
  background:
    radial-gradient(circle at 20% 14%, rgba(88, 187, 23, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(0, 31, 69, 0.18) 0%, rgba(0, 31, 69, 0.62) 45%, rgba(0, 31, 69, 0.96) 100%);
}

.service-home-grid .service-card-bg::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.service-home-grid .service-number {
  width: fit-content;
  margin: 0 0 72px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #a9ec79;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.service-home-grid h3 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.03em;
}

.service-home-grid p {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.service-home-grid .inline-link {
  width: fit-content;
  margin-top: 22px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.service-home-grid .inline-link:hover,
.service-home-grid .inline-link:focus-visible {
  background: #ffffff;
  color: var(--green-900);
}

.service-home-grid .inline-link::after {
  background: transparent;
}

@media (max-width: 920px) {
  .premium-services-section::before {
    inset: 14px;
    border-radius: 28px;
  }

  .premium-services-section .section-heading {
    padding: 24px;
    border-radius: 24px;
  }

  .service-home-grid {
    grid-template-columns: 1fr;
  }

  .service-home-grid .linked-service-card,
  .service-home-grid .service-card-wide {
    grid-column: auto;
  }

  .service-home-grid .service-card-bg {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .premium-services-section {
    padding-block: 62px;
  }

  .premium-services-section .section-heading {
    padding: 22px 18px;
    text-align: left;
  }

  .premium-services-section .section-kicker {
    margin-inline: 0;
  }

  .premium-services-section .section-heading p {
    font-size: 1rem;
  }

  .service-home-grid {
    gap: 16px;
  }

  .service-home-grid .service-card-bg {
    min-height: 300px;
    padding: 24px;
    border-radius: 26px;
  }

  .service-home-grid .service-card-bg::after {
    inset: 12px;
    border-radius: 20px;
  }

  .service-home-grid .service-number {
    margin-bottom: 54px;
  }
}


/* V23 - allègement du bloc services + footer encadré premium */
.premium-services-section {
  position: relative;
  overflow: hidden;
  padding-block: 64px;
  background:
    radial-gradient(circle at 8% 0%, rgba(88, 187, 23, 0.12), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(88, 187, 23, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6fcf3 100%);
  color: var(--green-900);
}

.premium-services-section::before {
  display: none;
}

.premium-services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 67, 145, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 67, 145, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.premium-services-section .container {
  position: relative;
  z-index: 1;
  padding: 42px;
  border: 1px solid rgba(88, 187, 23, 0.30);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(0, 67, 145, 0.08);
}

.premium-services-section .section-heading {
  max-width: 820px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.premium-services-section .section-kicker {
  margin-inline: 0;
  padding: 7px 13px;
  background: rgba(88, 187, 23, 0.12);
  border: 1px solid rgba(88, 187, 23, 0.32);
  color: var(--green-800);
}

.premium-services-section h2 {
  color: var(--green-900);
  max-width: 880px;
}

.premium-services-section .section-heading p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.service-home-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.service-home-grid .linked-service-card,
.service-home-grid .service-card-wide {
  grid-column: auto;
}

.service-home-grid .service-card-bg {
  min-height: 248px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(0, 67, 145, 0.12);
  background: #eaf8e5;
  box-shadow: 0 16px 42px rgba(0, 67, 145, 0.10);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-home-grid .service-card-bg:hover,
.service-home-grid .service-card-bg:focus-within {
  transform: translateY(-4px);
  border-color: rgba(88, 187, 23, 0.52);
  box-shadow: 0 22px 58px rgba(0, 67, 145, 0.16);
}

.service-home-grid .service-card-bg-img {
  opacity: 0.42;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
}

.service-home-grid .service-card-bg:hover .service-card-bg-img,
.service-home-grid .service-card-bg:focus-within .service-card-bg-img {
  opacity: 0.48;
  transform: scale(1.05);
}

.service-home-grid .service-card-bg::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.16) 32%, rgba(0, 31, 69, 0.78) 100%);
}

.service-home-grid .service-card-bg::after {
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 48%);
}

.service-home-grid .service-number {
  margin: 0 0 auto;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(88, 187, 23, 0.42);
  color: var(--green-900);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(0, 67, 145, 0.08);
}

.service-home-grid h3 {
  max-width: 100%;
  margin-top: 48px;
  color: var(--white);
  font-size: clamp(1.04rem, 1.25vw, 1.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.service-home-grid p {
  max-width: 100%;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-home-grid .inline-link {
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  font-size: 0.86rem;
}

.site-footer {
  padding: 38px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 187, 23, 0.16), transparent 34%),
    linear-gradient(135deg, #001a39 0%, #002b63 100%);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.footer-inner p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(88, 187, 23, 0.55);
  background: rgba(255, 255, 255, 0.11);
}

.footer-group-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(88, 187, 23, 0.36);
  border-radius: 999px;
  background: rgba(88, 187, 23, 0.12);
  color: #a9ec79;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .service-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .premium-services-section {
    padding-block: 54px;
  }

  .premium-services-section .container {
    padding: 30px;
    border-radius: 28px;
  }

  .service-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-home-grid .service-card-bg {
    min-height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .premium-services-section {
    padding-block: 44px;
  }

  .premium-services-section .container {
    padding: 22px;
    border-radius: 24px;
  }

  .service-home-grid {
    grid-template-columns: 1fr;
  }

  .service-home-grid .service-card-bg {
    min-height: 230px;
    padding: 20px;
    border-radius: 22px;
  }

  .service-home-grid .service-card-bg::after {
    inset: 10px;
    border-radius: 16px;
  }

  .service-home-grid h3 {
    margin-top: 44px;
  }

  .footer-inner {
    padding: 14px;
    border-radius: 22px;
  }

  .footer-inner p {
    padding: 16px;
    border-radius: 18px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a,
  .footer-group-label {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }
}

/* V25 - correction demandée : fond très clair pour le bloc images + Nos services */
.photo-section,
.premium-services-section {
  background: #ffffff !important;
}

.photo-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.premium-services-section {
  padding-top: 44px;
  padding-bottom: 70px;
  color: var(--green-900);
}

.premium-services-section::after {
  display: none !important;
}

.premium-services-section .container {
  background: #ffffff !important;
  border: 1px solid rgba(88, 187, 23, 0.24);
  box-shadow: 0 18px 46px rgba(0, 67, 145, 0.055);
}

.premium-services-section .section-heading {
  background: #ffffff !important;
}

.premium-services-section .section-kicker {
  background: #f6fcf3;
}

.service-home-grid .service-card-bg {
  background-color: #ffffff;
}

@media (max-width: 600px) {
  .photo-section,
  .premium-services-section {
    padding-top: 36px;
    padding-bottom: 44px;
  }
}


/* V26 - Page pilier RGPD et destruction d’archives */
.rgpd-hero {
  background:
    radial-gradient(circle at 74% 18%, rgba(88, 187, 23, 0.22), transparent 32%),
    radial-gradient(circle at 12% 8%, rgba(88, 187, 23, 0.12), transparent 36%),
    linear-gradient(135deg, #f6fcf3, #ffffff 48%, #eaf8e5);
}

.rgpd-summary-card ul,
.rgpd-toc ol,
.rgpd-check-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.rgpd-summary-card li,
.rgpd-toc li,
.rgpd-check-list li {
  margin: 8px 0;
}

.rgpd-content-grid {
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.rgpd-toc {
  position: sticky;
  top: 96px;
}

.rgpd-toc a {
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.rgpd-article {
  display: grid;
  gap: 28px;
}

.rgpd-article section {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(0, 67, 145, 0.06);
}

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

.rgpd-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: #eaf8e5;
  color: #17243a;
}

.rgpd-check-list li::marker {
  color: var(--green-700);
}

.rgpd-process-grid h2 {
  font-size: 1.45rem;
}

.rgpd-band-inner {
  align-items: center;
}

.rgpd-source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .rgpd-content-grid,
  .rgpd-source-grid {
    grid-template-columns: 1fr;
  }

  .rgpd-toc {
    position: relative;
    top: auto;
  }
}

/* V28 - harmonisation couleurs entreprise (#58BB17 + #004391) */
.eyebrow,
.section-kicker {
  color: var(--blue-primary);
}

.trust-list li::before,
.value-card strong,
.stat strong,
.service-card .card-number,
.process-step strong {
  color: var(--green-accent);
}

.btn-primary,
.nav-cta,
.inline-link:not(.service-home-grid .inline-link) {
  background: var(--blue-primary);
  color: var(--white) !important;
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
}

.btn-secondary:hover,
.inline-link:hover,
.inline-link:focus-visible {
  border-color: rgba(88, 187, 23, 0.52);
}

.premium-services-section .section-kicker,
.service-home-grid .service-number,
.photo-label,
.about-page .section-kicker {
  color: #a9ec79;
}

::selection {
  background: rgba(88, 187, 23, 0.28);
}


/* V29 - navigation Services à 2 niveaux + page débarras mobilier de bureau */
.main-nav .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.main-nav .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav .nav-parent::after {
  content: "▾";
  font-size: 0.72rem;
  color: var(--green-accent);
  transform: translateY(1px);
}

.submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 40;
  width: min(760px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 67, 145, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 70px rgba(0, 67, 145, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.submenu-group {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-light), #ffffff);
  border: 1px solid rgba(0, 67, 145, 0.08);
}

.submenu-title {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav .submenu a {
  display: flex;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}

.main-nav .submenu a:hover,
.main-nav .submenu a:focus-visible {
  color: var(--green-accent);
}

.two-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 920px) {
  .main-nav .nav-item {
    display: grid;
    align-items: stretch;
  }

  .main-nav .nav-parent {
    padding: 12px;
  }

  .submenu {
    position: static;
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 8px;
    padding: 10px;
    border-radius: 16px;
    box-shadow: none;
    background: var(--green-light);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .submenu::before {
    display: none;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    transform: none;
  }

  .submenu-group {
    padding: 12px;
    background: #ffffff;
  }

  .main-nav .submenu a {
    padding: 8px 0;
  }

  .two-photo-grid {
    grid-template-columns: 1fr;
  }
}


/* Bandeau cookies / consentement Google Tag Manager */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  display: none;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 67, 145, 0.12);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__text {
  color: #1f2933;
  font-size: 0.95rem;
}

.cookie-banner__text strong {
  display: block;
  color: #004391;
  margin-bottom: 4px;
}

.cookie-banner__text p {
  margin: 0 0 6px;
  line-height: 1.45;
}

.cookie-banner__text a {
  color: #004391;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.cookie-btn--primary {
  background: #58BB17;
  color: #ffffff;
}

.cookie-btn--secondary {
  background: #eef3f8;
  color: #004391;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
  opacity: 0.9;
}

@media (max-width: 700px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }
}



/* Champ société facultatif du formulaire */
.company-field {
  padding: 14px;
  border-radius: 20px;
  background: rgba(0, 67, 145, 0.045);
  border: 1px solid rgba(0, 67, 145, 0.14);
}

.company-field small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

/* V34 - bloc "Nos services" page accueil : textes en bleu entreprise */
.premium-services-section,
.premium-services-section .section-kicker,
.premium-services-section h2,
.premium-services-section .section-heading p,
.service-home-grid .service-number,
.service-home-grid h3,
.service-home-grid p,
.service-home-grid .inline-link,
.service-home-grid .inline-link:hover,
.service-home-grid .inline-link:focus-visible {
  color: var(--blue-primary);
}

.service-home-grid .service-card-bg::before {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.94) 100%);
}

.service-home-grid .service-card-bg::after {
  border-color: rgba(0, 67, 145, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 48%);
}

.service-home-grid .service-number {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 67, 145, 0.28);
}

.service-home-grid h3,
.service-home-grid p {
  text-shadow: none;
}

.service-home-grid .inline-link {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 67, 145, 0.22);
}


/* V35 - bloc Nos services : effet verre dépoli plus léger pour mieux voir les photos */
.service-home-grid .service-card-bg {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(0, 67, 145, 0.20);
  box-shadow: 0 18px 48px rgba(0, 67, 145, 0.13);
}

.service-home-grid .service-card-bg-img {
  opacity: 0.70;
  filter: saturate(1.06) contrast(1.05);
}

.service-home-grid .service-card-bg:hover .service-card-bg-img,
.service-home-grid .service-card-bg:focus-within .service-card-bg-img {
  opacity: 0.82;
}

.service-home-grid .service-card-bg::before {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.28) 42%,
      rgba(255, 255, 255, 0.58) 100%);
  -webkit-backdrop-filter: blur(1.2px);
  backdrop-filter: blur(1.2px);
}

.service-home-grid .service-card-bg::after {
  inset: 10px;
  border-color: rgba(255, 255, 255, 0.44);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.20));
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.service-home-grid h3,
.service-home-grid p {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.55);
}

.service-home-grid .service-number,
.service-home-grid .inline-link {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}


/* V38 - SEO confiance, certificats et tarifs */
.trust-proof-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-light) 100%);
}

.trust-proof-grid,
.seo-demand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.trust-proof-grid article,
.seo-demand-grid a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(0, 67, 145, 0.14);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 45px rgba(0, 67, 145, 0.08);
}

.trust-proof-grid strong,
.seo-demand-grid strong {
  color: var(--blue-primary);
  font-size: 1.05rem;
  line-height: 1.25;
}

.trust-proof-grid span,
.seo-demand-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-demand-grid a {
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.seo-demand-grid a:hover,
.seo-demand-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(88, 187, 23, 0.62);
  box-shadow: 0 22px 58px rgba(0, 67, 145, 0.13);
}

.seo-demand-section {
  background: #ffffff;
}

.compact-demand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bordeaux-priority-section .service-card .inline-link,
.seo-demand-grid a strong {
  color: var(--blue-primary);
}

@media (max-width: 980px) {
  .trust-proof-grid,
  .seo-demand-grid,
  .compact-demand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .trust-proof-grid,
  .seo-demand-grid,
  .compact-demand-grid {
    grid-template-columns: 1fr;
  }
}


/* Section vidéo SEO - vidéo locale HTML5 v36 */
.video-seo-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(88, 187, 23, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, rgba(88, 187, 23, 0.08) 100%);
}

.video-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: 42px;
  align-items: center;
}

.video-seo-content p {
  color: #2f3f56;
  font-size: 1.05rem;
}

.video-seo-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.video-seo-list li {
  position: relative;
  padding-left: 30px;
  color: var(--green-900);
  font-weight: 700;
}

.video-seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 187, 23, 0.14);
}

.video-lite {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  background: #001f45;
  border: 1px solid rgba(0, 67, 145, 0.14);
  box-shadow: 0 28px 80px rgba(0, 67, 145, 0.18);
}

.video-local video {
  display: block;
  background: #001f45;
}


.video-lite-button,
.video-lite iframe,
.video-lite video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lite-button {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  background: #001f45;
}

.video-lite-button img,
.video-lite video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-lite-button img {
  opacity: 0.88;
  transform: scale(1.02);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-lite-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 67, 145, 0.58), rgba(88, 187, 23, 0.24));
}

.video-lite-button:hover img,
.video-lite-button:focus-visible img {
  opacity: 1;
  transform: scale(1.055);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(0, 31, 69, 0.28);
}

.video-play::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 26px;
  border-left: 24px solid var(--green-900);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}


@media (max-width: 920px) {
  .video-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .video-lite {
    border-radius: 22px;
  }

  .video-play {
    width: 66px;
    height: 66px;
  }

  .video-play::before {
    left: 28px;
    top: 21px;
    border-left-width: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
}

/* Vidéo locale v37 : carte esthétique sans badge */
.video-showcase {
  position: relative;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(0, 43, 99, 0.96), rgba(0, 67, 145, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(88, 187, 23, 0.42), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 34px 90px rgba(0, 43, 99, 0.28);
  isolation: isolate;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 31, 69, 0.10), rgba(0, 31, 69, 0.36)),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 31, 69, 0.34) 100%);
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #001f45;
  transform: scale(1.01);
}

.video-topline {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.video-topline span,
.video-state,
.video-sound-cta {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 43, 99, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.video-play-cta {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 24px 12px 13px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-primary);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 62px rgba(0, 31, 69, 0.34);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.video-play-cta:hover,
.video-play-cta:focus-visible {
  transform: translate(-50%, -50%) scale(1.035);
  background: #fff;
  box-shadow: 0 30px 72px rgba(0, 31, 69, 0.42);
}

.video-play-circle {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-accent), #75d733);
  box-shadow: 0 12px 28px rgba(88, 187, 23, 0.34);
}

.video-play-circle::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 15px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.video-sound-cta {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(0, 67, 145, 0.78);
  box-shadow: 0 16px 36px rgba(0, 31, 69, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.video-sound-cta:hover,
.video-sound-cta:focus-visible {
  background: rgba(88, 187, 23, 0.92);
}

.video-state {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 22px;
  max-width: min(70%, 470px);
  margin: 0;
  padding: 11px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 43, 99, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.88rem;
  font-weight: 800;
}

.video-helper {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.video-showcase.is-playing:not(.is-muted) .video-frame::before {
  opacity: 0.22;
}

.video-showcase.is-playing:not(.is-muted) .video-play-cta,
.video-showcase.user-started .video-play-cta {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}

.video-showcase.video-error .video-play-cta {
  display: none;
}

.video-showcase.video-error .video-frame::before {
  opacity: 0.98;
}

.video-showcase.video-error .video-state {
  max-width: calc(100% - 44px);
  right: 22px;
}

@media (max-width: 700px) {
  .video-frame {
    border-radius: 24px;
  }

  .video-frame::after {
    inset: 10px;
    border-radius: 18px;
  }

  .video-topline {
    left: 14px;
    right: 14px;
    top: 14px;
  }

  .video-topline span:nth-child(2) {
    display: none;
  }

  .video-play-cta {
    min-height: 62px;
    padding: 10px 18px 10px 10px;
    gap: 10px;
  }

  .video-play-text {
    max-width: 130px;
    line-height: 1.15;
    text-align: left;
  }

  .video-play-circle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .video-play-circle::before {
    left: 17px;
    top: 12px;
    border-left-width: 14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
  }

  .video-state {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 9px 11px;
    border-radius: 16px;
    font-size: 0.78rem;
  }

  .video-sound-cta {
    right: 14px;
    bottom: 68px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}



/* Ajustement vidéo v40 : bouton son unique placé à gauche du lecteur. */
.video-showcase .video-state,
.video-showcase .video-topline,
.video-showcase .video-play-cta {
  display: none !important;
}

.video-showcase .video-frame {
  aspect-ratio: 16 / 9;
}

.video-showcase .video-sound-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  left: 22px;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  white-space: nowrap;
}

.video-showcase .video-sound-cta::before {
  content: "🔊";
  font-size: 1rem;
  line-height: 1;
}

.video-showcase.is-muted .video-sound-cta::before {
  content: "🔇";
}

.video-showcase .video-sound-cta[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .video-showcase .video-sound-cta {
    left: 14px;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}


/* Ajustement vidéo v41 : bouton son réellement placé à gauche du lecteur */
.video-showcase {
  display: flex;
  align-items: center;
  gap: 18px;
}

.video-showcase .video-frame {
  flex: 1 1 auto;
}

.video-showcase .video-sound-cta {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .video-showcase {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-showcase .video-frame {
    width: 100%;
  }
}
