/* Couleurs relevées dans le logo officiel Imprimerie Casablanca. */
:root {
  --brand-blue: #1b7fc0;
  --brand-red: #dc2141;
  --brand-yellow: #f2d115;
  --brand-green: #4eb74d;
  --brand-action: #186199;
  --brand-hover: #124b78;
  --brand-strong: #154a6d;
  --brand-deep: #142d3c;
  --brand-tint: #eaf4fa;
  --brand-soft: #f1f6f8;
  --brand-border: #758d9b;
  --brand-dark-border: #536975;
  --brand-selected: #277e3f;
  --brand-selected-bg: #ecf6ee;
  --ink: #22282c;
  --muted: #505c63;
  --line: #d7e0e4;
  --paper: #faf9f6;
  --tint: var(--brand-soft);
  --wine: var(--brand-strong);
  --red: var(--brand-action);
  --radius: 13px;
}
body{background:var(--paper)}
.wrap{width:min(1296px,calc(100% - 64px))}
.market-bar{background:var(--brand-deep);color:#f9f8f4;font-size:.75rem}
.market-inner{display:flex;justify-content:space-between;align-items:center;min-height:33px;gap:10px}
.market-inner a{text-decoration:none}
.market-inner a:hover{text-decoration:underline}
.site-header{background:#fffefa}
.masthead{min-height:84px;grid-template-columns:auto minmax(220px,570px) auto}
.masthead form{background:var(--brand-soft);border-radius:10px}
.masthead button{border-radius:7px;background:var(--brand-action)}
.brand{font-weight:770;line-height:1.05;font-size:.9rem;gap:.55rem}
.brand span{border:0;padding:0}
.button{border-radius:8px;background:var(--brand-action);padding:.79rem 1.03rem}
.button:hover:not(:disabled){background:var(--brand-hover)}
.header-whatsapp{white-space:nowrap;justify-self:end}
.main-nav .menu-tab{font-size:.78rem}
.menu-tab.festive{color:var(--ink)}
.menu-tab.festive:hover,.menu-tab[aria-expanded=true]{color:var(--wine)}
.menu-panel{background:#fffefa}
.card{background:#fffefa;border-radius:12px}
.card-media{background:#f1f1ef}
.card-label>span:last-child{color:var(--brand-action)}
.section h2{font-size:clamp(1.45rem,2.6vw,2.1rem)}
.section{margin-top:48px}
.home-featured{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}
.home-featured .feature-cover{grid-template-rows:auto 1fr;box-shadow:0 3px 12px #19202f0d}
.home-featured .feature-cover img{aspect-ratio:auto;height:clamp(150px,22vw,318px);object-fit:contain;background:#f1f1ef;padding:8px}
.home-featured .feature-cover>div{display:grid;justify-content:start;align-content:start;gap:5px;padding:15px 16px 16px}
.home-featured .feature-cover h2{font-size:clamp(1rem,1.6vw,1.45rem);letter-spacing:-.026em}
.home-featured .feature-primary{background:var(--brand-tint)}
#objets .card{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center}
#objets .card-media{aspect-ratio:1.05}
.home-projects{display:grid;grid-template-columns:.7fr 1.3fr;gap:16px;align-items:stretch;margin-top:48px}
.projects-intro{display:grid;align-content:center;justify-items:start;gap:14px;background:var(--brand-tint);border-radius:14px;padding:clamp(18px,3vw,37px)}
.projects-intro h2{font-size:clamp(1.45rem,2.7vw,2.4rem);letter-spacing:-.04em;line-height:1.06}
.projects-intro p{color:var(--muted);line-height:1.55}
.home-projects .section{margin-top:0}
.home-projects .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-projects .card-media{aspect-ratio:1.8}
.home-rail{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}
.home-rail a{padding:.48rem .7rem;border:1px solid var(--line);border-radius:6px;font-size:.79rem;font-weight:680;text-decoration:none;background:#fffefa}
.home-rail a:hover{color:var(--brand-action)}
.feature-cover{display:grid;text-decoration:none;overflow:hidden;border-radius:13px;border:1px solid var(--line);background:#fffefa}
.feature-cover img{object-fit:cover;width:100%;height:clamp(195px,30vw,355px)}
.feature-cover>div{padding:15px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.feature-cover span{color:var(--muted);font-size:.82rem}
.feature-cover:hover span{text-decoration:underline}
.ma-preparation,.ma-contact{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:start;background:var(--brand-tint);border-radius:14px;padding:clamp(21px,4vw,42px)}
.ma-preparation p,.ma-contact p{line-height:1.55}
.ma-preparation ul{list-style:none;margin:0;padding:0}
.ma-preparation li a{display:block;border-bottom:1px solid var(--brand-border);padding:.66rem 0;text-decoration:none;font-weight:670}
.ma-preparation li a:hover{color:var(--brand-action)}
.ma-contact h1{font-size:clamp(2rem,5vw,3.8rem);margin-bottom:14px}
.ma-contact .button{margin-top:18px}
.contact-location{padding:15px;background:#fffefa;border-radius:11px}
.contact-location h2{font-size:1.1rem;margin-bottom:.5rem}
.contact-location address,.ma-footer address{font-style:normal;line-height:1.65;margin-bottom:.5rem}
.breadcrumbs{margin-top:3px}
.product-heading h1{margin-bottom:.35rem}
.product-layout{gap:clamp(18px,4vw,53px)}
.gallery-main{background:#f0f0ed}
.thumbnails button[aria-pressed=true]{border-color:var(--brand-hover)}
.ma-quote{background:#fffefa;border-radius:13px;padding:clamp(15px,2.6vw,30px)}
.ma-quote h2{font-size:1.36rem}
.quote-intro,.quote-note{font-size:.85rem;color:var(--muted);margin:.5rem 0 1.1rem;line-height:1.45}
.quote-form{display:grid;gap:15px}
.quote-field{display:grid;gap:6px;min-width:0}
.quote-field label{font-size:.83rem;font-weight:720}
.quote-field label span{color:var(--muted);font-weight:450}
.quote-field :is(input,select){width:100%;min-width:0;border:1px solid var(--brand-border);background:#fff;border-radius:6px;color:var(--ink);padding:.63rem .7rem;font-size:.89rem}
.quote-quantity p{font-size:.76rem;color:var(--muted)}
.quantity-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.quantity-shortcuts button{background:var(--brand-soft);border:1px solid var(--line);border-radius:5px;padding:.4rem .6rem;font-size:.83rem}
.quantity-shortcuts button[aria-pressed=true]{background:var(--brand-action);color:white}
.quote-submit{justify-self:start;border:0}
.quote-note{margin:0}
.ma-footer{background:var(--brand-deep);color:#f5f4f1}
.footer-invitation{padding:27px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--brand-dark-border)}
.footer-invitation h2{font-size:clamp(1.4rem,3.1vw,2.45rem);letter-spacing:-.027em;font-weight:650;margin-bottom:7px}
.ma-footer p{color:#d7d9de;max-width:37ch;font-size:.86rem;line-height:1.6}
.footer-whatsapp{background:var(--brand-tint);color:var(--brand-strong)}
.footer-whatsapp:hover:not(:disabled){background:var(--brand-tint);color:var(--brand-strong)}
.footer-columns{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:22px;padding:29px 0 24px}
.footer-columns h3{font-size:.91rem;margin:0 0 .65rem;color:#fffefa}.footer-info{display:inline-block;margin-top:.58rem;text-underline-offset:.25em}
.footer-columns ul{list-style:none;padding:0;margin:0;display:grid;gap:.43rem}
.footer-columns a{font-size:.84rem;text-decoration:none}
.footer-columns a:hover{text-decoration:underline}
.footer-brand .brand{display:inline-flex;margin-bottom:12px}
.footer-columns address{font-size:.84rem;color:#d7d9de}
.footer-bottom{border-top:1px solid var(--brand-dark-border);display:flex;justify-content:space-between;gap:10px;padding:12px 0;font-size:.76rem;color:#d7d9de}
@media(max-width:900px){.wrap{width:calc(100% - 42px)}.masthead{gap:14px}.main-nav .menu-tab{padding:.72rem .38rem}.home-featured .feature-cover img{height:clamp(125px,22vw,205px)}.header-whatsapp{font-size:.75rem}}
@media(max-width:650px){.wrap{width:calc(100% - 28px)}.masthead{grid-template-columns:1fr auto;gap:8px}.masthead form{grid-column:1/-1;grid-row:2}.masthead .header-whatsapp{grid-column:2;grid-row:1}.ma-preparation,.ma-contact,.home-projects{grid-template-columns:1fr}.home-featured{grid-template-columns:1fr 1fr;gap:8px}.home-featured .feature-primary{grid-column:1/-1}.home-featured .feature-primary img{height:190px}.home-featured .feature-cover>div{padding:9px;font-size:.84rem}#objets .card{display:flex}.footer-invitation{align-items:flex-start;flex-direction:column}.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-field label{font-size:.77rem}}

.page-action{margin:14px 0 17px}
.product-primary{margin-top:.2rem}
#configuration{scroll-margin-top:20px}
.quote-submit{font-size:1rem;width:100%;min-height:46px}
.category-editorial {
  max-width: 74ch;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}
.category-editorial p + p { margin-top: .7rem; }
.quote-quantity-more { margin-top: .55rem; }
.quote-quantity-more summary { cursor: pointer; font-size: .85rem; }
.template-request { margin-top: 1rem; }
.product-print-note { margin-top: .7rem; }

.product-usage { margin-top: 1.25rem; }
.product-usage p { margin: .6rem 0; line-height: 1.65; }

.ma-quote h2 {
  margin-bottom: 1rem;
}
.quote-form {
  gap: 1.25rem;
}
.configuration-step {
  min-inline-size: 0;
  margin: 0;
  padding: .75rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.configuration-step legend {
  padding: 0 .55rem 0 0;
  font-size: 1rem;
  font-weight: 720;
}
.configuration-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: .55rem;
}
.configuration-card {
  display: grid;
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.configuration-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.configuration-card-face {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .3rem;
  min-height: 2.9rem;
  padding: .48rem .5rem;
  border: 1px solid var(--brand-border);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.configuration-card-face img {
  object-fit: contain;
  width: 64px;
  height: 64px;
}
.configuration-card:hover .configuration-card-face {
  border-color: var(--brand-blue);
}
.configuration-card input:checked + .configuration-card-face {
  border-color: var(--brand-action);
  box-shadow: inset 0 0 0 1px var(--brand-action);
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-weight: 670;
}
.configuration-card input:focus-visible + .configuration-card-face {
  outline: 2px solid var(--brand-action);
  outline-offset: 2px;
}
.configuration-more, .quote-quantity-more {
  margin-top: .65rem;
}
.configuration-more summary, .quote-quantity-more summary {
  cursor: pointer;
  color: var(--brand-action);
  font-size: .85rem;
  font-weight: 620;
}
.configuration-more .configuration-choices {
  margin-top: .5rem;
}
.quote-quantity .quantity-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
}
.quote-quantity .quantity-shortcuts button {
  min-height: 2.4rem;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.quantity-input {
  margin-top: .65rem;
}
.quote-reception {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .65rem;
}
.quote-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 4.2rem;
  resize: vertical;
  border: 1px solid var(--brand-border);
  padding: .63rem .7rem;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .89rem;
}
.configuration-dimensions summary {
  cursor: pointer;
  font-weight: 650;
}
.configuration-dimensions p {
  margin: .6rem 0;
  font-size: .82rem;
  color: var(--muted);
}

:focus-visible { outline-color: var(--brand-action); }
.market-bar {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right,
    var(--brand-red) 25%, var(--brand-blue) 25% 50%,
    var(--brand-yellow) 50% 75%, var(--brand-green) 75%) 1;
}
.brand img { width: 155px; height: auto; }
.footer-brand .brand { background: #fffefa; border-radius: 6px; padding: 4px 8px; }
.footer-brand .brand img { width: 138px; }
.menu-panel { box-shadow: 0 18px 30px #142d3c21; }
.card:hover { border-color: var(--brand-border); box-shadow: 0 5px 18px #142d3c1a; }
.breadcrumbs li + li::before { color: var(--brand-border); }
.catalogue-query { border-color: var(--brand-border); }
.quantity-shortcuts button[aria-pressed=true] { background: var(--brand-selected); }
.configuration-card input:checked + .configuration-card-face {
  border-color: var(--brand-selected);
  box-shadow: inset 0 0 0 1px var(--brand-selected);
  background: var(--brand-selected-bg);
  color: #21522c;
}
@media (max-width:650px) {
  .masthead .brand img { width: min(38vw, 145px); }
}

.print-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  border-block-start: 4px solid var(--brand-blue);
  background: var(--brand-deep);
  color: #fff;
}
.print-banner-copy {
  align-self: center;
  padding: clamp(1.4rem, 4.2vw, 3.8rem);
}
.print-banner-kicker {
  margin-bottom: .75rem;
  color: var(--brand-yellow);
  font-size: .88rem;
  font-weight: 690;
}
.print-banner h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.04;
}
.print-banner-description {
  max-width: 44ch;
  margin-top: 1rem;
  color: #e2eff5;
  line-height: 1.55;
}
.print-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  margin-top: 1.5rem;
}
.print-banner a:focus-visible { outline-color: var(--brand-yellow); }
.print-catalogue {
  font-size: .86rem;
  font-weight: 660;
}
.print-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  color: #e2eff5;
  font-size: .85rem;
  list-style: none;
}
.print-contact-links a, .print-catalogue { text-decoration-color: #97b5c6; }
.print-contact-links a:hover, .print-catalogue:hover { text-decoration-color: var(--brand-yellow); }
.print-banner-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 53% 50%;
}
.print-banner + .home-featured { margin-top: 1.2rem; }

@media (max-width: 760px) {
  .print-banner { grid-template-columns: 1fr; }
  .print-banner-visual {
    height: auto;
    aspect-ratio: 2.1;
  }
}

.contact-channel-list { list-style: none; margin: 0 0 .75rem; padding: 0; overflow-wrap: anywhere; }
.contact-channel-list li + li { margin-top: .35rem; }

.home-workshop {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.75rem);
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.home-workshop figure {
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.home-workshop figure img { width: 100%; height: auto; object-fit: contain; }
.home-workshop figcaption { color: var(--muted); font-size: .81rem; }
.home-workshop h2 {
  margin-bottom: .65rem;
  color: var(--brand-deep);
  font-size: clamp(1.65rem, 3.6vw, 2.8rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}
.home-workshop p, .home-workshop address { line-height: 1.55; }
.home-workshop address { margin-top: .75rem; font-style: normal; font-weight: 630; }
.home-workshop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.1rem; }
.quote-proof {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-inline-start: 3px solid var(--brand-selected);
  border-radius: 4px;
  background: var(--brand-selected-bg);
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.55;
}
.quote-proof strong { display: block; }
.product-photo-request {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-soft);
  line-height: 1.55;
}
.product-photo-request a { color: var(--brand-strong); }
.card-text-only {
  align-content: center;
  min-height: 4rem;
}
.card-text-only .card-label { align-items: center; }

.button:is([href^="https://wa.me/"], .product-primary, .quote-submit) {
  background: var(--brand-selected);
  color: #fff;
}
.button:is([href^="https://wa.me/"], .product-primary, .quote-submit):hover:not(:disabled) {
  background: #1d6231;
}

@media (max-width: 760px) {
  .home-workshop { grid-template-columns: 1fr; }
  .home-workshop-copy { grid-row: 1; }
}


.home-search-focus, .seo-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.home-search-focus { margin: 1rem 0; }
.home-search-focus a, .seo-guide-links a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .43rem .65rem;
  background: #fffefa;
  color: var(--brand-strong);
  font-size: .88rem;
  font-weight: 620;
}
.print-local-link { margin-top: 1rem; font-size: .88rem; color: #e2eff5; }
.print-local-link a { display: inline-block; margin-inline-end: .9rem; }
.seo-guide { margin: 0 0 1.75rem; }
.seo-guide h2 { margin-bottom: .6rem; font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.seo-guide p { max-width: 73ch; margin: 0 0 .65rem; line-height: 1.65; }
.seo-guide-links { list-style: none; margin: .9rem 0 0; padding: 0; }
.product-visuals .seo-guide {
  margin-top: 1.4rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.arabic-site { font-family: Arial, system-ui, sans-serif; }
.arabic-site h1, .arabic-site h2, .arabic-site .print-banner h1 { letter-spacing: 0; line-height: 1.27; }
.arabic-header, .arabic-header nav, .arabic-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
  align-items: center;
}
.arabic-header, .arabic-footer { justify-content: space-between; padding-block: .8rem; }
.arabic-header nav, .arabic-footer a { font-weight: 650; }
.arabic-site .print-banner-actions .button { background: var(--brand-selected); color: #fff; }
.arabic-site .print-banner-actions .button:hover { background: #1d6231; }
.arabic-catalogue-note { margin-bottom: .9rem; color: var(--muted); }
.arabic-site .arabic-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arabic-request {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.arabic-request p { line-height: 1.6; }
#devis-ar { scroll-margin-top: 1rem; }
.arabic-footer { padding-block: 1.5rem; }
.arabic-footer h2 { margin-bottom: .35rem; font-size: 1.2rem; }
.arabic-footer address { font-style: normal; }
@media (max-width: 650px) {
  .arabic-request { grid-template-columns: 1fr; }
  .arabic-site .arabic-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arabic-header .brand img { width: 132px; }
}

/* Pages reprises du site WordPress */
.wp-content{max-width:72rem;margin:0 auto;line-height:1.618}
.wp-content img{max-width:100%;height:auto}
.wp-content table{border-collapse:collapse;width:100%;margin:1rem 0}
.wp-content td,.wp-content th{border:1px solid #ddd;padding:.5rem;text-align:left}
.wp-content ul{padding-left:1.25rem}
.wp-content [dir="rtl"]{text-align:right}
.text-x{display:none}
