@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Palette de couleurs sotoseveil.fr */
    --primary-color: #222d3b;        /* Bleu Ardoise Foncé */
    --primary-dark: #171f29;         /* Ardoise Profond */
    --primary-light: #3a4b61;        /* Ardoise Clair */
    --accent-color: #ff6900;         /* Orange L'Éveil / HelloAsso */
    --accent-hover: #e05c00;         /* Orange Foncé au survol */
    --secondary-blue: #2874fc;       /* Bleu Royal Interactif */
    --secondary-darkblue: #020381;   /* Bleu Nuit */
    --secondary-hover: #165fd8;      /* Bleu foncé au survol */
    
    /* Système de surfaces et fonds */
    --bg-color: #f4f6f9;             /* Fond de page très doux */
    --card-bg: #ffffff;              /* Fond des cartes et formulaires */
    --border-color: #e2e8f0;         /* Lignes de séparation douces */
    --border-focus: #2874fc;         /* Couleur de bordure au focus */
    
    /* Typographie */
    --text-color: #334155;           /* Couleur du texte principal */
    --text-muted: #64748b;           /* Couleur du texte secondaire */
    
    /* Système d'ombrages et d'arrondis */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(34, 45, 59, 0.08), 0 8px 16px -6px rgba(34, 45, 59, 0.04);
    
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Généralités */
body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typographie & Titres */
.titre {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    position: relative;
}

.titre::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: var(--radius-sm);
}

.titre2 {
    color: var(--secondary-darkblue);
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* Blocs Textes & Articles */
.texte_article {
    font-family: var(--font-family);
    font-size: 16px;
    background-color: var(--card-bg);
    text-align: justify;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 2.5rem auto;
    padding: 2rem;
    width: 80%;
    max-width: 850px;
    position: relative;
    color: var(--text-color);
}

.texte_article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-darkblue), var(--secondary-blue));
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.alimg {
    text-align: center;
    margin: 1.5rem 0;
}

.alimg img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 100%;
    height: auto;
}

.texte {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.texte2 {
    color: var(--primary-light);
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.gras {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
}

/* Classes utilitaires de couleurs héritées */
.noir {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

.bleu {
    color: var(--secondary-blue);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.noir2 {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
    display: block;
    margin: 15px 0;
}

.bleu2 {
    color: var(--secondary-blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}

/* Liens hypertexte */
a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Formulaires Standards (ex: index.php / connexion)
   ========================================================================== */
form {
    width: 100%;
    max-width: 460px;
    padding: 2.5rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin: 2rem auto;
    box-sizing: border-box;
}

form p {
    margin: 1.2rem 0;
}

form p.double {
    overflow: visible;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

form p.double label {
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

form p.double label span.info {
    display: block;
    margin-top: .3em;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    cursor: default;
}

form p.double input,
form p.double textarea {
    width: 100%;
    margin-left: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-color);
    background-color: #fafbfc;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

form p.double input:focus,
form p.double textarea:focus {
    border-color: var(--border-focus);
    background-color: var(--card-bg);
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 116, 252, 0.12);
}

form p.double textarea {
    padding: 10px 14px;
    height: 6em;
    resize: vertical;
}

/* Boutons de soumission classiques */
form p.simple {
    margin-left: 0;
    text-align: center;
    margin-top: 1.8rem;
}

form input[type="submit"],
form button[type="submit"] {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 9999px; /* Style pill premium */
    padding: 12px 30px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(255, 105, 0, 0.2), 0 2px 4px -1px rgba(255, 105, 0, 0.1);
    transition: var(--transition-smooth);
    width: auto;
    min-width: 160px;
}

form input[type="submit"]:hover,
form button[type="submit"]:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -1px rgba(255, 105, 0, 0.3), 0 4px 6px -1px rgba(255, 105, 0, 0.15);
}

form input[type="submit"]:active,
form button[type="submit"]:active {
    transform: translateY(0);
}

/* Lien Mot de passe oublié sous le formulaire */
form a[href*="oublie.php"] {
    display: block;
    text-align: center;
    margin-top: 1.2rem;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-smooth);
}

form a[href*="oublie.php"]:hover {
    color: var(--secondary-blue);
    text-decoration: none;
}

/* Alignement pour les webmasters / bas de page */
p:has(+ ul) {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 3rem;
}

ul:has(li font[color="#000099"]) {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 10px 0 30px;
}

ul:has(li font[color="#000099"]) li {
    font-family: var(--font-family) !important;
}

ul:has(li font[color="#000099"]) li font {
    color: var(--text-muted) !important;
    font-family: var(--font-family) !important;
    font-size: 14px !important;
}