/* Correctifs ciblés sur la V17. La palette, les cartes, ombres, rayons et gabarits d’origine restent dans sagop-v17.css (inchangé). */
.sagop17-corrected{
 --wp--preset--font-family--body:Inter,"Source Sans Pro","Segoe UI",Roboto,Arial,sans-serif;
 --wp--preset--font-family--heading:"Arial Narrow","Aptos Narrow","Roboto Condensed",Oswald,Inter,sans-serif;
 --wp--style--global--content-size:1120px;--wp--style--global--wide-size:1320px;
 font-family:var(--wp--preset--font-family--body);font-size:16px;line-height:1.55;
}
.sagop17-corrected :where(h1,h2,h3,h4){font-family:var(--wp--preset--font-family--heading)}
body.sagop17-restored{background:#fff;--theme-content-vertical-spacing:0px}
body.sagop17-restored #main{padding:0!important}
body.sagop17-restored .sagop17-theme-content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.sagop17-restored .sagop17-theme-content>.entry-content{margin:0!important;padding:0!important;max-width:none!important}
body.sagop17-restored .sagop17-theme-content>.entry-content>.alignfull{width:100%!important;max-width:none!important;margin:0!important}
.sagop17-corrected>.alignfull{width:100%!important;max-width:none!important;margin:0!important}
.sagop17-corrected .wp-block-columns{max-width:100%;gap:24px}
.sagop17-corrected .wp-block-column{flex-shrink:1;min-width:0}
.sagop17-corrected :is(.sagop-v13-card-grid,.sagop-v13-above-fold-services,.sagop-v13-proof-grid,.sagop-v13-timeline,.sagop-v13-stats,.sagop-v13-process,.sagop-v14-facts-grid,.sagop-v16-facts,.sagop-v16-gallery,.sagop-v16-content-grid,.sagop-v16-tech-list)>*{margin-block:0!important;min-width:0}
.sagop17-corrected :is(.sagop-v13-card,.sagop-v13-universe,.sagop-v13-capability-card,.sagop-v16-fact,.sagop-v14-fact-card)>:is(h2,h3,p,.wp-block-buttons){margin-left:0!important;margin-right:0!important;max-width:100%}
.sagop17-corrected .sagop-v13-eyebrow{font-size:.72rem;margin-bottom:12px!important}
.sagop17-corrected .sagop-v13-lead{font-size:1rem;line-height:1.65}
.sagop17-corrected h1,.sagop17-corrected .sagop-v16-product-hero h1{font-size:clamp(1.9rem,2.8vw,2.4rem)!important;line-height:1.08!important}
.sagop17-corrected h2,.sagop17-corrected .sagop-v16-section-heading h2{font-size:clamp(1.45rem,2.0vw,1.85rem)!important;line-height:1.14!important}
.sagop17-corrected h3{font-size:1.15rem!important;line-height:1.28!important}
.sagop17-corrected .sagop-v13-section,.sagop17-corrected .sagop-v16-section{padding-block:26px}
.sagop17-corrected .sagop-v13-page-hero,.sagop17-corrected .sagop-v16-product-hero,.sagop17-corrected .sagop-v13-subcontract-hero{padding-block:26px}
.sagop17-corrected .sagop-v13-section-head,.sagop17-corrected .sagop-v16-section-heading{margin-bottom:24px!important}
/* Original homepage: image above text in the two universes, not miniature thumbnails. */
.sagop17-corrected .sagop-v13-hero{padding:20px 0 24px}
.sagop17-corrected .sagop-v13-hero-intro{margin-bottom:22px!important}
.sagop17-corrected .sagop17-brandline{font-size:1.2rem;letter-spacing:.03em;text-transform:none;color:var(--s13-red)!important;font-weight:800}
.sagop17-corrected .sagop-v13-hero-intro h1{margin-bottom:12px!important}
.sagop17-corrected .sagop-v13-hero-intro .sagop-v13-lead{margin-bottom:0}
.sagop17-corrected .sagop-v13-universes>.wp-block-column{display:flex}
.sagop17-corrected .sagop-v13-universe{width:100%;height:100%;min-height:0;padding:18px 20px 20px}
.sagop17-corrected .sagop-v13-universe .sagop-v13-universe-image{height:150px;flex:0 0 150px;margin:-18px -20px 14px!important}
.sagop17-corrected .sagop-v13-universe h2{font-size:clamp(1.35rem,1.95vw,1.8rem)!important;margin-bottom:12px!important}
.sagop17-corrected .sagop-v13-universe p:not(.sagop-v13-eyebrow){font-size:.92rem;line-height:1.55;margin-bottom:16px}
.sagop17-corrected .sagop-v13-universe .wp-block-buttons{margin-top:auto!important;padding-top:4px}
.sagop17-corrected .wp-block-button__link{letter-spacing:.035em;padding:12px 18px!important}
/* Short card copy; original product imagery and hover treatment retained. */
.sagop17-corrected .sagop-v13-card{padding:20px}
.sagop17-corrected .sagop-v13-product-card>.wp-block-image,.sagop17-corrected .sagop-v13-catalog-card>.wp-block-image{height:124px!important;flex:0 0 124px;margin:-20px -20px 18px!important}
.sagop17-corrected .sagop-v13-product-card h3,.sagop17-corrected .sagop-v13-catalog-card h2{font-size:1.12rem!important;min-height:2.5em}
.sagop17-corrected .sagop-v13-card p:not(.sagop-v13-link):not(.sagop-v13-card-meta){font-size:.88rem;line-height:1.55}
.sagop17-corrected :is(.sagop-v13-product-card,.sagop-v13-catalog-card)>p:not(.sagop-v13-link):not(.sagop-v13-card-meta){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:3.1em}
.sagop17-corrected .sagop-v13-link{font-size:.83rem}
.sagop17-corrected .sagop-v13-catalog-card{min-height:0}
/* A title ABOVE the same service photo: remove the old negative top image margin only here. */
.sagop17-corrected .sagop-v15-service-card>h3,.sagop17-corrected .sagop-v13-capability-card>h2{min-height:2.4em;font-size:1.2rem!important;margin:0 0 14px!important}
.sagop17-corrected .sagop-v15-service-card>.wp-block-image,.sagop17-corrected .sagop-v13-capability-card>.wp-block-image{height:158px!important;flex:0 0 158px;margin:0 -20px 16px!important;border-radius:0}
.sagop17-corrected .sagop-v13-capability-card{padding:20px;min-height:0!important}
.sagop17-corrected .sagop-v13-above-fold-services{margin-top:24px!important}
.sagop17-corrected .sagop-v13-subcontract-intro{max-width:var(--s13-wide);margin-bottom:0}
.sagop17-corrected .sagop-v13-subcontract-intro .wp-block-buttons{display:none} /* Three cards are the immediate navigation requested. */
.sagop17-corrected .sagop-v13-catalog .sagop-v13-hero-product{min-height:200px}
/* Original product split hero / four numbered benefits. */
.sagop17-corrected .sagop-v16-product-media{min-height:220px;padding:16px}
.sagop17-corrected .sagop-v16-product-media img{max-height:210px!important}
.sagop17-corrected .sagop-v13-hero-product,.sagop17-corrected .sagop-v13-service-hero-image,.sagop17-corrected .sagop-v14-service-hero-image{min-height:200px;height:200px}
.sagop17-corrected .sagop-v13-service-hero-image img,.sagop17-corrected .sagop-v14-service-hero-image img{min-height:0;height:100%;object-fit:cover}
.sagop17-corrected .sagop-v13-hero-product img{max-height:200px;object-fit:contain}
.sagop17-corrected .sagop-v16-section-tight{padding-block:16px}
.sagop17-corrected .sagop-v16-fact{min-height:0!important;padding:16px!important}
.sagop17-corrected .sagop-v16-fact-text{margin-top:0!important;font-size:1rem!important;line-height:1.4!important}
.sagop17-corrected .sagop-v16-gallery-card{min-height:245px;padding:20px}
.sagop17-corrected .sagop-v16-gallery-card img{max-height:250px!important}
.sagop17-corrected .sagop-v16-tech-panel{padding:20px}
.sagop17-corrected .wp-block-table{max-width:100%;overflow-x:auto}
.sagop17-corrected .wp-block-table table{width:100%;min-width:0!important;table-layout:auto}
.sagop17-corrected .wp-block-table th,.sagop17-corrected .wp-block-table td{font-size:.84rem!important;line-height:1.4!important;padding:7px 10px!important;word-break:normal;overflow-wrap:normal}
.sagop17-corrected .sagop17-table-wide table{min-width:790px!important}
/* Original light CTA and footer: never inherit white text from a dark section. */
.sagop17-corrected .sagop-v13-cta{background:#fff;color:var(--s13-text)}
.sagop17-corrected .sagop-v13-cta :is(h2,h3){color:var(--s13-ink)!important}
.sagop17-corrected .sagop-v13-cta p:not(.sagop-v13-eyebrow){color:var(--s13-text)!important}
.sagop17-corrected .sagop-v13-footer{background:#e9eef4;color:#465569}
.sagop17-corrected .sagop-v13-footer h3{font-size:1.05rem!important}
.sagop17-corrected .sagop-v13-footer p{font-size:.9rem;line-height:1.7}
.sagop17-corrected .sagop-v13-footer a{color:#334155}
.sagop17-corrected .sagop-v13-footer-logo{max-width:160px}
/* Native link covers the entire card, including Ctrl/Cmd+click and keyboard. */
.sagop17-corrected .sagop17-link-card{position:relative}
.sagop17-corrected .sagop17-link-card :is(.wp-block-buttons,.wp-block-button,.sagop-v13-link,a){position:static!important}
.sagop17-corrected .sagop17-link-card a::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
.sagop17-corrected .sagop17-link-card:focus-within{outline:3px solid var(--s13-red);outline-offset:3px}
.sagop17-machine-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:24px!important}
.sagop17-machine-photos figure{margin:0;background:#fff;border:1px solid var(--s13-line);border-radius:18px;overflow:hidden}
.sagop17-machine-photos img{display:block;width:100%;height:225px;object-fit:cover}
.sagop17-machine-photos figcaption{padding:12px 16px;font-size:.85rem}
.sagop17-carousel{max-width:660px;margin:auto;border:1px solid var(--s13-line);border-radius:18px;overflow:hidden;background:#fff}
.sagop17-carousel figure{margin:0}
.sagop17-carousel img{display:block;width:100%;height:290px;object-fit:contain;background:#f5f7fa}
.sagop17-carousel figcaption{padding:12px 18px;font-size:.86rem}
.sagop17-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px}
.sagop17-carousel-controls button{background:#fff;color:var(--s13-ink);border:1px solid var(--s13-line);border-radius:8px;min-height:40px;padding:6px 14px;cursor:pointer}
.sagop17-corrected [hidden]{display:none!important}
/* Single-page form retains V17 fields and frame, removing the obsolete steps. */
.sagop17-corrected .sagop-v13-contact-page .sagop-v13-page-hero{padding-block:24px}
.sagop17-form-help{font-size:.83rem;color:var(--s13-muted)}
.sagop17-form .sagop-v14-quote-grid{gap:16px}
.sagop17-form .sagop-v14-quote-grid textarea{min-height:120px}
.sagop17-form [aria-disabled="true"]{background:#e2e6eb!important;color:#4b5563!important;box-shadow:none!important;cursor:not-allowed}
.sagop17-form [aria-invalid="true"]{border-color:var(--s13-red)!important}
.sagop17-form-feedback:empty{display:none}
.sagop17-form-feedback:not(:empty){padding:14px 16px;margin-bottom:16px;background:#f5f7fa;border:1px solid var(--s13-line);border-radius:10px;color:var(--s13-ink)}
.sagop17-form-feedback.is-error{border-color:var(--s13-red)}
.sagop17-form .sagop-hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.sagop17-preview-notice{background:#fff4dd;color:#523709;border-block:1px solid #ead4a8;text-align:center;padding:10px 20px;font:13px/1.5 system-ui}
.sagop17-preview-notice a{color:inherit;text-decoration:underline}
.sagop17-corrected :where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--s13-red);outline-offset:3px}
@media(min-width:1000px){.sagop17-corrected .sagop-v13-above-fold-services{grid-template-columns:repeat(3,minmax(0,1fr))}.sagop17-corrected .sagop-v13-above-fold-services>:last-child{grid-column:auto}}
@media(max-width:999px){
 .sagop17-corrected .sagop-v13-card-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sagop17-corrected .sagop-v13-universe .sagop-v13-universe-image{height:155px;flex-basis:155px}
 .sagop17-corrected .sagop-v13-universe h2{font-size:1.4rem!important}
}
@media(max-width:781px){
 .sagop17-corrected h1,.sagop17-corrected .sagop-v16-product-hero h1{font-size:2rem!important}
 .sagop17-corrected .sagop-v13-hero{padding-top:24px}
 .sagop17-corrected .sagop-v13-universes{gap:20px}
 .sagop17-corrected .sagop-v13-universe .sagop-v13-universe-image{height:190px;flex-basis:190px}
 .sagop17-corrected .sagop-v13-section,.sagop17-corrected .sagop-v16-section{padding-block:26px}
 .sagop17-corrected .sagop-v13-hero-product,.sagop17-corrected .sagop-v13-service-hero-image,.sagop17-corrected .sagop-v14-service-hero-image{height:225px;min-height:225px}
 .sagop17-corrected .sagop-v16-product-media{min-height:235px}
 .sagop17-corrected .sagop-v16-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sagop17-corrected .sagop-v16-gallery,.sagop17-corrected .sagop-v16-content-grid{grid-template-columns:minmax(0,1fr)}
 .sagop17-corrected .sagop-v13-contact-layout{flex-direction:column-reverse}
 .sagop17-corrected .sagop-v13-cta{padding:24px;gap:16px}
 .sagop17-corrected .sagop-v14-quote-actions{align-items:stretch;flex-direction:column}
 .sagop17-corrected .sagop-v14-quote-actions button{width:100%}
 .sagop17-corrected .sagop-v13-card-grid-3{grid-template-columns:minmax(0,1fr)}
 .sagop17-corrected .sagop-v13-footer-grid{gap:24px}
 .sagop17-corrected .sagop-v13-footer{padding-top:32px}
 .sagop17-carousel img{height:230px}
}
@media(max-width:480px){
 .sagop17-corrected .sagop-v13-card-grid-4{grid-template-columns:minmax(0,1fr)}
 .sagop17-corrected .sagop-v16-facts{grid-template-columns:minmax(0,1fr)}
 .sagop17-corrected .sagop-v16-fact{min-height:0!important}
 .sagop17-corrected .sagop-v14-quote-grid{grid-template-columns:minmax(0,1fr)}
 .sagop17-corrected .sagop-v13-card-grid,.sagop17-corrected .sagop-v14-facts-grid{grid-auto-rows:auto}
 .sagop17-corrected .sagop-v16-tech-panel{padding:18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.sagop17-corrected *{animation:none!important;transition:none!important}}

/* Keep field appearance consistent across text / email / telephone. */
.sagop17-form :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea){border:1px solid #d3dce6;border-radius:10px;background:#fff;color:var(--s13-ink);box-shadow:none;max-width:100%;width:100%;font:inherit}
.sagop17-form :is(input[type="text"],input[type="email"],input[type="tel"],select){height:44px;padding:10px 12px}
.sagop17-form textarea{padding:12px;min-height:125px}
.sagop17-corrected .sagop-v16-video-section .sagop17-video figcaption{color:#dbe4ef}
.sagop17-corrected .sagop-v16-video-section .sagop17-video figcaption a{color:#ffafb6}
.sagop17-corrected .sagop-v13-contact-card a{color:var(--s13-red)}

/* V26: Blocksy still supplies the real header and mobile menu. Bound its controls, not its visibility logic. */
body.sagop17-restored .ct-header{--menu-items-spacing:20px;--menu-item-height:40px;--theme-link-initial-color:#475569;--theme-link-hover-color:#bd1f2d}
body.sagop17-restored .ct-header [data-row*="middle"]{--height:66px!important;border-bottom:1px solid #e6ebf1}
body.sagop17-restored .ct-header [data-id="logo"] img{max-height:48px!important;width:auto}
body.sagop17-restored .ct-header .menu>li>.ct-menu-link{height:40px!important;min-height:40px!important;align-self:center;line-height:1.3!important;font-size:14px!important;font-weight:700;text-transform:none;letter-spacing:0!important;padding:8px 10px!important;color:#475569}
body.sagop17-restored .ct-header .menu>li:is(.current-menu-item,.current-menu-ancestor)>.ct-menu-link{color:#bd1f2d}
body.sagop17-restored .ct-header .menu>li.sagop-menu-quote>.ct-menu-link{background:#bd1f2d!important;color:#fff!important;height:40px!important;min-height:40px!important;padding:10px 16px!important;border-radius:9px!important;margin-block:auto!important}
body.sagop17-restored .ct-header .sub-menu{background:#fff;color:#111827;border:1px solid #dbe3ec;border-radius:14px;padding:6px;--dropdown-width:280px;box-shadow:0 14px 32px rgba(15,23,42,.09)}
body.sagop17-restored .ct-header .sub-menu .ct-menu-link{font-size:14px!important;line-height:1.35!important;padding:10px 12px!important;--theme-link-initial-color:#111827;--theme-link-hover-color:#bd1f2d;color:#111827;min-height:40px;text-transform:none;letter-spacing:0}
body.sagop17-restored .ct-header .sub-menu .ct-menu-link:hover{color:#bd1f2d;background:#faf2f3;border-radius:8px}
/* The restored native mobile menu is intentionally left functional. */
body.sagop17-restored .ct-panel .mobile-menu .ct-menu-link{font-size:16px;line-height:1.4;text-transform:none;--theme-link-initial-color:#111827;--theme-link-hover-color:#bd1f2d}

/* Source-order catalogue: no screenshots of tables, no photos isolated from their own descriptions. */
.sagop17-corrected .sagop26-catalogue{display:block!important}
.sagop17-corrected .sagop26-catalogue-panel{margin-block:0 18px!important}
.sagop17-corrected .sagop26-catalogue-panel>:is(h3,h4,p,ul){margin-left:0!important;margin-right:0!important;max-width:100%}
.sagop17-corrected .sagop26-catalogue-panel h3{font-size:1.3rem!important;line-height:1.25!important}
.sagop17-corrected .sagop26-catalogue-panel h4{font-size:1rem!important;line-height:1.4!important;margin-block:16px 8px!important}
.sagop17-corrected .sagop17-tech-intro{font-size:.93rem;line-height:1.55;margin-block:8px 12px!important}
.sagop17-corrected .sagop26-media-stack{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-block:12px!important;max-width:100%}
.sagop17-corrected .sagop26-catalogue-image{margin:0 auto!important;max-width:100%;width:fit-content;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
.sagop17-corrected .sagop26-image-link{display:block;width:fit-content;max-width:100%;margin-inline:auto}
.sagop17-corrected .sagop26-catalogue-image img{display:block!important;width:auto!important;height:auto!important;max-width:min(100%,500px)!important;max-height:235px!important;object-fit:contain!important;margin:auto!important;padding:0!important;border-radius:0}
.sagop17-corrected .sagop26-catalogue-image figcaption{font-size:12px;line-height:1.5;text-align:center;color:#64748b;margin:7px auto 0;max-width:460px}
.sagop17-corrected .sagop26-catalogue-details,.sagop17-corrected .sagop26-supplied-equipment{margin:12px 0!important;padding-left:20px!important;font-size:.93rem;line-height:1.55;list-style:disc!important;display:block!important}
.sagop17-corrected .sagop26-catalogue-details li,.sagop17-corrected .sagop26-supplied-equipment li{margin:5px 0;padding-left:0}
.sagop17-corrected .sagop26-source-note{font-size:12.5px!important;line-height:1.5!important;color:#665b42;padding:10px 12px;border-left:3px solid #cab98c;background:#faf8f2;margin-top:12px!important}
.sagop17-corrected .sagop26-catalogue-note{font-size:13px;margin-block:10px!important}
.sagop17-corrected .sagop26-catalogue-panel .wp-block-table{margin-top:12px!important;margin-bottom:0!important}
.sagop17-corrected .sagop26-catalogue-panel .sagop17-table-wide table{min-width:830px!important}
.sagop17-corrected .sagop26-image-unavailable{max-width:420px;font-size:13px;background:#f5f7fa;padding:12px;border-radius:8px}
.sagop17-corrected .sagop26-image-unavailable a{color:#971824}
.sagop17-corrected .sagop-v13-proof-grid .sagop-v13-number,.sagop17-corrected .sagop-v16-fact-number{display:none!important}
.sagop17-corrected .sagop-v13-proof-grid>div{padding:18px!important;min-height:0!important}
.sagop17-corrected .sagop-v13-product-card,.sagop17-corrected .sagop-v13-catalog-card{min-height:0!important;height:auto!important}
.sagop17-corrected .sagop-v13-product-card h3,.sagop17-corrected .sagop-v13-catalog-card h2{min-height:0!important;font-size:18px!important}
.sagop17-corrected .sagop-v13-product-card>.wp-block-image img,.sagop17-corrected .sagop-v13-catalog-card>.wp-block-image img{height:100%!important;max-height:124px!important;width:100%!important;object-fit:contain!important;padding:12px!important}
.sagop17-corrected .sagop-v13-catalog-card .sagop-v13-card-meta,.sagop17-corrected .sagop-v13-product-card .sagop-v13-card-meta{display:none}
.sagop17-corrected .sagop-v13-catalog .sagop17-catalog-section{padding-top:22px!important}
.sagop17-corrected .sagop-v13-hero-product img{padding:16px}
.sagop17-corrected .sagop17-brandline{font-size:1.3rem!important;margin-bottom:10px!important}

/* Direct, proportionate YouTube iframes; never a custom intermediate Play button. */
.sagop17-corrected .sagop17-video{width:100%!important;max-width:600px!important;margin:0 auto!important}
.sagop17-corrected .sagop17-video .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9;height:auto!important;padding:0!important;min-height:0!important;border-radius:16px;overflow:hidden;background:#111827}
.sagop17-corrected .sagop17-video .wp-block-embed__wrapper::before{display:none!important}
.sagop17-corrected .sagop17-video iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0}
.sagop17-corrected .sagop26-catalogue-panel>.sagop17-video{max-width:540px!important;margin-top:16px!important}
.sagop17-corrected .sagop26-family-video{width:var(--s16-container,var(--s13-wide))!important;max-width:var(--s16-container,var(--s13-wide))!important;margin:0 auto 18px!important;border-radius:22px;padding:24px!important}
.sagop17-corrected .sagop26-family-video>.alignwide{width:100%!important;max-width:100%!important;margin:0!important}
.sagop17-corrected .sagop17-company-video{align-items:center;gap:28px}
.sagop17-corrected .sagop26-service-detail{margin-bottom:18px!important}
.sagop17-corrected .sagop26-service-detail p{font-size:.93rem;line-height:1.6}
.sagop17-corrected .sagop-v13-contact-page .sagop-v13-page-hero{padding-block:20px!important}
.sagop17-corrected.sagop-v13-contact-page .sagop-v13-page-hero{padding-block:20px!important}
.sagop17-corrected.sagop-v13-contact-page .sagop-v13-section-head{margin-bottom:0!important}
@media(max-width:781px){
 .sagop17-corrected .sagop26-family-video{padding:18px!important}
 .sagop17-corrected .sagop26-catalogue-image img{max-height:205px!important}
 .sagop17-corrected .sagop-v16-product-media{min-height:0!important}
 .sagop17-corrected .sagop-v16-product-media img{max-height:180px!important}
 .sagop17-corrected .sagop-v13-hero-product,.sagop17-corrected .sagop-v13-service-hero-image,.sagop17-corrected .sagop-v14-service-hero-image{height:185px!important;min-height:185px!important}
 .sagop17-corrected .sagop17-company-video .wp-block-column{flex-basis:100%!important}
 body.sagop17-restored .ct-header [data-row*="middle"]{--height:60px!important}
}
/* Remove inherited fixed card heights and cumulative Gutenberg paragraph margins. */
.sagop17-corrected :is(.sagop-v13-product-card,.sagop-v13-catalog-card)>.wp-block-image{height:132px!important;min-height:0!important;flex:0 0 132px!important;display:flex;align-items:center;justify-content:center;margin-bottom:14px!important}
.sagop17-corrected :is(.sagop-v13-product-card,.sagop-v13-catalog-card)>p:not(.sagop-v13-card-meta):not(.sagop-v13-link){margin-top:4px!important;margin-bottom:0!important}
.sagop17-corrected :is(.sagop-v13-product-card,.sagop-v13-catalog-card)>.sagop-v13-link{padding-top:12px!important}
.sagop17-corrected :is(.sagop-v13-product-card,.sagop-v13-catalog-card)>:is(h2,h3){margin-bottom:8px!important}
.sagop17-corrected .sagop-v13-section-head>p:not(.sagop-v13-eyebrow){margin-top:8px!important}
.sagop17-corrected .sagop-v13-section-head{margin-bottom:18px!important}
.sagop17-corrected.sagop-v13-catalog .sagop-v13-page-hero{padding-block:20px!important}
.sagop17-corrected.sagop-v13-catalog .sagop-v13-page-hero .sagop-v13-hero-product{height:185px!important;min-height:185px!important}
.sagop17-corrected.sagop-v13-catalog .sagop-v13-page-hero h1{margin-bottom:14px!important}
.sagop17-corrected.sagop-v13-catalog .sagop-v13-page-hero .sagop-v13-lead{margin-top:0!important;margin-bottom:14px!important;font-size:15px!important;line-height:1.5!important}
.sagop17-corrected.sagop-v13-catalog .sagop-v13-page-hero .wp-block-buttons{margin-top:0!important}


/* V27: compact the examples carousel and move family videos into the hero media slot. */
.sagop17-corrected .sagop17-examples .sagop-v13-section-head{margin-bottom:14px!important}
.sagop17-corrected .sagop17-carousel-compact{max-width:780px!important;margin:0 auto!important;border:1px solid var(--s13-line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.sagop17-corrected .sagop17-carousel-compact figure{margin:0}
.sagop17-corrected .sagop17-carousel-compact img{display:block;width:100%;height:340px;object-fit:cover;background:#f5f7fa}
.sagop17-corrected .sagop17-carousel-compact figcaption{padding:12px 18px 6px;font-size:.95rem;line-height:1.45;text-align:center;color:#475569}
.sagop17-corrected .sagop17-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 0 18px;background:#fff}
.sagop17-corrected .sagop17-carousel-controls button{width:44px;min-width:44px;height:44px;padding:0;border-radius:999px;border:1px solid var(--s13-line);background:#fff;color:#0f172a;font-size:1.5rem;line-height:1;cursor:pointer;box-shadow:none}
.sagop17-corrected .sagop17-carousel-controls [data-counter]{min-width:62px;text-align:center;font-size:1rem;color:#475569}
.sagop17-corrected .sagop-v16-product-media{display:flex;align-items:flex-start;justify-content:center}
.sagop17-corrected .sagop-v16-product-media .sagop17-video{max-width:100%!important;width:100%!important}
.sagop17-corrected .sagop-v16-product-media .wp-block-embed__wrapper{border-radius:18px;box-shadow:0 14px 32px rgba(15,23,42,.08)}
.sagop17-corrected .sagop-v16-product-media img{max-height:280px!important;object-fit:contain}
.sagop17-corrected .sagop-v16-product-hero .wp-block-column:first-child{display:flex;flex-direction:column;justify-content:center}
.sagop17-corrected .sagop26-family-video{display:none!important}
@media(max-width:781px){
 .sagop17-corrected .sagop17-carousel-compact img{height:250px}
 .sagop17-corrected .sagop17-carousel-controls button{width:40px;min-width:40px;height:40px}
 .sagop17-corrected .sagop-v16-product-media img{max-height:220px!important}
}


/* V28 — derniers retours client. */
body.sagop17-restored .ct-header{position:sticky!important;top:0!important;z-index:9999!important;background:#fff}
body.admin-bar.sagop17-restored .ct-header{top:32px!important}
.sagop17-corrected [id^="catalogue-"],.sagop17-corrected #demande-technique{scroll-margin-top:90px}
.sagop17-corrected .sagop17-examples-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1000px;margin:0 auto}
.sagop17-corrected .sagop17-examples-grid figure{margin:0;overflow:hidden;border:1px solid var(--s13-line);border-radius:16px;background:#f7f8fa;box-shadow:0 6px 18px rgba(15,23,42,.035)}
.sagop17-corrected .sagop17-examples-grid img{display:block;width:100%;height:300px;object-fit:cover}
.sagop17-corrected .sagop17-examples-grid figcaption{display:none!important}
.sagop17-corrected .sagop-v13-company-page .sagop-v13-timeline .sagop-v13-year{display:none!important}
@media(max-width:782px){
 body.admin-bar.sagop17-restored .ct-header{top:46px!important}
 .sagop17-corrected .sagop17-examples-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .sagop17-corrected .sagop17-examples-grid img{height:230px}
}


/* V29 — footer brand, grouped RP80 modular elements, compact 3-up machining examples. */
.sagop17-corrected .sagop29-footer-brand{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.sagop17-corrected .sagop29-footer-logo{display:flex;align-items:center;max-width:180px}
.sagop17-corrected .sagop29-footer-logo .custom-logo-link,.sagop17-corrected .sagop29-footer-logo-fallback{display:block;line-height:0}
.sagop17-corrected .sagop29-footer-logo img{display:block;width:auto;max-width:180px;max-height:58px;object-fit:contain}
.sagop17-corrected .sagop29-fr-flag{display:grid;grid-template-columns:repeat(3,10px);width:30px;height:20px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px rgba(15,23,42,.12);flex:0 0 auto}
.sagop17-corrected .sagop29-fr-flag span:nth-child(1){background:#002395}
.sagop17-corrected .sagop29-fr-flag span:nth-child(2){background:#fff}
.sagop17-corrected .sagop29-fr-flag span:nth-child(3){background:#ed2939}
.sagop17-corrected .sagop29-modular-details{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;margin-top:18px!important}
.sagop17-corrected .sagop29-modular-detail{padding:20px!important;border:1px solid var(--s13-line);border-radius:14px;background:#f8fafc}
.sagop17-corrected .sagop29-modular-detail h4{font-size:1.08rem!important;margin:0 0 8px!important}
.sagop17-corrected .sagop29-modular-detail .sagop26-catalogue-image img{max-height:210px!important}
.sagop17-corrected .sagop17-examples-grid--usinage-cn{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;max-width:1080px!important}
.sagop17-corrected .sagop17-examples-grid--usinage-cn img{height:190px!important;object-fit:cover!important}
@media(max-width:900px){
 .sagop17-corrected .sagop17-examples-grid--usinage-cn{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .sagop17-corrected .sagop17-examples-grid--usinage-cn{grid-template-columns:minmax(0,1fr)!important}
 .sagop17-corrected .sagop17-examples-grid--usinage-cn img{height:220px!important}
}


/* V30 — three compact actions in product heroes. */
.sagop17-corrected .sagop-v16-product-hero .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px!important;align-items:center}
.sagop17-corrected .sagop-v16-product-hero .wp-block-button__link{white-space:nowrap;padding:11px 15px!important;font-size:.86rem}
@media(max-width:781px){
 .sagop17-corrected .sagop-v16-product-hero .wp-block-buttons{flex-direction:column;align-items:stretch}
 .sagop17-corrected .sagop-v16-product-hero .wp-block-button,.sagop17-corrected .sagop-v16-product-hero .wp-block-button__link{width:100%;text-align:center}
}
