/* Styles de base de la page */
body {
    background-color: rgb(255, 244, 255);
    cursor: url('/curseur.gif'), default;
}

* {
    box-sizing: border-box;
}

/* ------------------------------------------- */
/* STYLES DES TITRES ET PARAGRAPHES */
/* ------------------------------------------- */

h1 {
    font-family: "nyala", "Book Antiqua";
    text-align: center;
    font-size: 1.8rem;
    color: purple;
    font-weight: bold;
}

h2 {
    font-family: "nyala", "Book Antiqua";
    text-align: center;
    font-size: 1.5rem;
    color: purple;
    font-weight: bold;
}

h3 {
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    font-size: 1.3rem;
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
    text-indent: 30px;
    color: purple;
}

h4 {
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    text-align: center;
    font-size: 1.375rem;
    color: purple;
}

h5 {
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    text-align: center;
    font-size: 1.3rem;
    color: red;
}

h6 {
    font-family: "nyala", "Book Antiqua";
    text-align: center;
    font-size: 1.75rem;
    color: purple;
    font-weight: bold;
}

p {
    font-family: "nyala", "Book Antiqua";
    font-size: 1.25rem;
    text-align: left;
	margin-top: 0;    
    margin-bottom: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-indent: 30px;
    color: purple;
    word-wrap: break-word;
}

ul li {
    font-family: "nyala", "Book Antiqua";
    font-size: 1.25rem;
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
    text-indent: 30px;
    color: purple;
	word-wrap: break-word;
}
img {
    max-width: 100%;
    height: auto;
}

/* ------------------------------------------- */
/* STYLES DES LIENS DE MENU */
/* ------------------------------------------- */

A.menu {
    text-align: center;
    width: 168px;
    padding: 3px;
    margin: 0 auto 18px auto;
    font-size: 1.25rem;
    background-color: rgb(211, 255, 211);
    text-decoration: none;
    border: 4px groove #933193;
    border-radius: 7px;
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    display: block;
    color: #851866;
}

A.retour {
    text-align: center;
    padding: 3px;
    margin: 0 10px 5px 10px;
    font-size: 1.125rem;
    background-color: rgb(168, 255, 168);
    text-decoration: none;
    border: 4px groove #933193;
    border-radius: 7px;
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    display: inline;
    color: #851866;
}

.survol_bleu {
    text-align: left;
    width: 168px;
    padding: 3px;
    margin: 0 20px 5px 20px;
    font-size: 0.875rem;
    color: #0335FC;
    background-color: rgb(205, 215, 255);
    text-decoration: none;
    border: 4px groove #0335FC;
    border-radius: 7px;
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
}

/* ------------------------------------------- */
/* STYLES DES TABLEAUX ET AUTRES CONTENEURS */
/* ------------------------------------------- */

.peur {
    background-color: rgb(244, 225, 204);
    width: 250px;
    text-align: left;
    margin: auto;
    color: #000000;
    border: thin solid #C0C0C0;
    padding: 10px 15px;
    outline: 1px solid #933193;
    outline-offset: 2px;
}

.pro {
    background-color: rgb(244, 225, 204);
    width: 100%;
    text-align: left;
    margin: auto;
    color: #000000;
    border: thin solid #933193;
}

.pro td {
    padding: 1px 5px;
    border: thin solid #CC0000;
}

.cathy1 {
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    text-align: center;
    font-size: 1.5rem;
    text-indent: 30px;
    color: purple;
}

.cathy2 {
    font-family: "Book Antiqua", "Trebuchet MS", Verdana;
    text-align: left;
    font-size: 0.75rem;
    text-indent: 12px;
    color: green;
}

.kyrant {
    background: rgb(213, 212, 247);
    width: 98%;
    text-align: center;
    margin: auto;
    font-weight: 600;
    color: #993399;
    border-radius: 10px;
    border: 3px solid #933193;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.item {
    flex: 1;
    border-radius: 8px;
    border: thin solid #993399;
    padding: 5px;
}

.anges {
    background: rgb(255, 255, 204);
    width: 60%;
    text-align: center;
    margin: auto;
    font-weight: 600;
    color: #FF9933;
    border-radius: 10px;
    border: 3px solid #FF9933;
}

.anges td {
    padding: 3px;
    border-radius: 8px;
    border: thin solid #FF9933;
    font-family: "nyala", "Book Antiqua";
    font-size: 1.5rem;
    color: #FF9933;
}

.table98 {
    width: 96%;
    height: 103px;
    text-align: center;
    margin: auto;
    border-radius: 10px;
    border: 5px outset #933193;
}

.table98 td {
    padding: 5px;
    border-radius: 10px;
    border: thin solid #993399;
}

.bas {
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
    margin: auto;
    background-color: rgb(226, 255, 226);
    border-radius: 10px;
    border: 3px solid #933193;
    padding: 10px;
}

.bas p,
.bas .menu {
    border: thin solid #993399;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 5px;
    display: block;
}

.huile {
    background-color: rgb(244, 225, 204);
    width: 98%;
    text-align: left;
    margin: auto;
    color: #000000;
    border: thin solid #933193;
}

.huile td {
    padding: 1px 7px;
    border: thin solid #C0C0C0;
}

.sensi {
    background-color: rgb(193, 239, 240);
    width: 98%;
    text-align: left;
    margin: auto;
    color: #000000;
    border: thin solid #933193;
    font-size: 1.375rem;
    color: purple;
}

.sensi td {
    padding: 1px 7px;
    border: thin solid #FFFFFF;
}

.stop {
    background-color: rgb(255, 225, 255);
    width: 100%;
    text-align: center;
    text-decoration: blink;
    font-size: 1.125rem;
    margin: auto;
    color: #CC0000;
    border: thin solid #CC0000;
}

.pro td {
    border: thin solid #CC0000;
}

.input-large {
    width: 100%;
    height: 40px;
    font-size: 1rem;
}

/* ------------------------------------------- */
/* MISE EN PAGE PRINCIPALE (FLEXBOX & GRID) */
/* ------------------------------------------- */

.main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.menu-gauche {
    flex: 0 0 170px;
    margin-right: 20px;
}

.main-content {
    flex: 1;
}

.kyrant-content {
    background: rgb(213, 212, 247);
    border: 3px solid #933193;
    border-radius: 10px;
    font-weight: 600;
    color: #993399;
    padding: 10px;
}

/* NOUVELLE CLASSE POUR VOS SECTIONS */
.kyrant-section-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.kyrant-section-flex .item {
    border: thin solid #993399;
    border-radius: 8px;
    padding: 2px;
	text-align: left;
    flex: 1;
}
/* NOUVEAU : Corrige le centrage des images et des paragraphes dans le Flexbox */
.kyrant-section-flex .item img {
    display: block;
    margin: 0 auto; /* Centre l'image après que le text-align soit passé à 'left' */
}
/* NOUVEAU : Supprime le dernier espace vertical autour du texte court */
.kyrant-section-flex .item p {
    line-height: 1.2; /* Réduit la hauteur de ligne par défaut */
}

/* Styles pour les légendes de figures (figcaption) */
figcaption {
    word-break: break-word;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9em;
}

/* ------------------------------------------- */
/* BREADCRUMB */
/* ------------------------------------------- */
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 1em 0;
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb li + li:before {
    content: "›";
    padding: 0 0.5em;
    color: #999;
}

.breadcrumb a {
    color: #993399;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ------------------------------------------- */
/* PIED DE PAGE */
/* ------------------------------------------- */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.testimonials {
    background: rgb(213, 212, 247);
    width: 98%;
    text-align: center;
    margin: auto;
    font-weight: 600;
    color: #993399;
    border-radius: 10px;
    border: 3px solid #933193;
    padding: 10px;
}

.testimonials td {
    padding: 3px;
    border-radius: 8px;
    border: thin solid #993399;
}

/* ------------------------------------------- */
/* RESPONSIVE DESIGN */
/* ------------------------------------------- */

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 0;
    }

    .menu-gauche,
    .main-content {
        flex: 1;
        margin-right: 0;
    }

    .menu-gauche A.menu {
        width: 90%;
        margin: 10px auto;
    }

    .peur {
        width: 90%;
        margin: 10px auto;
        padding: 10px 15px;
    }
    
    .kyrant-section-flex {
        flex-direction: column;
        gap: 20px;
    }

    .kyrant-section-flex .item {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-container A.menu {
        display: inline-block;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
        width: auto;
    }
	.kyrant {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .kyrant .item {
        flex: 1 1 100%;
    }

    .kyrant img {
        margin-bottom: 10px; 
    }
}

@media (min-width: 769px) {
    .menu-gauche {
        flex: 0 0 200px;
        margin-right: 20px;
    }

    A.menu {
        white-space: normal;
        word-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
    }

    .breadcrumb li {
        max-width: 200px;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Styles pour que les items s'affichent en ligne */
    .kyrant-section-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch; 
        gap: 20px;
    }
    
    .kyrant-section-flex .item {
        flex: 1;
    }

    h1 {
        font-size: 2.125rem;
    }

    h2 {
        font-size: 1.625rem;
    }

    p, ul, li {
        font-size: 1.375rem;
    }
}
/**************************************************/
/* STYLES DES CARTES DU TIRAGE (Après Nettoyage) */
/**************************************************/

/* Harmonisation du conteneur principal */
.kyrant-content {
    /* Si tu veux forcer une hauteur/largeur spécifique au tirage */
    /* width: 95%; */
    /* max-width: 380px; */
    /* min-height: 590px; */
}

/* Conteneur des deux cartes (kyre) */
.kyre {
    display: flex; /* Permet aux cartes d'être côte à côte */
    justify-content: center; /* Centre les cartes horizontalement */
    align-items: center; 
    padding: 10px 0;
    margin: 5px auto;
    width: 95%;
    max-width: 350px;
    height: auto;
    border: 1px dotted #993399; /* Bordure pointillée Mauve */
    border-radius: 10px; /* Bords arrondis pour le conteneur des cartes */
}

/* Styles pour le titre (kyrc) */
.kyrc {
    color: #993399;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 0;
}

/* Style pour la description/disclaimer (kyrd) */
.kyrd {
    color: #993399;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    padding: 10px;
}

/* Styles pour l'image de carte (kyrf, kyrg) */
.kyrf, .kyrg {
    margin: 0 10px;
    /* Optionnel : ajoute un léger arrondi aux images elles-mêmes */
    /* border-radius: 5px; */ 
}