/*
 Theme Name: Enfold Child
 Description: Child Theme for the Enfold WordPress Theme
 Version: 1.1
 Author: Kriesi / Oullins Fermetures
 Author URI: https://www.oullins-fermetures.com/
 Template: enfold
*/

/* ==========================================================================
   Oullins Fermetures — Design system "Architecture sécurisée"
   Préproduction — 2026-07-20
   ========================================================================== */

:root {
  --of-color-brand: #BBBD32;
  --of-color-brand-dark: #5A5C12;
  --of-color-ink: #151613;
  --of-color-black: #000000;
  --of-color-white: #FFFFFF;
  --of-color-surface: #F7F7F2;
  --of-color-text-muted: #5B5D56;
  --of-color-border: #DCDDCE;
  --of-color-earth: #4A4038;
  --of-color-success: #2F6B48;
  --of-color-warning: #8A5A00;
  --of-color-error: #B42318;

  --of-font-display: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --of-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --of-container-max: 1280px;
  --of-content-max: 760px;
  --of-gutter-desktop: 40px;
  --of-gutter-tablet: 28px;
  --of-gutter-mobile: 20px;
  --of-radius-sm: 4px;
  --of-radius-md: 6px;

  --of-space-1: 4px;
  --of-space-2: 8px;
  --of-space-3: 16px;
  --of-space-4: 24px;
  --of-space-5: 32px;
  --of-space-6: 48px;
  --of-space-7: 64px;
  --of-space-8: 80px;
  --of-space-9: 112px;
  --of-space-10: 128px;

  --of-shadow-soft: 0 18px 55px rgba(21, 22, 19, 0.08);
  --of-shadow-card: 0 12px 32px rgba(21, 22, 19, 0.10);
  --of-transition: 220ms cubic-bezier(.2,.7,.2,1);
}

/* Base */
html { scroll-behavior: smooth; }
body,
body .avia_textblock,
body input,
body textarea,
body select,
body button {
  font-family: var(--of-font-body);
  color: var(--of-color-ink);
}
body {
  font-size: 18px;
  line-height: 1.65;
  background: var(--of-color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#top h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
#top h2 { font-size: clamp(2rem, 3.7vw, 2.875rem); line-height: 1.12; }
#top h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; }
#top h4 { font-size: clamp(1.1875rem, 1.8vw, 1.3125rem); line-height: 1.3; }
#top p { margin: 0 0 var(--of-space-4); }
#top a {
  color: var(--of-color-ink);
  text-underline-offset: .2em;
  transition: color var(--of-transition), background-color var(--of-transition), border-color var(--of-transition), transform var(--of-transition);
}
#top a:hover { color: var(--of-color-brand-dark); }
#top :focus-visible {
  outline: 3px solid var(--of-color-brand);
  outline-offset: 3px;
}
#top ::selection {
  background: var(--of-color-brand);
  color: var(--of-color-black);
}

/* Enfold containers */
#top .container,
#top .av-section-cont-open > .container {
  width: min(100% - (2 * var(--of-gutter-desktop)), var(--of-container-max));
  max-width: var(--of-container-max);
  padding-left: 0;
  padding-right: 0;
}

/* Avia full-width bands — keep the section edge-to-edge; inner shells control content width */
#top .avia-section.of-av-band > .container,
#top .avia-section.of-av-band > .container > .content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#top .avia-section.of-av-band > .container > .content {
  float: none;
  border: 0;
}

/* The hero has a fixed section height: propagate it through Enfold wrappers. */
#top .avia-section.of-page-hero > .container,
#top .avia-section.of-page-hero > .container > .content,
#top .avia-section.of-page-hero .post-entry,
#top .avia-section.of-page-hero .entry-content-wrapper,
#top .avia-section.of-page-hero .flex_column,
#top .avia-section.of-page-hero .avia_codeblock_section,
#top .avia-section.of-page-hero .avia_codeblock,
#top .avia-section.of-page-hero .avia_codeblock > div {
  height: 100%;
  min-height: 0;
}

.of-container { max-width: var(--of-container-max); margin-inline: auto; }
.of-container--narrow { max-width: var(--of-content-max); margin-inline: auto; }
.of-section .content { padding-top: var(--of-space-9); padding-bottom: var(--of-space-9); }
.of-section--compact .content { padding-top: var(--of-space-7); padding-bottom: var(--of-space-7); }
.of-section--white { background: var(--of-color-white) !important; color: var(--of-color-ink); }
.of-section--soft { background: var(--of-color-surface) !important; color: var(--of-color-ink); }
.of-section--dark { background: var(--of-color-ink) !important; color: var(--of-color-white); }
.of-section--brand { background: var(--of-color-brand) !important; color: var(--of-color-black); }
#top .of-section--dark h1,
#top .of-section--dark h2,
#top .of-section--dark h3,
#top .of-section--dark h4,
#top .of-section--dark p,
#top .of-section--dark a { color: var(--of-color-white); }

.of-grid { display: grid; gap: var(--of-space-4); }
.of-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.of-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.of-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.of-stack > * + * { margin-top: var(--of-space-4); }
.of-split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: var(--of-space-7); align-items: center; }

/* Editorial */
.of-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--of-space-2);
  margin-bottom: var(--of-space-3);
  font-family: var(--of-font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.of-kicker::before { content: ""; width: 32px; height: 3px; background: var(--of-color-brand); }
.of-lead { max-width: var(--of-content-max); font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.55; }
.of-caption { font-size: .875rem; line-height: 1.45; color: var(--of-color-text-muted); }
.of-text-muted { color: var(--of-color-text-muted) !important; }
.of-link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 700; text-decoration: underline; text-decoration-color: var(--of-color-brand); text-decoration-thickness: 2px; }
.of-link-arrow::after { content: "→"; transition: transform var(--of-transition); }
.of-link-arrow:hover::after { transform: translateX(4px); }

/* Key motif */
.of-keyline { position: relative; overflow: hidden; }
.of-keyline::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 72px;
  right: 24px;
  top: 24px;
  border-top: 8px solid var(--of-color-brand);
  border-right: 8px solid var(--of-color-brand);
  pointer-events: none;
}
.of-keyline--subtle::after { opacity: .45; border-width: 5px; }

/* Buttons */
#top .avia-button,
#top .of-btn,
#top button.of-btn,
#top input[type="submit"] {
  min-height: 50px;
  padding: 15px 24px;
  border-radius: var(--of-radius-sm);
  border: 1px solid transparent;
  font-family: var(--of-font-body);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: .015em;
  box-shadow: none;
}
#top .of-btn--primary,
#top .of-btn--primary .avia-button {
  background: var(--of-color-ink);
  color: var(--of-color-white);
  border-color: var(--of-color-ink);
}
#top .of-btn--primary:hover,
#top .of-btn--primary .avia-button:hover {
  background: var(--of-color-brand-dark);
  color: var(--of-color-white);
  border-color: var(--of-color-brand-dark);
}
#top .of-btn--secondary,
#top .of-btn--secondary .avia-button {
  background: transparent;
  color: var(--of-color-ink);
  border-color: var(--of-color-ink);
}
#top .of-btn--secondary:hover,
#top .of-btn--secondary .avia-button:hover {
  background: var(--of-color-ink);
  color: var(--of-color-white);
}
#top .of-btn--light,
#top .of-btn--light .avia-button {
  background: var(--of-color-white);
  color: var(--of-color-ink);
  border-color: var(--of-color-white);
}
.of-actions { display: flex; flex-wrap: wrap; gap: var(--of-space-3); align-items: center; }

/* Cards */
.of-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--of-space-5);
  background: var(--of-color-white);
  border: 1px solid var(--of-color-border);
  border-radius: var(--of-radius-md);
  transition: transform var(--of-transition), box-shadow var(--of-transition), border-color var(--of-transition);
}
.of-card::before {
  content: "";
  width: 44px;
  height: 4px;
  margin-bottom: var(--of-space-4);
  background: var(--of-color-brand);
}
.of-card:hover { transform: translateY(-4px); border-color: var(--of-color-brand); box-shadow: var(--of-shadow-card); }
.of-card h3, .of-card h4 { margin-top: 0; }
.of-card__meta { margin-bottom: var(--of-space-2); color: var(--of-color-text-muted); font-size: .875rem; font-weight: 600; }
.of-card__action { margin-top: auto; padding-top: var(--of-space-3); }
.of-card--product .of-media-frame { margin: calc(-1 * var(--of-space-5)) calc(-1 * var(--of-space-5)) var(--of-space-5); border-radius: var(--of-radius-md) var(--of-radius-md) 0 0; }
.of-media-frame,
.of-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(187,189,50,.16), transparent 50%),
    repeating-linear-gradient(135deg, var(--of-color-surface), var(--of-color-surface) 12px, #efefe8 12px, #efefe8 24px);
  border: 1px solid var(--of-color-border);
  color: var(--of-color-text-muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Proofs, stats, badges */
.of-proofs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); overflow: hidden; }
.of-proof { padding: var(--of-space-4); background: var(--of-color-white); }
.of-proof + .of-proof { border-left: 1px solid var(--of-color-border); }
.of-proof__eyebrow { display: block; margin-bottom: var(--of-space-2); color: var(--of-color-brand-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.of-stat { padding: var(--of-space-4); border-left: 4px solid var(--of-color-brand); }
.of-stat__value { display: block; font-size: clamp(2.5rem,5vw,3.5rem); line-height: 1; }
.of-stat__label { display: block; margin-top: var(--of-space-2); color: var(--of-color-text-muted); }
.of-badges { display: flex; flex-wrap: wrap; gap: var(--of-space-2); }
.of-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--of-color-border);
  border-radius: 999px;
  background: var(--of-color-white);
  color: var(--of-color-ink);
  font-size: .8125rem;
  font-weight: 700;
}
.of-badge--demo { border-style: dashed; color: var(--of-color-text-muted); }

/* Reviews */
.of-review {
  position: relative;
  padding: var(--of-space-6);
  background: var(--of-color-surface);
  border-left: 6px solid var(--of-color-brand);
  border-radius: var(--of-radius-md);
}
.of-review blockquote { margin: 0 0 var(--of-space-4); border: 0; padding: 0; font-size: clamp(1.125rem,2vw,1.375rem); line-height: 1.55; font-style: normal; }
.of-review__author { font-weight: 700; }
.of-review__source { color: var(--of-color-text-muted); font-size: .875rem; }

/* FAQ */
.of-faq details { border-top: 1px solid var(--of-color-border); }
.of-faq details:last-child { border-bottom: 1px solid var(--of-color-border); }
.of-faq summary {
  position: relative;
  cursor: pointer;
  padding: var(--of-space-4) 44px var(--of-space-4) 0;
  font-family: var(--of-font-display);
  font-weight: 700;
  list-style: none;
}
.of-faq summary::-webkit-details-marker { display: none; }
.of-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--of-color-brand-dark); font-size: 1.5rem; }
.of-faq details[open] summary::after { content: "−"; }
.of-faq__answer { max-width: var(--of-content-max); padding: 0 44px var(--of-space-4) 0; }

/* CTA */
.of-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: var(--of-space-6);
  align-items: center;
  padding: var(--of-space-7);
  border-radius: var(--of-radius-md);
  background: var(--of-color-ink);
  color: var(--of-color-white);
}
#top .of-cta h2, #top .of-cta h3, #top .of-cta p { color: var(--of-color-white); }
.of-cta::after { content: ""; position: absolute; width: 140px; height: 90px; right: -24px; bottom: -24px; border-top: 10px solid var(--of-color-brand); border-right: 10px solid var(--of-color-brand); }

/* Forms */
#top .of-form label { display: block; margin-bottom: var(--of-space-2); font-weight: 700; }
#top .of-form input,
#top .of-form textarea,
#top .of-form select,
#top .avia_ajax_form input[type="text"],
#top .avia_ajax_form input[type="email"],
#top .avia_ajax_form input[type="tel"],
#top .avia_ajax_form textarea,
#top .avia_ajax_form select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--of-color-white);
  color: var(--of-color-ink);
  border: 1px solid var(--of-color-border);
  border-radius: var(--of-radius-sm);
  box-shadow: none;
}
#top .of-form textarea,
#top .avia_ajax_form textarea { min-height: 140px; resize: vertical; }
#top .of-form input:focus,
#top .of-form textarea:focus,
#top .of-form select:focus,
#top .avia_ajax_form input:focus,
#top .avia_ajax_form textarea:focus,
#top .avia_ajax_form select:focus {
  border-color: var(--of-color-ink);
  outline: 3px solid rgba(187,189,50,.5);
  outline-offset: 1px;
}
.of-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--of-space-4); }
.of-form__field { margin-bottom: var(--of-space-4); }
.of-form__help { display: block; margin-top: var(--of-space-1); color: var(--of-color-text-muted); font-size: .8125rem; }

/* Breadcrumb */
#top .title_container { background: var(--of-color-surface); border-color: var(--of-color-border); }
#top .breadcrumb { font-size: .875rem; color: var(--of-color-text-muted); }
#top .breadcrumb a { color: var(--of-color-text-muted); text-decoration: underline; text-decoration-color: var(--of-color-brand); }















.of-pff-mark {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  background: var(--of-color-white);
  border: 1px solid var(--of-color-border);
  border-radius: 3px;
}
.of-pff-mark img { display: block; width: 96px; height: auto; max-height: 26px; }

/* Footer */
#footer {
  padding: var(--of-space-8) 0 var(--of-space-6);
  background: var(--of-color-ink);
  border-top: 8px solid var(--of-color-brand);
}
#footer,
#footer p,
#footer li,
#footer a { color: rgba(255,255,255,.82); }
#footer h3,
#footer h4,
#footer .widgettitle { color: var(--of-color-white); }
#footer a:hover { color: var(--of-color-brand); }
#footer .widget { margin: 0 0 var(--of-space-5); }
#socket { background: #0b0c0a; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); }
.of-footer-logo { display: block; max-width: 220px; margin-bottom: var(--of-space-4); filter: none; }
.of-footer-pff { display: inline-flex; padding: 10px; background: var(--of-color-white); border-radius: var(--of-radius-sm); }
.of-footer-pff img { width: 150px; height: auto; display: block; }

/* Laboratory */
.of-lab-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; background: var(--of-color-surface); border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); }
.of-swatch { overflow: hidden; border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); background: var(--of-color-white); }
.of-swatch__color {
  display: block;
  min-height: 112px;
  background: var(--of-swatch);
  border-bottom: 1px solid var(--of-color-border);
}
.of-swatch__meta { padding: 16px; font-size: .875rem; }
.of-logo-stage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--of-space-6); padding: var(--of-space-6); background: var(--of-color-white); border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); }
.of-logo-stage__primary { width: min(360px,62%); height: auto; }
.of-logo-stage__divider { width: 1px; height: 64px; background: var(--of-color-border); }
.of-logo-stage__network { display: inline-flex; padding: 12px; background: var(--of-color-white); border: 1px solid var(--of-color-border); }
.of-logo-stage__network img { width: 150px; height: auto; display: block; }
.of-demo-note { padding: 12px 16px; border-left: 4px solid var(--of-color-warning); background: #fff8eb; color: var(--of-color-ink); font-size: .875rem; }

/* Motion */
.of-reveal { transition: opacity 420ms ease, transform 420ms ease; }
@media (prefers-reduced-motion: no-preference) {
  .of-reveal { opacity: 0; transform: translateY(16px); }
  .of-reveal.of-is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media only screen and (max-width: 1100px) {
  #top .container,
  #top .av-section-cont-open > .container { width: calc(100% - (2 * var(--of-gutter-tablet))); }
  
  .of-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .of-section .content { padding-top: var(--of-space-8); padding-bottom: var(--of-space-8); }
}
@media only screen and (max-width: 989px) {
  
  .of-split { grid-template-columns: 1fr; gap: var(--of-space-5); }
  .of-proofs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .of-proof:nth-child(3) { border-left: 0; border-top: 1px solid var(--of-color-border); }
  .of-proof:nth-child(4) { border-top: 1px solid var(--of-color-border); }
}
@media only screen and (max-width: 767px) {
  body { font-size: 16px; }
  #top .container,
  #top .av-section-cont-open > .container { width: calc(100% - (2 * var(--of-gutter-mobile))); }
  .of-section .content,
  .of-section--compact .content { padding-top: var(--of-space-7); padding-bottom: var(--of-space-7); }
  .of-grid--2, .of-grid--3, .of-grid--4, .of-form__grid { grid-template-columns: 1fr; }
  .of-card { padding: var(--of-space-4); }
  .of-card--product .of-media-frame { margin: calc(-1 * var(--of-space-4)) calc(-1 * var(--of-space-4)) var(--of-space-4); }
  .of-proofs { grid-template-columns: 1fr; }
  .of-proof + .of-proof { border-left: 0; border-top: 1px solid var(--of-color-border); }
  .of-cta { grid-template-columns: 1fr; gap: var(--of-space-4); padding: var(--of-space-5); }
  .of-actions { align-items: stretch; }
  .of-actions .of-btn, .of-actions .avia-button-wrap, .of-actions .avia-button { width: 100%; text-align: center; }
  .of-logo-stage { padding: var(--of-space-4); gap: var(--of-space-4); }
  .of-logo-stage__primary { width: 100%; max-width: 300px; }
  .of-logo-stage__divider { width: 100%; height: 1px; }
  .of-keyline::after { width: 76px; height: 52px; right: 12px; top: 12px; border-width: 5px; }
  
  
}

/* ==========================================================================
   Affinages laboratoire et footer — composants réutilisables
   ========================================================================== */
.of-swatch > span:first-child {
  display: block;
  min-height: 112px;
  background: var(--of-swatch);
  border-bottom: 1px solid var(--of-color-border);
}
.of-swatch > strong {
  display: block;
  padding: 16px 16px 2px;
  font-family: var(--of-font-heading);
  color: var(--of-color-ink);
}
.of-swatch > code {
  display: block;
  padding: 0 16px 16px;
  color: var(--of-color-text-muted);
  background: transparent;
  font-size: 0.8125rem;
}
#footer .widget { margin-bottom: 24px; }
#footer .widgettitle { display: none; }
#footer .of-footer-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
  padding: 12px;
  background: var(--of-color-white);
  border-radius: var(--of-radius-md);
}
#footer .of-footer-nav nav,
#footer .of-footer-network nav {
  display: grid;
  gap: 8px;
}
#footer .of-footer-pff {
  display: grid;
  gap: 8px;
  padding: 12px;
  color: var(--of-color-ink);
  background: var(--of-color-white);
  border-radius: var(--of-radius-md);
}
#footer .of-footer-pff img {
  display: block;
  width: min(100%, 220px);
  height: auto;
}

/* ==========================================================================
   Système de logos sur fonds clairs et sombres
   ========================================================================== */
.of-logo-test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--of-space-4);
}
.of-logo-option {
  display: grid;
  align-content: center;
  gap: var(--of-space-3);
  min-height: 280px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--of-color-border);
  border-radius: var(--of-radius-md);
}
.of-logo-option img {
  display: block;
  width: min(100%, 460px);
  height: auto;
}
.of-logo-option--light {
  background: var(--of-color-white);
}
.of-logo-option--dark {
  color: var(--of-color-white);
  background: var(--of-color-ink);
  border-color: #34352F;
}
.of-logo-mono {
  filter: grayscale(1) brightness(0) invert(1);
}
#footer .of-footer-logo {
  padding: 0;
  background: transparent;
  filter: grayscale(1) brightness(0) invert(1);
}
@media (max-width: 767px) {
  .of-logo-test-grid { grid-template-columns: 1fr; }
  .of-logo-option { min-height: 220px; }
}


/* OF — renforcement du contraste des boutons clairs sur fonds sombres */
#top a.of-btn--light,
#top a.of-btn--light:visited,
#top a.of-btn--light:hover,
#top a.of-btn--light:focus-visible {
  color: var(--of-color-ink) !important;
}


/* ==========================================================================
   OULLINS FERMETURES — CORRECTIONS STRUCTURELLES
   Polices officielles Google Fonts, hébergées localement via Enfold.
   ========================================================================== */
@font-face {
  font-family: "Inter OF";
  src: url("/wp-content/uploads/dynamic_avia/avia_type_fonts/inter-local/inter-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope OF";
  src: url("/wp-content/uploads/dynamic_avia/avia_type_fonts/manrope-local/manrope-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --of-container-max: 1400px;
  --of-header-max: 1480px;
  --of-content-max: 760px;
  --of-gutter-desktop: 32px;
  --of-section-space: clamp(56px, 6.6vw, 100px);
  --of-card-space: clamp(28px, 2.4vw, 36px);
  --of-font-heading: "Manrope OF", Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --of-font-body: "Inter OF", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html, body,
#top,
#top input,
#top select,
#top textarea,
#top button {
  font-family: var(--of-font-body);
}



#top h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
#top h2 {
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
#top h3 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
#top h4 {
  font-size: clamp(1.18rem, 1.5vw, 1.35rem);
  line-height: 1.3;
}
#top .of-lab {
  font-size: clamp(1.0625rem, 1vw, 1.125rem);
  line-height: 1.7;
}

/* Pleine largeur contrôlée : on neutralise le conteneur Enfold imbriqué
   uniquement sur la page laboratoire. */
#top.page-id-40 .title_container {
  display: none !important;
}
#top.page-id-40 #main .container_wrap_first > .container,
#top.page-id-40 #main .template-page,
#top.page-id-40 #main .content,
#top.page-id-40 #main .post-entry,
#top.page-id-40 #main .entry-content-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
#top.page-id-40 #main .entry-content-wrapper::before,
#top.page-id-40 #main .entry-content-wrapper::after {
  display: none;
}

.of-section {
  width: 100%;
  padding-block: var(--of-section-space);
}
.of-section--compact {
  padding-block: clamp(44px, 4.6vw, 72px);
}
.of-container {
  width: min(calc(100% - 64px), var(--of-container-max));
  max-width: var(--of-container-max);
  margin-inline: auto;
  padding-inline: 0;
}
.of-container--narrow {
  width: min(calc(100% - 64px), var(--of-content-max));
  max-width: var(--of-content-max);
}
.of-stack {
  gap: clamp(18px, 2vw, 28px);
}
.of-section .of-kicker + h1,
.of-section .of-kicker + h2 {
  margin-top: 16px;
}
.of-section h1 + .of-lead,
.of-section h2 + .of-lead {
  margin-top: clamp(20px, 2vw, 28px);
}
.of-section .of-lead + .of-grid,
.of-section .of-lead + .of-logo-test-grid,
.of-section h2 + .of-grid,
.of-section h2 + .of-actions {
  margin-top: clamp(36px, 3.4vw, 48px);
}
.of-grid {
  gap: clamp(24px, 2.4vw, 32px);
  align-items: start;
}
.of-grid > * {
  min-width: 0;
}
.of-kicker {
  color: var(--of-color-brand-dark);
}
.of-section--dark .of-kicker {
  color: var(--of-color-brand);
}
.of-breadcrumb {
  margin-bottom: clamp(28px, 3vw, 44px);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .045em;
}
.of-breadcrumb a {
  color: #fff !important;
}
.of-breadcrumb span {
  margin-inline: 10px;
  color: var(--of-color-brand);
}




















/* Cartes */
.of-card {
  min-height: 0;
  padding: var(--of-card-space);
}
.of-card--service {
  display: grid;
  align-content: start;
}
.of-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--of-color-ink);
  font-family: var(--of-font-heading);
  font-size: .82rem;
  font-weight: 700;
  background: var(--of-color-brand);
  border-radius: 50%;
}
.of-card p {
  margin-block: 14px 22px;
}
.of-card__action {
  margin-top: 0;
}
.of-card--product {
  padding: 0;
  overflow: hidden;
}
.of-card--product .of-media-frame {
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
}
.of-card--product .of-card__body {
  padding: var(--of-card-space);
}
.of-media-frame {
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(187,189,50,.10), transparent 65%),
    repeating-linear-gradient(-45deg, #f7f7f2, #f7f7f2 12px, #f1f1e9 12px, #f1f1e9 24px);
}
.of-placeholder {
  max-width: 260px;
  color: var(--of-color-text-muted);
  font-size: .84rem;
  line-height: 1.45;
  text-align: center;
}

/* Réassurance et chiffres */
.of-proofs {
  gap: 1px;
  margin-top: clamp(36px, 3.4vw, 48px);
  background: rgba(255,255,255,.14);
}
.of-proof {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 2.5vw, 34px);
  background: var(--of-color-ink);
}
.of-proof__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--of-color-ink);
  font-family: var(--of-font-heading);
  font-size: .78rem;
  font-weight: 700;
  background: var(--of-color-brand);
  border-radius: 50%;
}
.of-proof strong {
  display: block;
  margin: 0;
  font-size: 1.08rem;
}
.of-proof p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  line-height: 1.55;
}
.of-stats {
  margin-top: clamp(28px, 3vw, 40px);
}
.of-stat {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: clamp(26px, 2.8vw, 38px);
}
.of-stat__value {
  display: block;
  color: var(--of-color-brand);
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: .95;
}
.of-stat__label {
  display: block;
  max-width: 22ch;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.5;
}

/* Formulaire */
.of-form {
  max-width: 620px;
  gap: 20px;
  padding: clamp(28px, 3vw, 38px);
}
.of-form label {
  gap: 9px;
}
#top .of-form input,
#top .of-form select,
#top .of-form textarea {
  min-height: 54px;
  padding: 13px 15px;
  font-family: var(--of-font-body);
  font-size: 1rem;
  line-height: 1.35;
}
#top .of-form button {
  min-height: 54px;
  margin-top: 4px;
  white-space: normal;
}

/* Logo Point Fort Fichet : version blanche fidèle, sans cartouche. */
.of-pff-mark--light,
#footer .of-footer-pff {
  padding: 0;
  background: transparent;
  border: 0;
}
.of-pff-mark--light img,
#footer .of-footer-pff img {
  filter: grayscale(1) brightness(0) invert(1);
}
.of-pff-identity {
  display: grid;
  gap: 12px;
}
.of-pff-identity strong {
  color: #fff;
  font-family: var(--of-font-heading);
  font-size: 1rem;
  line-height: 1.4;
}

/* Footer et socket */
#footer {
  padding-block: 52px 44px;
  border-top: 4px solid var(--of-color-brand);
}
#footer .container {
  width: min(calc(100% - 64px), var(--of-container-max));
  max-width: var(--of-container-max);
  padding-inline: 0;
}
#footer .widget {
  margin: 0;
}
#footer .widgettitle {
  margin-bottom: 18px;
  font-size: 1.05rem;
}
#footer p,
#footer li,
#footer a {
  font-size: .94rem;
  line-height: 1.65;
}
#footer .of-footer-logo {
  width: min(220px, 100%);
  margin-bottom: 22px;
}
#footer .of-footer-pff {
  width: min(220px, 100%);
  margin-bottom: 16px;
}
#footer .of-footer-contact {
  display: grid;
  gap: 14px;
}
#footer .of-footer-contact p {
  margin: 0;
}
#socket {
  color: rgba(255,255,255,.72);
  background: #0b0c0a;
  border-top: 1px solid rgba(255,255,255,.10);
}
#socket .container {
  width: min(calc(100% - 64px), var(--of-container-max));
  max-width: var(--of-container-max);
  min-height: 58px;
  padding: 16px 0;
}
#socket .copyright {
  float: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  width: 100%;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  line-height: 1.5;
}
#socket a {
  color: #fff;
}
.of-socket-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

@media (max-width: 1180px) {
  
  
  
  .of-section {
    padding-block: clamp(68px, 8vw, 80px);
  }
}
@media (max-width: 767px) {
  :root {
    --of-section-space: clamp(52px, 15vw, 64px);
  }
  .of-container,
  .of-container--narrow,
  #footer .container,
  #socket .container {
    width: calc(100% - 40px);
  }
  
  
  
  .of-grid {
    gap: 24px;
  }
  .of-card {
    padding: 28px;
  }
  .of-card--product {
    padding: 0;
  }
  .of-card--product .of-card__body {
    padding: 28px;
  }
  .of-proof {
    padding: 26px;
  }
  #footer {
    padding-block: 44px 34px;
  }

}


/* Guide de styles — compléments de composants */
.of-type-specimens {
  gap: 22px;
}
.of-type-sample {
  color: var(--of-color-ink);
  font-family: var(--of-font-heading);
  font-weight: 700;
}
.of-type-sample--h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.of-type-sample--h2 {
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.of-type-sample--h3 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.2;
}
.of-type-sample--h4 {
  font-size: clamp(1.18rem, 1.5vw, 1.35rem);
  line-height: 1.3;
}
.of-section-heading {
  margin-top: clamp(64px, 6vw, 92px);
  margin-bottom: clamp(32px, 3vw, 44px);
}




#footer .of-footer-network {
  max-width: 240px;
}
#footer .of-footer-network p {
  margin: 0;
}

















/* Footer — grille fluide et responsive */
#footer .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
}
#footer .flex_column {
  float: none;
  width: auto;
  margin: 0;
}
@media (max-width: 1100px) {
  #footer .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .of-grid--2,
  .of-grid--3,
  .of-grid--4,
  .of-proofs {
    grid-template-columns: 1fr;
  }
  #footer .container {
    grid-template-columns: 1fr;
  }
  #socket .copyright,
  .of-socket-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}






























/* L’accès téléphonique reste réservé au menu mobile pour ne pas comprimer la navigation. */

















/* Page d’accueil — Architecture sécurisée */
#top.page-id-56 .title_container { display: none !important; }
#top.page-id-56 #main .container_wrap_first > .container,
#top.page-id-56 #main .template-page,
#top.page-id-56 #main .content,
#top.page-id-56 #main .post-entry,
#top.page-id-56 #main .entry-content-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
#top.page-id-56 #main .entry-content-wrapper::before,
#top.page-id-56 #main .entry-content-wrapper::after { display: none; }

.of-home {
  overflow: hidden;
  color: var(--of-color-ink);
  background: var(--of-color-white);
}
.of-home *, .of-home *::before, .of-home *::after { box-sizing: border-box; }
.of-home img { display: block; max-width: 100%; }
.of-home h1, .of-home h2, .of-home h3, .of-home p { margin-top: 0; }
.of-home h2 { max-width: 18ch; }
.of-home a { text-decoration: none; }
.of-home-section { padding-block: clamp(80px, 8vw, 124px); }
.of-home-heading { max-width: 760px; margin-bottom: clamp(42px, 5vw, 72px); }
.of-home-heading h2 { margin: 14px 0 20px; }
.of-home-heading p { max-width: 62ch; color: var(--of-color-text-muted); font-size: 1.05rem; line-height: 1.7; }
.of-home-copy h2 { margin: 16px 0 26px; }
.of-home-copy p { color: var(--of-color-text-muted); font-size: 1.04rem; line-height: 1.75; }
.of-home-copy p + p { margin-top: 16px; }
.of-home-copy .of-text-link { margin-top: 10px; }
.of-home-split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.of-home-split--reverse > :first-child { order: 2; }
.of-home-split--reverse > :last-child { order: 1; }
.of-home-image-frame { position: relative; overflow: hidden; min-height: 480px; background: #e9e9df; border-radius: var(--of-radius-md); }
.of-home-image-frame::before { content: ""; position: absolute; z-index: 2; inset: 22px auto auto 22px; width: 74px; height: 74px; border-top: 4px solid var(--of-color-brand); border-left: 4px solid var(--of-color-brand); pointer-events: none; }
.of-home-image-frame img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; transition: transform .35s ease; }
.of-home-image-label { position: absolute; z-index: 3; right: 22px; bottom: 22px; padding: 10px 14px; color: #fff; font-size: .82rem; font-weight: 600; background: rgba(21,22,19,.9); }

/* Hero */
.of-home-hero { position: relative; min-height: 720px; color: #fff; background: var(--of-color-ink); isolation: isolate; }
.of-home-hero__media { position: absolute; z-index: -2; inset: 0; }
.of-home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.of-home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(21,22,19,.98) 0%, rgba(21,22,19,.92) 33%, rgba(21,22,19,.54) 56%, rgba(21,22,19,.05) 83%); }
.of-home-hero::after { content: ""; position: absolute; z-index: 1; top: 28px; right: 32px; width: 88px; height: 88px; border-top: 7px solid var(--of-color-brand); border-right: 7px solid var(--of-color-brand); opacity: .9; }
.of-home-hero__inner { display: flex; align-items: center; min-height: 720px; padding-block: 88px 150px; }
.of-home-hero__content { max-width: 680px; }
.of-home-hero .of-kicker { color: var(--of-color-brand); }
.of-home-hero h1 { max-width: 13ch; margin: 18px 0 26px; color: #fff; font-size: clamp(3rem, 5.1vw, 5.25rem); line-height: .99; letter-spacing: -.045em; text-wrap: balance; }
.of-home-hero__lead { max-width: 60ch; margin-bottom: 36px; color: rgba(255,255,255,.82); font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.65; }
.of-home-hero .of-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.of-home-hero .of-btn { min-height: 56px; padding: 17px 24px; }
.of-home-proofs { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; color: #fff; background: rgba(11,12,10,.9); border-top: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.of-home-proofs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.of-home-proofs__grid > span { display: flex; align-items: center; gap: 13px; min-height: 96px; padding: 18px 24px; font-size: .9rem; font-weight: 600; line-height: 1.4; border-right: 1px solid rgba(255,255,255,.12); }
.of-home-proofs__grid > span:last-child { border-right: 0; }
.of-home-proofs i { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: var(--of-color-ink); font-family: var(--of-font-heading); font-size: .7rem; font-style: normal; font-weight: 700; background: var(--of-color-brand); border-radius: 50%; }

/* Introduction */
.of-home-intro__media img { object-position: center; }

/* Solutions asymétriques */
.of-home-solution-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.of-home-solution { position: relative; grid-column: span 4; min-height: 440px; overflow: hidden; background: var(--of-color-surface); border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); transition: transform .25s ease, box-shadow .25s ease; }
.of-home-solution--featured { grid-column: span 8; grid-row: span 2; min-height: 720px; }
.of-home-solution > img { width: 100%; height: 210px; object-fit: cover; }
.of-home-solution--featured > img { height: 440px; }
.of-home-solution__body { padding: clamp(24px, 2.8vw, 38px); }
.of-home-solution__body > span { color: var(--of-color-brand-dark); font-family: var(--of-font-heading); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.of-home-solution h3 { margin: 14px 0 15px; font-size: clamp(1.35rem, 1.8vw, 1.75rem); }
.of-home-solution p { margin-bottom: 24px; color: var(--of-color-text-muted); line-height: 1.65; }
.of-home-solution a, .of-home-complement a, .of-home-news article a { color: var(--of-color-ink); font-weight: 700; }
.of-home-solution a i, .of-home-complement a i, .of-home-news article a i { display: inline-block; margin-left: 5px; font-style: normal; transition: transform .2s ease; }
.of-home-solution__graphic { display: grid; height: 210px; place-items: center; background: linear-gradient(135deg, rgba(187,189,50,.92), rgba(90,92,18,.9)); }
.of-home-solution__graphic b { color: rgba(21,22,19,.75); font-family: var(--of-font-heading); font-size: 5.5rem; line-height: 1; }
.of-home-solution--ink { color: #fff; background: var(--of-color-ink); border-color: var(--of-color-ink); }
.of-home-solution--ink p, .of-home-solution--ink a { color: rgba(255,255,255,.76); }
.of-home-solution--ink h3 { color: #fff; }
.of-home-solution--brand { background: var(--of-color-brand); border-color: var(--of-color-brand); }
.of-home-solution--brand .of-home-solution__graphic { height: 150px; background: rgba(255,255,255,.2); }
.of-home-solution--brand .of-home-solution__body > span { color: rgba(21,22,19,.72); }

/* Focus portes */
.of-home-focus { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); min-height: 680px; }
.of-home-focus__media { position: relative; min-height: 680px; overflow: hidden; }
.of-home-focus__media::after { content: ""; position: absolute; right: 0; bottom: 0; width: 120px; height: 120px; border-right: 10px solid var(--of-color-brand); border-bottom: 10px solid var(--of-color-brand); }
.of-home-focus__media img { width: 100%; height: 100%; object-fit: cover; }
.of-home-focus__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 7vw, 112px); color: #fff; background: var(--of-color-ink); }
.of-home-focus__content h2 { margin: 16px 0 26px; color: #fff; }
.of-home-focus__content p { max-width: 58ch; color: rgba(255,255,255,.72); font-size: 1.03rem; line-height: 1.7; }
.of-home-focus__content .of-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Processus */
.of-home-process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 32px; padding: 0; list-style: none; background: var(--of-color-border); border: 1px solid var(--of-color-border); }
.of-home-process__grid li { min-height: 270px; padding: clamp(28px, 3vw, 42px); background: var(--of-color-surface); }
.of-home-process__grid li > span { display: grid; width: 44px; height: 44px; margin-bottom: 34px; place-items: center; color: var(--of-color-ink); font-family: var(--of-font-heading); font-size: .75rem; font-weight: 700; background: var(--of-color-brand); border-radius: 50%; }
.of-home-process__grid h3 { margin-bottom: 14px; font-size: 1.25rem; }
.of-home-process__grid p { color: var(--of-color-text-muted); line-height: 1.6; }

/* Identité PFF */
.of-home-pff__media img { object-position: center; }
.of-home-pff__mark { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--of-color-border); }
.of-home-pff__mark > span { color: var(--of-color-ink); font-family: var(--of-font-heading); font-size: 1rem; font-weight: 700; }
.of-home-pff__mark img { width: 155px; height: auto; margin-left: auto; }

/* Solutions complémentaires */
.of-home-complements { color: #fff; }
.of-home-complements .of-home-heading h2 { color: #fff; }
.of-home-complements .of-home-heading p { color: rgba(255,255,255,.7); }
.of-home-complements__grid { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 24px; }
.of-home-complement { position: relative; min-height: 500px; overflow: hidden; background: #22231f; border: 1px solid rgba(255,255,255,.12); border-radius: var(--of-radius-md); }
.of-home-complement > img { width: 100%; height: 250px; object-fit: cover; }
.of-home-complement > div { padding: 30px; }
.of-home-complement span { color: var(--of-color-brand); font-family: var(--of-font-heading); font-weight: 700; }
.of-home-complement h3 { margin: 14px 0; color: #fff; }
.of-home-complement p { color: rgba(255,255,255,.68); line-height: 1.65; }
.of-home-complement a { color: #fff; }
.of-home-complement--text { display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: var(--of-color-brand); }
.of-home-complement--text span, .of-home-complement--text p, .of-home-complement--text a { color: var(--of-color-ink); }
.of-home-complement--text h3 { color: var(--of-color-ink); }

/* Avis */
.of-home-reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.of-home-reviews figure { position: relative; margin: 0; padding: clamp(32px, 4vw, 52px); background: #fff; border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); }
.of-home-reviews figure::before { content: "“"; position: absolute; top: 14px; right: 28px; color: rgba(187,189,50,.42); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.of-home-reviews blockquote { position: relative; z-index: 1; margin: 0 0 28px; padding: 0; color: var(--of-color-ink); font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.55; border: 0; }
.of-home-reviews figcaption { display: grid; gap: 4px; }
.of-home-reviews figcaption strong { color: var(--of-color-ink); font-family: var(--of-font-heading); }
.of-home-reviews figcaption span { color: var(--of-color-text-muted); font-size: .83rem; }

/* Zone */
.of-home-zone__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(48px, 7vw, 108px); align-items: center; }
.of-home-zone__copy h2 { margin: 16px 0 24px; }
.of-home-zone__copy p { color: var(--of-color-text-muted); font-size: 1.04rem; line-height: 1.75; }
.of-home-zone address { margin: 28px 0; color: var(--of-color-ink); font-style: normal; line-height: 1.7; }
.of-home-zone .of-btn[disabled] { cursor: default; opacity: .62; }
.of-home-zone__pin { position: absolute; z-index: 3; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 13px; padding: 12px 16px; color: #fff; font-family: var(--of-font-heading); font-size: .86rem; font-weight: 700; background: rgba(21,22,19,.92); }
.of-home-zone__pin i { position: relative; width: 52px; height: 1px; background: var(--of-color-brand); }
.of-home-zone__pin i::after { content: ""; position: absolute; top: -3px; right: 0; width: 7px; height: 7px; background: var(--of-color-brand); border-radius: 50%; }

/* Actualités */
.of-home-news__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.of-home-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.of-home-news article { position: relative; min-height: 360px; padding: clamp(28px, 3vw, 40px); background: #fff; border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); }
.of-home-news article::before { content: ""; position: absolute; top: -1px; right: 30px; left: 30px; height: 4px; background: var(--of-color-brand); }
.of-home-news article > span { color: var(--of-color-brand-dark); font-family: var(--of-font-heading); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.of-home-news h3 { margin: 22px 0 18px; font-size: 1.32rem; line-height: 1.35; }
.of-home-news article p { color: var(--of-color-text-muted); line-height: 1.65; }
.of-home-news article a { position: absolute; right: 34px; bottom: 32px; left: 34px; }

/* CTA final */
.of-home-final-cta { position: relative; padding-block: clamp(82px, 8vw, 120px); overflow: hidden; }
.of-home-final-cta::after { content: ""; position: absolute; top: -55px; right: -15px; width: 230px; height: 230px; border: 24px solid rgba(187,189,50,.2); border-radius: 50%; }
.of-home-final-cta__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; color: #fff; }
.of-home-final-cta h2 { margin: 16px 0 22px; color: #fff; }
.of-home-final-cta p { max-width: 64ch; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.7; }
.of-home-final-cta small { color: rgba(255,255,255,.62); }
.of-home-final-cta .of-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }

/* Interactions */
.of-home-solution:hover, .of-home-news article:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(21,22,19,.09); }
.of-home-solution:hover img, .of-home-image-frame:hover img { transform: scale(1.02); }
.of-home-solution a:hover i, .of-home-complement a:hover i, .of-home-news article a:hover i { transform: translateX(4px); }
.of-home a:focus-visible, .of-home button:focus-visible { outline: 3px solid var(--of-color-brand); outline-offset: 4px; }

@media (max-width: 1180px) {
  .of-home-hero, .of-home-hero__inner { min-height: 680px; }
  .of-home-hero__inner { padding-bottom: 154px; }
  .of-home-solution { grid-column: span 6; }
  .of-home-solution--featured { grid-column: span 12; min-height: 640px; }
  .of-home-focus { grid-template-columns: 1fr 1fr; }
  .of-home-focus__content { padding: 64px 48px; }
  .of-home-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-home-complements__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-home-complement--text { grid-column: span 2; min-height: 300px; }
}

@media (max-width: 900px) {
  .of-home-split, .of-home-zone__grid { grid-template-columns: 1fr; }
  .of-home-split--reverse > :first-child, .of-home-split--reverse > :last-child { order: initial; }
  .of-home-image-frame, .of-home-image-frame img { min-height: 400px; }
  .of-home-focus { grid-template-columns: 1fr; }
  .of-home-focus__media { min-height: 500px; }
  .of-home-focus__content { padding: 72px 40px; }
  .of-home-pff__media { order: 2 !important; }
  .of-home-pff .of-home-copy { order: 1 !important; }
  .of-home-reviews__grid, .of-home-news__grid { grid-template-columns: 1fr; }
  .of-home-news article { min-height: 300px; }
  .of-home-news__top { align-items: flex-start; flex-direction: column; }
  .of-home-final-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .of-home-section { padding-block: 64px; }
  .of-home-hero { min-height: 620px; }
  .of-home-hero__media img { object-position: 67% center; }
  .of-home-hero::before { background: linear-gradient(90deg, rgba(21,22,19,.96) 0%, rgba(21,22,19,.8) 62%, rgba(21,22,19,.35) 100%); }
  .of-home-hero::after { top: 18px; right: 20px; width: 62px; height: 62px; border-width: 5px; }
  .of-home-hero__inner { align-items: flex-start; min-height: 620px; padding-top: 76px; padding-bottom: 190px; }
  .of-home-hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .of-home-hero__lead { font-size: 1rem; }
  .of-home-hero .of-actions { align-items: stretch; flex-direction: column; }
  .of-home-hero .of-btn { justify-content: center; width: 100%; text-align: center; }
  .of-home-proofs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-home-proofs__grid > span { min-height: 76px; padding: 12px 10px; font-size: .72rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .of-home-proofs i { flex-basis: 28px; width: 28px; height: 28px; }
  .of-home-image-frame, .of-home-image-frame img { min-height: 320px; }
  .of-home-solution-grid { grid-template-columns: 1fr; }
  .of-home-solution, .of-home-solution--featured { grid-column: auto; min-height: 0; }
  .of-home-solution--featured > img, .of-home-solution > img { height: 240px; }
  .of-home-solution--brand .of-home-solution__graphic { height: 160px; }
  .of-home-focus__media { min-height: 380px; }
  .of-home-focus__content { padding: 58px 20px; }
  .of-home-focus__content .of-actions { align-items: stretch; flex-direction: column; }
  .of-home-focus__content .of-btn { justify-content: center; width: 100%; text-align: center; }
  .of-home-process__grid { grid-template-columns: 1fr; }
  .of-home-process__grid li { min-height: 0; }
  .of-home-pff__mark { align-items: flex-start; flex-direction: column; }
  .of-home-pff__mark img { width: 145px; margin-left: 0; }
  .of-home-complements__grid { grid-template-columns: 1fr; }
  .of-home-complement, .of-home-complement--text { grid-column: auto; min-height: 380px; }
  .of-home-reviews figure { padding: 32px 24px; }
  .of-home-zone__pin { right: 16px; bottom: 16px; }
  .of-home-final-cta .of-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .of-home-final-cta .of-btn { justify-content: center; width: 100%; text-align: center; }
}

@media (max-width: 430px) {
  .of-home-hero__inner { padding-top: 58px; }
  .of-home-hero h1 { font-size: 2.55rem; }
  .of-home-proofs__grid > span { min-height: 72px; }
  .of-home-image-frame::before { top: 16px; left: 16px; width: 56px; height: 56px; }
  .of-home-news article { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .of-home *, .of-home *::before, .of-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Page d’accueil — contraste du titre du hero */
#top .of-home .of-home-hero h1 { color: #fff; }


/* Page d’accueil — densité du hero mobile */
@media (max-width: 430px) {
  .of-home-hero__inner { padding-top: 42px; padding-bottom: 158px; }
  #top .of-home .of-home-hero h1 { margin-block: 14px 18px; font-size: 2.25rem; line-height: 1.02; }
  .of-home-hero__lead { margin-bottom: 22px; font-size: .96rem; line-height: 1.5; }
  .of-home-hero .of-btn { min-height: 50px; padding-block: 14px; }
  .of-home-proofs__grid > span { min-height: 64px; }
}
















/* Page pilier — Portes blindées */
#top.page-id-111 .title_container { display: none; }
#top.page-id-111 #main > .container_wrap_first > .container { width: 100%; max-width: none; padding: 0; }
#top.page-id-111 #main > .container_wrap_first > .container > .content { width: 100%; min-height: 0; padding: 0; border: 0; }
.of-pillar { overflow: clip; color: var(--of-color-ink); background: #fff; }






.of-pillar-intro,.of-pillar-cert { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(42px,8vw,120px); align-items: start; }
.of-pillar-intro p,.of-pillar-cert p { color: var(--of-color-text-muted); font-size: 1.05rem; line-height: 1.8; }
.of-pillar-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.of-pillar-cards article { min-height: 360px; padding: clamp(28px,3vw,44px); background: var(--of-color-surface); border: 1px solid var(--of-color-border); border-radius: var(--of-radius-md); }
.of-pillar-cards article > span { display: grid; width: 42px; height: 42px; place-items: center; background: var(--of-color-brand); border-radius: 50%; font-family: var(--of-font-heading); font-weight: 700; }
.of-pillar-cards h3 { margin: 30px 0 18px; font-size: 1.65rem; }
.of-pillar-cards p { min-height: 112px; color: var(--of-color-text-muted); line-height: 1.7; }
.of-pillar-cards a { color: var(--of-color-ink); font-weight: 700; }
.of-pillar-focus { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.of-pillar-focus__media img { width: 100%; height: 100%; object-fit: cover; }
.of-pillar-focus__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px,7vw,110px); }
#top .of-pillar-focus h2 { color: #fff; }
.of-pillar-focus ul { margin: 28px 0 0; list-style: none; }
.of-pillar-focus li { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 18px 0; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.16); }
.of-pillar-focus li strong { color: #fff; }
.of-pillar-faq__list { max-width: 900px; }
.of-pillar-faq details { padding: 24px 0; border-top: 1px solid var(--of-color-border); }
.of-pillar-faq summary { cursor: pointer; color: var(--of-color-ink); font-family: var(--of-font-heading); font-size: 1.18rem; font-weight: 700; }
.of-pillar-faq details p { max-width: 72ch; margin: 18px 0 0; color: var(--of-color-text-muted); line-height: 1.7; }
@media (max-width: 900px) { .of-pillar-intro,.of-pillar-cert,.of-pillar-focus { grid-template-columns: 1fr; } .of-pillar-cards { grid-template-columns: 1fr; } .of-pillar-cards article { min-height: 0; } .of-pillar-cards p { min-height: 0; } .of-pillar-focus__media { min-height: 420px; } }
@media (max-width: 767px) { .of-pillar-focus__media { min-height: 340px; } .of-pillar-focus__content { padding: 54px 20px; } .of-pillar-focus li { grid-template-columns: 1fr; gap: 6px; } }


/* Correctif unique — /accueil-v1/ pleine largeur (page 70) */
#top.page-id-70 #main .container_wrap_first > .container {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}


/* Silo — Serrures & dépannage */
#top.page-id-116 #main .container_wrap_first > .container,
#top.page-id-118 #main .container_wrap_first > .container,
#top.page-id-121 #main .container_wrap_first > .container,
#top.page-id-123 #main .container_wrap_first > .container,
#top.page-id-125 #main .container_wrap_first > .container,
#top.page-id-127 #main .container_wrap_first > .container,
#top.page-id-129 #main .container_wrap_first > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}




#top .of-silo-kicker p {
  margin: 0 0 18px;
  color: var(--of-color-brand);
  font-family: var(--of-font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#top .of-silo-lead {
  max-width: 64ch;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}


#top .of-silo-section .content { padding-block: clamp(72px, 7vw, 108px); }
#top .of-silo-section h2 { max-width: 19ch; margin-bottom: 22px; }
#top .of-silo-section h3 { margin-bottom: 14px; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
#top .of-silo-copy { color: var(--of-color-text-muted); font-size: 1.02rem; line-height: 1.75; }
#top .of-silo-copy p + p { margin-top: 16px; }
#top .of-silo-copy ul,
#top .of-silo-copy ol { margin: 18px 0 0 1.2em; }
#top .of-silo-copy li + li { margin-top: 9px; }
#top .of-silo-card,
#top .of-silo-step,
#top .of-silo-info {
  min-height: 250px;
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--of-color-border);
  border-radius: var(--of-radius-md);
}
#top .of-silo-info { color: #fff; background: var(--of-color-ink); border-color: var(--of-color-ink); }
#top .of-silo-info h3,
#top .of-silo-info a { color: #fff; }
#top .of-silo-info .of-silo-copy { color: rgba(255,255,255,.75); }
#top .of-silo-step { min-height: 220px; background: var(--of-color-surface); }
#top .of-silo-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--of-radius-md); }
#top .of-silo-faq { max-width: 960px; }
#top .of-silo-faq .toggler { padding-block: 22px; font-family: var(--of-font-heading); font-weight: 700; }




@media (max-width: 989px) {

  #top .of-silo-card,
  #top .of-silo-step,
  #top .of-silo-info { min-height: 0; }
}



/* ==========================================================================
   Page d’accueil — version définitive
   ========================================================================== */
.home.page-id-56 .of-home-realizations[hidden],
.page-id-56 .of-home-realizations[hidden] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Pages commerciales — composants centralisés
   ========================================================================== */
#top .of-commercial-page {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  color: var(--of-color-ink);
  font-family: var(--of-font-body);
  overflow: clip;
}
#top .of-commercial-page *,
#top .of-commercial-page *::before,
#top .of-commercial-page *::after { box-sizing: border-box; }
#top .of-commercial-shell {
  width: min(calc(100% - (2 * var(--of-gutter-desktop))), var(--of-container-max));
  margin-inline: auto;
}
#top .of-commercial-page h1,
#top .of-commercial-page h2,
#top .of-commercial-page h3 {
  margin: 0;
  color: inherit;
  font-family: var(--of-font-display);
  letter-spacing: -.035em;
}
#top .of-commercial-page h1 {
  max-width: 950px;
  font-size: clamp(2.55rem, 5.4vw, 5.25rem);
  line-height: .98;
}
#top .of-commercial-page h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.05;
}
#top .of-commercial-page h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.2;
}
#top .of-commercial-page p { margin: 0; line-height: 1.7; }
#top .of-kicker {
  margin-bottom: 18px !important;
  color: var(--of-color-brand-dark);
  font-family: var(--of-font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}



#top .of-commercial-lead {
  max-width: 760px;
  margin-top: 28px !important;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}
#top .of-commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
#top .of-commercial-actions .of-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--of-radius-sm);
  font-family: var(--of-font-body);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
#top .of-commercial-actions .of-btn:hover { transform: translateY(-2px); }
#top .of-commercial-actions .of-btn--primary {
  color: var(--of-color-ink);
  background: var(--of-color-brand);
}
#top .of-commercial-actions .of-btn--primary:hover { color: var(--of-color-ink); background: #d1d34d; }
#top .of-commercial-actions .of-btn--ghost {
  color: var(--of-color-white);
  border-color: rgba(255,255,255,.42);
  background: transparent;
}
#top .of-commercial-actions .of-btn--ghost:hover { color: var(--of-color-white); border-color: var(--of-color-white); }
#top .of-commercial-actions .of-btn--light {
  color: var(--of-color-white);
  border-color: rgba(255,255,255,.5);
  background: transparent;
}
#top .of-commercial-key {
  position: relative;
  min-height: 330px;
  opacity: .92;
}
#top .of-commercial-key::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 178px;
  aspect-ratio: 1;
  border: 26px solid var(--of-color-white);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}
#top .of-commercial-key::after {
  position: absolute;
  top: 50%;
  left: 170px;
  width: min(56vw, 300px);
  height: 26px;
  content: "";
  background: linear-gradient(90deg, var(--of-color-white) 0 58%, var(--of-color-brand) 58% 100%);
  transform: translateY(-50%);
}
#top .of-commercial-key > span {
  position: absolute;
  z-index: 1;
  top: calc(50% + 13px);
  right: 0;
  width: 90px;
  height: 76px;
  border-right: 26px solid var(--of-color-brand);
  border-left: 26px solid var(--of-color-brand);
}



#top .of-commercial-section { padding-block: clamp(80px, 9vw, 128px); background: var(--of-color-white); }
#top .of-commercial-section--surface { background: var(--of-color-surface); }
#top .of-commercial-section--dark { color: var(--of-color-white); background: var(--of-color-ink); }
#top .of-commercial-section--dark .of-kicker { color: var(--of-color-brand); }
#top .of-commercial-section--dark .of-commercial-prose { color: rgba(255,255,255,.78); }
#top .of-commercial-split {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}
#top .of-commercial-prose {
  max-width: 760px;
  color: var(--of-color-text-muted);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
}
#top .of-commercial-prose p + p { margin-top: 20px; }
#top .of-commercial-fact {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding: 24px;
  border-left: 4px solid var(--of-color-brand);
  background: var(--of-color-white);
  box-shadow: 0 16px 42px rgba(21,22,19,.07);
}
#top .of-commercial-fact strong {
  color: var(--of-color-ink);
  font-family: var(--of-font-display);
  font-size: 1rem;
}
#top .of-commercial-fact span { color: var(--of-color-text-muted); font-size: .95rem; line-height: 1.55; }
#top .of-commercial-heading { max-width: 780px; margin-bottom: 48px; }
#top .of-commercial-heading > p:last-child { margin-top: 20px; color: var(--of-color-text-muted); font-size: 1.08rem; }
#top .of-commercial-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
#top .of-commercial-card {
  position: relative;
  min-height: 285px;
  padding: 34px;
  border: 1px solid var(--of-color-border);
  background: var(--of-color-white);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
#top .of-commercial-card:hover {
  z-index: 1;
  border-color: var(--of-color-brand);
  box-shadow: 0 22px 56px rgba(21,22,19,.1);
  transform: translateY(-5px);
}
#top .of-commercial-card__index {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--of-color-brand-dark);
  font-family: var(--of-font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
}
#top .of-commercial-card p { margin-top: 16px; color: var(--of-color-text-muted); }
#top .of-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  color: var(--of-color-ink);
  font-weight: 700;
  text-decoration: none;
}
#top .of-text-link:hover { color: var(--of-color-brand-dark); }
#top .of-commercial-steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
#top .of-commercial-steps li {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 32px 28px;
  border-top: 1px solid var(--of-color-border);
}
#top .of-commercial-steps li::after {
  position: absolute;
  top: -2px;
  left: 28px;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--of-color-brand);
}
#top .of-commercial-steps li > span {
  color: var(--of-color-brand-dark);
  font-family: var(--of-font-display);
  font-size: .8rem;
  font-weight: 700;
}
#top .of-commercial-steps p { margin-top: 12px; color: var(--of-color-text-muted); }
#top .of-commercial-faq {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: clamp(48px,8vw,120px);
}
#top .of-commercial-faq details { border-top: 1px solid var(--of-color-border); }
#top .of-commercial-faq details:last-child { border-bottom: 1px solid var(--of-color-border); }
#top .of-commercial-faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--of-color-ink);
  font-family: var(--of-font-display);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
#top .of-commercial-faq summary::-webkit-details-marker { display: none; }
#top .of-commercial-faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--of-color-brand-dark);
  font-size: 1.5rem;
  transform: translateY(-50%);
}
#top .of-commercial-faq details[open] summary::after { content: "–"; }
#top .of-commercial-faq details div { padding: 0 48px 24px 0; color: var(--of-color-text-muted); }




#top .of-commercial-page a:focus-visible,
#top .of-commercial-page summary:focus-visible { outline: 3px solid var(--of-color-brand); outline-offset: 4px; }
@media (max-width: 989px) {
  #top .of-commercial-shell { width: min(calc(100% - (2 * var(--of-gutter-tablet))), var(--of-container-max)); }

  #top .of-commercial-key { min-height: 220px; max-width: 560px; }
  #top .of-commercial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #top .of-commercial-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  #top .of-commercial-shell {
    width: calc(100% - (2 * var(--of-gutter-mobile)));
    max-width: 100%;
  }

  #top .of-commercial-split,
  #top .of-commercial-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 8vw, 36px);
  }
  #top .of-commercial-split > *,
  #top .of-commercial-faq > *,
  #top .of-commercial-grid > *,
  #top .of-commercial-steps > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  #top .of-commercial-section h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.25rem, 10.2vw, 2.625rem);
    line-height: 1.06;
  }
  #top .of-commercial-prose {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1rem, 4.4vw, 1.125rem);
    line-height: 1.65;
  }
  #top .of-commercial-key {
    width: 100%;
    max-width: 100%;
    min-height: 160px;
    transform: none;
  }
  #top .of-commercial-actions { display: grid; }
  #top .of-commercial-actions .of-btn { width: 100%; }
  #top .of-commercial-grid,
  #top .of-commercial-steps { grid-template-columns: minmax(0, 1fr); }
  #top .of-commercial-card,
  #top .of-commercial-step,
  #top .of-commercial-fact,
  #top .of-commercial-page details {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  #top .of-commercial-card { min-height: 0; padding: 28px; }
  #top .of-commercial-card__index { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  #top .of-commercial-page *,
  #top .of-commercial-page *::before,
  #top .of-commercial-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


.page-id-116 .container_wrap_first .content,
.page-id-118 .container_wrap_first .content,
.page-id-121 .container_wrap_first .content,
.page-id-123 .container_wrap_first .content,
.page-id-125 .container_wrap_first .content,
.page-id-129 .container_wrap_first .content,
.page-id-136 .container_wrap_first .content,
.page-id-138 .container_wrap_first .content,
.page-id-140 .container_wrap_first .content,
.page-id-142 .container_wrap_first .content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-116 .container_wrap_first,
.page-id-118 .container_wrap_first,
.page-id-121 .container_wrap_first,
.page-id-123 .container_wrap_first,
.page-id-125 .container_wrap_first,
.page-id-129 .container_wrap_first,
.page-id-136 .container_wrap_first,
.page-id-138 .container_wrap_first,
.page-id-140 .container_wrap_first,
.page-id-142 .container_wrap_first {
  border-top: 0 !important;
}






#top .of-commercial-page .of-btn--primary,
#top .of-commercial-page .of-btn--primary .avia-button {
  color: var(--of-color-ink) !important;
  background: var(--of-color-brand) !important;
  border-color: var(--of-color-brand) !important;
}
#top .of-commercial-page .of-btn--primary:hover,
#top .of-commercial-page .of-btn--primary:focus-visible,
#top .of-commercial-page .of-btn--primary .avia-button:hover,
#top .of-commercial-page .of-btn--primary .avia-button:focus-visible {
  color: var(--of-color-white) !important;
  background: var(--of-color-brand-dark) !important;
  border-color: var(--of-color-brand-dark) !important;
}

/* ==========================================================
   OULLINS FERMETURES — HERO HOME + CTA ARMOIRES FORTES — SOURCE UNIQUE
   ========================================================== */
#top.page-id-111 #main > .container_wrap_first > .container,
#top.page-id-116 #main > .container_wrap_first > .container,
#top.page-id-127 #main > .container_wrap_first > .container,
#top.page-id-129 #main > .container_wrap_first > .container,
#top.page-id-118 #main > .container_wrap_first > .container,
#top.page-id-121 #main > .container_wrap_first > .container,
#top.page-id-123 #main > .container_wrap_first > .container,
#top.page-id-125 #main > .container_wrap_first > .container,
#top.page-id-136 #main > .container_wrap_first > .container,
#top.page-id-138 #main > .container_wrap_first > .container,
#top.page-id-140 #main > .container_wrap_first > .container,
#top.page-id-142 #main > .container_wrap_first > .container,
#top.page-id-280 #main > .container_wrap_first > .container,
#top.page-id-281 #main > .container_wrap_first > .container,
#top.page-id-145 #main > .container_wrap_first > .container,
#top.page-id-153 #main > .container_wrap_first > .container,
#top.page-id-151 #main > .container_wrap_first > .container,
#top.page-id-149 #main > .container_wrap_first > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
#top.page-id-111 #main > .container_wrap_first .content,
#top.page-id-116 #main > .container_wrap_first .content,
#top.page-id-127 #main > .container_wrap_first .content,
#top.page-id-129 #main > .container_wrap_first .content,
#top.page-id-118 #main > .container_wrap_first .content,
#top.page-id-121 #main > .container_wrap_first .content,
#top.page-id-123 #main > .container_wrap_first .content,
#top.page-id-125 #main > .container_wrap_first .content,
#top.page-id-136 #main > .container_wrap_first .content,
#top.page-id-138 #main > .container_wrap_first .content,
#top.page-id-140 #main > .container_wrap_first .content,
#top.page-id-142 #main > .container_wrap_first .content,
#top.page-id-280 #main > .container_wrap_first .content,
#top.page-id-281 #main > .container_wrap_first .content,
#top.page-id-145 #main > .container_wrap_first .content,
#top.page-id-153 #main > .container_wrap_first .content,
#top.page-id-151 #main > .container_wrap_first .content,
#top.page-id-149 #main > .container_wrap_first .content {
  padding-top: 0;
  padding-bottom: 0;
}
#top.page-id-145 #main .container_wrap_first > .container > .content,
#top.page-id-153 #main .container_wrap_first > .container > .content,
#top.page-id-151 #main .container_wrap_first > .container > .content,
#top.page-id-149 #main .container_wrap_first > .container > .content {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}
#top.page-id-145 .entry-content-wrapper,
#top.page-id-145 .entry-content,
#top.page-id-153 .entry-content-wrapper,
#top.page-id-153 .entry-content,
#top.page-id-151 .entry-content-wrapper,
#top.page-id-151 .entry-content,
#top.page-id-149 .entry-content-wrapper,
#top.page-id-149 .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
#top.page-id-145 #main .sidebar,
#top.page-id-153 #main .sidebar,
#top.page-id-151 #main .sidebar,
#top.page-id-149 #main .sidebar { display: none; }
#top .of-commercial-page {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

/* Hero intérieur — composition strictement calquée sur la Home, sans bande de preuves */
.of-page-hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 720px;
  min-height: 720px;
  margin-left: 0;
  overflow: hidden;
  color: #fff;
  background: var(--of-color-ink, #151613);
}
.of-page-hero *,
.of-page-hero *::before,
.of-page-hero *::after,
.of-page-final-cta *,
.of-page-final-cta *::before,
.of-page-final-cta *::after {
  box-sizing: border-box;
}
.of-page-hero__media,
.of-page-hero__overlay {
  position: absolute;
  inset: 0;
}
.of-page-hero__media { z-index: -2; }
.of-page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.of-page-hero--focus-left .of-page-hero__media img { object-position: left center; }
.of-page-hero--focus-center .of-page-hero__media img { object-position: center; }
.of-page-hero--focus-right .of-page-hero__media img { object-position: right center; }
.of-page-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(21,22,19,.98) 0%, rgba(21,22,19,.92) 33%, rgba(21,22,19,.54) 56%, rgba(21,22,19,.05) 83%);
}
.of-page-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 28px;
  right: 32px;
  width: 88px;
  height: 88px;
  border-top: 7px solid var(--of-color-brand, #BBBD32);
  border-right: 7px solid var(--of-color-brand, #BBBD32);
  opacity: .9;
  pointer-events: none;
}
.of-page-hero__inner.of-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(calc(100% - 64px), var(--of-container-max, 1400px));
  max-width: var(--of-container-max, 1400px);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  padding: 64px 0;
}
.of-page-hero__content {
  width: 100%;
  max-width: 680px;
  padding: 0;
}
.of-page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--of-space-2, 8px);
  margin: 0;
  color: var(--of-color-brand, #BBBD32);
  font-family: var(--of-font-display, Manrope, Arial, sans-serif);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.of-page-hero__kicker::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 3px;
  background: var(--of-color-brand, #BBBD32);
}
#top .of-page-hero .of-page-hero__title {
  max-width: 20ch;
  margin: 16px 0 22px;
  color: #fff;
  font-family: var(--of-font-display, Manrope, Arial, sans-serif);
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
#top .of-page-hero .of-page-hero__lead {
  max-width: 60ch;
  margin: 0 0 28px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}
.of-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}
#top .of-page-hero .of-btn {
  min-height: 52px;
  padding: 15px 22px;
}

/* CTA final — référence exacte : dernière section Armoires fortes */
.of-page-final-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  background: #151613;
}
.of-page-final-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #BBBD32;
}
.of-page-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  width: min(100%, var(--of-container-max, 1400px));
  margin-inline: auto;
  padding: clamp(72px, 8vw, 112px) var(--of-gutter-desktop, 40px);
}
.of-page-final-cta__content { max-width: 760px; }
.of-page-final-cta__kicker {
  margin: 0 0 16px;
  color: #BBBD32;
  font-family: var(--of-font-display, Manrope, Arial, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#top .of-page-final-cta__title {
  margin: 0;
  color: #fff;
  font-family: var(--of-font-display, Manrope, Arial, sans-serif);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}
#top .of-page-final-cta__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 18px;
  line-height: 1.6;
}
.of-page-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
}
#top .of-page-final-cta .of-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--of-radius-sm, 4px);
  font-family: var(--of-font-body, Inter, Arial, sans-serif);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* Contrastes forcés sur tous les fonds sombres, hors header */
#top .of-page-hero .of-btn--primary,
#top .of-page-hero .of-btn--primary:link,
#top .of-page-hero .of-btn--primary:visited,
#top .of-page-final-cta .of-btn--light,
#top .of-page-final-cta .of-btn--light:link,
#top .of-page-final-cta .of-btn--light:visited,
#top .of-home-hero .of-btn--primary,
#top .of-home-hero .of-btn--primary:link,
#top .of-home-hero .of-btn--primary:visited,
#top .of-home .of-section--dark .of-btn--primary,
#top .of-home .of-section--dark .of-btn--primary:link,
#top .of-home .of-section--dark .of-btn--primary:visited {
  border-color: #BBBD32;
  background: #BBBD32;
  color: #151613;
}
#top .of-page-hero .of-btn--primary:hover,
#top .of-page-hero .of-btn--primary:focus,
#top .of-page-hero .of-btn--primary:focus-visible,
#top .of-page-hero .of-btn--primary:active,
#top .of-page-final-cta .of-btn--light:hover,
#top .of-page-final-cta .of-btn--light:focus,
#top .of-page-final-cta .of-btn--light:focus-visible,
#top .of-page-final-cta .of-btn--light:active,
#top .of-home-hero .of-btn--primary:hover,
#top .of-home-hero .of-btn--primary:focus,
#top .of-home-hero .of-btn--primary:focus-visible,
#top .of-home-hero .of-btn--primary:active,
#top .of-home .of-section--dark .of-btn--primary:hover,
#top .of-home .of-section--dark .of-btn--primary:focus,
#top .of-home .of-section--dark .of-btn--primary:focus-visible,
#top .of-home .of-section--dark .of-btn--primary:active {
  border-color: #5A5C12;
  background: #5A5C12;
  color: #fff;
}
#top .of-page-hero .of-btn--secondary,
#top .of-page-hero .of-btn--secondary:link,
#top .of-page-hero .of-btn--secondary:visited,
#top .of-page-final-cta .of-btn--outline-light,
#top .of-page-final-cta .of-btn--outline-light:link,
#top .of-page-final-cta .of-btn--outline-light:visited,
#top .of-home-hero .of-btn--light,
#top .of-home-hero .of-btn--light:link,
#top .of-home-hero .of-btn--light:visited,
#top .of-home .of-section--dark .of-btn--light,
#top .of-home .of-section--dark .of-btn--light:link,
#top .of-home .of-section--dark .of-btn--light:visited {
  border-color: #fff;
  background: transparent;
  color: #fff !important;
}
#top .of-page-hero .of-btn--secondary:hover,
#top .of-page-hero .of-btn--secondary:focus,
#top .of-page-hero .of-btn--secondary:focus-visible,
#top .of-page-hero .of-btn--secondary:active,
#top .of-page-final-cta .of-btn--outline-light:hover,
#top .of-page-final-cta .of-btn--outline-light:focus,
#top .of-page-final-cta .of-btn--outline-light:focus-visible,
#top .of-page-final-cta .of-btn--outline-light:active,
#top .of-home-hero .of-btn--light:hover,
#top .of-home-hero .of-btn--light:focus,
#top .of-home-hero .of-btn--light:focus-visible,
#top .of-home-hero .of-btn--light:active,
#top .of-home .of-section--dark .of-btn--light:hover,
#top .of-home .of-section--dark .of-btn--light:focus,
#top .of-home .of-section--dark .of-btn--light:focus-visible,
#top .of-home .of-section--dark .of-btn--light:active {
  border-color: #fff;
  background: #fff;
  color: #151613 !important;
}
#top .of-page-hero .of-btn:focus-visible,
#top .of-page-final-cta .of-btn:focus-visible,
#top .of-home .of-section--dark .of-btn:focus-visible,
#top .of-home-hero .of-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .of-page-hero {
    height: 720px;
    min-height: 720px;
  }
  .of-page-hero__inner.of-container {
    height: 100%;
    min-height: 0;
    padding: 56px 0;
  }
  #top .of-page-hero .of-page-hero__title {
    max-width: 20ch;
    font-size: clamp(2.25rem, 4.8vw, 3rem);
  }
}
@media (max-width: 1024px) {
  .of-page-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-inline: var(--of-gutter-tablet, 28px);
  }
  .of-page-final-cta__actions { justify-content: flex-start; }
}
@media (max-width: 767px) {

  .of-page-hero__media img { object-position: 67% center; }
  .of-page-hero--focus-left .of-page-hero__media img { object-position: 30% center; }
  .of-page-hero--focus-right .of-page-hero__media img { object-position: 70% center; }
  .of-page-hero__overlay {
    background: linear-gradient(90deg, rgba(21,22,19,.96) 0%, rgba(21,22,19,.8) 62%, rgba(21,22,19,.35) 100%);
  }
  .of-page-hero::after {
    top: 18px;
    right: 20px;
    width: 62px;
    height: 62px;
    border-width: 5px;
  }
  .of-page-hero__inner.of-container {
    align-items: center;
    width: calc(100% - 40px);
    height: 100%;
    min-height: 0;
    padding: 52px 0;
  }
  #top .of-page-hero .of-page-hero__title {
    max-width: 100%;
    font-size: clamp(2.1rem, 8.5vw, 2.7rem);
  }
  #top .of-page-hero .of-page-hero__lead { font-size: 1rem; }
  .of-page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
  #top .of-page-hero .of-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .of-page-final-cta__inner {
    padding: 72px var(--of-gutter-mobile, 20px);
  }
  .of-page-final-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  #top .of-page-final-cta .of-btn { width: 100%; }
}
@media (max-width: 430px) {
  .of-page-hero__inner.of-container { padding: 40px 0; }
  #top .of-page-hero .of-page-hero__title {
    margin-block: 14px 18px;
    font-size: 2.25rem;
    line-height: 1.02;
  }
  #top .of-page-hero .of-page-hero__lead {
    margin-bottom: 22px;
    font-size: .96rem;
    line-height: 1.5;
  }
  #top .of-page-hero .of-btn {
    min-height: 50px;
    padding-block: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .of-page-hero *,
  .of-page-hero *::before,
  .of-page-hero *::after,
  .of-page-final-cta *,
  .of-page-final-cta *::before,
  .of-page-final-cta *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ==========================================================================
   Oullins Fermetures — Fiches produits et services interactives
   Composant commun — source unique
   ========================================================================== */
.of-commercial-page .of-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.of-commercial-page .of-product-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}

.of-commercial-page .of-product-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 721px) {
  #top .of-commercial-page .of-product-grid.of-product-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#top .of-commercial-page details.of-product-card,
#top .of-commercial-page details.of-service-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--of-color-white);
  border: 1px solid var(--of-color-border);
  border-radius: var(--of-radius-md);
  box-shadow: 0 14px 36px rgba(21, 22, 19, .07);
  transition: transform var(--of-transition), border-color var(--of-transition), box-shadow var(--of-transition), background-color var(--of-transition);
}

#top .of-commercial-page details.of-product-card:hover,
#top .of-commercial-page details.of-service-card:hover {
  transform: translateY(-3px);
  border-color: var(--of-color-brand);
  background: #fdfdf9;
  box-shadow: 0 22px 52px rgba(21, 22, 19, .12);
}

#top .of-commercial-page details.of-product-card[open],
#top .of-commercial-page details.of-service-card[open] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  height: auto;
  transform: none;
  border-color: var(--of-color-brand);
  background: var(--of-color-white);
  box-shadow: 0 24px 60px rgba(21, 22, 19, .14);
}

#top .of-commercial-page details.of-product-card > summary,
#top .of-commercial-page details.of-service-card > summary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 28px 28px;
  list-style: none;
  cursor: pointer;
}

#top .of-commercial-page details.of-product-card > summary::-webkit-details-marker,
#top .of-commercial-page details.of-service-card > summary::-webkit-details-marker {
  display: none;
}

#top .of-commercial-page details.of-product-card > summary::marker,
#top .of-commercial-page details.of-service-card > summary::marker {
  content: "";
}

#top .of-commercial-page details.of-product-card > summary:focus-visible,
#top .of-commercial-page details.of-service-card > summary:focus-visible {
  outline: 3px solid var(--of-color-brand);
  outline-offset: -3px;
}

#top .of-commercial-page .of-product-card__image,
#top .of-commercial-page .of-service-card__visual,
#top .of-commercial-page .of-product-visual-placeholder {
  display: block;
  width: calc(100% + 56px);
  aspect-ratio: 4 / 3;
  margin: 0 -28px 24px;
  border: 0;
  border-bottom: 1px solid var(--of-color-border);
  background: var(--of-color-surface);
}

#top .of-commercial-page .of-product-card__image {
  height: auto;
  padding: 20px;
  object-fit: contain;
  object-position: center;
}

#top .of-commercial-page .of-service-card__visual,
#top .of-commercial-page .of-product-visual-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--of-color-white);
  font-family: var(--of-font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(187, 189, 50, .28), transparent 48%), var(--of-color-ink);
}

#top .of-commercial-page .of-commercial-card__index {
  color: var(--of-color-brand-dark);
  font-family: var(--of-font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
}

#top .of-commercial-page details.of-product-card h3,
#top .of-commercial-page details.of-service-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

#top .of-commercial-page details.of-product-card summary > p,
#top .of-commercial-page details.of-service-card summary > p {
  margin-bottom: 20px;
  color: var(--of-color-text-muted);
  font-size: .98rem;
  line-height: 1.58;
}

#top .of-commercial-page .of-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

#top .of-commercial-page .of-product-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--of-color-border);
  border-radius: 999px;
  color: var(--of-color-ink);
  font-size: .75rem;
  font-weight: 700;
}

#top .of-commercial-page .of-product-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--of-color-border);
  color: var(--of-color-ink);
  font-size: 0;
  font-weight: 700;
}

#top .of-commercial-page .of-product-card__action::before {
  content: "Afficher les caractéristiques";
  min-width: 0;
  font-size: .95rem;
  line-height: 1.35;
}

#top .of-commercial-page details[open] .of-product-card__action::before {
  content: "Masquer les caractéristiques";
}

#top .of-commercial-page .of-product-card__action > span {
  display: none;
}

#top .of-commercial-page .of-product-card__action::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--of-font-display);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--of-transition);
}

#top .of-commercial-page details:hover .of-product-card__action::after,
#top .of-commercial-page details:focus-within .of-product-card__action::after {
  transform: translateY(-2px);
}

#top .of-commercial-page details[open] .of-product-card__action::after {
  content: "−";
  transform: none;
}

#top .of-commercial-page details.of-product-card[open] > summary,
#top .of-commercial-page details.of-service-card[open] > summary {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  padding: 0 32px 32px;
}

#top .of-commercial-page details.of-product-card[open] .of-product-card__image,
#top .of-commercial-page details.of-service-card[open] .of-service-card__visual,
#top .of-commercial-page details.of-product-card[open] .of-product-visual-placeholder {
  width: calc(100% + 64px);
  height: auto;
  min-height: 300px;
  margin: 0 -32px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--of-color-border);
}

#top .of-commercial-page details[open] .of-commercial-card__index {
  margin-top: 30px;
}

#top .of-commercial-page details[open] .of-product-card__meta {
  margin-top: 0;
}

#top .of-commercial-page details[open] .of-product-card__action {
  align-self: end;
}

#top .of-commercial-page details.of-product-card > .of-commercial-prose,
#top .of-commercial-page details.of-service-card > .of-commercial-prose {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 36px;
  border-top: 1px solid var(--of-color-border);
  background: var(--of-color-surface);
}

#top .of-commercial-page details.of-product-card[open] > .of-commercial-prose,
#top .of-commercial-page details.of-service-card[open] > .of-commercial-prose {
  grid-column: 2;
  grid-row: 1;
  padding: 40px;
  border-top: 0;
  border-left: 1px solid var(--of-color-border);
}

#top .of-commercial-page details[open] > .of-commercial-prose h4 { margin: 30px 0 12px; }
#top .of-commercial-page details[open] > .of-commercial-prose ul { margin-bottom: 24px; }

#top .of-commercial-page .of-product-card__intro {
  max-width: 800px;
  font-size: 1.08rem;
  line-height: 1.65;
}

#top .of-commercial-page .of-product-card__close {
  display: none !important;
}

@media (max-width: 1100px) {
  #top .of-commercial-page .of-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #top .of-commercial-page .of-product-grid:has(> :only-child) {
    grid-template-columns: minmax(0, 720px);
  }
  #top .of-commercial-page details.of-product-card[open],
  #top .of-commercial-page details.of-service-card[open] { display: block; }
  #top .of-commercial-page details.of-product-card[open] > .of-commercial-prose,
  #top .of-commercial-page details.of-service-card[open] > .of-commercial-prose { border-top: 1px solid var(--of-color-border); border-left: 0; }
}

@media (max-width: 720px) {
  #top .of-commercial-page .of-product-grid,
  #top .of-commercial-page .of-product-grid:has(> :only-child),
  #top .of-commercial-page .of-product-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 22px;
  }
  #top .of-commercial-page details.of-product-card > summary,
  #top .of-commercial-page details.of-service-card > summary,
  #top .of-commercial-page details.of-product-card[open] > summary,
  #top .of-commercial-page details.of-service-card[open] > summary {
    display: flex;
    padding: 0 22px 24px;
  }
  #top .of-commercial-page .of-product-card__image,
  #top .of-commercial-page .of-service-card__visual,
  #top .of-commercial-page .of-product-visual-placeholder,
  #top .of-commercial-page details.of-product-card[open] .of-product-card__image,
  #top .of-commercial-page details.of-service-card[open] .of-service-card__visual,
  #top .of-commercial-page details.of-product-card[open] .of-product-visual-placeholder {
    width: calc(100% + 44px);
    height: auto;
    min-height: 0;
    margin: 0 -22px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--of-color-border);
  }

  #top .of-commercial-page details.of-product-card[open] .of-product-card__image,
  #top .of-commercial-page details.of-service-card[open] .of-service-card__visual,
  #top .of-commercial-page details.of-product-card[open] .of-product-visual-placeholder {
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }
  #top .of-commercial-page details[open] .of-commercial-card__index {
    margin-top: 0;
  }
  #top .of-commercial-page details.of-product-card > .of-commercial-prose,
  #top .of-commercial-page details.of-service-card > .of-commercial-prose {
    padding: 26px 22px;
  }
}


#top .of-commercial-page .of-anchor-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 8px;
}

#top .of-commercial-page .of-anchor-nav .of-btn {
  width: auto;
  white-space: normal;
}

@media (max-width: 720px) {
  #top .of-commercial-page .of-anchor-nav {
    flex-direction: column;
    align-items: stretch;
  }
  #top .of-commercial-page .of-anchor-nav .of-btn {
    display: flex;
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #top .of-commercial-page details.of-product-card,
  #top .of-commercial-page details.of-service-card,
  #top .of-commercial-page .of-product-card__action::after {
    transition: none;
  }
}
