

.entete--verre {
  position: fixed; top: 0; left: 0; right: 0;
  height: 96px; padding: 0 40px;
  grid-template-columns: auto 1fr auto; gap: 32px;
  background: transparent;
  transition: background-color 400ms ease, height 400ms ease, box-shadow 400ms ease, backdrop-filter 400ms ease;
}
.entete--verre.est-pleine {
  height: 72px;
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.logo-verre { display: block; width: 204px; height: auto; transition: width 400ms ease; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.est-pleine .logo-verre { width: 156px; }
.entete--verre .menu__liste { gap: 34px; }
.entete--verre .menu__liste a { font-weight: 500; font-size: 15px; letter-spacing: .01em; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.entete--verre .menu__liste a:hover { color: #fff; border-bottom-color: var(--accent-clair); }
.verre__actions { display: flex; align-items: center; gap: 12px; }
.verre__tel {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px;
  border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--police-titre); font-weight: 500; font-size: 15px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color 200ms ease;
}
.verre__rond { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.verre__tel .i { width: 16px; height: 16px; }
.verre__tel:hover { background: rgba(255, 255, 255, .18); }
.verre__devis {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-family: var(--police-titre); font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(176, 16, 24, .35); transition: background-color 200ms ease;
}
.verre__devis:hover { background: var(--accent-survol); }
.verre__burger { display: none; }

.premier--verre { height: auto; min-height: max(680px, 100svh); max-height: none; }
.premier--verre .premier__image img { object-position: 62% 18%; }

@media (width >= 768px) { .mvt .premier--verre .premier__image { top: -5%; height: 110%; } }

.premier--verre::before {
  background:
    radial-gradient(ellipse 60% 55% at 22% 72%, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .34) 9%, rgba(0, 0, 0, .10) 18%, rgba(0, 0, 0, 0) 26%),
    linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .30) 38%, rgba(0, 0, 0, 0) 66%),
    linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%),
    rgba(12, 10, 9, .30);
}
.premier--verre .conteneur { flex: 1; height: auto; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: 88px; }
.verre__texte { max-width: 1200px; }
@media (max-width: 767px) { .verre__coupe { display: none; } }
.verre__note { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.verre__etoiles { display: inline-flex; gap: 2px; color: #F5B60A; }
.verre__etoiles .i { width: 15px; height: 15px; }
.premier--verre h1 { font-size: clamp(32px, 3.15vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; max-width: 1200px; }
.verre__sous { margin: 20px 0 0; max-width: 540px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.verre__garanties { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; font-size: 14px; font-weight: 500; color: #fff; }
.verre__garanties span { display: inline-flex; align-items: center; gap: 8px; }
.verre__garanties .i { width: 17px; height: 17px; color: var(--accent-clair); }
.verre__bouton { margin-top: 32px; border-radius: 999px; padding: 0 30px; box-shadow: 0 12px 32px rgba(176, 16, 24, .35); }
.verre__bouton::before { border-radius: inherit; }

body:has(.premier--verre) .flottant { transition: opacity 300ms ease; }

@media (min-width: 1024px) and (max-width: 1199px) {
  .entete--verre { padding: 0 24px; gap: 20px; }
  .entete--verre .menu__liste { gap: 20px; }
  .verre__tel > span:last-child { display: none; }
  .verre__tel { padding: 0 6px; }
}

@media (width < 1024px) {
  .entete--verre { height: 68px; padding: 0 12px 0 var(--gouttiere); grid-template-columns: auto 1fr; gap: 0; }
  .entete--verre.est-pleine { height: 64px; }
  .logo-verre, .est-pleine .logo-verre { width: 136px; }
  .verre__actions { justify-self: end; gap: 8px; }
  .verre__devis { display: none; }
  .verre__tel { padding: 0; width: 44px; justify-content: center; background: rgba(255, 255, 255, .10); }
  .verre__tel > span:last-child { display: none; }
  .verre__rond { background: none; }
  .verre__tel .i { width: 19px; height: 19px; }
  .verre__burger.case-burger {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #fff;
    background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .verre__burger .i { width: 22px; height: 22px; }
  .entete--verre .menu { inset: 64px 0 0 0; }
}
@media (max-width: 767px) {
  .premier--verre { height: auto; min-height: max(600px, 100svh); }
  .premier--verre .premier__image img { object-position: 50% 50%; }
  .premier--verre::before {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .30) 12%, rgba(0, 0, 0, 0) 22%),
      linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, .25) 62%, rgba(0, 0, 0, 0) 76%),
      rgba(12, 10, 9, .28);
  }
  .premier--verre .conteneur { padding-top: 112px; padding-bottom: 36px; }
  .verre__note { font-size: 13px; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; }
  .verre__etoiles .i { width: 13px; height: 13px; }
  .premier--verre h1 { font-size: 28px; line-height: 1.12; }
  .verre__sous { font-size: 15px; line-height: 1.5; margin-top: 12px; }
  .verre__garanties { flex-direction: column; gap: 8px; margin-top: 16px; font-size: 14px; }
  .verre__bouton { margin-top: 24px; width: 100%; }
}

.mvt .entete.entete--verre { background: none; }
.mvt .entete.entete--verre::before { background: transparent; transform: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 400ms ease; }
.mvt .entete.entete--verre.est-pleine::before { background: rgba(8, 8, 8, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.entete--verre.m-serre .entete__logo, .entete--verre.m-serre .menu { transform: none; }

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {

  .verre__tel { gap: 0; padding: 0 5px; white-space: nowrap;
    transition: background-color 250ms ease, padding 700ms cubic-bezier(.55, 0, .25, 1) 150ms, gap 700ms cubic-bezier(.55, 0, .25, 1) 150ms; }
  .verre__tel > span:last-child { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; line-height: 1;
    vertical-align: middle; transform: translateX(-10px);
    transition: max-width 700ms cubic-bezier(.55, 0, .25, 1) 150ms, opacity 250ms ease, transform 500ms ease; }
  .verre__tel:hover, .verre__tel:focus-visible { gap: 10px; padding: 0 18px 0 6px;
    transition: background-color 250ms ease, padding 900ms cubic-bezier(.45, 0, .2, 1), gap 900ms cubic-bezier(.45, 0, .2, 1); }
  .verre__tel:hover > span:last-child, .verre__tel:focus-visible > span:last-child { max-width: var(--verre-num, 9em); opacity: 1; transform: none;
    transition: max-width 900ms cubic-bezier(.45, 0, .2, 1), opacity 500ms ease 350ms, transform 700ms cubic-bezier(.22, 1, .36, 1) 300ms; }
  .verre__tel:hover .verre__rond { animation: verre-sonne 800ms ease 250ms 1; }
}
@keyframes verre-sonne { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
  .verre__tel, .verre__tel > span:last-child { transition: none; }
  .verre__tel:hover .verre__rond { animation: none; }
}
