/* WordPress mobile presentation only; business roots and their forms are untouched. */
@media(max-width:760px){
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content :is(.site-header > .header-inner.wrap,.site-footer > .footer-main.wrap,.site-footer > .footer-bottom.wrap):not(:where(#native-service-engine *,[data-catalogue-native] *,[data-support-native] *,[data-blog-native] *)),
  body.enurgence-home-fullwidth #content :is(.hero > .hero-inner.wrap,.hero > .trust-band.wrap,#depannages.wrap,#fonctionnement.wrap,#zones.wrap,#questions.wrap,.clarity-section > .clarity.wrap,.frequent-section > .wrap,.reviews-section > .wrap,.closing-section > .closing.wrap,#services-main > .services-hero > .wrap,#services-main > .services-selection.wrap) {
    box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:none!important;min-width:0;margin-inline:auto!important;padding-inline:0!important;
  }
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header > .header-inner {min-width:0;gap:12px!important;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header .header-actions {min-width:0;gap:12px!important;}
  body.enurgence-home-fullwidth #content .hero > .hero-inner {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding-block:30px 20px!important;}
  body.enurgence-home-fullwidth #content .hero .hero-copy {width:100%;min-width:0;}
  body.enurgence-home-fullwidth #content #hero-title {font-size:clamp(40px,12vw,48px)!important;line-height:1.06!important;letter-spacing:-.045em!important;margin:0 0 18px!important;}
  body.enurgence-home-fullwidth #content .hero .eyebrow {font-size:10px!important;line-height:1.5!important;letter-spacing:1px!important;margin-bottom:20px!important;}

  body.enurgence-home-fullwidth #content .hero-roller-line {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;min-width:0;}
  body.enurgence-home-fullwidth #content .roller-intro {flex:0 0 auto;font-size:12px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content #intervention-roller {--ir-row:44px;width:230px!important;max-width:100%!important;min-width:0;flex:0 1 230px!important;gap:6px!important;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-viewport {min-width:0;max-width:230px;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-controls {grid-template-columns:22px 22px!important;flex:0 0 44px!important;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-control {width:22px!important;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-item {gap:8px!important;font-size:15px!important;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-item.is-current {font-size:16px!important;}
  body.enurgence-home-fullwidth #content #intervention-roller .ir-item > span:first-child {min-width:0;overflow:hidden;text-overflow:ellipsis;}
  body.enurgence-home-fullwidth #content .roller-description {font-size:16px!important;line-height:1.65!important;margin:16px 0 0!important;}

  body.enurgence-home-fullwidth #content .hero .search-wrapper {width:100%;min-width:0;margin-top:22px!important;}
  body.enurgence-home-fullwidth #content #demande.search-form {width:100%!important;max-width:none!important;min-width:0;padding:8px!important;gap:8px!important;}
  body.enurgence-home-fullwidth #content #demande .search-label {min-width:0;min-height:48px;padding-inline:8px!important;gap:9px!important;}
  body.enurgence-home-fullwidth #content #problem-input {font-size:16px!important;line-height:1.5!important;min-height:44px!important;width:100%;min-width:0;}
  body.enurgence-home-fullwidth #content #demande .request-submit {min-height:48px!important;font-size:14px!important;}
  body.enurgence-home-fullwidth #content .search-hint {font-size:12px!important;line-height:1.6!important;margin-top:10px!important;}
  body.enurgence-home-fullwidth #content #search-suggestions {top:auto!important;margin-top:4px;max-height:min(340px,48dvh);overscroll-behavior:contain;}
  body.enurgence-home-fullwidth #content #search-suggestions .suggestion {min-height:52px;padding:12px 10px!important;gap:10px!important;}
  body.enurgence-home-fullwidth #content #search-suggestions .suggestion strong {font-size:14px!important;line-height:1.4!important;}
  body.enurgence-home-fullwidth #content #search-suggestions .suggestion small {font-size:12px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content .hero .special-services > p {font-size:12px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content .hero #services.special-shortcuts {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
  body.enurgence-home-fullwidth #content .hero #services > .special-shortcut {min-width:0;min-height:68px!important;padding:10px 4px!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:normal;}
  body.enurgence-home-fullwidth #content .hero-after {flex-wrap:wrap!important;justify-content:space-between!important;gap:4px 16px!important;margin-top:16px!important;}
  body.enurgence-home-fullwidth #content .hero-after > span {font-size:12px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content .hero-after .text-button {min-height:44px!important;font-size:12px!important;line-height:1.5!important;text-align:left!important;}
  body.enurgence-home-fullwidth #content :is(.how-intro > p:not(.eyebrow),.step p,.clarity-copy > p:not(.eyebrow),.clarity-points p,.zone-heading p:not(.eyebrow),.faq-heading p:not(.eyebrow),.faq-list details p,.reviews-heading > p:not(.eyebrow)) {font-size:15px!important;line-height:1.75!important;}
  body.enurgence-home-fullwidth #content .faq-list summary {font-size:15px!important;line-height:1.55!important;}
  body.enurgence-home-fullwidth.enurgence-services-relais #content #services-main .services-card {min-width:0;}

  /* Only the presentation dialogs: dynamic viewport units follow the mobile keyboard. */
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) :is(#video-dialog,#special-dialog,#callback-dialog,#help-dialog) {box-sizing:border-box;width:calc(100% - 32px)!important;max-width:520px!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;overscroll-behavior:contain;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog {box-sizing:border-box;width:calc(100% - 32px)!important;max-width:480px!important;height:min(640px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)!important;padding:20px!important;overflow:auto!important;overscroll-behavior:contain;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog[open] {display:flex;flex-direction:column;gap:0;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog .hugo-head {flex:0 0 auto;gap:10px;margin-bottom:12px;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog .hugo-head > img {width:52px;height:52px;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-messages {flex:1 1 auto;min-height:0;max-height:none!important;overflow:auto;overscroll-behavior:contain;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog .hugo-bubble {font-size:14px!important;line-height:1.65!important;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog .hugo-prompts {flex:0 0 auto;margin:10px 0;gap:6px;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog .hugo-prompts button {min-height:44px;padding:8px 10px;font-size:12px;line-height:1.4;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-form {flex:0 0 auto;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-form input {min-height:44px;font-size:16px!important;line-height:1.5;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-form button {width:44px;height:44px;flex:0 0 44px;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) #hugo-dialog > small {flex:0 0 auto;margin-top:10px;font-size:11px!important;line-height:1.4;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth):not(.enurgence-support-relais) .hugo-fab {right:calc(16px + env(safe-area-inset-right,0px))!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;}
}
@media(max-width:419px){
  body.enurgence-home-fullwidth #content #demande.search-form {flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;}
  body.enurgence-home-fullwidth #content #demande .search-label {flex:none!important;width:100%;}
  body.enurgence-home-fullwidth #content #demande .request-submit {width:100%!important;justify-content:space-between!important;padding:13px 16px!important;}
}
@media(max-width:360px){
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header .wordmark-refined {font-size:22px!important;gap:6px!important;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header :is(.catalogue-return,.about-return) {font-size:11px!important;}
}

/* Tablet gutters and readable fields survive the same theme override. */
@media(min-width:761px) and (max-width:900px){
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content :is(.site-header > .header-inner.wrap,.site-footer > .footer-main.wrap,.site-footer > .footer-bottom.wrap),
  body.enurgence-home-fullwidth #content :is(.hero > .hero-inner.wrap,.hero > .trust-band.wrap,#depannages.wrap,#fonctionnement.wrap,#zones.wrap,#questions.wrap,.clarity-section > .clarity.wrap,.frequent-section > .wrap,.reviews-section > .wrap,.closing-section > .closing.wrap,#services-main > .services-hero > .wrap,#services-main > .services-selection.wrap) {box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:none!important;min-width:0;margin-inline:auto!important;padding-inline:0!important;}
  body.enurgence-home-fullwidth #content #problem-input {font-size:16px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content #demande .request-submit {font-size:14px!important;min-height:48px!important;}
}
@media(max-width:760px){
  body.enurgence-home-fullwidth #content .hero-after .text-button {flex-basis:100%!important;width:fit-content!important;text-align:left!important;justify-content:flex-start!important;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header :is(.header-actions > a,.header-inner > a:not(.wordmark)) {min-height:44px!important;align-items:center!important;}
  body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) #content .site-header .account-link {min-width:44px!important;justify-content:center!important;}
}

/* The theme also overrides the browser dialog's default centering. */
body.enurgence-home-fullwidth [data-eu-callback-modal] {inset:0!important;padding:16px!important;}
body.enurgence-home-fullwidth [data-eu-callback-form] {box-sizing:border-box!important;max-height:calc(100dvh - 32px)!important;overscroll-behavior:contain;}
body.enurgence-home-fullwidth [data-eu-callback-close] {width:44px!important;height:44px!important;}
@media(max-width:760px){
  body.enurgence-home-fullwidth [data-eu-callback-form] :is(input:not([type="checkbox"]):not([type="hidden"]),select,textarea) {font-size:16px!important;line-height:1.5!important;min-height:44px;}
}
body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) :is(#video-dialog,#special-dialog,#callback-dialog,#help-dialog,#hugo-dialog) {position:fixed!important;inset:16px!important;margin:auto!important;}
body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) :is(#video-dialog,#special-dialog,#callback-dialog,#help-dialog) {height:fit-content!important;max-height:calc(100dvh - 32px)!important;}
body:is(.enurgence-home-fullwidth,.enurgence-page-fullwidth) :is(#video-dialog,#special-dialog,#callback-dialog,#help-dialog,#hugo-dialog) .dialog-close {width:44px!important;height:44px!important;top:8px!important;right:8px!important;}
@media(min-width:761px) and (max-width:900px){
  body.enurgence-home-fullwidth #content :is(.hero-after > span,.hero-after .text-button,.special-services > p,.special-shortcut,.trust-band strong) {font-size:12px!important;line-height:1.5!important;}
  body.enurgence-home-fullwidth #content .trust-band small {font-size:11px!important;line-height:1.5!important;}
}
