/* =========================================================
   BTP RÉNOVATION — VERT SAUGE, IVOIRE ET ANTHRACITE
   À charger après assets/css/style.css.
   ========================================================= */

:root {
  --navy: #465b52;
  --navy-dark: #35473f;
  --navy-deep: #283830;

  --cyan: #647e70;
  --cyan-light: #c8d5cc;
  --cyan-pale: #f0f4ef;
  --lime: #dce4d5;

  --white: #ffffff;
  --ink: #29362f;
  --text: #46534c;
  --muted: #68736c;

  --line: #dce2db;
  --soft: #f7f8f4;
  --accent: #526b5d;

  --success: #427358;
  --warning: #f5eedc;

  --footer-bottom: #202d26;
  --shadow: 0 12px 34px rgba(40, 56, 48, .08);

  --container: min(1350px, calc(100% - 64px));
}

/* TYPOGRAPHIE */

html {
  scroll-padding-top: 180px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .015em;
  color: var(--cyan);
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 3vw, 52px);
}

h3 {
  font-size: 28px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.eyebrow {
  color: var(--cyan);
}

.eyebrow-light {
  color: var(--cyan-light);
}

/* BOUTONS */

.btn {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--cyan-pale);
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}

.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--cyan-pale);
  border-color: var(--cyan-pale);
  color: var(--navy-dark);
}

.text-link,
.card-link {
  color: var(--navy);
}

.text-link:hover,
.card-link:hover {
  color: var(--navy-dark);
}

/* EN-TÊTE */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.contact-strip {
  background: var(--navy-deep);
  color: var(--white);
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 53px;
  font-size: 14px;
}

.contact-strip-inner > span {
  margin-right: auto;
}

.strip-phone {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, .09);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 16px;
}

.strip-phone:hover {
  background: rgba(255, 255, 255, .16);
}

.strip-phone span {
  font-size: 22px;
}

.topbar {
  height: 110px;
  align-items: center;
  gap: 30px;
}

/* LOGO */

.brand {
  padding: 0;
  gap: 8px;
}

.brand-mark {
  width: 42px;
  height: 54px;
}

.brand-mark svg {
  fill: var(--cyan);
}

.brand-mark .brand-mark-cut {
  fill: var(--cyan-light);
}

.brand-copy strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--cyan);
}

.brand-copy strong em {
  color: var(--navy);
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}

/* NAVIGATION */

.reference-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--ink);
  font-size: 16px;
}

.reference-nav a:hover,
.nav-dropdown summary:hover {
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  padding: 12px 0;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dropdown-content a {
  display: block;
  padding: 10px;
}

.dropdown-content a:hover {
  background: var(--cyan-pale);
}

.desktop-quote {
  white-space: nowrap;
}

/* MENU MOBILE */

.mobile-contact-bar {
  display: none;
}

.mobile-panel[hidden] {
  display: none !important;
}

.mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - 152px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-color: var(--line);
}

.mobile-panel nav a {
  color: var(--ink);
  border-color: var(--line);
}

.mobile-panel nav a:hover {
  color: var(--navy);
  background: var(--cyan-pale);
}

.mobile-call {
  background: var(--navy);
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  background: var(--navy);
}

/* BANDEAU PHOTO — VERSION REFERENCE-HERO */

.reference-hero {
  position: relative;
  min-height: 640px;
  height: calc(100svh - 163px);
  max-height: 850px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-deep);
}

.reference-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.reference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, .53),
    rgba(0, 0, 0, .20)
  );
  pointer-events: none;
}

.reference-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
  color: var(--white);
}

.reference-hero h1 {
  font-size: clamp(44px, 4vw, 68px);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: 0;
}

.reference-hero p {
  font-size: 21px;
  font-weight: 600;
  margin: 24px 0;
}

/* SECTIONS TEXTE ET PHOTO */

.editorial-section {
  padding: 80px 0;
}

.editorial-section:first-of-type {
  padding-top: 100px;
}

.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.editorial-row > div {
  min-width: 0;
}

.editorial-row h2 {
  text-transform: uppercase;
  margin-bottom: 28px;
}

.editorial-row h3 {
  margin-bottom: 26px;
  font-size: 28px;
}

.editorial-row p {
  margin: 0 0 30px;
  line-height: 1.6;
}

.editorial-row > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.editorial-reverse > div {
  order: 2;
}

.editorial-reverse > img {
  order: 1;
}

.section {
  padding: 80px 0;
}

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

/* PRESTATIONS */

.reference-services h2 {
  text-transform: uppercase;
}

.section-lead {
  max-width: 930px;
  margin: 38px 0 48px;
}

.reference-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.reference-service-card {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-deep);
}

.reference-service-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .3s;
}

.reference-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    transparent 20%,
    rgba(0, 0, 0, .82)
  );
  pointer-events: none;
}

.reference-service-card h3 {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 28px;
  letter-spacing: 0;
}

.reference-service-card:hover img {
  transform: scale(1.04);
}

.service-card,
.project-card {
  box-shadow: none;
}

/* ENGAGEMENTS */

.reference-values {
  text-align: center;
}

.reference-values h2 {
  text-transform: uppercase;
}

.reference-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}

.value-symbol {
  display: block;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.reference-values h3 {
  font-size: 27px;
}

.reference-values p {
  margin-top: 26px;
}

/* PARTENAIRE */

.reference-partner {
  position: relative;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(0, 0, 0, .60), rgba(0, 0, 0, .60)),
    var(--partner-photo, none);
  background-position: center;
  background-size: cover;
  padding: 130px 0;
  color: var(--white);
}

.reference-partner-copy {
  max-width: 850px;
  margin-left: auto;
}

.reference-partner h2 {
  color: var(--white);
  text-transform: uppercase;
}

.reference-partner p {
  max-width: 700px;
  margin: 28px 0;
}

.reference-partner .eyebrow {
  color: var(--cyan-light);
}

/* =========================================================
   AVIS CLIENTS — BTP RÉNOVATION
   ========================================================= */


/* =========================================================
   TITRE DE SECTION
   ========================================================= */

.reference-reviews{
    background:var(--soft);
    border-top:1px solid var(--line);
}


.review-section-heading,
.review-list-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:32px;
    margin-bottom:30px;
}


.review-section-heading>div:first-child{
    max-width:660px;
}


.review-section-heading h2,
.review-list-heading h2{
    margin:0;
}


.review-section-heading p{
    max-width:580px;
    margin:12px 0 0;
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}


.review-section-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
}


/* =========================================================
   CARTES AVIS
   ========================================================= */

.reference-reviews .review-grid{
    margin-bottom:28px;
}


.review-card{
    min-width:0;
    padding:22px;
    border:1px solid var(--line);
    border-radius:6px;
    background:#fff;
    box-shadow:
        0 4px 16px rgba(40,56,48,.04);
}


.review-card .stars{
    margin:14px 0 10px;
    color:#d99a23;
    font-size:17px;
    letter-spacing:2px;
}


.review-card>p{
    margin:0;
    color:var(--text);
    font-size:13px;
    line-height:1.65;
}


.review-top{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:11px;
    align-items:center;
}


.review-top .avatar{
    width:42px;
    height:42px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:var(--navy);
    color:#fff;

    font-size:14px;
    font-weight:800;
}


.review-top strong,
.review-top small{
    display:block;
}


.review-top strong{
    color:var(--ink);
    font-size:13px;
}


.review-top small{
    margin-top:2px;
    color:var(--muted);
    font-size:10px;
}


/* =========================================================
   FORMULAIRE ACCUEIL
   ========================================================= */

.home-review-form{
    max-width:760px;
    margin:34px auto 0;
}


.home-review-form[hidden]{
    display:none!important;
}


/* =========================================================
   FORMULAIRE AVIS
   ========================================================= */

.review-submit-section{
    background:var(--soft);
}


.review-submit-container{
    max-width:780px;
}


.review-form-card{
    padding:clamp(24px,4vw,38px);

    border:1px solid var(--line);
    border-radius:7px;

    background:#fff;

    box-shadow:var(--shadow);
}


.review-form-card h3{
    margin:0 0 9px;

    color:var(--ink);

    font-size:clamp(25px,3vw,32px);

    line-height:1.1;
}


.review-form-intro{
    max-width:620px;

    margin:0 0 26px;

    color:var(--muted);

    font-size:13px;
    line-height:1.6;
}


/* =========================================================
   GRILLE FORMULAIRE
   ========================================================= */

.review-form{
    display:grid;
    gap:17px;
}


.review-form-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:16px;
}


.review-form label{
    display:grid;
    gap:7px;

    margin:0;

    color:var(--ink);

    font-size:12px;
    font-weight:700;
}


/* =========================================================
   CHAMPS
   ========================================================= */

.review-form input[type="text"],
.review-form textarea{
    width:100%;

    padding:13px 14px;

    border:1px solid #cbd7d1;
    border-radius:4px;

    background:#fff;
    color:var(--ink);

    font-size:16px;

    outline:none;

    transition:
        border-color .18s,
        box-shadow .18s;
}


.review-form input[type="text"]:focus,
.review-form textarea:focus{
    border-color:var(--cyan);

    box-shadow:
        0 0 0 3px rgba(100,126,112,.12);
}


.review-form textarea{
    min-height:125px;
    resize:vertical;
}


/* =========================================================
   ÉTOILES
   ========================================================= */

.review-rating-field{
    min-width:0;

    margin:0;
    padding:0;

    border:0;
}


.review-rating-field legend{
    margin-bottom:7px;

    color:var(--ink);

    font-size:12px;
    font-weight:700;
}


.review-star-rating{
    display:inline-flex;
    flex-direction:row-reverse;

    justify-content:flex-end;

    gap:4px;
}


.review-star-rating input{
    position:absolute;

    width:1px;
    height:1px;

    opacity:0;
}


.review-star-rating label{
    display:block;

    margin:0;

    color:#cbd3ce;

    font-size:34px;
    line-height:1;

    cursor:pointer;

    transition:
        color .15s,
        transform .15s;
}


.review-star-rating label:hover,
.review-star-rating label:hover ~ label,
.review-star-rating input:checked ~ label{
    color:#d99a23;
}


.review-star-rating label:hover{
    transform:scale(1.08);
}


.review-star-rating input:focus-visible + label{
    outline:2px solid var(--cyan);
    outline-offset:3px;
}


/* =========================================================
   CONSENTEMENT
   ========================================================= */

.review-form .review-consent{
    display:grid;

    grid-template-columns:18px minmax(0,1fr);

    gap:10px;

    align-items:flex-start;

    color:var(--muted);

    font-size:11px;
    font-weight:400;

    line-height:1.55;
}


.review-consent input{
    width:17px;
    height:17px;

    margin:2px 0 0;

    accent-color:var(--navy);
}


/* =========================================================
   BOUTON
   ========================================================= */

.review-submit{
    min-height:50px;
    margin-top:2px;
}


.review-form-note{
    margin:0;

    color:var(--muted);

    font-size:10px;

    line-height:1.5;

    text-align:center;
}


/* =========================================================
   SUCCÈS
   ========================================================= */

.review-form-success{
    display:grid;
    gap:3px;

    margin-bottom:20px;

    padding:13px 15px;

    border:1px solid #bcd5c5;
    border-radius:4px;

    background:#edf7f0;

    color:var(--success);

    font-size:12px;
}


.review-form-success strong{
    color:#315d43;
}


/* =========================================================
   ERREURS
   ========================================================= */

.review-form-card .form-alert{
    margin-bottom:20px;
}


.review-form-card .form-alert ul{
    margin:7px 0 0;
    padding-left:18px;
}


.review-form-card .form-alert li{
    margin:3px 0;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.review-honeypot{
    position:absolute!important;

    width:1px!important;
    height:1px!important;

    overflow:hidden!important;

    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;

    white-space:nowrap!important;
}


/* =========================================================
   PAGE TOUS LES AVIS
   ========================================================= */

.review-list-section{
    background:#fff;
}


.review-total{
    flex:0 0 auto;

    margin:0;

    color:var(--muted);

    font-size:12px;
}


.review-total strong{
    margin-right:3px;

    color:var(--navy);

    font-size:20px;
}


.review-grid-page{
    grid-template-columns:
        repeat(3,minmax(0,1fr));
}


/* =========================================================
   AUCUN AVIS
   ========================================================= */

.review-empty{
    padding:28px;

    border:1px solid var(--line);
    border-radius:6px;

    background:var(--soft);

    color:var(--muted);

    text-align:center;
}


.review-empty strong{
    display:block;

    color:var(--ink);

    margin-bottom:4px;
}


.review-empty p{
    margin:0;

    font-size:12px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width:980px){

    .review-section-heading,
    .review-list-heading{
        align-items:flex-start;
        flex-direction:column;
    }


    .review-section-actions{
        justify-content:flex-start;
    }


    .review-grid-page{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:640px){

    .review-section-actions{
        display:grid;

        grid-template-columns:1fr;

        width:100%;
    }


    .review-section-actions .btn{
        width:100%;
    }


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


    .review-form-card{
        padding:22px 18px;
    }


    .review-star-rating label{
        font-size:32px;
    }

}

/* ZONE D’INTERVENTION */

.reference-area {
  background: var(--soft);
  padding: 90px 0 110px;
}

.area-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: var(--white);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(40, 56, 48, .08);
}

.area-card > div {
  padding: 40px;
}

.area-card h2 {
  text-transform: uppercase;
  font-size: clamp(30px, 3vw, 48px);
}

.area-card iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.area-cities {
  color: var(--navy);
  font-family: Georgia, serif;
}

/* FOOTER */

.site-footer {
  background: var(--navy-deep);
  color: var(--cyan-light);
}

.site-footer .brand-copy strong,
.site-footer .brand-copy strong em,
.site-footer .brand-copy small {
  color: var(--cyan-light);
}

.site-footer .brand-mark svg {
  fill: var(--cyan-light);
}

.site-footer h2 {
  font-family: Arial, sans-serif;
  color: var(--white);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  background: var(--footer-bottom);
  color: var(--cyan-light);
}

/* PAGES INTÉRIEURES */

.page-hero {
  background: var(--cyan-pale);
}

.page-hero-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.page-hero-dark h1 {
  color: var(--white);
}

.faq-section h2 {
  color: var(--cyan);
}

/* =========================================================
   RESPONSIVE — ORDINATEUR
   ========================================================= */

@media (min-width: 1101px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1300px) and (min-width: 1101px) {
  .reference-nav {
    gap: 15px;
    font-size: 14px;
  }

  .topbar {
    gap: 20px;
  }

  .desktop-quote {
    padding: 12px 16px;
    font-size: 14px;
  }

  .brand-copy strong {
    font-size: 32px;
  }
}

/* =========================================================
   RESPONSIVE — TABLETTE ET BARRE DE CONTACT FIXE
   ========================================================= */

@media (max-width: 1100px) {
  :root {
    --container: min(900px, calc(100% - 40px));
  }

  html {
    scroll-padding-top: 95px;
    scroll-padding-bottom: 85px;
  }

  body {
    padding-bottom: calc(
      64px + env(safe-area-inset-bottom, 0px)
    );
  }

  .contact-strip,
  .reference-nav,
  .desktop-quote {
    display: none;
  }

  .topbar {
    height: 88px;
  }

  .menu-toggle {
    display: block;
  }

  .brand-copy strong {
    font-size: 32px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .reference-hero {
    height: calc(85svh - 88px);
    min-height: 500px;
  }

  .reference-hero-content {
    padding-bottom: 70px;
  }

  .reference-hero h1 {
    font-size: 54px;
  }

  .mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    z-index: 200;
    background: var(--navy-deep);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -3px 14px rgba(40, 56, 48, .12);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 64px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
  }

  .mobile-contact-call {
    background: var(--navy-deep);
  }

  .mobile-contact-call:hover {
    background: var(--footer-bottom);
  }

  .mobile-contact-quote {
    background: var(--navy);
    border-left: 1px solid rgba(255, 255, 255, .25);
  }

  .mobile-contact-quote:hover {
    background: var(--navy-dark);
  }

  .mobile-contact-bar a:focus-visible {
    outline-color: var(--white);
    outline-offset: -5px;
  }

  .editorial-row {
    gap: 32px;
  }

  .editorial-row > img {
    height: 400px;
  }

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

  .reference-values-grid {
    gap: 24px;
  }

  .reference-values h3 {
    font-size: 24px;
  }

  .area-card {
    grid-template-columns: 1fr 1fr;
  }

  .area-card > div {
    padding: 30px;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 40px);
  }

  .topbar {
    height: 78px;
  }

  .brand-mark {
    width: 34px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 28px;
  }

  .reference-hero {
    min-height: 480px;
    height: calc(90svh - 142px);
  }

  .reference-hero-content {
    padding-bottom: 46px;
  }

  .reference-hero h1 {
    font-size: 42px;
  }

  .reference-hero p {
    font-size: 17px;
    max-width: 300px;
  }

  .reference-hero-image {
    object-position: 60% center;
  }

  .editorial-section,
  .section {
    padding: 46px 0;
  }

  .editorial-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-row h2 {
    font-size: 33px;
    margin-bottom: 22px;
  }

  .editorial-row h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .editorial-row > img {
    height: 300px;
  }

  .editorial-reverse > div,
  .editorial-reverse > img {
    order: initial;
  }

  .reference-service-grid {
    gap: 12px;
  }

  .reference-service-card {
    min-height: 205px;
    border-radius: 16px;
  }

  .reference-service-card h3 {
    font-size: 22px;
    left: 14px;
    right: 10px;
    bottom: 18px;
    overflow-wrap: anywhere;
  }

  .section-lead {
    margin: 24px 0 30px;
  }

  .reference-values-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 32px;
  }

  .value-symbol {
    font-size: 64px;
    margin-bottom: 12px;
  }

  .reference-values p {
    margin: 15px auto 0;
    max-width: 330px;
  }

  .reference-partner {
    padding: 70px 0;
  }

  .reference-partner h2 {
    font-size: 34px;
  }

  .area-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .area-card > div {
    padding: 28px 22px;
  }

  .area-card iframe {
    min-height: 300px;
  }

  .mobile-panel {
    max-height: calc(
      100dvh - 142px - env(safe-area-inset-bottom, 0px)
    );
  }



  .faq-grid {
    gap: 30px;
  }
}

/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {
  .reference-service-card img {
    transition: none;
  }

  .reference-service-card:hover img {
    transform: none;
  }
}

/* TRÈS PETITS ÉCRANS */

@media (max-width: 380px) {
  .editorial-row h2,
  .reference-services h2,
  .reference-values h2,
  .reference-partner h2,
  .reference-reviews h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .reference-hero h1 {
    font-size: 36px;
  }

  .reference-service-card h3 {
    font-size: 20px;
  }

  .site-footer .brand-copy strong {
    font-size: 24px;
  }
}



/* AFFICHAGE MOBILE UNIQUEMENT */

/* SMARTPHONES ET TABLETTES (jusqu'à 1024px) */
@media screen and (max-width: 980px) {

    /* Page rénovation de salle de bain :
       masquer le bloc spécialiste et les boutons */
    body.sdb-landing .service-detail-hero .specialist-box,
    body.sdb-landing .service-detail-hero .hero-cta {
        display: none !important;
    }

    /* Masquer l'image de présentation
       sur la page salle de bain */
    body.sdb-landing .sdb-project-image {
        display: none !important;
    }

    /* Page services.php :
       masquer les images des cartes de services */
    .service-grid-all .service-image {
        display: none !important;
    }

}

