/* =========================================
   1. RESET ET BASE
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fc;
}

/* =========================================
   2. EN-TÊTE FLOTTANT (PAGE ACCUEIL)
   ========================================= */
.header-global {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 30px 0;
    text-align: center;
    color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}
.header-global h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.header-global p {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   3. STRUCTURE DU SPLIT SCREEN
   ========================================= */
.split-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}
.split-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    position: relative;
    transition: all 0.4s ease-in-out;
    padding: 2rem;
    text-align: center;
}
.split-half:hover {
    flex: 1.15;
    filter: brightness(1.1); 
}

/* =========================================
   4. LES FONDS (BACKGROUNDS ACCUEIL)
   ========================================= */
.centre-renard {
    background: linear-gradient(rgba(34, 177, 76, 0.85), rgba(34, 177, 76, 0.85)), url("../images/bg-renard.webp");
    background-size: cover;
    background-position: left center;
}
.centre-neerpede {
    background: linear-gradient(to bottom right, rgba(30, 87, 153, 0.85), rgba(89, 194, 197, 0.85)), url("../images/bg-neerpede.webp");
    background-size: cover;
    background-position: right center;
}

/* =========================================
   5. ANIMATIONS ET ÉLÉMENTS VISUELS
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.content-wrapper {
    animation: fadeInUp 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;     
    justify-content: center; 
    gap: 25px;               
    text-align: center;
    width: 100%;
    max-width: 450px;        
}
.logo {
    max-width: 250px;
    margin: 0; 
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}
.logo-renard {
    filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.6));
}
.split-half:hover .logo { transform: scale(1.05); }

.titre-centre {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0; 
    text-transform: capitalize;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
.btn-visiter {
    padding: 12px 30px;
    margin: 0; 
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
}
.split-half:hover .btn-visiter {
    background-color: white;
    color: #2c3e50;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================================
   6. FOOTER COMMUN (PIED DE PAGE)
   ========================================= */
.site-footer {
    background-color: #1a1f24; 
    color: #e0e0e0; 
    padding: 60px 0 0 0;
    border-top: 4px solid #22b14c; 
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
}
.footer-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #22b14c; 
}
.address-block { margin-bottom: 20px; }
.address-block strong { color: #fff; display: block; margin-bottom: 5px; }
.address-block p { font-size: 0.95rem; line-height: 1.5; color: #b0b0b0; }

.hours-list { list-style: none; padding: 0; }
.hours-list li {
    display: flex; justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0; font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .closed { color: #ff6b6b; }

.contact-info { font-size: 1.05rem; margin-bottom: 15px; font-weight: 500; }
.rdv-text { font-size: 0.9rem; color: #b0b0b0; margin: 20px 0 15px 0; }
.btn-footer-rdv {
    display: inline-block; background-color: #22b14c; color: #ffffff;
    padding: 10px 20px; text-decoration: none; border-radius: 5px;
    font-weight: 600; font-size: 0.95rem; transition: background-color 0.3s ease;
}
.btn-footer-rdv:hover { background-color: #1e9a42; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #b0b0b0; text-decoration: none; font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover { color: #22b14c; padding-left: 5px; }

.footer-bottom { background-color: #111518; padding: 20px 40px; font-size: 0.85rem; color: #777; }
.footer-bottom-content {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.developer-signature a { color: #22b14c; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.developer-signature a:hover { color: #ffffff; text-decoration: underline; }

/* =========================================
   7. ADAPTATION MOBILE (ACCUEIL)
   ========================================= */
@media (max-width: 768px) {
    .split-container { flex-direction: column; }
    .split-half { height: 50vh; }
    .split-half:hover { flex: 1; }
    .logo { max-width: 150px; }
    .titre-centre { font-size: 1.5rem; }
    .content-wrapper { gap: 15px; }
    .footer-bottom-content { justify-content: center; text-align: center; }
}