/* =========================================================================
   Estores Portugal — feuille de style principale

   Palette « confort portugais » :
   des neutres chauds (blanc cassé, sable, beige pierre), un anthracite
   légèrement chaud pour le texte, et deux accents naturels — terracotta
   et vert olive. Répartition visée : 80 % neutre, 15 % naturel, 5 % accent.

   Les couleurs du logo sont conservées telles quelles : le vert reste la
   couleur d'action du site, le jaune et le rouge restent réservés au logo
   et aux signaux. La terracotta n'entre qu'en petites touches, pour ne
   jamais entrer en concurrence avec le vert du logo dans l'en-tête.
   ========================================================================= */

:root {
  /* anthracite chaud — remplace les gris bleutés */
  --ink:        #1c1a17;
  --ink-2:      #2c2823;
  --ink-3:      #4a443c;
  --muted:      #6d655a;
  --muted-2:    #9a9186;

  /* couleurs du logo, inchangées */
  --green:      #128a3e;
  --green-d:    #0d6c2f;
  --green-l:    #e9f2e6;
  --yellow:     #f5c518;
  --yellow-d:   #c99c00;
  --red:        #ce2b2b;

  /* accents naturels */
  --terra:      #b4552f;
  --terra-d:    #94421f;
  --terra-l:    #f7ece5;
  --olive:      #6e7a4f;

  /* neutres chauds */
  --paper:      #fdfbf7;
  --paper-2:    #f6f1e8;
  --paper-3:    #ece4d7;
  --line:       #e4dcd0;
  --line-2:     #cfc4b3;

  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(40,32,22,.05), 0 8px 24px -12px rgba(40,32,22,.20);
  --shadow-lg:  0 2px 6px rgba(40,32,22,.07), 0 28px 60px -30px rgba(40,32,22,.38);

  --wrap:       1200px;
  --ff-head:    'Barlow', 'Segoe UI', system-ui, sans-serif;
  --ff-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.muted { color: var(--muted); }
.mt { margin-top: 1.6em; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .01em;
  padding: .78em 1.35em; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: .16s ease; text-decoration: none !important;
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 22px -14px var(--green); }
.btn--primary:hover { background: var(--green-d); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.03); }
.btn--onDark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--onDark:hover { background: rgba(255,255,255,.2); }
.btn--lg { font-size: 1.06rem; padding: .95em 1.7em; }
.btn--sm { font-size: .9rem; padding: .55em 1em; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.pill {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .22em .55em; border-radius: 999px; vertical-align: middle;
  font-family: var(--ff-head);
}
.pill--soon { background: var(--yellow); color: #4a3a00; }
.pill--std  { background: var(--green-l); color: var(--green-d); }
.pill--opt  { background: var(--paper-3); color: var(--muted); }

/* ------------------------------------------------------------- topbar */
.topbar { background: var(--ink); color: #d9d1c5; font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #d9d1c5; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__hours { color: var(--muted-2); }
.flag { width: 15px; height: 11px; border-radius: 2px; display: inline-block; }
.flag--pt { background: linear-gradient(90deg, #046a38 0 40%, #da291c 40% 100%); }
.flag--fr { background: linear-gradient(90deg, #002395 0 33%, #fff 33% 66%, #ed2939 66% 100%); }

.langsw { display: flex; gap: 2px; }
.langsw a {
  padding: 3px 9px; border-radius: 6px; font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.langsw a.is-active { background: rgba(255,255,255,.14); color: #fff; }

/* ------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr.is-stuck { box-shadow: 0 6px 20px -14px rgba(20,24,28,.5); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.hdr__logo { flex: none; }
.hdr__logo img { width: 208px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__toggle {
  font-family: var(--ff-head); font-weight: 600; font-size: .93rem; color: var(--ink-2);
  padding: .5em .6em; border-radius: 8px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
}
.nav > a:hover, .nav__toggle:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.nav__toggle svg { width: 10px; height: 6px; transition: .18s; }
.nav__group { position: relative; }
.nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 310px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 5;
}
.nav__group.is-open .nav__menu { display: block; }
.nav__menu a, .nav__menu .nav__soon {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2);
}
.nav__menu a:hover { background: var(--paper-2); text-decoration: none; }
.nav__menu strong { display: block; font-family: var(--ff-head); font-size: .98rem; }
.nav__menu small { display: block; color: var(--muted); font-size: .81rem; line-height: 1.4; }
.nav__soon { opacity: .55; }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  /* Indispensable : un backdrop-filter sur l'en-tête ferait de .hdr le bloc
     conteneur du menu en position:fixed. Le panneau se replierait alors dans
     la hauteur du header et passerait derrière le contenu de la page. */
  .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 114px 0 0; z-index: 70; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 18px 22px 40px; overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav__toggle { width: 100%; justify-content: space-between; padding: .9em .2em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__menu { position: static; display: none; box-shadow: none; border: 0; padding: 6px 0 10px; min-width: 0; background: var(--paper-2); border-radius: var(--radius-sm); }
  .nav__cta { margin: 18px 0 0; }
}
@media (max-width: 620px) {
  .hdr__logo img { width: 160px; }
  .hdr__in { min-height: 64px; }
  .nav { inset: 102px 0 0; }
  .hide-sm { display: none; }
}
@media (max-width: 900px) { .hide-md { display: none; } }

/* ------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1000px 520px at 82% 18%, rgba(18,138,62,.28), transparent 62%),
              radial-gradient(700px 400px at 5% 95%, rgba(245,197,24,.10), transparent 60%);
  pointer-events: none;
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 68px 0 76px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: 1.13rem; color: #cfc7ba; max-width: 44ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero__usp { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: #b6ada0; }
.hero__usp li { display: flex; align-items: center; gap: .45em; }
.hero__usp svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.hero__media { position: relative; }
.hero__media img { width: 100%; filter: drop-shadow(0 26px 44px rgba(0,0,0,.45)); }
.hero__badge {
  position: absolute; left: -14px; bottom: 16px; background: var(--yellow); color: #3d3000;
  font-family: var(--ff-head); font-weight: 800; font-size: .84rem; letter-spacing: .03em;
  padding: .6em 1em; border-radius: 10px; text-transform: uppercase; box-shadow: var(--shadow);
  max-width: 210px; line-height: 1.3;
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; padding: 44px 0 52px; gap: 30px; }
  .hero__badge { left: 8px; }
}

/* ------------------------------------------------------------- bandes */
.strip { background: var(--ink-2); color: #d9d1c5; padding: 14px 0; font-size: .88rem; }
.strip__in { display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; text-align: center; }
.strip strong { color: #fff; font-family: var(--ff-head); }

section.sec { padding: 76px 0; }
section.sec--tight { padding: 54px 0; }
section.sec--alt { background: var(--paper-2); }
section.sec--dark { background: var(--ink); color: #cfc7ba; }
section.sec--dark h2, section.sec--dark h3 { color: #fff; }

.sec__head { max-width: 68ch; margin-bottom: 40px; }
.sec__head.center { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  margin-bottom: .7em;
}
.sec--dark .eyebrow { color: var(--yellow); }
.sec__head p { font-size: 1.05rem; color: var(--muted); }
.sec--dark .sec__head p { color: #b6ada0; }

/* ------------------------------------------------------------- grilles */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------------------- cartes */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .18s ease;
}
.card--link:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-l); color: var(--green-d);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__media { background: var(--paper-2); border-radius: var(--radius-sm); margin: -6px -6px 18px; padding: 16px; height: 160px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-family: var(--ff-head); font-weight: 700; font-size: .93rem; }
.card__more::after { content: '→'; transition: .16s; }
.card--link:hover .card__more::after { transform: translateX(3px); }

.prod {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .18s;
}
.prod:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.prod__img { background: linear-gradient(160deg, #f7f9fb, #e9edf1); height: 220px; flex: none; overflow: hidden; padding: 18px; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; }
.prod__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prod__body h3 { margin-bottom: .3em; }
.prod__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.prod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.tag { font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: .2em .6em; border-radius: 999px; }

/* ------------------------------------------------------------- specs */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: .72em .9em; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--ff-head); color: var(--ink); font-weight: 600; width: 46%; background: var(--paper-2); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6c2f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.sec--dark .ticks li::before { background-color: rgba(18,138,62,.25); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem;
}
.steps strong { display: block; font-family: var(--ff-head); font-size: 1.08rem; color: var(--ink); }
.steps p { margin: .2em 0 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------- couleurs */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.swatch img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.swatch figcaption { padding: 8px 10px; font-size: .82rem; }
.swatch figcaption strong { display: block; font-family: var(--ff-head); color: var(--ink); font-size: .9rem; }
.swatch figcaption span { color: var(--muted-2); font-size: .74rem; letter-spacing: .04em; }

/* ------------------------------------------------------------- bannière CTA */
.cta-band { background: linear-gradient(120deg, var(--green-d), #0a5726 55%, var(--ink)); color: #fff; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 26px 34px; padding: 46px 0; flex-wrap: wrap; }
.cta-band__in > div:first-child { flex: 1 1 460px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: #cfe3d7; margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--yellow); color: #3d3000; box-shadow: none; }
.cta-band .btn--primary:hover { background: #ffd429; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ------------------------------------------------------------- footer */
.ftr { background: var(--ink); color: #a8a094; font-size: .92rem; }
.ftr__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 40px; padding: 58px 22px 46px; }
.ftr h3 { color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1em; }
.ftr a { color: #b9c4cf; }
.ftr a:hover { color: #fff; }
.ftr__logo { width: 190px; margin-bottom: 16px; }
.ftr__tag { color: #7f8b97; font-size: .88rem; }
.ftr__by { font-size: .88rem; }
.ftr__by strong { color: #fff; }
.ftr address { font-style: normal; line-height: 1.6; }
.ftr address strong { color: #cfd7de; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.ftr__hours { line-height: 1.7; }
.ftr .muted { color: #6d7883; }
.ftr__bar { border-top: 1px solid rgba(255,255,255,.09); font-size: .84rem; }
.ftr__bar-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.ftr__bar p { margin: 0; }
.ftr__legal { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- page header */
.phead { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 44px 0 48px; }
.phead h1 { margin-bottom: .3em; }
.phead p { font-size: 1.07rem; color: var(--muted); max-width: 66ch; margin: 0; }
.crumbs { font-size: .84rem; color: var(--muted-2); margin-bottom: 14px; display: flex; gap: .5em; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ------------------------------------------------------------- notes / callouts */
.note {
  border-left: 4px solid var(--yellow); background: #fffbe9; padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem;
}
.note--green { border-left-color: var(--green); background: var(--green-l); }
.note strong { color: var(--ink); }

.soonbox {
  border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 34px;
  text-align: center; background: var(--paper-2);
}

/* ------------------------------------------------------------- FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--ff-head); font-weight: 600;
  font-size: 1.03rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--muted-2); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--green-d); }
.faq__body { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* =========================================================================
   Configurateur de devis
   ========================================================================= */
.quote { padding: 40px 0 84px; }
.quote__layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
@media (max-width: 1020px) { .quote__layout { grid-template-columns: 1fr; } }

.qprogress { display: flex; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.qprogress__step {
  flex: 1 1 0; min-width: 90px; font-size: .78rem; font-family: var(--ff-head); font-weight: 600;
  color: var(--muted-2); padding-top: 10px; border-top: 3px solid var(--line);
  transition: .2s; text-align: left;
}
.qprogress__step.is-active { color: var(--ink); border-top-color: var(--green); }
.qprogress__step.is-done { color: var(--green-d); border-top-color: var(--green); }
.qprogress__step span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

.qpanel { display: none; }
.qpanel.is-active { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qpanel > h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: .2em; }
.qpanel > .qlead { color: var(--muted); margin-bottom: 28px; }

fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: 0; margin-bottom: 4px; }
.fhint { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }

.opts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.opts--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__box {
  display: block; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px;
  cursor: pointer; transition: .15s; height: 100%; background: #fff;
}
.opt:hover .opt__box { border-color: var(--line-2); }
.opt input:checked + .opt__box { border-color: var(--green); background: var(--green-l); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__box strong { display: block; font-family: var(--ff-head); font-size: 1rem; color: var(--ink); }
.opt__box small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: 2px; }
.opt__box img { width: 100%; max-height: 88px; object-fit: contain; margin-bottom: 10px; }

.optcol { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.optcol .opt__box { padding: 0; overflow: hidden; text-align: center; }
.optcol .opt__box img { max-height: none; aspect-ratio: 4/3; margin: 0; }
.optcol .opt__box span { display: block; padding: 7px 4px; font-size: .78rem; font-family: var(--ff-head); font-weight: 600; color: var(--ink); }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 5px; }
.field .req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .68em .8em; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,138,62,.14); }
input.is-invalid, select.is-invalid { border-color: var(--red); background: #fff6f6; }
textarea { min-height: 120px; resize: vertical; }
.field__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .field__row { grid-template-columns: 1fr; } }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-3); margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--green); }

/* tableau de mesures */
.meas { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.meas th { font-family: var(--ff-head); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); text-align: left; padding: 0 8px 2px; font-weight: 600; }
.meas td { padding: 0 4px; vertical-align: middle; }
.meas input, .meas select { padding: .55em .6em; font-size: .93rem; }
.meas .meas__no { color: var(--muted-2); font-family: var(--ff-head); font-weight: 700; width: 26px; text-align: center; }
.rmv {
  width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer; font-size: 1.15rem; line-height: 1; transition: .15s;
}
.rmv:hover { border-color: var(--red); color: var(--red); background: #fff6f6; }
.meas-wrap { overflow-x: auto; margin: 0 -4px 14px; }
.meas-wrap table { min-width: 620px; }

.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }

/* récapitulatif */
.qsum { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.qsum__head { background: var(--ink); color: #fff; padding: 16px 20px; }
.qsum__head h3 { color: #fff; margin: 0; font-size: 1.02rem; }
.qsum__head p { margin: 2px 0 0; font-size: .82rem; color: #9aa6b2; }
.qsum__body { padding: 16px 20px 20px; font-size: .9rem; }
.qsum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; }
.qsum dt { color: var(--muted); }
.qsum dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.qsum__empty { color: var(--muted-2); font-style: italic; }
.qsum__total { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; font-family: var(--ff-head); font-weight: 700; color: var(--ink); }
.qsum__foot { background: var(--paper-2); padding: 14px 20px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 1020px) { .qsum { position: static; } }

.qdone { text-align: center; padding: 56px 24px; }
.qdone__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--green-l); color: var(--green-d); display: grid; place-items: center; margin: 0 auto 20px; }
.qdone__icon svg { width: 38px; height: 38px; }
.qdone .ref { font-family: var(--ff-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: .04em; }

.errmsg { color: var(--red); font-size: .88rem; margin-top: 8px; display: none; }
.errmsg.is-on { display: block; }

/* utilitaires divers */
.stack > * + * { margin-top: 14px; }
.imgframe { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.imgframe img { margin-inline: auto; }
.imgframe figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 12px; }
.two-img { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two-img { grid-template-columns: 1fr; } }

@media print { .topbar, .hdr, .nav, .cta-band, .qnav, .burger { display: none !important; } }

/* --------------------------------------------------- ajustements */
.opt.is-invalid .opt__box { border-color: var(--red); background: #fff6f6; }
.hero__media { display: grid; place-items: center; }
.imgframe img { max-height: 340px; width: auto; max-width: 100%; }
.qsum dd { word-break: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.meas input[type=number]::-webkit-outer-spin-button,
.meas input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.meas input[type=number] { -moz-appearance: textfield; }
input[type=file] { font-size: .9rem; padding: .5em; }

/* --------------------------------------------------- garde-fous de grille */
.split > *, .grid > *, .quote__layout > *, .opts > *, .optcol > * { min-width: 0; }
.imgframe img, .prod__img img, .card__media img, .hero__media img { max-width: 100%; }

.shopcard { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
@media (max-width: 700px) { .shopcard { grid-template-columns: 1fr; } }

/* =========================================================================
   Onglets produit (formes de caixa, modèles monobloc)
   ========================================================================= */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabs__bar { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.tabs__btn {
  flex: 1 0 auto; min-width: 180px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 15px 20px 13px; font-family: var(--ff-head); font-weight: 600;
  font-size: .98rem; color: var(--muted); transition: .16s;
}
.tabs__btn small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted-2); letter-spacing: .04em; margin-top: 2px; }
.tabs__btn:hover { color: var(--ink); background: rgba(0,0,0,.02); }
.tabs__btn.is-active { color: var(--ink); background: #fff; border-bottom-color: var(--green); }
.tabs__btn.is-active small { color: var(--green-d); }
.tabs__panel { display: none; padding: 30px 28px 32px; }
.tabs__panel.is-active { display: block; animation: fade .22s ease; }
.tabs__panel > h3 { display: flex; align-items: center; gap: .7em; flex-wrap: wrap; }
.tabs__panel > p { max-width: 76ch; }
.tabs__sub {
  font-family: var(--ff-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 30px 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
@media (max-width: 620px) { .tabs__panel { padding: 24px 18px 26px; } .tabs__btn { min-width: 150px; font-size: .9rem; } }

.shots { display: grid; gap: 16px; }
.shots--1 { grid-template-columns: minmax(0, 420px); }
.shots--2 { grid-template-columns: repeat(2, 1fr); }
.shots--3 { grid-template-columns: repeat(3, 1fr); }
.shots figure { margin: 0; }
.shots img {
  width: 100%; aspect-ratio: 16/10; object-fit: contain; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px;
}
.shots figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 780px) { .shots--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shots--2, .shots--3 { grid-template-columns: 1fr; } }

/* familles sur la page hub */
.fam { padding: 46px 0; border-bottom: 1px solid var(--line); }
.fam:last-child { border-bottom: 0; padding-bottom: 8px; }
.fam:first-of-type { padding-top: 0; }
.prod--hero { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }

.nav__sep { border: 0; border-top: 1px solid var(--line); margin: 8px 12px; }
.nav__menu strong .pill { margin-left: .4em; vertical-align: 1px; }

/* -------------------------------------------------------------------------
   v3 — cartes produit en ligne (motorisation, moustiquaires)
   ------------------------------------------------------------------------- */
.prod--row { flex-direction: row; align-items: stretch; }
.prod--row .prod__img { width: 200px; height: auto; min-height: 168px; }
.prod--row .prod__body { padding: 20px 22px; }
.prod--row .prod__body p { font-size: .92rem; }
@media (max-width: 560px) {
  .prod--row { flex-direction: column; }
  .prod--row .prod__img { width: 100%; height: 190px; }
}

/* pastille « standard » dans les options du devis */
.opt__box small .pill { margin-right: 6px; vertical-align: middle; }
.optcol .opt__box span .pill { display: inline-block; margin-left: 4px; font-size: .62rem; padding: 1px 5px; vertical-align: middle; }

/* garde-fou : aucune image ne dépasse son cadre sur petit écran */
@media (max-width: 560px) { .imgframe img, .shots img, .card__media img { max-width: 100% !important; } }

/* -------------------------------------------------------------------------
   v4 — CTA d'en-tête plus visible
   « .nav > a » l'emportait sur « .btn--primary » : le bouton s'affichait en
   simple lien. On remonte la spécificité pour lui rendre son fond vert.
   ------------------------------------------------------------------------- */
.nav > a.nav__cta {
  background: var(--green);
  color: #fff;
  padding: .78em 1.25em;
  font-size: .95rem;
  border-radius: 10px;
  letter-spacing: .01em;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 20px -10px rgba(18,138,62,.7);
}
.nav > a.nav__cta::after {
  content: "";
  width: 7px; height: 7px;
  margin-left: 4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.nav > a.nav__cta:hover {
  background: var(--green-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 26px -10px rgba(18,138,62,.8);
}
@media (max-width: 1180px) {
  .nav > a.nav__cta {
    width: 100%; justify-content: center;
    border: 0; border-radius: 10px;
    padding: .95em 1.25em; font-size: 1.02rem;
  }
}

/* points de levantamento dans la cellule pleine largeur des zones de service */
.pickpt { border-left: 3px solid var(--line-2); padding-left: 14px; }
.pickpt strong { font-family: var(--ff-head); color: var(--ink); }
.pickpt p { color: var(--muted); font-size: .92rem; }

/* cadre du logo OKJAFE sur la page entreprise */
.imgframe.okjafe { background: #fff; }

/* -------------------------------------------------------------------------
   v4 — blocs produit du devis (plusieurs gammes dans une même demande)
   ------------------------------------------------------------------------- */
.prodblock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px 22px 26px;
  margin-bottom: 20px;
}
.prodblock + .prodblock { border-top-width: 1px; }
.prodblock__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.prodblock__head h3 { margin: 0; font-size: 1.12rem; }
.prodblock__n {
  display: inline-block;
  background: var(--ink); color: #fff;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}
.prodblock__name { color: var(--muted); font-weight: 500; }
.prodblock__rm {
  border: 0; background: none; cursor: pointer;
  color: var(--muted); font: inherit; font-size: .88rem;
  padding: 4px 8px; border-radius: var(--radius-sm);
}
.prodblock__rm:hover { color: var(--red); background: #fff3f3; }
.prodblock__sub {
  margin: 26px 0 4px; font-size: .78rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted-2);
}
.addprod { width: 100%; justify-content: center; border-style: dashed; }

#sumList dt.is-head {
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2);
}
#sumList dd.is-head {
  grid-column: 1 / -1;
  font-family: var(--ff-head); font-weight: 700; color: var(--ink);
  margin-bottom: 2px;
}

/* -------------------------------------------------------------------------
   v5 — Instagram en pied de page, galerie entrepôt
   ------------------------------------------------------------------------- */
.ftr__social { display: inline-flex; align-items: center; gap: 8px; }
.ftr__social svg { flex: none; }
.page-empresa .grid--4 .imgframe img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* =========================================================================
   v6 — direction artistique « confort portugais »
   Hero photographique, blocs métier illustrés, avant/après, détails produit.
   ========================================================================= */

/* ------------------------------------------------- hero plein écran photo */
.hero--photo { background: var(--ink); isolation: isolate; }
.hero--photo .hero__bg { position: absolute; inset: 0; z-index: 0; display: block; }
.hero--photo .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* Deux voiles superposés : un dégradé latéral pour asseoir le texte à gauche,
   un voile global léger pour garantir le contraste quel que soit le cadrage. */
.hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20,17,13,.90) 0%, rgba(20,17,13,.72) 34%, rgba(20,17,13,.18) 62%, rgba(20,17,13,.05) 100%),
    linear-gradient(0deg, rgba(20,17,13,.35), rgba(20,17,13,0) 45%);
}
.hero--photo .hero__in {
  position: relative; z-index: 2;
  display: block;
  padding-block: clamp(72px, 11vw, 132px) clamp(64px, 9vw, 110px);
  padding-inline: 22px;
}
.hero--photo .hero__copy { max-width: 40rem; }
.hero--photo .eyebrow { color: #e5dccd; }
.hero--photo h1 { text-wrap: balance; }
.hero--photo .hero__lead { color: #e8e1d6; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 34rem; }

/* les puces reprennent une coche dessinée en CSS : plus d'icône importée */
.hero--photo .hero__usp { gap: 10px 26px; margin-top: 26px; color: #d6cec2; }
.hero--photo .hero__usp li { position: relative; padding-left: 1.5em; }
.hero--photo .hero__usp li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: .62em; height: .34em; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}
@media (max-width: 720px) {
  .hero--photo::before {
    background:
      linear-gradient(180deg, rgba(20,17,13,.62) 0%, rgba(20,17,13,.52) 40%, rgba(20,17,13,.88) 100%);
  }
  .hero--photo .hero__in { padding-block: 58px 46px; }
  .hero--photo .hero__lead { font-size: 1rem; }
}

/* ------------------------------------------- « Um trabalho feito à medida » */
.steps4 {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  counter-reset: passo;
}
.step4 { counter-increment: passo; min-width: 0; }
.step4__media { position: relative; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.step4__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.step4__n {
  position: absolute; left: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-content: center;
  background: var(--paper); color: var(--ink);
  font-family: var(--ff-head); font-weight: 800; font-size: .92rem;
  box-shadow: 0 2px 10px -4px rgba(0,0,0,.5);
}
.step4__n::before { content: counter(passo); }
.step4 h3 { margin-bottom: .35em; }
.step4 p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

/* --------------------------------------- cartes numérotées (sans icône) */
.card--num { counter-increment: carte; position: relative; }
.grid--4 { counter-reset: carte; }
.card__num {
  display: block; font-family: var(--ff-head); font-weight: 800;
  font-size: 1.6rem; line-height: 1; color: var(--terra);
  margin-bottom: .5em; letter-spacing: -.02em;
}
.card__num::before { content: counter(carte, decimal-leading-zero); }
.sec__head-more { color: var(--muted); font-size: .96rem; max-width: 72ch; }

/* ------------------------------------------------------- avant / après */
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ab__side { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.ab__side img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.ab__side figcaption { position: absolute; left: 14px; top: 14px; }
.ab__tag {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .42em .85em; border-radius: 999px; backdrop-filter: blur(4px);
}
.ab__tag--before { background: rgba(28,26,23,.78); color: #f2ece2; }
.ab__tag--after  { background: rgba(18,138,62,.92); color: #fff; }
.ab__note { margin: 16px 0 0; font-size: .86rem; color: var(--muted-2); }
@media (max-width: 620px) { .ab { grid-template-columns: 1fr; } }

/* --------------------------------------------------- section « humaine » */
.humansec__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.humansec__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* ------------------------------------------------------ détails produit */
.detalhes__title { font-size: 1.15rem; margin-bottom: 1em; }
.detalhes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detalhe { margin: 0; min-width: 0; }
.detalhe img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-3); }
.detalhe figcaption { margin-top: 10px; }
.detalhe strong { display: block; font-family: var(--ff-head); color: var(--ink); }
.detalhe span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 720px) { .detalhes { grid-template-columns: 1fr; } }

/* ------------------------------- photo de contexte sur les cartes de gamme */
.prod__img--photo { height: 210px; padding: 0; background: var(--paper-3); }
.prod__img--photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   v7 — contacts directs : WhatsApp et téléphones mobiles
   ========================================================================= */

/* lien WhatsApp dans la barre de contacts */
.topbar__wa { color: #7fe0a0 !important; font-weight: 600; }
.topbar__wa:hover { color: #a8f0c0 !important; }
.topbar__wa svg { flex: none; }

/* libellé du type de ligne, en pied de page */
.ftr__lbl {
  display: inline-block; min-width: 5.4em;
  color: var(--muted-2); font-size: .84em;
}

/* ------------------------------------------- bouton WhatsApp flottant
   z-index 50 : au-dessus du contenu, mais sous le panneau de menu mobile
   (70) et sous l'en-tête collant (60), pour ne jamais gêner la navigation. */
.wafab {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 13px 18px 13px 15px; border-radius: 999px;
  background: #25d366; color: #06331a;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 10px -2px rgba(0,0,0,.22), 0 14px 30px -12px rgba(37,211,102,.85);
  transition: transform .16s ease, box-shadow .16s ease;
}
.wafab:hover {
  color: #06331a; text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 6px 14px -2px rgba(0,0,0,.26), 0 18px 38px -12px rgba(37,211,102,.95);
}
.wafab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 620px) {
  /* en pastille sur mobile, pour ne pas manger la largeur utile */
  .wafab { right: 14px; bottom: 14px; padding: 14px; gap: 0; }
  .wafab__txt { display: none; }
}
@media print { .wafab { display: none !important; } }

/* ------------------------------------------------ les quatre chiffres */
.provas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prova { min-width: 0; padding-top: 18px; border-top: 3px solid var(--terra); }
.prova strong {
  display: block; font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); color: var(--ink);
  line-height: 1.15; margin-bottom: .4em; letter-spacing: -.02em;
}
.prova span { color: var(--muted); font-size: .93rem; line-height: 1.55; }
@media (max-width: 860px) { .provas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .provas { grid-template-columns: 1fr; } }

/* --------------------------------------- encart « parler à quelqu'un » */
.falar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.falar__txt { flex: 1 1 18rem; min-width: 0; }
.btn--wa { background: #25d366; color: #06331a; }
.btn--wa:hover { background: #1fbb59; color: #06331a; }

/* =========================================================================
   v8 — direction artistique photographique sur les pages intérieures
   Même grammaire que le hero de l'accueil, en plus court : photo de fond,
   voile sombre, texte clair. Le fond uni reste la valeur par défaut
   (.phead sans modificateur), pour les pages sans photo pertinente.
   ========================================================================= */
.phead--photo {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); border-bottom: 0;
  padding: 60px 0 64px; color: #fff;
}
.phead--photo .phead__bg { position: absolute; inset: 0; z-index: 0; display: block; }
.phead--photo .phead__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%;
}
.phead--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(20,18,15,.90) 0%, rgba(20,18,15,.74) 46%, rgba(20,18,15,.34) 100%),
    linear-gradient(to top, rgba(20,18,15,.55), rgba(20,18,15,0) 55%);
}
.phead--photo > .wrap { position: relative; z-index: 2; }
.phead--photo h1 { color: #fff; text-wrap: balance; max-width: 20ch; }
.phead--photo p { color: #e6dfd4; max-width: 56ch; }
.phead--photo .eyebrow { color: var(--yellow); }
.phead--photo .crumbs { color: #b3a99b; }
.phead--photo .crumbs a { color: #d9d1c5; }
.phead--photo .crumbs a:hover { color: #fff; }
.phead--photo .pill--std { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }

/* rappel d'action directement sous le titre */
.phead__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.phead--photo .btn--onDark { border-color: rgba(255,255,255,.42); color: #fff; }
.phead--photo .btn--onDark:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 720px) {
  .phead--photo { padding: 44px 0 48px; }
  .phead--photo::before {
    background:
      linear-gradient(to top, rgba(20,18,15,.92) 12%, rgba(20,18,15,.72) 62%, rgba(20,18,15,.52) 100%);
  }
}

/* ---------------------------------- bandeau photographique intercalaire
   Une respiration entre deux blocs techniques : photo pleine largeur,
   citation courte par-dessus. Utilisé sur les pages produit et villes. */
.bandeau {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  min-height: 300px; display: grid; align-items: center;
}
.bandeau__bg { position: absolute; inset: 0; z-index: 0; }
.bandeau__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bandeau::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,18,15,.86) 0%, rgba(20,18,15,.62) 55%, rgba(20,18,15,.22) 100%);
}
.bandeau > .wrap { position: relative; z-index: 2; padding-block: 52px; }
.bandeau__q {
  font-family: var(--ff-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.25;
  max-width: 24ch; margin: 0 0 .55em; text-wrap: balance;
}
.bandeau__s { color: #ded6ca; max-width: 46ch; margin: 0; font-size: 1rem; }
@media (max-width: 720px) {
  .bandeau { min-height: 240px; }
  .bandeau::before { background: linear-gradient(to top, rgba(20,18,15,.90) 20%, rgba(20,18,15,.62) 100%); }
}

/* ------------------------------------------ vignette photo de contexte
   Petite image d'ambiance ancrée dans une colonne de texte. */
.ctxfig { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.ctxfig img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 2; }
.ctxfig figcaption {
  padding: 12px 16px; font-size: .86rem; color: var(--muted);
  background: var(--paper-2); border-top: 1px solid var(--line);
}

/* ------------------------------------------ barre de contacts, mobile
   .topbar a est en display:inline-flex — de même spécificité que .hide-sm,
   qui perdait donc l'arbitrage et n'escamotait rien. On tranche ici.
   Sur petit écran on ne garde que le portable PT et WhatsApp : deux
   gestes utiles depuis un téléphone, sur une seule ligne. */
.only-sm { display: none; }
@media (max-width: 620px) {
  .topbar a.hide-sm, .topbar span.hide-sm, .hide-sm { display: none; }
  .topbar a.only-sm { display: inline-flex; }
  .topbar__in { gap: 16px; padding-block: 6px; }
  .topbar__contact { gap: 12px; flex-wrap: nowrap; min-width: 0; }
  .topbar a, .topbar__hours { white-space: nowrap; }
  .topbar .flag { display: none; }   /* le drapeau coûte 18 px pour rien ici */
  .topbar { font-size: .74rem; }
  .topbar__wa svg { width: 13px; height: 13px; }
}
/* sous 380 px il n'y a plus la place pour le mot : la pastille verte suffit,
   le lien garde son libellé accessible. */
@media (max-width: 380px) {
  .topbar__wa { font-size: 0; gap: 0; }
  .topbar__wa svg { width: 16px; height: 16px; }
}
@media (max-width: 900px) {
  .topbar a.hide-md, .topbar span.hide-md { display: none; }
}

/* =========================================================================
   v9 — devis : état des photos jointes et échec d'envoi
   ========================================================================= */

/* compte-rendu sous le sélecteur de fichiers */
.filesnote {
  margin: 10px 0 0; padding: 9px 13px; border-radius: var(--radius-sm);
  background: var(--green-l); color: var(--green-d);
  font-size: .9rem; line-height: 1.5;
}
.filesnote.is-err { background: #fdeaea; color: #8f1f1f; }

/* Le formulaire affichait l'écran de confirmation même quand l'envoi avait
   échoué. Il dit maintenant la vérité, et donne de quoi joindre quelqu'un. */
.sendfail {
  margin: 22px 0 0; padding: 18px 20px;
  border: 1px solid #e6b4b4; border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fdf3f3;
}
.sendfail strong { display: block; font-family: var(--ff-head); color: #8f1f1f; margin-bottom: .4em; }
.sendfail p { margin: 0 0 .6em; font-size: .94rem; color: var(--ink-3); }
.sendfail p:last-child { margin-bottom: 0; }
.sendfail__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* =========================================================================
   v10 — gamme intérieure
   ========================================================================= */

/* Tableau comparatif à deux colonnes de valeurs (Minibox ST / Elite).
   Sans cela la dernière colonne se tasse et « 100 × 160 cm » passe à la
   ligne, ce qui casse la lecture en vis-à-vis. */
.spec--compare { table-layout: fixed; }
.spec--compare th[scope="row"] { width: 34%; }
.spec--compare td { width: 33%; }
.spec--compare thead th { font-family: var(--ff-head); font-weight: 700; color: var(--ink); }
@media (max-width: 560px) {
  .spec--compare { table-layout: auto; min-width: 30rem; }
}

/* Bandeau « retrait gratuit en France » — affiché par site.js aux visiteurs français */
.frbar { background: var(--green-d); color: #fff; font-size: .92rem; }
.frbar[hidden] { display: none; }
.frbar__in { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 0; flex-wrap: wrap; position: relative; }
.frbar p { margin: 0; }
.frbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.frbar__x { background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 2px 8px; opacity: .8; }
.frbar__x:hover { opacity: 1; }

/* ---- gammes de moustiquaires (v15) ---- */
.gama-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gama-sub { margin-top: 12px; font-size: .88rem; opacity: .85; }
.gama-price { margin: .6em 0 1em; color: var(--muted); }
.gama-price strong { font-family: var(--ff-head); font-size: 1.45rem; color: var(--ink); margin: 0 .2em; }
.gama-price small { font-size: .8rem; }
.gama-var { display: flex; flex-direction: column; }
.gama-var .gama-price { margin-top: auto; }
.gama-card { display: flex; flex-direction: column; }
.gama-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--paper-2); border-radius: var(--radius-sm); margin-bottom: 14px; }
.gama-card h3 a { color: var(--ink); text-decoration: none; }
.gama-tag { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 .5em; }
.gama-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.gama-sw { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 18px; }
.gama-sw li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.gama-sw em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--muted-2); white-space: nowrap; }
.gama-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.22); }
.gama-gal img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.spec--cols th[scope="col"] { width: auto; }
.spec--cols tbody th { width: 30%; }
@media (max-width: 720px) { .gama-cta .btn { width: 100%; justify-content: center; } }
.phead .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.phead .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }


/* ── v16 : tissus des stores intérieurs (pastilles de teinte, fiche technique) */
.fabric h3 { margin-bottom: .25em; }
.specs { list-style: none; margin: .9em 0 .8em; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs li span { color: var(--muted); }
.specs li strong { text-align: right; font-weight: 600; color: var(--ink); }
.dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); display: inline-block; }
.dots__txt { display: block; margin-top: 8px; font-size: .8rem; color: var(--muted-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shopnote { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-sub a { opacity: .8; font-size: .92em; padding-left: .2em; }
.nav__menu { min-width: 270px; }

/* v16 : le menu a plus d'entrées (trois familles déroulantes) — on le resserre
   entre le point de bascule du burger et les grands écrans. */
@media (min-width: 1181px) and (max-width: 1480px) {
  .hdr__in { gap: 12px; }
  .hdr__logo img { width: 168px; }
  .nav { gap: 0; }
  .nav > a, .nav__toggle { font-size: .86rem; padding: .5em .42em; }
  .nav__cta { margin-left: 6px; padding-inline: 1em; }
}


/* ── v17 : échantillons de toile, disponibilité en ligne, images cliquables, schémas */
.tec-sw__t { margin: 1em 0 .5em; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.tec-sw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 10px; }
.tec-sw li { text-align: center; }
.tec-sw img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid rgba(0,0,0,.14); box-shadow: 0 1px 3px rgba(0,0,0,.12); background: #fff; }
.tec-sw span { display: block; margin-top: 5px; font-size: .76rem; line-height: 1.25; color: var(--ink); }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .6em; margin: .2em 0 0; padding: .6em .8em; border-radius: 8px; font-size: .88rem; }
.avail a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.avail__dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.avail--on { background: #e8f4ec; color: #14532d; }
.avail--on .avail__dot { background: #1e9b57; }
.avail--on a { margin-left: auto; color: #fff; background: #1e9b57; padding: .2em .8em; border-radius: 999px; text-decoration: none; }
.avail--off { background: #f4efe6; color: #5b5144; }
.avail--off .avail__dot { background: #b8860b; }
.zoomlink { position: relative; display: block; cursor: zoom-in; }
.zoomlink img { transition: transform .25s ease, box-shadow .25s ease; }
.zoomlink:hover img, .zoomlink:focus-visible img { box-shadow: 0 6px 22px rgba(0,0,0,.2); }
.zoomlink__badge { position: absolute; right: 10px; bottom: 10px; background: rgba(20,20,18,.82); color: #fff; font-size: .78rem; font-weight: 600; padding: .35em .7em; border-radius: 999px; pointer-events: none; }
.detalhe figcaption span { display: block; color: var(--muted); font-size: .84rem; }
.gama-gal.grid--1 { grid-template-columns: minmax(0, 880px); justify-content: center; }
.gama-gal.grid--1 img { aspect-ratio: auto; object-fit: contain; width: 100%; max-height: 640px; }
.gama-gal.grid--4 .imgframe { padding: 10px; }
.gama-var__ico { width: 100%; max-width: 220px; height: auto; margin: 0 0 12px; border-radius: 6px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.gama-pdf .btn { display: inline-flex; }
@media (max-width: 640px) { .avail--on a { margin-left: 0; } }

/* v19 — résumé « answer-first », FAQ de page, maillage « Veja também » */
.answer { background: var(--green-l); border-bottom: 1px solid var(--line); }
.answer__p { margin: 0; padding: 18px 0; max-width: 78ch; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.answer__p strong { display: inline-block; margin-right: .5em; color: var(--green); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.seo-faq .sec__head { margin-bottom: 18px; }
.seo-rel__t { font-size: 1.15rem; margin: 0 0 12px; }
.seo-rel__l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.seo-rel__l a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .95rem; }
.seo-rel__l a:hover { border-color: var(--green); color: var(--green); }

/* ---------------------------------------------------------------- v20 : guides */
.guide { max-width: 940px; }
.guide h2 { margin: 2.2em 0 .6em; }
.guide > h2:first-child { margin-top: 0; }
.guide h3 { margin: 0 0 .35em; font-size: 1.08rem; }
.guide .gvar { margin: 1.8em 0 .8em; padding-left: 12px; border-left: 4px solid var(--green); font-size: 1.2rem; }
.guide p { margin: 0 0 1em; }
.gnote { color: var(--muted); font-size: .86rem; margin: .6em 0 1.2em; }
.gfig { margin: 0; }
.gfig img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.gfig--svg { margin: 1.2em 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.gsvg { width: 100%; height: auto; max-height: 360px; color: var(--ink-2); font-family: var(--ff-body); }
.gsvg .wall { fill: var(--paper-3); stroke: var(--line-2); }
.gsvg .win { fill: #fff; stroke: var(--ink-3); stroke-width: 1.6; }
.gsvg .box { fill: var(--green-l); stroke: var(--green-d); stroke-width: 1.6; }
.gsvg .gui { fill: var(--yellow); stroke: var(--yellow-d); }
.gsvg .d { stroke: var(--terra); stroke-width: 1.5; fill: none; color: var(--terra); }
.gsvg .t { fill: var(--ink); font-size: 13px; font-weight: 600; }
.gsvg .t.s { font-size: 11.5px; font-weight: 500; fill: var(--ink-3); }
.gsteps { list-style: none; counter-reset: gs; padding: 0; margin: 1em 0 1.6em; display: grid; gap: 20px; }
.gstep { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.gstep:has(.gfig) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.gstep__txt p { margin: 0; color: var(--ink-3); }
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 1em 0 1.6em; }
.gcard { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; gap: 8px; align-content: start; }
.gcard p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.gcard h3 a { color: var(--ink); text-decoration: none; }
.gcard h3 a:hover { color: var(--green-d); text-decoration: underline; }
.gcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.gcallout { margin: 1.4em 0; padding: 14px 18px; border-radius: var(--radius-sm); border-left: 5px solid var(--green); background: var(--green-l); }
.gcallout--warn { border-color: var(--yellow-d); background: #fdf6dc; }
.gcallout p { margin: .3em 0 0; }
.gtable__wrap { overflow-x: auto; margin: 1em 0 .4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.gtable { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.gtable th, .gtable td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable thead th { background: var(--paper-3); font-weight: 700; color: var(--ink); white-space: nowrap; }
.gtable tbody tr:last-child th, .gtable tbody tr:last-child td { border-bottom: 0; }
.gtable tbody th { font-weight: 600; color: var(--ink); }
.gdl { display: flex; gap: 22px; align-items: center; padding: 18px; border: 2px solid var(--green); border-radius: var(--radius); background: var(--green-l); margin: 0 0 1.8em; }
.gdl__qr { width: 148px; height: 148px; flex: none; border-radius: 8px; background: #fff; padding: 6px; }
.gdl__txt h2 { margin: 0 0 .3em; font-size: 1.25rem; }
.gdl__txt p { margin: 0 0 .8em; }
.gcta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) {
  .gstep:has(.gfig) { grid-template-columns: 1fr; }
  .gdl { flex-direction: column; align-items: flex-start; }
}
@media print { .gdl .btn, .gcta { display: none; } }

/* v20 : une entrée de menu de plus (« Guides ») — on resserre encore entre 1181 et 1380 px */
@media (min-width: 1181px) and (max-width: 1380px) {
  .hdr__in { gap: 8px; }
  .hdr__logo img { width: 150px; }
  .nav > a, .nav__toggle { font-size: .82rem; padding: .5em .3em; }
  .nav__cta { padding-inline: .8em; }
}
.gstep .gfig img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; }

/* ---- Repara Estores (service lié ; contenu PT uniquement) ---- */
.rp-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0F2A44}
.rp-logo .rp-mark{width:44px;height:44px;flex-shrink:0}
.rp-logo__txt{font-family:Barlow,Inter,sans-serif;font-size:1.35rem;letter-spacing:-.2px;white-space:nowrap;line-height:1}
.rp-logo__txt b{font-weight:800;color:#0F2A44}
.rp-logo__txt span{font-weight:500;color:#046A38}
.rp-logo--light .rp-logo__txt b{color:#fff}
.rp-logo--light .rp-logo__txt span{color:#FFD100}
.nav__rp strong{display:flex;align-items:center;gap:8px}
.nav__rp .rp-mark{width:22px;height:22px}
.rp-band__in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center}
.rp-band__txt .rp-logo{margin-bottom:14px}
.rp-band__txt h2{margin:.35em 0 .5em}
.rp-band__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.rp-band__svc{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.rp-band__svc li{background:#fff;border:1px solid var(--line);border-left:4px solid #FFD100;border-radius:var(--radius);padding:14px 18px;display:grid;gap:4px}
.rp-band__svc strong{font-size:1.02rem}
.rp-band__svc span{color:var(--muted,#5b6773);font-size:.95rem}
.rp-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-left:5px solid #FFD100;border-radius:var(--radius);padding:24px 28px;box-shadow:var(--shadow)}
.rp-card h2{font-size:1.35rem;margin:0 0 .4em}
.rp-mot{padding-bottom:0}
.ftr__rp{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px;padding:22px 0;margin-top:26px;border-top:1px solid rgba(255,255,255,.15)}
.ftr__rp p{margin:0;flex:1 1 280px;opacity:.92}
@media (max-width:820px){.rp-band__in{grid-template-columns:1fr;gap:26px}.rp-card{grid-template-columns:1fr;gap:16px;padding:20px}}
.rp-band__txt .rp-logo{display:flex;width:max-content;max-width:100%}
.rp-band__txt .eyebrow{display:block}
