/* ============================================
   PISTEUR SECOURISTE.COM - STATIC SITE CSS
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: #333;
}

a {
    color: #b60303;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8a0202;
}

img {
    max-width: 100%;
    height: auto;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    gap: 30px;
}

.content-area {
    flex: 1;
    min-width: 300px;
}

.sidebar {
    width: 300px;
}

/* === HEADER === */



/* === HEADER === */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* .header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 15px 20px; 
    padding: 5px 5px 0;
    max-width: 1200px;
    margin: 0 auto;*/
}
.header-inner {
    display: flex; /* on n'a plus besoin de cette barre séparée si le logo passe dans le nav */
	
}

.logo {
    position: absolute;
    left: 10px;
    top: -0px; /* fait remonter/déborder le logo au-dessus du bandeau rouge */
    z-index: 20;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}


.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #b60303;
    font-weight: bold;
}

/* === NAVIGATION === */


.main-nav {
    background: #b60303;
    /* background: #1c64ad; */  /* bleu */
    position: relative;
    padding-left: 140px; /* espace réservé pour le logo à gauche */
}
.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: #8a0202;
    color: #fff;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 100;
}

.nav-dropdown li {
	list-style: none;  /* supprime les ronds/puces */

}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 0.95rem;
}

.nav-dropdown a:hover {
    background: #b60303;
    color: #fff;
}

/* === MOBILE MENU === */

.menu-toggle {
    display: none;
    background: #b60303;   /* fond rouge du site */
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 4px;
}

.menu-toggle:hover {
    background: #8a0202;
}

/* === SLIDER === */
.slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider-slides {
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    max-width: 600px;
}

.slider-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.slider-desc {
    font-size: 1.2rem;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #b60303;
}

/* === NEWS TICKER === */
.news-ticker {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    overflow: hidden;
}

.news-ticker-inner {
    display: flex;
    animation: ticker 20s linear infinite;
}

.news-ticker span {
    white-space: nowrap;
    padding-right: 50px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SIDEBAR BOXES === */
.sidebar-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-box h3 {
    color: #b60303;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #b60303;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #b60303;
    color: #fff;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: background 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #8a0202;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #b60303;
    color: #b60303;
}

.btn-outline:hover {
    background: #b60303;
    color: #fff;
}

.sidebar-box .btn {
    width: 100%;
    margin-bottom: 10px;
}

/* === CONTENT SECTIONS === */
.section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2rem;
    color: #b60303;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #333;
    margin: 25px 0 15px;
}
.list-bleu {
    list-style: none;
    padding-left: 0;
}

.list-bleu li {
    padding-left: 20px;
    margin-bottom: 12px;
	top: 5px;
    position: relative;
    color: #333;
    line-height: 1.6;
}

.list-bleu li:before {
    content: "◆";  /* ou "●" pour un rond, "✦" pour une étoile */
    position: absolute;
    left: 0;
	top: 2px;
    color: #3f87dc;  /* bleu pisteur-secouriste */
    font-size: 0.8em;
    font-weight: bold;
}

/* === PARTENAIRES === */
.partners-section {
    background: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
}

.partners-section h2 {
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-logo img {
    max-height: 50px;
    max-width: 100%;
}

.partner-logo span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #333;
}

/* === FONDATEURS GRID === */
.fondateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.fondateur-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fondateur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.fondateur-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 20px;
    overflow: hidden;
}

.fondateur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fondateur-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #b60303;
    margin-bottom: 10px;
}

.fondateur-text {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* === TARIFS === */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tarif-card {
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.tarif-card:hover {
    border-color: #b60303;
}

.tarif-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #b60303;
    margin-bottom: 10px;
}

.tarif-label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.tarif-desc {
    font-size: 0.9rem;
    color: #666;
}

/* === HELLOASSO CONTAINER === */
.helloasso-container {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
}

.helloasso-container p {
    color: #666;
    font-style: italic;
}

/* === FORMATIONS LISTES === */
.formation-list {
    list-style: none;
}

.formation-list li {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.formation-list li:last-child {
    border-bottom: none;
}

.formation-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formation-list .arrow {
    color: #b60303;
}

/* === PUBLICATIONS === */
.publication-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.publication-item:hover {
    background: #eee;
}

.publication-icon {
    width: 60px;
    height: 60px;
    background: #b60303;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    margin-right: 20px;
}

.publication-info {
    flex: 1;
}

.publication-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #333;
}

.publication-desc {
    font-size: 0.9rem;
    color: #666;
}

.publication-link {
    background: #b60303;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
}

.publication-link:hover {
    background: #8a0202;
    color: #fff;
}

/* === FOOTER === */
.site-footer {
    background: #1c64ad;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p, .footer-col li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #b60303;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.9rem;
}

/* === SOCIAL ICONS === */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #b60303;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #b60303;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #8a0202;
}

/* === BREADCRUMB === */
.breadcrumb {
    background: #eee;
    padding: 15px 20px;
    margin-bottom: 0;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #333;
    margin: 0 10px;
}

/* === PAGE HEADER === */
.page-header {
    background: #b60303;
    color: #fff;
    padding: 10px 10px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2rem;
}

/* === MENTIONS LEGALES === */
.mentions-legales {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mentions-legales h2 {
    color: #b60303;
    margin: 30px 0 15px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo {
        position: absolute;
        left: 10px;
        top: 5px;
        z-index: 20;
    }

    .logo img {
        height: 60px; /* plus petit qu'en desktop (100px) */
    }
	

    .menu-toggle {
        position: absolute;
        top: 10px;
        left: 80px;
        z-index: 25; /* au-dessus du logo pour être sûr qu'il reste cliquable */
        display: block;
    }

    .header-inner {
        position: relative;
        min-height: 70px; /* assez de place pour loger le logo réduit */
    }
	/*
    .menu-toggle {
        display: block;
    }*/
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #b60303;
        z-index: 1000;
    }
    
    .nav-list {
        flex-direction: column;
    }
    	
    .nav-dropdown {
        position: static;
        box-shadow: none;
        background: #fff;
        margin-left: -20px;  /* décale à gauche au lieu de "left" */
        padding-left: 20px;  /* remet du padding interne */
    }

    .nav-dropdown li {
        list-style: none;  /* supprime les ronds/puces */
    }

    .nav-dropdown a {
        color: #c74536;  /* couleur du texte à adapter */
        display: block;
        padding: 12px 15px;
    }
    .slider {
        height: 300px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-content {
        bottom: 10%;
        left: 3%;
        right: 3%;
    }
    
    .section {
        padding: 20px;
    }
    
    .fondateurs-grid {
        grid-template-columns: 1fr;
    }
    
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .slider {
        height: 250px;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
    
    .slider-desc {
        font-size: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ALERTE MAINTENANCE */
.alerte-maintenance {
    background-color: #1c64ad;
    color: #FFFFFF;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}