/*
Theme Name: COLIVA Vitrine
Theme URI: https://www.facebook.com/profile.php?id=61591644115798
Author: COLIVA
Description: Thème catalogue bilingue (FR / EN) pour COLIVA DZ : produits, fiche technique, demande de devis par WhatsApp. Sans panier ni paiement.
Version: 2.1.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: coliva
*/

/* Couleurs COLIVA : turquoise du logo + gris du logo, avec un turquoise profond pour les bandeaux */
:root {
  /* Charte de la page COLIVA : #26909a et #1a8490 sur fond blanc, pas de grands aplats verts ni de fond sombre */
  --teal: #26909a;
  --teal-strong: #1a8490;
  --teal-soft: #eaf4f5;
  --grey: #858585;
  --grey-dark: #1a8490;
  --grey-soft: #f5f8f8;
  --bg: #ffffff;
  --text: #22302f;
  --muted: #5f6b6b;
  --line: #e1e8e8;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(26, 132, 144, .12);
  --font-head: "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-tag: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; text-wrap: balance; letter-spacing: .005em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { flex: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Langues : on masque celle qui n'est pas choisie */
html:not(.en) .l-en, html.en .l-fr { display: none !important; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-strong); color: #fff; padding: 13px 24px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, transform .2s; }
.btn:hover { background: var(--grey-dark); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-light { background: #fff; color: var(--teal-strong); }
.btn-light:hover { background: var(--teal-soft); }
.btn-line { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--grey-dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); background: var(--teal-soft); }
.btn-wa { background: var(--teal); }
.btn-wa:hover { background: var(--teal-strong); }

/* Barre du haut */
.topbar { background: var(--grey-dark); color: #e9e9e9; font-size: .88rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 7px; }
.tb-group { display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-item .ic { color: var(--teal); }
a.tb-item:hover { color: #fff; }
.soc { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; transition: .2s; }
.soc:hover { background: var(--teal); color: #fff; }
.sv-lang { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.sv-lang button { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; font-size: .8rem; padding: 3px 11px; cursor: pointer; }
.sv-lang button.on { background: var(--teal); color: #fff; }

/* En-tête */
#header { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo-img { height: 46px; width: auto; }
.menu { display: flex; gap: 4px; margin-inline-start: auto; }
.menu a { font-weight: 600; padding: 8px 14px; border-radius: 6px; color: var(--text); position: relative; }
.menu a:hover { color: var(--teal-strong); }
.menu a.active, .menu a.current-menu-item { color: var(--teal-strong); }
.menu a.active::after { content: ""; position: absolute; inset: auto 14px -2px; height: 3px; background: var(--teal); border-radius: 3px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }

/* Slider */
.slider { position: relative; height: 520px; background: linear-gradient(115deg, #ffffff 0%, var(--grey-soft) 55%, var(--teal-soft) 100%); overflow: hidden; color: var(--text); border-bottom: 4px solid var(--teal); }
.slider::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(11,179,170,.05) 0 2px, transparent 2px 22px); pointer-events: none; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; background-size: cover; background-position: center; }
.slide.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.5)); }
.slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.slide-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow-light { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.slide h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 14px; max-width: 16ch; color: var(--teal-strong); }
.slide p { font-size: 1.18rem; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-visual { justify-self: end; width: min(400px, 100%); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 36px; box-shadow: 0 24px 50px rgba(74,74,74,.15), 0 0 0 12px rgba(11,179,170,.15); }
.slide-visual img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.dots { position: absolute; bottom: 22px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(133,133,133,.35); cursor: pointer; padding: 0; transition: width .3s; }
.dots button.is-on { background: var(--teal); width: 28px; }

/* Chiffres clés */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 14px; padding: 24px 18px; border-inline-start: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .ic { color: var(--teal-strong); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--grey-dark); line-height: 1.2; }
.stat small { display: block; color: var(--muted); font-size: .92rem; }

/* Sections */
section { padding-block: 72px; }
.band { background: var(--grey-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.kicker { display: inline-block; color: var(--teal-strong); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-strong); font-weight: 700; }
.link:hover { gap: 10px; }
.muted { color: var(--muted); }

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cat { display: flex; align-items: center; gap: 16px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s; }
.cat:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.cat-img { width: 84px; height: 84px; flex: none; border-radius: 8px; background: var(--grey-soft); display: grid; place-items: center; overflow: hidden; color: var(--grey); }
.cat-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-txt { flex: 1; min-width: 0; }
.cat-txt b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.cat-txt small { color: var(--muted); }
.more { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-strong); flex: none; transition: .2s; }
.cat:hover .more, .card:hover .more { background: var(--teal-strong); color: #fff; }

/* Cartes produit */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); max-width: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grey-soft); color: var(--grey); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body .kicker { font-size: .72rem; margin-bottom: 4px; }
.card-body h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 14px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { color: var(--grey-dark); font-weight: 700; }
.price s { color: var(--grey); font-weight: 400; font-size: .9rem; margin-inline-start: 6px; }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; max-width: 100%; }
.about-img > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.about-mosaic img:nth-child(2), .about-mosaic img:nth-child(3) { background: var(--teal-soft); mix-blend-mode: multiply; }
.about-txt h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.entry { color: var(--muted); }
.entry p + p { margin-top: 12px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checks .ic { color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* Engagements */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-top: 3px solid var(--teal); }
.f-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-strong); margin-bottom: 16px; flex: none; }
.feature b { display: block; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* Réalisations */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { margin-bottom: 22px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-weight: 600; color: var(--muted); }
.chip:hover { border-color: var(--teal); color: var(--teal-strong); }
.chip.active { background: var(--teal-strong); color: #fff; border-color: var(--teal-strong); }
.projects { grid-template-columns: repeat(3, 1fr); }
.project { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.project .card-img { aspect-ratio: 4 / 3; border: 0; }
.project .card-img img { object-fit: cover; padding: 0; }
.project-cap { position: absolute; inset: auto 0 0; padding: 48px 18px 16px; background: linear-gradient(0deg, rgba(74,74,74,.9), transparent); color: #fff; display: flex; flex-direction: column; }

/* Marques */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand { height: 90px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--grey); font-weight: 700; padding: 12px; }
.brand img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.brand:hover img { filter: none; opacity: 1; }

/* Carte */
.map-wrap { display: grid; grid-template-columns: 360px 1fr; padding-top: 0; }
.map-card { background: var(--grey-dark); color: #fff; padding: 36px 30px; border-radius: var(--radius) 0 0 var(--radius); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.map-card .kicker { color: var(--teal); }
.map-card h2 { font-size: 1.8rem; }
.map-card .btn { background: var(--teal); margin-top: 8px; }
.fi { display: flex; gap: 10px; align-items: flex-start; }
.fi .ic { margin-top: 3px; color: var(--teal); }
.map { width: 100%; height: 100%; min-height: 340px; border: 0; background: var(--grey-soft); display: block; border-radius: var(--radius); }
.map-wrap .map { border-radius: 0 var(--radius) var(--radius) 0; }

/* Bandeau professionnels */
.cta-band { background: var(--teal); color: #fff; padding-block: 48px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-in p { color: #ffffff; max-width: 56ch; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
#footer { background: var(--grey-dark); color: #dcdcdc; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding-block: 56px 20px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.foot-col a:hover { color: #fff; }
.foot-logo { background: #fff; border-radius: 8px; padding: 10px 14px; align-self: flex-start; }
.foot-logo img { height: 40px; width: auto; }
.foot-social { display: flex; gap: 6px; }
.foot-social .soc { background: rgba(255,255,255,.08); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 16px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.copy-tag { color: var(--teal); font-style: italic; }

/* Bouton WhatsApp flottant */
.wa-fab { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 40; transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }

/* En-tête de page */
.page-head { background: var(--grey-soft); border-bottom: 4px solid var(--teal); padding-block: 48px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 8px; color: var(--teal-strong); }
.page-head p { color: var(--muted); max-width: 60ch; }
.page-head .crumbs { color: var(--grey); margin: 0; }
.page-head .crumbs a { color: var(--teal-strong); }
.crumbs { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.crumbs a { color: var(--teal-strong); }

/* Filtres */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; flex: 0 1 320px; color: var(--grey); }
.search input { border: 0; outline: 0; padding: 11px 0; font: inherit; flex: 1; min-width: 0; background: transparent; color: var(--text); }
.search:focus-within { border-color: var(--teal); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.pager { margin-top: 36px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pager .page-numbers { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }
.pager .page-numbers.current { background: var(--teal-strong); color: #fff; border-color: var(--teal-strong); }

/* Fiche produit */
.product { padding-top: 32px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 1; overflow: hidden; max-width: 100%; position: sticky; top: 100px; }
.detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.detail-info { min-width: 0; }
.detail-info h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 12px; }
.price.big { font-size: 1.5rem; margin-bottom: 18px; font-family: var(--font-head); }
.desc { color: var(--muted); margin-bottom: 26px; }
.desc p + p { margin-top: 10px; }
.specs-title { font-size: 1.3rem; margin-bottom: 10px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: start; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 38%; background: var(--grey-soft); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { list-style: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure .ic { color: var(--teal-strong); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s; min-width: 0; }
a.contact-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.contact-card .f-ic { margin: 0; }
.contact-card b { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.contact-card small { color: var(--muted); font-size: .95rem; word-break: break-word; }
.devis { background: var(--grey-soft); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; border-top: 4px solid var(--teal); min-width: 0; }
.devis h2 { font-size: 1.8rem; scroll-margin-top: 120px; }
.devis .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.devis label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; min-width: 0; }
.devis input, .devis select, .devis textarea { font: inherit; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.devis input:focus, .devis select:focus, .devis textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.devis .btn { justify-self: start; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.admin-bar #header { top: 32px; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { height: 66px; gap: 12px; position: relative; }
  .logo-img { height: 38px; }
  .menu { display: none; position: absolute; top: 66px; left: -20px; right: -20px; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 16px; box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu a.active::after { display: none; }
  .menu-open .menu { display: flex; }
  .nav-cta { margin-inline-start: auto; }
  .slider { height: 600px; }
  .slide-in { grid-template-columns: 1fr; gap: 22px; padding-bottom: 40px; }
  .slide-visual { justify-self: start; width: 170px; padding: 16px; order: -1; box-shadow: 0 12px 26px rgba(74,74,74,.15), 0 0 0 8px rgba(11,179,170,.15); }
  .about, .detail, .contact { grid-template-columns: 1fr; gap: 28px; }
  .detail-img { position: static; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .map-card { border-radius: var(--radius) var(--radius) 0 0; }
  .map-wrap .map { border-radius: 0 0 var(--radius) var(--radius); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  body.admin-bar #header { top: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .topbar .tb-mail, .topbar .tb-group:first-child .tb-item:first-child { display: none; }
  .nav-cta .btn { display: none; }
  .menu { left: -16px; right: -16px; }
  section { padding-block: 52px; }
  .slider { height: 620px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
  .card-foot .more { display: none; }
  .card-img img { padding: 8px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 12px; }
  .stat b { font-size: 1.05rem; }
  .cats { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .devis { padding: 22px; }
  .devis .row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .wa-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.map-wrap.no-map { grid-template-columns: 1fr; }
.map-wrap.no-map .map-card { border-radius: var(--radius); }

/* Page À propos */
.about-brand { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 56px 32px; display: grid; place-items: center; gap: 18px; text-align: center; box-shadow: var(--shadow); }
.about-brand img { width: min(320px, 100%); height: auto; }
.about-brand span { font-family: var(--font-head); font-size: 1.3rem; color: var(--grey); font-style: italic; }
.values { grid-template-columns: repeat(3, 1fr); }
.identity { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.identity h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.identity .muted { margin-bottom: 20px; }
.identity .specs { background: #fff; margin: 0; }
@media (max-width: 860px) {
  .values, .identity { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .slide { align-items: flex-start; }
  .slide-in { padding-top: 32px; }
}
@media (max-width: 560px) {
  .slide-visual { width: 140px; padding: 12px; }
}


/* ===== Charte de la page Facebook COLIVA ===== */
body { font-weight: 500; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.02em; }
.card-body h3, .cat-txt b, .feature b, .contact-card b { font-weight: 800; letter-spacing: -.01em; }
.kicker, .eyebrow-light, .chip, .badge, .stat b, .tag, .sv-lang button, .price, .btn { font-family: var(--font-tag); letter-spacing: .06em; }
.kicker, .eyebrow-light, .badge, .tag { text-transform: uppercase; }
.btn { font-size: 1.08rem; text-transform: uppercase; }
.price { font-size: 1.05rem; text-transform: uppercase; color: var(--teal-strong); }
.stat b { font-size: 1.35rem; text-transform: uppercase; color: var(--teal-strong); }

/* Barre du haut à la couleur du logo */
.topbar { background: var(--teal-strong); color: #fff; }
.topbar .tb-item .ic { color: #fff; }
.soc:hover { background: rgba(255,255,255,.18); }
.sv-lang { border-color: rgba(255,255,255,.5); }
.sv-lang button.on { background: #fff; color: var(--teal-strong); }

/* Slider : fond blanc, panneau incliné à droite, produit en grand */
.slider { background: #fff; border-bottom: 0; }
.slider::after { display: none; }
.slider::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%; background: var(--teal); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); z-index: 0; }
.slide h1 { color: var(--text); max-width: 15ch; }
.slide h1 em { font-style: normal; color: var(--teal); }
.slide-visual { border-radius: 18px; padding: 22px; width: min(460px, 100%); box-shadow: 0 30px 60px rgba(26,132,144,.28); background: #fff; }
.slide-visual img { border-radius: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 26px; }
.tag { font-weight: 700; font-size: .95rem; padding: 5px 12px; border-radius: 4px; background: var(--teal-soft); color: var(--teal-strong); }
.dots button { background: rgba(38,144,154,.3); }

/* Pas de grands aplats : bandeau devis et pied de page clairs */
.cta-band { background: var(--teal-soft); color: var(--text); border-top: 4px solid var(--teal); }
.cta-in p { color: var(--muted); }
.cta-band .btn-light { background: var(--teal-strong); color: #fff; }
.cta-band .btn-light:hover { background: var(--teal); }
.cta-band .btn-line { color: var(--teal-strong); border-color: var(--teal-strong); }
.cta-band .btn-line:hover { background: #fff; }
#footer { background: var(--grey-soft); color: var(--muted); border-top: 1px solid var(--line); }
.foot-col h3 { color: var(--text); }
.foot-col a:hover { color: var(--teal-strong); }
.foot-logo { padding: 0; background: none; }
.foot-social .soc { background: var(--teal-soft); color: var(--teal-strong); }
.copy { border-top-color: var(--line); }
.map-card { background: var(--teal-soft); color: var(--text); border: 1px solid var(--line); }
.map-card .kicker { color: var(--teal-strong); }
.map-card .btn { background: var(--teal-strong); }
.project-cap { background: linear-gradient(0deg, rgba(26,132,144,.92), transparent); }
.btn:hover { background: var(--teal); }
.btn-outline { color: var(--teal-strong); }

@media (max-width: 860px) {
  .slider::before { top: 0; bottom: auto; height: 240px; width: 70%; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
  .slide-visual { width: 200px; padding: 12px; justify-self: end; }
}
@media (max-width: 560px) {
  .slide-visual { width: 160px; }
}
@media (max-width: 860px) {
  .slider::before { height: 190px; }
  .slide-in { padding-top: 20px; }
  .slide-visual { width: 150px; margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .slider { height: 690px; }
}

/* Bas de page à la couleur du logo, comme la barre du haut (plus de gris) */
:root { --grey-soft: #eef7f8; }
#footer { background: var(--teal-strong); color: #ffffff; border-top: 0; }
.foot-col h3 { color: #ffffff; }
.foot-col a:hover { color: #ffffff; text-decoration: underline; }
.foot-col .fi .ic { color: #ffffff; }
.foot-logo { background: #ffffff; padding: 10px 14px; border-radius: 8px; }
.foot-social .soc { background: rgba(255,255,255,.15); color: #ffffff; }
.foot-social .soc:hover { background: #ffffff; color: var(--teal-strong); }
.copy { border-top-color: rgba(255,255,255,.3); }
.copy-tag { color: #ffffff; }
.cta-band { background: #ffffff; border-top: 4px solid var(--teal); border-bottom: 1px solid var(--line); }
/* Couleur exacte du logo pour le pied de page */
#footer { background: var(--teal-strong); }
.foot-social .soc:hover { color: var(--teal-strong); }
