.alp-mobile-links,
.alp-mobile-trade-quote { display: none; }

.alp-site-identity {
  box-sizing: border-box;
  width: min(100%, 76rem);
  margin: 1rem auto 0;
  padding: 1rem clamp(.85rem, 3vw, 1.5rem);
  border-top: 1px solid currentColor;
  font-size: .9rem;
}
.alp-site-identity p { margin: 0 0 .45rem; }
.alp-site-identity nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.alp-site-identity a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.alp-legal-document {
  box-sizing: border-box;
  width: min(100%, 53rem);
  margin: 1.5rem auto;
  padding: 1rem clamp(.9rem, 4vw, 2rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}
.alp-legal-document h1 { font-size: clamp(1.8rem, 5vw, 2.55rem); }
.alp-legal-document h2 { margin-block: 1.35rem .4rem; font-size: clamp(1.2rem, 4vw, 1.55rem); }
.alp-legal-document p { margin-block: .55rem; }
.alp-legal-facts dt { font-weight: 700; }
.alp-legal-facts dd { margin-inline-start: 0; }

[data-alp-quote-embed] [data-alp-quote-hidden] { display: none !important; }
[data-alp-quote-embed],
[data-alp-quote-embed] body { min-height: 0 !important; height: auto !important; margin: 0 !important; background: #fff; }
[data-alp-quote-embed] [data-alp-quote-path]:not(form) {
  display: block !important;
  position: static !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  background: transparent !important;
}
[data-alp-quote-embed] form[data-alp-quote-path] {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0;
}

@media (max-width: 1023px) {
  [data-alp-mobile-header][data-alp-mobile-header] {
    background: transparent !important;
    box-shadow: none !important;
    border-block-end-color: transparent !important;
    backdrop-filter: none !important;
  }
  [data-alp-mobile-header] [data-alp-mobile-row] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .75rem !important;
    min-height: 3.65rem !important;
    max-width: 100%;
  }
  body [data-alp-mobile-hidden][data-alp-mobile-hidden] { display: none !important; }
  [data-alp-mobile-header] [data-alp-mobile-toggle][data-alp-mobile-toggle] {
    box-sizing: border-box;
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: .5rem .68rem;
    border-radius: 999px;
    background-color: var(--alp-navigation-accent, #833238);
    color: #fff;
    cursor: pointer;
  }
  [data-alp-mobile-menu][data-alp-mobile-menu] {
    max-width: min(100vw, 37.5rem);
    max-height: min(80vh, calc(100dvh - 5rem));
    overflow: auto;
    overscroll-behavior: contain;
  }
  [data-alp-mobile-menu] :is(summary, a) {
    min-height: 44px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  [data-alp-mobile-menu] :is(summary, a):focus-visible,
  [data-alp-mobile-toggle]:focus-visible,
  .alp-mobile-links a:focus-visible {
    outline: 2px solid var(--alp-navigation-accent, #833238);
    outline-offset: 2px;
  }
  body .alp-mobile-links {
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: .8fr 1.4fr 1fr;
    gap: .35rem;
    width: min(calc(100% - 1rem), 37.5rem);
    margin: .1rem auto .45rem;
    padding: 0;
  }
  body .alp-mobile-links:has(> [data-alp-link="callback"]) {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr) minmax(0, .66fr);
  }
  .alp-mobile-links > [data-alp-link="phone"]:last-child {
    border-color: transparent;
    font-weight: 580;
  }
  .alp-mobile-links > a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: .32rem .2rem;
    border: 1px solid color-mix(in srgb, var(--alp-navigation-accent, #833238) 24%, #fff);
    border-radius: .45rem;
    background: #fff;
    color: var(--alp-navigation-accent, #833238);
    font-family: inherit;
    font-size: clamp(.73rem, 2.85vw, .9rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }
  .alp-mobile-links > [data-alp-link="quote"] {
    border-color: var(--alp-navigation-accent, #833238);
    background: var(--alp-navigation-accent, #833238);
    color: #fff;
  }
  .alp-mobile-trade-quote,
  [data-alp-mobile-quote] { scroll-margin-block-start: 5rem; }
  .alp-mobile-trade-quote {
    display: block;
    box-sizing: border-box;
    width: min(calc(100% - 1rem), 43rem);
    margin: .9rem auto 1.35rem;
    padding: clamp(.7rem, 3.2vw, 1.2rem);
    border: 1px solid color-mix(in srgb, var(--alp-navigation-accent, #833238) 25%, #fff);
    border-radius: .8rem;
    background: #fff;
  }
  .alp-mobile-trade-quote h2 {
    margin-block: 0 .55rem;
    color: var(--alp-navigation-accent, #833238);
    font-size: clamp(1.25rem, 4.7vw, 1.7rem);
    line-height: 1.2;
  }
  .alp-mobile-trade-quote iframe {
    display: block;
    width: 100%;
    height: 68rem;
    border: 0;
  }
  .alp-trade-page > .alp-td-hero,
  .alp-trade-page > .alp-td-quote[data-alp-mobile-quote] { order: 0 !important; }
  body.alp-copy .alp-trade-page > .alp-td-quote[data-alp-mobile-quote] { margin-block: 1rem 1.3rem; }
}

@layer base {
  @media (max-width: 1023px) {
    html:root body #dg-conversion-bar[data-alp-mobile-hidden] { display: none !important; }
  }
}
@media (max-width: 1023px) {
  body #dg-conversion-bar#dg-conversion-bar[data-alp-mobile-hidden] { display: none !important; }
}

@layer base {
  @media (max-width: 767px) {
    #alp-main .alp-nevers-quick, #alp-main .alp-home-sidebar { display: none !important; }
  }
}
@media (max-width: 767px) {
  #alp-main#alp-main .alp-nevers-quick, #alp-main#alp-main .alp-home-sidebar { display: none !important; }
}

body img.alp-brand-art {
    --alp-logo-width: 10rem;
    display: block !important;
    width: var(--alp-logo-width) !important;
    height: calc(var(--alp-logo-width) / 2.08) !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    flex: none;
}
body footer img.alp-brand-art { --alp-logo-width: 12rem; }
@media (max-width: 1023px) {
    html body #alp-mobile-masthead {
        position: relative !important;
        inset: auto !important;
        background: transparent !important;
    }
    body #alp-mobile-masthead img.alp-brand-art { --alp-logo-width: clamp(8rem, 34vw, 10rem); }
}

/* Façade de l'agence, sous la vidéo d'ouverture. */
html:root body.alp-copy.home #alp-main[data-alp-home-kind="principal"] .alp-home-hero-section:has(#alp-nevers-video-hero) {
    isolation: isolate;
}
html:root body.alp-copy.home #alp-main[data-alp-home-kind="principal"] .alp-home-hero-section:has(#alp-nevers-video-hero)::before {
    --alp-home-photo: url("https://alp-construction.com/wp-content/uploads/2026/11/Facade-de-lagence-ALP-Batiment-a-Nevers.jpg");
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 28%, rgba(255, 255, 255, .89) 54%, rgba(255, 255, 255, .44) 78%, rgba(255, 255, 255, .08) 100%) left center / cover no-repeat,
        var(--alp-home-photo) right 44% / max(63%, 36rem) auto no-repeat #fff;
}
#alp-main[data-alp-home-kind="principal"] #alp-nevers-video-hero .alp-nevers-hero-shade { display: none !important; }
@media (max-width: 767px) {
    html:root body.alp-copy.home #alp-main[data-alp-home-kind="principal"] .alp-home-hero-section:has(#alp-nevers-video-hero)::before {
        background: linear-gradient(175deg, rgba(255, 255, 255, .77), rgba(255, 255, 255, .91) 60%, #fff 100%) center / cover no-repeat,
            var(--alp-home-photo) center top / cover no-repeat #fff;
    }
}
body.alp-copy {
    --alp-batiment-red: #b41c2c;
    --alp-batiment-dark-red: #7c0c1c;
    --alp-navigation-accent: var(--alp-batiment-red);
    --alp-journey-wine: var(--alp-batiment-dark-red);
    --alp-journey-ink: #252325;
}
html:root body.alp-copy.home #alp-main#alp-main[data-alp-home-kind="principal"] #alp-nevers-video-hero :is(.alp-home-hero-title, .alp-home-hero-lead, .alp-home-hero-note) { color: #252325 !important; }
html:root body.alp-copy.home #alp-main#alp-main[data-alp-home-kind="principal"] #alp-nevers-video-hero :is(.alp-home-intro-eyebrow, .alp-home-hero-services) { color: var(--alp-batiment-dark-red) !important; }
@layer base {
    html:root body.alp-copy.home #alp-main#alp-main[data-alp-home-kind="principal"] #alp-nevers-video-hero :is(.alp-home-hero-title, .alp-home-hero-lead, .alp-home-hero-note) { color: #252325 !important; }
    html:root body.alp-copy.home #alp-main#alp-main[data-alp-home-kind="principal"] #alp-nevers-video-hero :is(.alp-home-intro-eyebrow, .alp-home-hero-services) { color: var(--alp-batiment-dark-red) !important; }
}
html:root body.alp-copy .alp-desktop-header {
    background-color: transparent !important;
    box-shadow: none !important;
}
html:root body.alp-copy .alp-desktop-header :is(.alp-nav-aid, .alp-header-quote) {
    background-color: var(--alp-batiment-red) !important;
    border-color: var(--alp-batiment-red) !important;
    color: #fff !important;
}
@media (max-width: 1023px) {
    html:has(#alp-mobile-masthead > .alp-mobile-links) {
        scroll-padding-block-start: var(--alp-mobile-masthead-height, 8rem);
    }
    html:has(#alp-mobile-masthead > .alp-mobile-links) :is(.alp-mobile-trade-quote, [data-alp-mobile-quote]) {
        scroll-margin-block-start: .5rem;
    }
    html:root body.alp-copy #alp-mobile-masthead#alp-mobile-masthead {
        position: sticky !important;
        inset: 0 0 auto !important;
        z-index: 5000 !important;
        background: transparent !important;
        backdrop-filter: blur(10px) !important;
    }
    html:root body.alp-copy #alp-mobile-masthead [data-alp-nav-toggle] {
        background-color: var(--alp-batiment-red) !important;
        border-color: var(--alp-batiment-red) !important;
        color: #fff !important;
    }
    body #alp-mobile-masthead img.alp-brand-art {
        filter: drop-shadow(0 1px 2px rgba(255,255,255,.95));
    }
}

