.wp-block-lge-banniere-haute,
.lge-banniere-haute {
width: 100%;
max-width: none;
margin-top: 3.2rem;
box-sizing: border-box;
} .accueil2-global {
position: relative;
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: flex-start;
background-image: none;
}
.accueil2-global::before {
content: '';
position: absolute;
inset: 0;
z-index: 0;
background-image: var(--bg-desktop);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transform: scale(1);
transition: transform 0.7s ease;
}
.lge-banniere-haute:hover .accueil2-global::before {
transform: scale(1.05);
} .accueil2-wrapper,
.actualite-wrapper {
position: relative;
z-index: 1;
} .accueil2-wrapper {
width: 100%;
min-height: 55vh;
max-height: 100vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px 8px;
background: transparent;
}
.accueil2-overlay {
width: 100%;
}
.accueil2-contenu {
width: min(1200px, 100%);
margin: 0 auto;
text-align: center;
transform: translateY(-10%);
margin-top: 5.2rem;
}
.accueil2-texte {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
padding: 15px 25px;
border-radius: 25px;
text-align: center;
} .accueil2-texte--no-title {
margin-top: -3rem;
} .accueil2-texte h1 {
margin: 20px;
font-size: 3.3em;
line-height: 1.15;
max-width: 100%;
word-break: break-word;
font-weight: 900;
text-align: center;
background-color: white;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
.accueil2-texte p {
margin: 0 auto;
max-width: 800px;
color: #ffffff;
font-size: 1.5em;
font-weight: 700;
line-height: 1.6;
}
.texteSousTitre-wrapper > div > p {
margin: 0 auto;
}
.accueil2-boutons {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px 50px;
width: 60%;
max-width: 100%;
padding: 0 20px;
justify-items: stretch;
}
.accueil2-bouton {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 160px;
padding: 12px 24px;
background: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 1.1em;
font-weight: 700;
text-align: center;
text-decoration: none;
border: 2px solid #fff;
border-radius: 25px;
transition: background 0.3s ease, color 0.3s ease;
}
.accueil2-bouton:hover {
background: rgba(255, 255, 255, 0.9);
color: #000;
} .actualite-wrapper {
width: 100%;
padding: 8px 0 42px;
color: #fff;
background: transparent;
}
.actualite-container {
position: relative;
width: min(1080px, calc(100% - 48px));
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
} .actualite-viewport {
position: relative;
width: 100%;
overflow: hidden; touch-action: pan-y;
-webkit-user-select: none;
user-select: none;
}
.actualite-slides {
display: flex;
flex-wrap: nowrap;
gap: 12px;
align-items: stretch;
will-change: transform;
transition: transform 0.35s ease;
}
.actualite-slides.is-centered {
justify-content: center;
} .actualite-slide {
flex: 0 0 calc((100% - 36px) / 4);
max-width: calc((100% - 36px) / 4);
min-width: 0;
display: flex;
} .actualite-card {
width: 100%;
height: 100%;
padding: 0;
background: transparent;
border: 0;
border-radius: 0;
overflow: visible;
cursor: pointer;
display: flex;
flex-direction: column;
-webkit-appearance: none;
appearance: none;
-webkit-tap-highlight-color: transparent;
transition: transform 0.25s ease;
}
.actualite-card:hover,
.actualite-card:focus-visible {
transform: translateY(-5px);
}
.actualite-card:focus-visible {
outline: 2px solid #fff;
outline-offset: 3px;
}
.actualite-card__media {
display: block;
aspect-ratio: 16 / 10;
width: 100%;
background: rgba(0, 0, 0, 0.18);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
transition: box-shadow 0.25s ease;
}
.actualite-card:hover .actualite-card__media,
.actualite-card:focus-visible .actualite-card__media {
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.actualite-card__media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none;
}
.actualite-card--with-title .actualite-card__media {
aspect-ratio: 16 / 9;
}
.actualite-card__title {
display: block;
width: 100%;
padding: 12px 6px 0;
background: transparent;
color: #fff;
font-size: 1rem;
font-weight: 800;
line-height: 1.35;
text-align: center;
white-space: normal;
word-break: break-word;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
} .actualite-meta {
display: none;
} .nav-arrow {
flex: 0 0 auto;
width: 42px;
height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.58);
color: #fff;
border: none;
cursor: pointer;
font-size: 21px;
border-radius: 999px;
transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.nav-arrow:hover {
background: rgba(0, 0, 0, 0.8);
transform: scale(1.05);
}
.nav-arrow.is-disabled {
opacity: 0.4;
cursor: default;
pointer-events: none;
} .actualite-dots {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: fit-content;
max-width: calc(100% - 32px);
margin: 16px auto 0;
padding: 0 16px;
}
.actualite-dot {
flex: 0 0 auto;
width: 10px;
height: 10px;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(255, 255, 255, 0.34);
cursor: pointer;
transition: transform 0.2s ease, background 0.2s ease;
}
.actualite-dot:hover,
.actualite-dot:focus-visible {
background: rgba(255, 255, 255, 0.72);
transform: scale(1.08);
}
.actualite-dot:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}
.actualite-dot.is-active {
background: #ffffff;
transform: scale(1.12);
} .actualite-modal {
position: fixed;
inset: 0;
display: none;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 24px;
z-index: 99999;
}
.actualite-modal.is-open {
display: flex;
}
.actualite-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.78);
}
.actualite-modal__dialog {
position: relative;
z-index: 1;
width: min(760px, 100%);
max-height: calc(100vh - 48px);
max-height: calc(100dvh - 48px);
overflow-y: auto;
background: #1c1c1c;
color: #fff;
border-radius: 18px;
padding: 24px;
box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
text-align: center;
box-sizing: border-box;
}
.actualite-modal__close {
position: absolute;
top: 8px;
right: 10px;
background: transparent;
color: #fff;
border: none;
font-size: 28px;
cursor: pointer;
line-height: 1;
z-index: 2;
}
.actualite-modal__title {
margin: 0 34px 14px;
font-size: clamp(1.4rem, 2.5vw, 1.9rem);
text-align: center;
color: #fff;
}
.actualite-modal__image {
display: block;
width: auto;
max-width: 100%;
max-height: min(30vh, 360px);
height: auto;
object-fit: contain;
border-radius: 10px;
margin: 0 auto 16px;
}
.actualite-modal__text {
font-size: clamp(1rem, 1.4vw, 1.15rem);
line-height: 1.75;
margin: 0 0 22px;
white-space: pre-wrap;
text-align: center;
color: #fff;
}
.actualite-modal__link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 18px;
background: #9f7b3f;
color: #fff;
text-decoration: none;
border-radius: 8px;
font-weight: 700;
text-align: center;
margin: 0 auto;
min-width: 160px;
transition: filter 0.3s ease;
}
.actualite-modal__link:hover {
filter: brightness(1.08);
} .lge-text-banniere-chambery {
font-size: 2rem;
margin-top: 2rem;
margin-bottom: 2rem;
color: white;
} @media (max-width: 1566px) {
.accueil2-texte h1 {
font-size: 2.5em;
}
.accueil2-texte--no-title {
margin-top: -1rem;
}
}
@media (max-width: 1024px) {
.accueil2-texte h1 {
font-size: 2.5em;
}
.accueil2-texte p {
font-size: 1.2em;
}
}
@media (max-width: 768px) {
.wp-block-lge-banniere-haute,
.lge-banniere-haute {
margin-top: 120px;
} .accueil2-global::before {
background-image: var(--bg-mobile, var(--bg-desktop));
background-position: center top;
} .lge-banniere-haute:hover .accueil2-global::before {
transform: scale(1);
}
.accueil2-wrapper {
padding: 0 0 12px;
min-height: auto;
max-height: none;
}
.accueil2-contenu {
width: 100%;
max-width: none;
transform: none;
margin-top: 0.2rem;
}
.accueil2-texte {
z-index: 1;
padding: 8px 14px 0;
gap: 14px;
border-radius: 0;
}
.accueil2-texte--no-title {
margin-top: 0;
}
.accueil2-texte h1 {
line-height: 1.04;
max-width: 94%;
margin: 0 auto;
word-break: normal;
overflow-wrap: anywhere;
}
.accueil2-texte p {
font-size: 0.95rem;
line-height: 1.28;
max-width: 92%;
margin: 0 auto;
}
.accueil2-boutons {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 12px;
padding: 0 12px;
width: 100%;
}
.accueil2-bouton {
width: 100%;
min-width: 0;
padding: 10px 6px;
font-size: 0.95rem;
border-radius: 22px;
background: rgba(0, 0, 0, 0.35);
} .actualite-wrapper {
padding: 12px 0 28px;
}
.actualite-container {
width: min(760px, calc(100% - 20px));
gap: 8px;
}
.actualite-slides {
gap: 10px;
} .actualite-slide {
flex: 0 0 calc((100% - 10px) / 2);
max-width: calc((100% - 10px) / 2);
}
.actualite-card__media {
border-radius: 14px;
}
.actualite-card__title {
min-height: 58px;
padding: 10px 12px;
font-size: 0.9rem;
line-height: 1.3;
}
.nav-arrow {
width: 38px;
height: 38px;
font-size: 20px;
}
.actualite-modal {
padding: 10px;
}
.actualite-modal__dialog {
width: 100%;
max-height: calc(100vh - 20px);
max-height: calc(100dvh - 20px);
padding: 18px 14px;
border-radius: 14px;
}
.actualite-modal__image {
max-height: 34vh;
} .lge-text-banniere-chambery {
font-size: 1.4rem;
}
}
@media (max-width: 480px) {
.actualite-wrapper {
padding-top: 60px;
}
.accueil2-texte {
padding-top: 8px;
gap: 12px;
}
.accueil2-texte h1 {
margin-top: 24px;
font-size: 1.5rem;
line-height: 1.03;
max-width: 95%;
}
.accueil2-texte p {
font-size: 0.9rem;
line-height: 1.25;
max-width: 94%;
}
.accueil2-boutons {
padding: 0 10px;
gap: 10px;
width: 100%;
}
.accueil2-bouton {
font-size: 0.9rem;
padding: 9px 6px;
}
.actualite-container {
width: calc(100% - 12px);
gap: 6px;
}
.actualite-slides {
gap: 8px;
}
.actualite-slide {
flex: 0 0 calc((100% - 8px) / 2);
max-width: calc((100% - 8px) / 2);
}
.actualite-card__title {
padding-top: 8px;
font-size: 0.88rem;
}
.nav-arrow {
width: 34px;
height: 34px;
font-size: 18px;
} .lge-text-banniere-chambery {
font-size: 1.4rem;
}
} .lge-banniere-haute:has(.actualite-modal.is-open),
.accueil2-global:has(.actualite-modal.is-open),
.actualite-wrapper:has(.actualite-modal.is-open) {
position: relative;
z-index: 2147483000;
overflow: visible;
}
body:has(.actualite-modal.is-open) .lge-header {
z-index: 1;
}