:root {
  --text: #2b2b2b;
  --muted: #666;
  --line: #e6e6e6;
  --soft: #f6f6f6;
  --accent: #d70000;
  --max: 1250px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), 100% - 32px);
  margin: 0 auto;
}

header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand .logo {
  width: min(520px, 100%);
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
  font-size: 17px;
  /* ← plus grand */
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.badge {
  width: 72px;
  max-width: 72px;
}

.quicklinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.quicklinks a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold;
  background: #fff;
  white-space: nowrap;
}

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

.hero img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

main {
  padding: 18px 0 26px;
}


nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-layout .main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

nav a {
  display: block;
  padding: 5px 60px;
  font-size: 17px;
  line-height: 1.2;
  border-radius: 10px;

  color: #444;
  font-weight: 600;
  transition: 0.15s ease;
}

nav a:hover {
  background: var(--soft);
  color: var(--accent);
  text-decoration: none;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.headline {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  text-align: center;
}

.headline h1 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 30px);
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 700;
  color: #333;
}

.headline p {
  margin: 8px 0 0;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 24px);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.card .label {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.note {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
  min-height: 44px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  background: #fff;
}

.footerbar {
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      #999 0 70%,
      transparent 70% 72%,
      var(--accent) 72% 73%,
      transparent 73% 76%,
      #999 76% 100%);
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .header-right {
    justify-content: space-between;
    width: 100%;
  }

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

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

  .hero img {
    max-height: 220px;
  }
}

/* ===== Layout imbriqué sous hero ===== */

.masonry {
  display: grid;
  column-gap: 60px;
  row-gap: 14px;

  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
  grid-template-areas:
    "a c"
    "b c";
}

.masonry> :nth-child(1) {
  grid-area: a;
}

.masonry> :nth-child(2) {
  grid-area: b;
}

.masonry> :nth-child(3) {
  grid-area: c;
}

.masonry-tall {
  display: flex;
  flex-direction: column;
}

/* mobile */
@media (max-width: 900px) {
  .masonry {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c";
  }
}

.product-link {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#productSlider {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;

  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

#productSlider.fade-out {
  opacity: 0;
}

/* lien "Plus de produits" */

.product-more {
  display: block;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: 0.2s ease;
}

.product-more:hover {
  background: var(--soft);
  padding-right: 18px;
  /* petit slide → */
}

/* ===== Cartes Actu / Promo avec image ===== */

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  /* ← remplit tout */
  display: block;
}



.card-body {
  padding: 12px 14px;
}

/* petit effet pro au survol */
.card-link:hover img {
  transform: scale(1.03);
  transition: transform .25s ease;
}

/* carte Actualités simplifiée */

.actu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-title {
  padding: 10px 14px;
  font-weight: 700;
}

.actu-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}

.thumb {
  display: block;
  width: 100%;
  overflow: hidden;
}

.thumb-3x1 {
  height: 220px;
}


.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.actu-card .thumb img {
  object-fit: contain;
  background: #fff;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== HERO centré : menu | image | map ===== */

.hero-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 900px) 1fr;


  width: 100%;
  padding: 14px 24px;

  gap: 28px;
  align-items: center;

  justify-items: center;
}

.hero-layout .main-nav {
  box-sizing: border-box;
  width: clamp(240px, 20vw, 340px);
  height: 260px;

  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-layout .hero-img {
  width: min(820px, 100%);
  border-radius: 14px;
  display: block;
}



.hero-layout .map {
  width: clamp(240px, 20vw, 340px);
  min-height: 260px;
  border: 0;
  border-radius: 14px;
  display: block;
}




@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

/* rond plein devant chaque lien du menu */
.main-nav a::before {
  content: "●";
  font-size: 20px;

  color: var(--accent);
  /* rouge Braconnier */
  margin-right: 10px;

  display: inline-block;
  transform: translateY(-1px);
  /* petit alignement vertical */
}

/* Grande carte (Produits) : hauteur fixe + image cadrée propre */
.masonry> :nth-child(3) {
  height: 540px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.masonry> :nth-child(3) .thumb {
  flex: 1;
  height: auto;
  /* ignore le height:220px */
}

.masonry> :nth-child(3) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.devis-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.devis-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.devis-form input,
.devis-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.devis-form button {
  align-self: flex-end;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.devis-form button:hover {
  background: var(--soft);
}

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

  .devis-row {
    grid-template-columns: 1fr;
  }
}

html {
  font-size: 100%;
}

.page-scale {
  zoom: 0.75;
}


html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.guide-images {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guide-images img {
  height: 280px;
  width: auto;
  object-fit: contain;
}

/* ===== Formulaire devis plus visible (soft pro) ===== */

.devis-form {
  background: #fafafa;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Titre */
.devis-form strong {
  font-size: 20px;
  margin-bottom: 6px;
}

/* Champs */
.devis-form input,
.devis-form textarea {
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
}

/* focus plus visible (quand on clique) */
.devis-form input:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(215, 0, 0, 0.08);
}

/* bouton plus moderne */
.devis-form button {
  padding: 11px 18px;
  font-size: 15px;
  background: #fff;
  border: 1px solid #ccc;
}

.devis-form button:hover {
  background: var(--soft);
  transform: translateY(-1px);
}

.page-produits .cat-card img {
  object-fit: contain;
  background: #f7f7f7;
}

/* ===============================
   TEXTE PRINCIPAL (lecture fluide)
================================ */
.page-presentation .notepro {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 65ch;
  /* largeur confortable */
  color: #333;
}


/* ===============================
   TITRES
================================ */
.page-presentation .present-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: .3px;
}

.page-presentation .present-sub {
  font-style: normal;
  font-weight: 500;
  color: #666;
  margin-bottom: 20px;
}

.page-presentation .kpi {
  margin: 18px 0 22px;
}

.page-presentation .kpi .box {
  padding: 14px;
  border-radius: 14px;
  background: #fafafa;
  transition: transform .15s ease, box-shadow .15s ease;
}

.page-presentation .kpi .box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.page-presentation .list {
  line-height: 1.9;
  font-weight: 500;
  margin-top: 6px;
}

.page-presentation .list li {
  margin-bottom: 6px;
}

.page-presentation .pad>* {
  margin-bottom: 12px;
}

.page-presentation .story {
  background: #f6f7f8;
  padding: 14px 16px;
  border-left: 4px solid #d2d2d2;
  border-radius: 10px;
  margin: 14px 0;
}

/* FIX SVG CONTACT (évite les icônes géantes) */
.page-contact .ico {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-contact .ico svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* sécurité si ton CSS global fait svg{width:100%} */
.page-contact svg {
  max-width: none !important;
}

/* ======================================================
   CONTACT – embellissement contenu (sans toucher au header)
   Scope: uniquement la page contact
====================================================== */
.page-contact .c26 {
  padding: 10px 0 26px;
}

.page-contact .c26-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  margin-bottom: 14px;
}

.page-contact .c26-head h1 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: .2px;
}

.page-contact .c26-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.page-contact .c26-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-contact .c26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
}

.page-contact .c26-btn:hover {
  background: var(--soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.page-contact .c26-btn.primary {
  border-color: rgba(215, 0, 0, .28);
  box-shadow: 0 8px 18px rgba(215, 0, 0, .10);
}

.page-contact .c26-btn.primary:hover {
  box-shadow: 0 10px 22px rgba(215, 0, 0, .16);
}

/* Grille principale */
.page-contact .c26-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

/* Colonnes */
.page-contact .c26-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Cartes */
.page-contact .c26-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.page-contact .c26-card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.page-contact .c26-card-h h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.page-contact .c26-sub {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.page-contact .c26-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #444;
  font-weight: 800;
  font-size: 12px;
}

/* Coordonnées (key/value) */
.page-contact .c26-kv {
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-contact .c26-kv-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e9e9e9;
}

.page-contact .c26-kv-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-contact .c26-kv-row .k {
  color: #555;
  font-weight: 800;
}

.page-contact .c26-kv-row .v {
  color: #333;
  font-weight: 650;
}

.page-contact .c26-kv-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.page-contact .c26-kv-row a:hover {
  text-decoration: underline;
}

/* Petites actions */
.page-contact .c26-mini-actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.page-contact .c26-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  transition: .18s ease;
}

.page-contact .c26-pill:hover {
  background: var(--soft);
  text-decoration: none;
}

/* Horaires */
.page-contact .c26-hours {
  list-style: none;
  margin: 0;
  padding: 10px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-contact .c26-hours li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #ededed;
  border-radius: 12px;
  background: #fff;
}

.page-contact .c26-hours li span:first-child {
  font-weight: 900;
  color: #333;
}

.page-contact .c26-hours li.sat {
  border-color: rgba(215, 0, 0, .20);
  background: rgba(215, 0, 0, .03);
}

.page-contact .c26-note {
  margin: 0 16px 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f7f8;
  border-left: 4px solid #d2d2d2;
  color: #444;
  font-weight: 650;
}

/* Contacts directs (cartes cliquables) */
.page-contact .c26-team {
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-contact .c26-person {
  border: 1px solid #ededed;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  transition: .18s ease;
  display: block;
}

.page-contact .c26-person:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .07);
  border-color: rgba(215, 0, 0, .18);
  text-decoration: none;
}

.page-contact .c26-person .name {
  font-weight: 950;
  color: #222;
}

.page-contact .c26-person .meta {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.page-contact .c26-person .role {
  margin-top: 6px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
}

.page-contact .c26-person.no-link {
  cursor: default;
}

.page-contact .c26-person.no-link:hover {
  transform: none;
  box-shadow: none;
  border-color: #ededed;
}

/* Formulaire */
.page-contact .c26-form {
  padding: 14px 16px 16px;
}

.page-contact .c26-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.page-contact .c26-form span {
  font-weight: 850;
  color: #333;
  font-size: 14px;
}

.page-contact .c26-form input,
.page-contact .c26-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.page-contact .c26-form input:focus,
.page-contact .c26-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 0, 0, .08);
}

.page-contact .c26-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-contact .c26-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .page-contact .c26-head {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact .c26-actions {
    justify-content: flex-start;
  }

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

  .page-contact .c26-kv-row {
    grid-template-columns: 1fr;
  }

  .page-contact .c26-hours li {
    grid-template-columns: 1fr 1fr;
  }

  .page-contact .c26-hours li span:nth-child(3) {
    justify-self: end;
  }

  .page-contact .c26-form .row2 {
    grid-template-columns: 1fr;
  }
}


/* 1) Placement : on positionne les 4 cartes dans la grille sans toucher au HTML */
.page-contact .c26-grid {
  align-items: stretch;
  /* au lieu de start */
}

/* rend les colonnes transparentes pour placer les cartes directement */
.page-contact .c26-col {
  display: contents;
}

/* gauche: 2 cartes */
.page-contact .c26-grid>.c26-col:nth-child(1)>.c26-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.page-contact .c26-grid>.c26-col:nth-child(1)>.c26-card:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

/* droite: Contacts directs (reste à sa place), hauteur = 2 cartes gauche */
.page-contact .c26-grid>.c26-col:nth-child(2)>.c26-card:nth-child(1) {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

/* dessous: Envoyer un message sur toute la largeur */
.page-contact .c26-grid>.c26-col:nth-child(2)>.c26-card:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* 2) Enlever le rouge des textes (uniquement dans la section contact) */
.page-contact .c26 a {
  color: inherit;
}

/* (optionnel mais utile) enlever le style rouge "samedi" */
.page-contact .c26-hours li.sat {
  border-color: #ededed;
  background: #fff;
}

/* (optionnel) focus des champs sans rouge */
.page-contact .c26-form input:focus,
.page-contact .c26-form textarea:focus {
  border-color: #cfcfcf;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

/* Mobile : on revient en empilement normal */
@media (max-width: 900px) {
  .page-contact .c26-col {
    display: block;
  }

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

  .page-contact .c26-grid>.c26-col:nth-child(1)>.c26-card:nth-child(1),
  .page-contact .c26-grid>.c26-col:nth-child(1)>.c26-card:nth-child(2),
  .page-contact .c26-grid>.c26-col:nth-child(2)>.c26-card:nth-child(1),
  .page-contact .c26-grid>.c26-col:nth-child(2)>.c26-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ======================================================
   CONTACT – hiérarchie typographique propre
   (allège le gras et aère)
====================================================== */

/* ----- Coordonnées ----- */
.page-contact .c26-kv-row .k {
  font-weight: 600;
  color: #444;
}

.page-contact .c26-kv-row .v {
  font-weight: 400;
  /* ← normal */
  line-height: 1.5;
  color: #2f2f2f;
}

.page-contact .c26-kv-row a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Horaires ----- */
.page-contact .c26-hours li span:first-child {
  font-weight: 600;
  /* au lieu de 900 */
}

.page-contact .c26-hours li span:nth-child(2),
.page-contact .c26-hours li span:nth-child(3) {
  font-weight: 400;
  color: #333;
}

/* ----- Contacts directs ----- */
.page-contact .c26-person {
  padding: 16px 18px;
  border-radius: 16px;
}

/* Nom = fort */
.page-contact .c26-person .name {
  font-weight: 650;
  font-size: 16px;
  margin-bottom: 4px;
}

/* Email + téléphone = secondaire */
.page-contact .c26-person .meta {
  font-weight: 400;
  font-size: 13.5px;
  color: #666;
  margin-bottom: 8px;
}

/* Rôle = intermédiaire */
.page-contact .c26-person .role {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* séparation visuelle subtile */
.page-contact .c26-person .meta::after {
  content: "";
  display: block;
  height: 1px;
  width: 40px;
  background: #e8e8e8;
  margin: 8px 0;
}

/* ----- Enlever totalement le rouge dans la zone contact ----- */
.page-contact .c26 a {
  color: inherit;
}

.page-contact .c26-btn.primary {
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.page-contact .c26-form input:focus,
.page-contact .c26-form textarea:focus {
  border-color: #cfcfcf;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

/* ============================= */
/* MENU DÉROULANT SMARTPHONE */
/* ============================= */

.menu-toggle {
  display: none;
}

/* MOBILE */
@media (max-width: 700px) {

  /* IMPORTANT : ton zoom casse le mobile */
  .page-scale {
    zoom: 1;
  }

  /* bouton visible */
  .menu-toggle {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
  }

  /* menu caché */
  .main-nav .menu {
    display: none;
    margin-top: 10px;
  }

  /* menu visible */
  .main-nav .menu.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* réduire ton padding énorme actuel */
  nav a {
    padding: 12px 14px;
  }

  /* enlever le petit ● décoratif */
  .main-nav a::before {
    display: none;
  }

  /* supprimer hauteur fixe du menu */
  .hero-layout .main-nav {
    height: auto;
  }
}

@media (max-width: 700px) {
  .hero-layout .main-nav ul.menu {
    display: none !important;
  }

  .hero-layout .main-nav ul.menu.open {
    display: flex !important;
  }
}

/* ===== FIX PC : point + texte toujours sur la même ligne ===== */
@media (min-width: 701px) {

  /* réduire le padding trop large sur PC */
  nav a {
    padding: 10px 18px;
    /* au lieu de 5px 60px */
  }

  .main-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .main-nav a::before {
    margin-right: 0;
    transform: none;
  }
}

.iframe-wrap {
  width: 100%;
  max-width: 100vw;
}

.iframe-wrap iframe {
  width: 1px;
  /* hack utile mobile */
  min-width: 100%;
  /* force 100% */
  max-width: 100%;
  border: 0;
  display: block;
}

/* ===== IFRAME PRODUITS : version unique PC + mobile ===== */

.iframe-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.iframe-full iframe {
  width: 75%;
  transform: scale(1.333333);
  transform-origin: top left;
  border: 0;
  display: block;
}

/* mobile : pas de zoom, sinon hauteur coupée */
@media (max-width: 900px) {
  .iframe-full iframe {
    width: 100%;
    transform: none;
  }
}

.granulat-choice {
  text-align: center;
  padding: 25px 10px 20px 10px;
}

.granulat-choice p {
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 18px;
}

.granulat-choice img {
  display: block;
  margin: 25px auto 0 auto;
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* ============================= */
/* RECHERCHE PAGE PRODUITS */
/* ============================= */

.search-card #searchResults {
  margin-top: 12px;
  display: none;
}

.search-card .search-results-list {
  display: grid;
  gap: 10px;
}

.search-card .search-result-item {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-family: Verdana, Geneva, sans-serif;
}

.search-card .search-result-item:hover {
  background: var(--soft);
  text-decoration: none;
}

.search-card .search-empty {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-family: Verdana, Geneva, sans-serif;
}

.search-card .search-group {
  margin-bottom: 6px;
  font-size: 12px;
  color: #777;
  font-weight: 400;
  display: block;
}

.page-lambris .iframe-full iframe {
  width: 100%;
  transform: none;
}


.page-rocko .iframe-full iframe {
  width: 100%;
  transform: none;
}

/* ===== SIGA : pas de zoom iframe ===== */
.page-siga .iframe-full iframe {
  width: 100%;
  transform: none;
}

.fb-link img {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.fb-link img:hover {
  transform: scale(1.15);
}

.actu-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

.meta-line .ico {
  width: 16px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

.source-box {
  margin: 12px 0;
}

.source-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.source-box input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #f5f5f5;
  color: #333;
  cursor: default;
}

.source-box input[readonly] {
  pointer-events: none;
}

/* ===== PAGE DEVIS (amélioration propre) ===== */

.devis-page-form {
  max-width: 720px;
  margin: 0 auto;
}

/* Carte plus respirante mais cohérente */
.devis-page-form {
  padding-top: 10px;
}

/* On limite la largeur de la carte globale */
.content .card {
  max-width: 900px;
  margin: 0 auto;
}

/* Aération générale */
.content {
  padding: 30px 20px;
}

/* Inputs un peu plus confortables */
.devis-page-form input,
.devis-page-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  transition: 0.2s ease;
}

/* Focus plus propre (sans casser ton rouge) */
.devis-page-form input:focus,
.devis-page-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(215, 0, 0, 0.08);
}

/* Bouton un peu plus "présent" */
.devis-page-form button {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}

/* Hover plus propre */
.devis-page-form button:hover {
  background: var(--soft);
  transform: translateY(-1px);
}

/* Titre + intro mieux espacés */
.card h1 {
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 18px;
}

/* ===== CTA devis global header ===== */
.devis-cta-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7f7f7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.devis-cta-box strong {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.2px;
  line-height: 1.3;
  margin: 0;
}

.devis-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;

  background: #fff;
  border: 1px solid var(--line);

  color: var(--text);
  font-weight: 600;
  font-size: 14px;

  text-decoration: none;
  white-space: nowrap;

  transition: 0.15s ease;
}

.devis-btn:hover {
  background: var(--soft);
  border-color: #d0d0d0;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1000px) {
  .devis-cta-box {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .devis-cta-box strong {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .devis-cta-box {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

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

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* CTA en premier */
.devis-cta-box {
  order: 1;
}

/* liens en dessous */
.quicklinks {
  order: 2;
}
