html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Audio Player Styles */
.welcome-audio-player {
    background: linear-gradient(135deg, #FFC371 0%, #FF5F6D 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-audio-player:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.welcome-audio-player h6 {
    color: #000080;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-audio-player h6 i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.welcome-audio-player audio {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);  /* Fond blanc presque opaque */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    filter: brightness(1.1) saturate(1.3);  /* Éclaircit et intensifie les couleurs */
}

/* Personnalisation pour Chrome/Safari */
.welcome-audio-player audio::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.9);
}

.welcome-audio-player audio::-webkit-media-controls-play-button,
.welcome-audio-player audio::-webkit-media-controls-mute-button {
    filter: brightness(1.2) hue-rotate(340deg);  /* Teinte rose/orange */
}

.welcome-audio-player audio::-webkit-media-controls-timeline {
    background: linear-gradient(to right, #FF5F6D, #FFC371);
    border-radius: 5px;
}

.welcome-audio-player audio::-webkit-media-controls-current-time-display,
.welcome-audio-player audio::-webkit-media-controls-time-remaining-display {
    color: #FF5F6D;
    font-weight: 600;
}

/* Custom Audio Player Styles */
.custom-audio-player {
    background: linear-gradient(135deg, #FFD700 0%, #E63946 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
}

.custom-audio-player .audio-title {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    margin: 0 0 15px 0;
}

.custom-audio-player .audio-title i {
    animation: pulse 2s ease-in-out infinite;
}

.custom-audio-player .audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-audio-player .btn-play,
.custom-audio-player .btn-volume {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #E63946, #FFD700);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.custom-audio-player .btn-play:hover,
.custom-audio-player .btn-volume:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5);
}

.custom-audio-player .btn-play:active,
.custom-audio-player .btn-volume:active {
    transform: scale(0.95);
}

.custom-audio-player .audio-timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-audio-player .time-current,
.custom-audio-player .time-total {
    font-size: 12px;
    font-weight: 600;
    color: #E63946;
    min-width: 35px;
}

.custom-audio-player .progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(230, 57, 70, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.custom-audio-player .progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, #E63946, #FFD700);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.custom-audio-player .progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid #E63946;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-audio-player .progress-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-audio-player .volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-audio-player .btn-volume {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.custom-audio-player .volume-slider {
    width: 70px;
    height: 4px;
    background: rgba(230, 57, 70, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.custom-audio-player .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #E63946;
    border-radius: 50%;
    cursor: pointer;
}

.custom-audio-player .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #E63946;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Variation Compact (plus petit) */
.custom-audio-player.size-compact {
    padding: 12px;
}

.custom-audio-player.size-compact .audio-title {
    font-size: 14px;
    margin-bottom: 10px;
}

.custom-audio-player.size-compact .audio-controls {
    padding: 10px;
    gap: 10px;
}

.custom-audio-player.size-compact .btn-play {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.custom-audio-player.size-compact .btn-volume {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.custom-audio-player.size-compact .volume-slider {
    width: 50px;
}

.custom-audio-player.size-compact .time-current,
.custom-audio-player.size-compact .time-total {
    font-size: 11px;
}
/* ===== SITE FOOTER ===== */
.site-footer {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    color: #fff;
    font-family: 'Nunito', system-ui, sans-serif;
}
.site-footer-paysage { position: absolute; inset: 0; z-index: 0; }
.site-footer-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,75,57,.4) 0%, rgba(6,75,57,.75) 60%, rgba(6,75,57,.85) 100%);
    z-index: 1;
}
.site-footer-content { position: relative; z-index: 2; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; }
.site-footer p, .site-footer small { color: rgba(255,255,255,.85); }
.site-footer-link { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.site-footer-link:hover { color: #fff !important; text-decoration: underline; }
.site-footer-hr { border-color: rgba(255,255,255,.3); }

/* ===== NAVBAR (global) ===== */
.navbar {
    background-color: #fbf8f1 !important;
    border-bottom: 2px solid rgba(0,0,0,.06) !important;
    box-shadow: none !important;
}
.hp-navbar-logo { height: 72px; width: auto; display: block; }
.navbar .nav-link,
.navbar .navbar-brand { font-family: 'Nunito', system-ui, sans-serif; font-weight: 700; }
.navbar .nav-link { color: #333 !important; font-size: .9rem; }
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: #e90825 !important; }
.navbar .nav-link.active { color: #e90825 !important; }
.navbar .dropdown-menu { background-color: #fbf8f1; border-color: rgba(0,0,0,.08); }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background-color: rgba(0,0,0,.04); }
.navbar .navbar-toggler { border-color: rgba(0,0,0,.2); }
.navbar .navbar-toggler:focus { box-shadow: none; }
.navbar-collapse { background: #fbf8f1; }
