/* =========================================================
FOOTER STYLESHEET (GLS Sprachenzentrum)
========================================================= */

.site-footer {
background-color: #211e1d;
color: #fff;
border-top-left-radius: 50px;
border-top-right-radius: 50px;
overflow: hidden;
position: relative;
z-index: 10;
font-family: "Now", sans-serif;
}

/* =========================================================
FOOTER INTRO SECTION
========================================================= */
.footer-intro {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
gap: 2rem;
}

.footer-intro img {
height: 170px;
width: auto;
}

.footer-intro p {
color: var(--color-surface);
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 0;
flex: 1;
max-width: 450px;
}

/* =========================================================
FOOTER TITLES
========================================================= */
.footer-title {
font-weight: 700;
color: var(--color-surface); /* UPDATED */
margin-bottom: 1.5rem;
font-size: 1.1rem;
letter-spacing: 0.3px;
}

/* =========================================================
FOOTER LINKS
========================================================= */
.footer-links li {
margin-bottom: 10px;
}
.mt-md-0{
font-weight: 400;
font-size: 12px !important;
color: var(--dark--off-white);
}
.footer-links a,
.footer-small-link {
color: var(--dark--off-white); /* UPDATED */
font-size: 14px;
/* line-height: 1.2; */
text-decoration: none;
display: block;
text-wrap: balance;
transition: color .2s ease;
}

.footer-links a:hover,
.footer-small-link:hover {
color: var(--dark--yellow); /* UPDATED (#bc9600) */
}

/* If using big-link class */
.footer-big-link {
font-weight: 700;
line-height: 1.1;
display: block;
text-decoration: none;
font-size: 1.05rem;
margin-bottom: 1.2rem;
color: var(--color-surface);
}

/* indentation */
.footer-indent {
padding-left: 1rem;
}

/* =========================================================
FOOTER COLUMNS
========================================================= */
.footer-columns {
margin-top: 2.5rem !important;
padding-top: 2.5rem !important;
border-color: #2a2725 !important;
}

.footer-columns .col-md-3 {
padding-left: 25px;
padding-right: 25px;
}

/* =========================================================
FOOTER BOTTOM
========================================================= */
.footer-bottom {
background-color: #181615;
color: #ccc;
margin-top: 2rem;
}

.footer-bottom a {
color: var(--dark--off-white);
font-weight: 500;
font-size: 12px !important;
text-decoration: none;
transition: color .2s ease;
}

.footer-bottom a:hover {
color: white;
}

.footer-legal {
display: flex;
gap: 2rem;
flex-wrap: wrap;
}

/* =========================================================
RESPONSIVE
========================================================= */
@media (max-width: 768px) {

.footer-intro {
flex-direction: column;
text-align: center;
}

.footer-intro img {
height: 120px;
margin-top: 1rem;
}

.footer-legal {
justify-content: center;
text-align: center;
gap: 1rem;
}

.footer-columns .col-6 {
margin-bottom: 2.5rem;
}
}
/* =========================================================
NEWSLETTER (Footer)
========================================================= */
#newsletterForm {
align-items: center;
}

/* RTL: inverser l'ordre input/bouton */
.site-footer.rtl #newsletterForm {
flex-direction: row-reverse;
}

#newsletterEmail.form-control {
max-width: 380px;
width: 100%;
background: #181615; /* match footer-bottom */
border: 1px solid #2a2725; /* même tone que footer columns border */
color: var(--color-surface);
border-radius: 12px;
padding: 12px 14px;
box-shadow: none;
}

/* Placeholder */
#newsletterEmail.form-control::placeholder {
color: rgba(255, 255, 255, 0.55);
}

/* Focus clean */
#newsletterEmail.form-control:focus {
border-color: var(--color-surface);
box-shadow: 0 0 0 3px rgba(188, 150, 0, 0.15);
outline: none;
}

/* Bouton "S'inscrire" style propre */
#newsletterBtn.btn {
background: transparent;
border: 1px solid var(--color-surface);
color: var(--color-surface);
border-radius: 12px;
padding: 12px 16px;
font-weight: 700;
letter-spacing: 0.2px;
white-space: nowrap;
transition: background .2s ease, color .2s ease, transform .2s ease;
}

#newsletterBtn.btn:disabled {
opacity: .65;
/* transform: none; */
}

/* Message spacing */
#newsletterMsg {
min-height: 18px;
}

/* Mobile: input full width */
@media (max-width: 768px) {
#newsletterEmail.form-control {
max-width: 100%;
}

#newsletterForm {
flex-wrap: wrap;
}

#newsletterBtn.btn {
width: 100%;
}
}


/* =========================================================
BACK TO TOP BUTTON
========================================================= */
#backToTop {
position: fixed;
bottom: 24px;
right: 24px;
width: 52px;
height: 52px;
border-radius: 50%;
background: var(--dark--off-black); /* bleu comme l'image */
color: #fff;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity .25s ease, transform .25s ease, visibility .25s;
z-index: 2147483647;
}

/* RTL support */
.site-footer.rtl #backToTop {
right: auto;
left: 24px;
}

/* Visible */
#backToTop.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

/* Hover */
#backToTop:hover {
background: var(--dark--off-black);
transform: translateY(-2px);
}

/* Focus accessibility */
#backToTop:focus {
outline: none;
box-shadow: 0 0 0 4px rgba(255, 254, 232, 0.35);

}

/* SVG smooth */
#backToTop svg {
pointer-events: none;
}
.mb-0 {
color: var(--dark--off-white);
}
@media (max-width: 767px) {
  #newsletterBtn{
    width: auto;              /* pas full width */
    min-width: 160px;         /* taille minimale propre */
    padding: 10px 18px;       /* bouton plus compact */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;          
    font-size: 0.95rem;
    border-radius: 14px;
  }
}
.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
