
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =====================================================
   SPGR — RÉNOVATION INTÉRIEURE
   STYLE.CSS — VERSION FINALE
   Identité : bleu nuit / rouge brique / beige
===================================================== */

/* 01. VARIABLES */

:root {
  --spgr-navy: #102333;
  --spgr-navy-light: #1c3445;
  --spgr-red: #b93920;
  --spgr-red-hover: #922d1a;
  --spgr-beige: #b79a7e;
  --spgr-beige-light: #e9dfd4;
  --spgr-cream: #f7f5f1;
  --spgr-white: #ffffff;
  --spgr-text: #27343d;
  --spgr-muted: #58616a;
  --spgr-border: #e5dfd8;

  --ink: var(--spgr-navy);
  --red: var(--spgr-red);
  --paper: var(--spgr-cream);
  --line: var(--spgr-border);
  --muted: var(--spgr-muted);

  --container: 1160px;
  --radius: 6px;
}

/* 02. RESET ET TYPOGRAPHIE */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  color: var(--spgr-text);
  background: var(--spgr-white);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
.logo {
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -.025em;
}

h1,
h2,
h3 {
  color: var(--spgr-navy);
}

h1 {
  margin: .3em 0;
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  font-weight: 800;
}

h2 {
  margin: .2em 0 .65em;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
}

h3 {
  margin: .4em 0 .7em;
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: .5em 0 1.15em;
}

.wrap {
  width: min(
    var(--container),
    calc(100% - 42px)
  );
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.soft {
  background: var(--spgr-cream);
}

.content {
  max-width: 850px;
}

.content h2 {
  margin-top: 1.4em;
}

.muted {
  color: var(--spgr-muted);
}

.lead {
  max-width: 650px;
  font-size: 1.12rem;
  line-height: 1.75;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--spgr-red);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notice {
  padding: 15px 18px;
  background: #fff8ed;
  border-left: 3px solid var(--spgr-beige);
}

/* 03. ACCESSIBILITÉ */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--spgr-white);
  color: var(--spgr-navy);
}

:focus-visible {
  outline: 3px solid var(--spgr-red);
  outline-offset: 3px;
}

/* 04. BOUTONS ET LIENS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--spgr-red);
  border-radius: var(--radius);
  background: var(--spgr-red);
  color: #fff !important;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.btn:hover {
  background: var(--spgr-red-hover);
  border-color: var(--spgr-red-hover);
  transform: translateY(-1px);
}

.text-link {
  display: inline-block;
  color: var(--spgr-red);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.text-link:hover {
  color: var(--spgr-red-hover);
  text-decoration: underline;
}

/* 05. BANDEAU SUPÉRIEUR */

.spgr-topbar {
  width: 100%;
  background: var(--spgr-navy);
  color: #fff;
  border-bottom: 1px solid #304353;
}

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

.spgr-topbar-left,
.spgr-topbar-right,
.spgr-topbar-info,
.spgr-topbar-contact {
  display: flex;
  align-items: center;
}

.spgr-topbar-left {
  gap: 18px;
}

.spgr-topbar-info {
  gap: 7px;
  color: #e7ebee;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.spgr-topbar-info svg,
.spgr-topbar-contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--spgr-beige);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spgr-topbar-separator {
  width: 1px;
  height: 14px;
  background: #526574;
}

.spgr-topbar-contact {
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.spgr-topbar-contact:hover {
  color: #e8c9b3;
}

/* 06. HEADER ET LOGO */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--spgr-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo span {
  color: var(--spgr-red);
}

/* Logo officiel SPGR */

.site-header .logo img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 215px;
  object-fit: contain;
}

/* 07. MENU DESKTOP */

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-left: auto;
  font-size: 14px;
}

.desktop-nav > a {
  color: var(--spgr-navy);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"] {
  color: var(--spgr-red);
}

/* 08. MENU DÉROULANT */

.dropdown {
  position: relative;
}

.dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--spgr-navy);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}

.dropdown > button:hover {
  color: var(--spgr-red);
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  width: 290px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--spgr-border);
  border-top: 3px solid var(--spgr-beige);
  border-radius: 0 0 7px 7px;
  box-shadow: 0 15px 35px rgba(16,35,51,.12);
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel,
.dropdown.is-open .dropdown-panel {
  display: grid;
}

.dropdown-panel a {
  display: block;
  padding: 9px 17px;
  color: var(--spgr-navy);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
}

.dropdown-panel a:hover {
  background: var(--spgr-cream);
  color: var(--spgr-red);
}

/* 09. MENU MOBILE */

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--spgr-border);
  border-radius: 6px;
  background: #fff;
  color: var(--spgr-navy);
  font-size: 25px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 10px 0 22px;
  background: #fff;
}

.mobile-nav.open,
.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 11px 8px;
  border-bottom: 1px solid var(--spgr-border);
  color: var(--spgr-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--spgr-red);
  background: var(--spgr-cream);
}

/* 10. HERO STANDARD PAGES INTÉRIEURES */

.hero {
  padding: 55px 0;
  background: var(--spgr-cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 10px;
  background: #eae3dc;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

/* 11. HERO ACCUEIL P2 */

.hero.hero-spgr {
  position: relative;
  display: block;
  isolation: isolate;
  min-height: 620px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--spgr-cream);
}

.hero-spgr-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-spgr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Dégradé blanc à gauche, photo à droite */

.hero.hero-spgr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.94) 25%,
    rgba(255,255,255,.74) 43%,
    rgba(255,255,255,.22) 65%,
    rgba(255,255,255,0) 85%
  );
  pointer-events: none;
}

.hero-spgr-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-spgr-text {
  width: 100%;
  max-width: 610px;
}

.hero-spgr h1 {
  max-width: 610px;
  margin: 20px 0;
  color: var(--spgr-navy);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-spgr .lead {
  max-width: 600px;
  color: var(--spgr-text);
  font-size: 17px;
  line-height: 1.75;
}

.hero-spgr .eyebrow {
  color: var(--spgr-red);
}

.hero-spgr .btn {
  margin-top: 10px;
}

/* 12. BANDEAU CHIFFRES CLÉS */

.spgr-counter-band {
  width: 100%;
  background: var(--spgr-navy);
  color: #fff;
}

.spgr-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1160px, calc(100% - 42px));
  margin: 0 auto;
}

.spgr-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 112px;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid rgba(183,154,126,.35);
}

.spgr-counter-item:last-child {
  border-right: 0;
}

.spgr-counter-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  color: #fff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
}

/* Nombres blancs */

.spgr-counter-value .spgr-count {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* Unités et symboles beige */

.spgr-counter-value span:not(.spgr-count) {
  color: var(--spgr-beige);
  -webkit-text-fill-color: var(--spgr-beige);
}

.spgr-counter-item p {
  margin: 8px 0 0;
  color: #e5e8ea;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Autres compteurs éventuels */

.stats {
  display: flex;
  gap: 34px;
  margin-top: 22px;
}

.stat strong {
  display: block;
  color: var(--spgr-navy);
  font: 800 2rem 'Manrope', sans-serif;
}

.stat small {
  display: block;
  max-width: 150px;
}

/* 13. PRÉSENTATION ENTREPRISE */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}

.intro-grid h3 {
  color: var(--spgr-navy);
}

.spgr-experience-quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--spgr-beige);
  border-radius: 0 6px 6px 0;
  background: var(--spgr-cream);
}

.spgr-experience-quote p {
  margin: 0;
  color: var(--spgr-navy);
  font-style: italic;
  line-height: 1.7;
}

/* 14. PRESTATIONS */

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 23px;
  border: 1px solid var(--spgr-border);
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.service:hover {
  border-color: var(--spgr-beige);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(16,35,51,.07);
}

.service h3 {
  margin: 15px 0 8px;
  color: var(--spgr-navy);
  font-size: 16px;
  line-height: 1.4;
}

.service p {
  margin: 0 0 15px;
  color: var(--spgr-muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 3px;
  border: 1px solid #ebddd0;
  border-radius: 9px;
  background: #f6eee6;
  color: var(--spgr-red);
  transition:
    background .2s ease,
    color .2s ease;
}

.service-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

.service:hover .service-icon {
  background: var(--spgr-red);
  border-color: var(--spgr-red);
  color: #fff;
}

.service-num {
  color: var(--spgr-beige);
  font-size: 12px;
  font-weight: 700;
}

.arrow {
  margin-top: auto;
  color: var(--spgr-red);
  font-size: 12px;
  font-weight: 700;
}

/* 15. GALERIE RÉALISATIONS */

.spgr-realisations {
  background: #fff;
}

.spgr-realisations h2 {
  color: var(--spgr-navy);
}

.spgr-realisations-intro {
  max-width: 850px;
  margin: 0 0 28px;
  color: var(--spgr-muted);
  line-height: 1.7;
}

.spgr-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 5px;
}

.spgr-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--spgr-cream);
  color: #fff;
  text-decoration: none;
}

.spgr-gallery-main {
  grid-row: span 2;
}

.spgr-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.spgr-gallery-item:hover img {
  transform: scale(1.04);
}

.spgr-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16,35,51,.78) 0%,
    rgba(16,35,51,.18) 48%,
    transparent 75%
  );
  pointer-events: none;
}

.spgr-gallery-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.spgr-gallery-footer {
  margin-top: 25px;
  text-align: center;
}

.spgr-gallery-footer .text-link {
  color: var(--spgr-red);
}

/* 16. MÉTHODE / ÉTAPES */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
}

.step {
  padding-top: 18px;
  border-top: 3px solid var(--spgr-beige);
}

.step b {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--spgr-red);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.step h3 {
  color: var(--spgr-navy);
  font-size: 16px;
}

.step p {
  color: var(--spgr-muted);
  font-size: 14px;
}

.case-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 45px;
  border: 1px solid var(--spgr-border);
  background: var(--spgr-cream);
  text-align: center;
}

/* 17. FAQ */

.faq {
  max-width: 1000px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--spgr-border);
}

.faq summary {
  color: var(--spgr-navy);
  font-weight: 700;
  cursor: pointer;
}

.faq summary:hover {
  color: var(--spgr-red);
}

.faq details p {
  max-width: 850px;
  margin: 13px 0 3px;
  color: var(--spgr-muted);
  line-height: 1.75;
}

.faq details a {
  color: var(--spgr-red);
}

/* 18. CTA FINAL */

.cta {
  background: var(--spgr-navy);
  color: #fff;
}

.cta h2 {
  max-width: 780px;
  color: #fff;
}

.cta p {
  max-width: 850px;
  color: #e7ebee;
}

.cta .eyebrow {
  color: #d8bba1;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 25px;
}

.cta-buttons .btn {
  min-height: 49px;
}

/* 19. FOOTER */

.footer {
  padding: 45px 0;
  background: #0b1b28;
  color: #e7e9eb;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer .logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer .logo img {
  display: block;
  width: auto;
  height: 105px;
  max-width: 220px;
  object-fit: contain;
}

.footer strong {
  display: block;
  margin-bottom: 13px;
  color: #d8bba1;
  font-size: 15px;
}

.footer p,
.footer address {
  color: #d9e0e5;
  line-height: 1.8;
}

.footer address {
  font-style: normal;
}

.footer a {
  color: #e7e9eb;
  text-decoration: none;
}

.footer a:hover {
  color: #d8bba1;
}

/* 20. PAGES INTÉRIEURES */

.breadcrumbs {
  padding: 20px 0;
  color: var(--spgr-muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--spgr-red);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* 21. FORMULAIRES */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bfc5c8;
  border-radius: 5px;
  background: #fff;
  color: var(--spgr-text);
}

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

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check input {
  width: auto;
  margin-top: 7px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.feedback {
  font-weight: 700;
}

/* =====================================================
   22. RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 1000px) {

  .header-inner {
    min-height: 80px;
  }

  .site-header .logo img {
    height: 67px;
  }

  .desktop-nav {
    gap: 15px;
    font-size: 13px;
  }

  .dropdown > button {
    font-size: 13px;
  }

}

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 35px;
  }

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

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

  .spgr-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .spgr-gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 360px;
  }

  .spgr-gallery-item:not(.spgr-gallery-main) {
    height: 220px;
  }

}

/* =====================================================
   23. RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 600px) {

  body {
    font-size: 15px;
  }

  .wrap,
  .spgr-counter-grid {
    width: calc(100% - 32px);
  }

  .section {
    padding: 44px 0;
  }

  h2 {
    font-size: clamp(25px, 6vw, 32px);
  }

  /* Topbar */

  .spgr-topbar-inner {
    min-height: 36px;
    gap: 8px;
  }

  .spgr-topbar-left {
    gap: 8px;
  }

  .spgr-topbar-info {
    font-size: 10px;
    white-space: normal;
  }

  .spgr-topbar-separator,
  .spgr-topbar-left .spgr-topbar-info:nth-of-type(2) {
    display: none;
  }

  .spgr-topbar-contact span {
    display: none;
  }

  /* Header */

  .header-inner {
    min-height: 72px;
  }

  .site-header .logo img {
    height: 60px;
    max-width: 165px;
  }

  /* Hero P2 */

  .hero.hero-spgr {
    min-height: 550px;
  }

  .hero-spgr-content {
    min-height: 550px;
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .hero.hero-spgr::before {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.95),
      rgba(255,255,255,.82)
    );
  }

  .hero-spgr h1 {
    font-size: clamp(32px, 8vw, 43px);
  }

  .hero-spgr .lead {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 235px;
  }

  .hero-visual img {
    height: 280px;
  }

  /* Compteurs */

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

  .spgr-counter-item {
    min-height: 98px;
    padding: 17px 8px;
  }

  .spgr-counter-item:nth-child(2) {
    border-right: 0;
  }

  .spgr-counter-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(183,154,126,.35);
  }

  .spgr-counter-value {
    font-size: 25px;
  }

  .spgr-counter-item p {
    font-size: 9px;
  }

  /* Prestations */

  .services {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service {
    min-height: 0;
    padding: 20px;
  }

  /* Méthode */

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Galerie */

  .spgr-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .spgr-gallery-main {
    height: 270px;
  }

  .spgr-gallery-item:not(.spgr-gallery-main) {
    height: 155px;
  }

  .spgr-gallery-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  /* CTA */

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* Footer */

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

  .footer .logo img {
    height: 95px;
  }

  /* Formulaires */

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

  .field.full {
    grid-column: auto;
  }

}

/* 24. TRÈS PETITS ÉCRANS */

@media (max-width: 380px) {

  .spgr-topbar-info {
    font-size: 9px;
  }

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

  .site-header .logo img {
    height: 54px;
  }

}

/* 25. RÉDUCTION DES ANIMATIONS */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

}


/* CTA FINAL — DEVIS ET TÉLÉPHONE */

.cta-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 25px;
}

.cta-buttons .btn.cta-phone {
  margin: 0;
  padding: 13px 24px;
  background: transparent;
  border: 1px solid #b79a7e;
  color: #ffffff !important;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.cta-buttons .btn.cta-phone:hover {
  background: #b79a7e;
  border-color: #b79a7e;
  color: #102333 !important;
}

/* MOBILE */

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}


/* =========================================
   SPGR — CORRECTIONS FINALES ACCUEIL
========================================= */

/* Bouton principal : devis gratuit */

.cta-buttons .btn:not(.cta-phone) {
  background: #b93920;
  border-color: #b93920;
  color: #ffffff !important;
}

.cta-buttons .btn:not(.cta-phone):hover {
  background: #922d1a;
  border-color: #922d1a;
}

/* Bouton secondaire : téléphone */

.cta-buttons .btn.cta-phone {
  margin: 0;
  background: transparent;
  border: 1px solid #b79a7e;
  color: #ffffff !important;
}

.cta-buttons .btn.cta-phone:hover {
  background: #b79a7e;
  border-color: #b79a7e;
  color: #102333 !important;
}

/* Galerie accueil : photos statiques */

.spgr-gallery-item {
  cursor: default;
}

.spgr-gallery-item img {
  transition: none;
}

.spgr-gallery-item:hover img {
  transform: none;
}
