/*
Theme Name: Lagon Business
Theme URI: https://wordpress.org/
Author: Lagon ERP Project
Description: Vitrine et boutique pour Lagon ERP Maurice. Compatible avec le plugin Lagon ERP : catalogue, carrières et espaces privés, dont la synthèse PDG.
Version: 0.8.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lagon-business
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template
*/
:root {
  --lagon-accent: #14513f;
  --ink: #173c30;
  --muted: #718276;
  --paper: #fafaf5;
  --line: #e1e7dc;
  --gold: #bda160;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.7 system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}
.lb-wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
}
.lb-skip {
  position: absolute;
  left: -9999px;
}
.lb-skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.lb-top {
  background: var(--lagon-accent);
  color: #e1efe1;
  text-align: center;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 8px 12px;
}
.lb-header {
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.lb-header .lb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}
.lb-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font: 700 25px/1.2 system-ui;
  letter-spacing: -1px;
}
.lb-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.lb-brand .custom-logo-link img {
  max-width: 130px;
  width: auto;
  height: 45px;
}
.lb-brand small {
  display: block;
  font: 9px/1.8 system-ui;
  letter-spacing: 2px;
  color: var(--muted);
}
.lb-menu {
  display: flex;
  gap: 29px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  font-size: 12px;
}
.lb-menu ul {
  list-style: none;
  padding-left: 12px;
}
.lb-menu li {
  position: relative;
}
.lb-menu li ul {
  display: none;
  position: absolute;
  background: white;
  padding: 18px;
  min-width: 170px;
  border: 1px solid var(--line);
  z-index: 6;
}
.lb-menu li:hover > ul,
.lb-menu li:focus-within > ul {
  display: block;
}
.lb-account {
  font-size: 11px;
  border: 1px solid #d4ded0;
  border-radius: 30px;
  padding: 9px 15px;
  white-space: nowrap;
}
.lb-menu-toggle {
  display: none;
}
.lb-hero {
  padding: 70px 0 60px;
  overflow: hidden;
}
.lb-hero .lb-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.lb-eyebrow {
  color: #849480;
  letter-spacing: 2px;
  font-size: 10px;
  text-transform: uppercase;
}
.lb-hero h1 {
  font-size: clamp(40px, 5.2vw, 69px);
  letter-spacing: -2px;
  margin: 20px 0;
}
.lb-hero p {
  color: #768371;
  font-size: 14px;
  max-width: 420px;
  margin-bottom: 28px;
}
.lb-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--lagon-accent);
  color: white;
  font-size: 12px;
  border: 0;
  border-radius: 6px;
  padding: 13px 23px;
  cursor: pointer;
}
.lb-btn:hover {
  background: #24604b;
  text-decoration: none;
}
.lb-hero-art {
  border-radius: 44% 44% 8px 8px;
  overflow: hidden;
  background: #edf0dd;
  position: relative;
}
.lb-hero-art img {
  display: block;
  width: 100%;
}
.lb-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 0 0 65px;
  gap: 20px;
}
.lb-benefits article {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.lb-benefits b {
  font-weight: 500;
  font-size: 12px;
}
.lb-benefits span {
  display: block;
  font-size: 10px;
  color: #8c9685;
}
.lb-benefits i {
  font-style: normal;
  font-size: 24px;
  color: #a88f53;
}
.lb-section {
  padding: 0 0 64px;
}
.lb-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.lb-section-head h2 {
  font-size: 34px;
  margin: 8px 0 0;
}
.lb-section-head > a {
  font-size: 11px;
  border-bottom: 1px solid #b1bcaa;
  padding-bottom: 4px;
}
.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lb-product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.lb-product-picture {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1e8;
  overflow: hidden;
}
.lb-product-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.lb-product-picture .lb-placeholder {
  font-size: 50px;
  color: #8ba285;
}
.lb-product-info {
  padding: 20px;
}
.lb-product-info > small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #8f9b87;
  text-transform: uppercase;
}
.lb-product h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  margin: 8px 0 13px;
}
.lb-product .lb-price {
  font-weight: 600;
  font-size: 15px;
}
.lb-product .lb-product-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-top: 18px;
  color: #5a765e;
}
.lb-callout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  background: #eaf0e4;
  border-radius: 10px;
  padding: 45px 48px;
  margin-bottom: 60px;
}
.lb-callout h2 {
  font-size: 37px;
  margin-bottom: 18px;
}
.lb-callout p {
  font-size: 13px;
  color: #74836d;
}
.lb-callout ul {
  padding: 0;
  list-style: none;
  font-size: 12px;
  display: grid;
  gap: 12px;
}
.lb-callout li {
  border-bottom: 1px solid #d7e0ce;
  padding-bottom: 12px;
}
.lb-entry {
  max-width: 850px;
  padding: 60px 0;
  margin: auto;
  min-height: 50vh;
}
.lb-entry h1 {
  font-size: 45px;
}
.lb-entry-content {
  color: #526d58;
}
.lb-entry-content a {
  text-decoration: underline;
}
.lb-entry-content h2 {
  font-size: 30px;
}
.lb-entry-content h3 {
  font-size: 22px;
}
.lb-entry-content p {
  margin-bottom: 1.5em;
}
.lb-entry-content iframe {
  max-width: 100%;
}
.lb-entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.lb-entry-content th,
.lb-entry-content td {
  padding: 10px;
  border: 1px solid var(--line);
}
.lb-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.lb-post {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.lb-post h2 {
  font-size: 25px;
}
.lb-post time {
  font-size: 10px;
  color: #9a9f8c;
}
.lb-footer {
  border-top: 1px solid var(--line);
  background: #f0f3e9;
  padding: 46px 0 24px;
}
.lb-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}
.lb-footer h2 {
  font: 700 23px system-ui;
  letter-spacing: -1px;
}
.lb-footer p {
  font-size: 12px;
  color: #7e8b76;
  max-width: 330px;
}
.lb-footer nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 11px;
}
.lb-footer-bottom {
  border-top: 1px solid #dce3d3;
  margin-top: 30px;
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8f9884;
}
.lb-empty {
  padding: 40px;
  background: #fff;
  border: 1px dashed #d4dfcb;
  border-radius: 9px;
  color: #74836d;
}
.lb-pagination {
  margin-top: 30px;
}
.lb-search input {
  max-width: 100%;
  border: 1px solid #d3decd;
  padding: 12px;
  border-radius: 6px;
}
.lb-search button {
  border: 0;
  padding: 12px;
  background: var(--lagon-accent);
  color: white;
  border-radius: 6px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.alignwide {
  width: 100%;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
  font-size: 12px;
  color: var(--muted);
}
.bypostauthor {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
@media (max-width: 900px) {
  .lb-hero .lb-wrap {
    gap: 30px;
  }
  .lb-menu {
    gap: 16px;
  }
  .lb-hero {
    padding-top: 45px;
  }
  .lb-posts {
    grid-template-columns: 1fr 1fr;
  }
  .lb-callout {
    gap: 25px;
    padding: 30px;
  }
}
@media (max-width: 650px) {
  .lb-wrap {
    padding: 0 20px;
  }
  .lb-header .lb-wrap {
    min-height: 76px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .lb-brand {
    font-size: 22px;
  }
  .lb-brand small {
    font-size: 8px;
  }
  .lb-menu-toggle {
    display: block;
    border: 1px solid #d1ddca;
    background: transparent;
    border-radius: 6px;
    padding: 6px 9px;
    color: var(--ink);
  }
  .lb-header nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    padding: 12px 0 20px;
  }
  .lb-header nav.open {
    display: block;
  }
  .lb-menu {
    display: grid;
    gap: 15px;
  }
  .lb-menu li ul {
    position: static;
  }
  .lb-account {
    font-size: 9px;
    padding: 8px 11px;
  }
  .lb-hero .lb-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .lb-hero h1 {
    font-size: 45px;
    max-width: 350px;
  }
  .lb-hero-art {
    max-width: 420px;
    margin: auto;
  }
  .lb-benefits {
    grid-template-columns: 1fr;
    padding: 25px 0;
    gap: 18px;
    margin-bottom: 45px;
  }
  .lb-benefits article {
    justify-content: flex-start;
  }
  .lb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .lb-product-info {
    padding: 14px;
  }
  .lb-product-picture img {
    padding: 10px;
  }
  .lb-section-head h2 {
    font-size: 28px;
  }
  .lb-callout {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .lb-callout h2 {
    font-size: 31px;
  }
  .lb-footer-top,
  .lb-footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
  .lb-posts {
    grid-template-columns: 1fr;
  }
  .lb-entry h1 {
    font-size: 34px;
  }
}
@media print {
  .lb-top,
  .lb-header,
  .lb-footer {
    display: none;
  }
  .lb-entry {
    padding: 0;
    max-width: none;
  }
}
