body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #FFFFFF;
    color: #4A78B8;
    text-align: center;
}

h1 {
    margin-top: 60px;
    margin-bottom: 45px;
    font-size: 30px;
    letter-spacing: 0.5px;
    font-weight: 500;
	color:  #1850A5;
}

p {
    margin-bottom: 55px;
    font-size: 20px;
    color: #4F82D9;
}

.tuiles {
    display: grid;
    grid-template-columns: repeat(3, 210px);
    gap: 32px;
    justify-content: center;
}

.tuile {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #FDFDFD;
    border: 1px solid #1850A5;
	border-left: 2px solid transparent;
    border-radius: 18px;

    text-decoration: none;
    color: #1850A5;
    font-size: 20px;
    font-weight: 500;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tuile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
	color: #0ea5e9;
}

@media (max-width: 850px) {
    .tuiles {
        grid-template-columns: repeat(2, 240px);
		    }
}

@media (max-width: 560px) {
    .tuiles {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }

    .tuile {
        width: 100%;
    }
}
.titre-page {
    margin-top: 80px;
    margin-bottom: 60px;
    font-size: 36px;
    font-weight: 700;
}

.grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 30px;
    justify-content: center;
}

.miniature img {
    width: 180px;
    height: 270px;
    object-fit: cover;

    border-radius: 12px;
    border: 1px solid #e5e0d6;

    display: block;
	transition:
        transform .18s ease,
        box-shadow .18s ease;
}
.miniature:hover img{
    transform:translateY(-6px);

    box-shadow:
        0 5px 12px rgba(0,0,0,.08);
}
.retour{
    position:absolute;
    top:30px;
    left:40px;

    text-decoration:none;
    color:#5f6b75;

    font-size:18px;
    font-weight:400;

    transition:.15s ease;
}

.retour:hover{
    color:#4F7FD1;
}

.pdf strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}
.pdf{
    width:100%;
}

.pdf span {
	display: block;
    font-size: 16px;
    color: #5f6b75;
}.presentation {
    max-width: 900px;

    margin: 0 auto 40px auto;

    font-size: 16px;
    color: #5f6b75;

    text-align: left;
    line-height: 1.5;
}.presentation p {
    font-size: 16px;
    color: #5f6b75;
    margin-bottom: 0;
	
}.footer-contact {
    width: 776px;

    margin: 70px auto 20px auto;

    font-size: 40px;
    color: #5f6b75;

    text-align: right;
	transform:translateX(-80px);
	
}.presentation-large{
    width:calc(100% - 40px);
    max-width:1100px;
    margin:0 auto 40px auto;

    padding:0 22px;
    box-sizing:border-box;

    font-size:15px;
    color:#5f6b75;
    text-align:left;
    line-height:1.5;
}

.presentation-large p{
    font-size:16px;
    color:#5f6b75;
    line-height:1.5;
    margin-bottom:0;
}
.dnb-pro {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: left;
}

.dnb-pro h1 {
    margin: 0 0 40px 0;
    font-size: 36px;
    letter-spacing: 0;
    font-weight: 700;
    text-align: center;
}

.presentation-dnb {
    max-width: 760px;
    margin: 0 auto 45px auto;
    color: #5f6b75;
    line-height: 1.55;
}

.presentation-dnb p {
    margin: 0 0 18px 0;
    font-size: 17px;
    color: #5f6b75;
    text-align: left;
}

.liens-padlet {
    display: grid;
    grid-template-columns: repeat(2, 260px);
    gap: 24px;
    justify-content: center;
}

.carte-lien {
    display: block;
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid #e5e0d6;
    border-radius: 16px;
    text-decoration: none;
    color: #1f2933;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.carte-lien:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.carte-titre {
    display: block;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.carte-description {
    display: block;
    font-size: 15px;
    color: #5f6b75;
}

@media (max-width: 650px) {
    .liens-padlet {
        grid-template-columns: 1fr;
    }
}/* =====================
   PAGE DNB PRO
===================== */

.dnb-pro {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: left;
}

.dnb-pro .sequence-header {
    max-width: 760px;
    margin: 0 auto 45px auto;
}

.dnb-pro h1 {
    margin: 0 0 40px 0;
    font-size: 36px;
    letter-spacing: 0;
    font-weight: 700;
    text-align: center;
}

.dnb-pro .sequence-intro {
    margin: 0 0 18px 0;
    font-size: 17px;
    line-height: 1.55;
    color: #5f6b75;
    text-align: left;
}

.dnb-pro .liens-padlet {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 148px;
    justify-content: center;
	transform: translateX(-40px);
}

.dnb-pro .carte-lien {
    display: block;
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid #e5e0d6;
    border-radius: 16px;
    text-decoration: none;
    color: #1f2933;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dnb-pro .carte-lien:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.dnb-pro .carte-titre {
    display: block;
    font-size: 22px;
    font-weight: 600;
}

@media (max-width: 650px) {
    .dnb-pro .liens-padlet {
        grid-template-columns: 1fr;
    }
}
.dnb-pro .carte-francais{
    box-shadow:
        0 8px 20px rgba(0,0,0,0.10),
        inset 0 -4px 0 rgba(70,120,220,0.35);
}

.dnb-pro .carte-maths{
    box-shadow:
        0 8px 20px rgba(0,0,0,0.10),
        inset 0 -4px 0 rgba(210,80,80,0.35);
}
.dnb-pro .carte-francais:hover{
    transform: translateY(-3px);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.14),
        inset 0 -4px 0 rgba(70,120,220,0.35);
}
.dnb-pro .carte-maths:hover{
    transform: translateY(-3px);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.14),
        inset 0 -4px 0 rgba(210,80,80,0.35);
}.tuile {
    background: #E6F1FB;

    border: 1px solid transparent;
    border-left: 3px solid transparent;

    border-radius: 10px;

    padding: 20px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);

    transition: 0.2s ease;
}p {
    margin-bottom: 55px;
    font-size: 14px;
    color: #7A8696;
}
.footer-contact p{

    font-size:13px;

}.outils{
    display:block;
    width:825px;
    margin:25px auto 0 auto;

    color:#2F3640; 
    font-size:14px;
    font-weight:500;
    text-decoration:none;
    text-align:left;
	transform:translateX(+70px);
	transform-origin: left center;
    transition: transform 0.2s ease;
}


.footer-contact{
    width:825px;
    margin:0px auto 20px auto;
    text-align:right;
}

.footer-contact p{
    font-size:12px;
    color:#78848E;
    margin:0;

	
}
.outils:hover{
    transform: translateX(70px) scale(1.15);
}
}.grille-outils {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 28px;
    justify-content: center;
    margin-top: 60px;
}.bibliotheque-outils{
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 60px;
}

.miniature-outil{
    width: 170px;
    height: 240px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.10);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.miniature-outil span{
    color: white;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.3;
}

.miniature-outil:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.retenue{
    background: #B85C5C;
}

.livret-stage{
    background: #4F7FD1;
}.faux-livre{

    width:180px;

    aspect-ratio:2/3;

    border-radius:12px;

    border:1px solid #e5e0d6;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:white;

    font-size:18px;

    font-weight:700;

    line-height:1.3;

    box-shadow:0 8px 20px rgba(0,0,0,0.10);

    transition:transform .15s ease;
}

.faux-livre:hover{

    transform:translateY(-2px);

}

.bleu{

    background:#4F7FD1;

}

.rouge{

    background:#A34B4B;
}
	
.orange{

    background:#B86A3A;

}

.faux-livre{
    text-decoration:none;
	display:flex;
	flex-direction:column;
	justify-content:center;
	border:1px solid #e5e0d6;
}

.miniature{

    text-decoration:none;
}
.liste-pdf{

    width:calc(100% - 40px);
    max-width:1100px;
    margin:40px auto 60px auto;
	padding:0;
    list-style:none;

    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;

}
.pdf{

     width:100%;
    box-sizing:border-box;

    background:#ffffff;

    border:1px solid #185FA5;

    border-radius:14px;

    padding:18px 22px;

    text-decoration:none;

    color:#1f2933;

    text-align:left;

    box-sizing:border-box;
	width:100%;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

}

.pdf:hover{

    transform:translateY(-2px);

   }
/* Bouton retour — règle unique officielle */
.retour{
    position:absolute;
    top:30px;
    left:40px;

    color:#5f6b75;
    font-size:18px;
    font-weight:400;
    text-decoration:none;

    transition:.15s ease;
}

.retour:hover{
    color:#4F7FD1;
}

.tuile.francais {
    border-left: 2px solid #9BB7D9;
}

.tuile.maths {
    border-left: 2px solid #9BB7D9;
}

.tuile.histoire {
    border-left: 2px solid #9BB7D9;
}

.tuile.geographie {
    border-left: 2px solid #9BB7D9;
}

.tuile.sciences {
    border-left: 2px solid #9BB7D9;
}

.tuile.dnbpro {
    border-left: 2px solid #9BB7D9;
}

.texte-ressources{
    width:calc(100% - 40px);
    max-width:1100px;
    margin:190px auto 40px auto;

    text-align:left;
    color:#566D90;
    font-size:18px;
    font-weight:500;
    line-height:1.5;
}

.texte-ressources p{
    margin:0;

    font-size:24px;
    font-weight:500;
    line-height:1.5;
    color:#36506C;
}

.lien-ressources{
	display:inline-block;
    color:inherit;
    text-decoration:none;
    cursor:pointer;
    transition:color 0.15s ease, transform 0.15s ease;
}

.lien-ressources:hover{
      color:#0ea5e9;
	  transform:scale(1.02);
	  }
	  
.texte-ressources p{
    margin:0 0 12px 0;
}
.pdf{
    background:#fff;
    border:1px solid #042C53;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition:.2s;
}
.tuile.francais,
.tuile.maths,
.tuile.histoire,
.tuile.geographie,
.tuile.sciences,
.tuile.dnbpro{
    border-left:2px solid #1850A5;
}
.grille-mots{
    margin-top:60px;
}
.vide {
  visibility: hidden;
}
/* ==================================================
   PAGES DES SÉRIES « LES MOTS »
   ================================================== */

.page-mots{
    width:650px;
    margin:100px auto 80px auto;
}


/* Retour vers la page de français */

.page-mots .retour{
    display:inline-block;
    margin-bottom:45px;

    color:#566D90;
    font-size:16px;
    font-weight:500;

    text-decoration:none;
}

.page-mots .retour:hover{
    color:#4F7FD1;
}


/* Titre de la série */

.page-mots h2{
    margin:0 0 35px 0;

    color:#303846;
    font-size:38px;
    font-weight:600;
    text-align:left;
}


/* Compétences */

.competences-mots{
    margin-bottom:50px;
}

.competences-mots h3{
    margin:0 0 16px 0;

    color:#36506C;
    font-size:21px;
    font-weight:600;
}

.competences-mots p{
    margin:7px 0;

    color:#566D90;
    font-size:18px;
    font-weight:500;
    line-height:1.45;
}
.competences-mots{
    margin-bottom:50px;
    text-align:left;
}

/* Liste verticale des PDF */

.liste-mots-pdf{
    display:flex;
    flex-direction:column;
    gap:16px;
	width:420px;
}


/* Boutons PDF */

.pdf-mots{
    display:flex;
    align-items:center;

    min-height:58px;
    padding:12px 22px;

    border:2px solid;
    border-radius:16px;

    background-color:#FFFFFF;

    color:#36506C;
    font-size:18px;
    font-weight:600;
    text-decoration:none;

    box-sizing:border-box;

    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.pdf-mots:hover{
    transform:translateX(3px);
}

/* Couleurs des séries Les mots */
/* Série Le collège */

.pdf-turquoise{
    border-color:#2CCCD3;
}

.pdf-turquoise:hover{
    border-color:#2CCCD3;
    color:#2CCCD3;
}

/* Série Le restaurant */

.pdf-orange{
    border-color:#FADA0A;
}

.pdf-orange:hover{
    border-color:#FADA0A;
    color:#FADA0A;
}
/* Série Halloween */
.pdf-violet{
    border-color:#8E44AD;
}

.pdf-violet:hover{
    border-color:#8E44AD;
    color:#8E44AD;
	 background-color:white;
}
/* Série La forêt */

.pdf-vert{
    border-color:#9BBC6B;
}

.pdf-vert:hover{
    border-color:#9BBC6B;
    color:#9BBC6B;
	 background-color:white;
}
/* Série Noël */
.pdf-bordeaux{
    border-color:#F2858E;
}

.pdf-bordeaux:hover{
    border-color:#F2858E;
	color:#F2858E;
   background-color:white;
}
/* Série La ville */
.pdf-gris {
    border-color: #4A4A4A;
}

.pdf-gris:hover {
    border-color:#4A4A4A;
	color:#BABAB8;
   background-color:white;
}
/* Série L'espace */
.pdf-bleu-nuit {
    border-color: #1E3A8A;
}

.pdf-bleu-nuit:hover {
    border-color:#1E3A8A;
	color:#136AAB;
   background-color:white;
}

/* Série Le cirque */

.pdf-brique {
    border-color: #FF8C42;
}

.pdf-brique:hover {
    border-color:#FF8C42;
	color:#FF8C42;
   background-color:white;
}
/* Série La fête */

.pdf-rose-saumon{
    border-color:#FF40F2;
}
.pdf-rose-saumon:hover {
    border-color:#FF40F2;
	color:#FF40F2;
   background-color:white;
}
/* Série Les vacances */

.pdf-vert-turquoise{
    border-color:#4fd6b2;
}
.pdf-vert-turquoise:hover {
    border-color:#4fd6b2;
	color:#4fd6b2;
   background-color:white;
}


/* Adaptation aux écrans étroits */

@media screen and (max-width:750px){

    .page-mots{
        width:auto;
        margin:120px 24px 60px 24px;
    }

    .page-mots h2{
        font-size:32px;
    }

    .pdf-mots{
        font-size:17px;
    }
}
.titre-mots{
    margin:0 0 35px 0;

    color:#303846;
    font-size:38px;
    font-weight:600;
    text-align:left;
}
/* ---------- Tuile Rituels ---------- */

.pdf-mots-rituels{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
}

.titre-rituels{
    color:#36506C;
    font-size:18px;
    font-weight:600;
    line-height:1.2;
}

.liste-rituels{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
}

.lien-rituel{
    color:#36506C;
    text-decoration:none;
	font-weight:500;
    line-height:1.2;
    transition:color .15s ease;
}

.lien-rituel:hover{
    color:inherit;
}
/* Présentation d'une œuvre avec sa couverture */

.intro-oeuvre{
    width:calc(100% - 40px);
    max-width:1100px;
    margin:0 auto 40px auto;

    display:grid;
    grid-template-columns:90px 1fr;
    column-gap:28px;
    align-items:start;

    text-align:left;
}

.couverture-oeuvre{
    width:90px;
    height:135px;
    object-fit:cover;

    display:block;
    border-radius:6px;
    border:1px solid #e5e0d6;
}

.intro-oeuvre p{
    margin:0;
    padding-top:0;

    color:#5f6b75;
    font-size:16px;
    line-height:1.5;
}
/* Les mots 0 */
.presentation-mots{
    width:650px;
    margin:150px auto 0 auto;
    color:#36506C;
}

.presentation-mots p{
    margin:0;
    font-size:22px;
    font-weight:500;
    line-height:1.65;
}
/* Page d'accueil */

h1.titre-site{
    text-align:center;
    color:#303846;
    font-size:38px;
    font-weight:300;
    letter-spacing:2px;
    margin:55px 0 45px 0;	
    transform:translateX(40px);
}

.page-accueil{
    width:100%;
    min-height:100vh;
    padding:0 40px 36px;
}

.grille-accueil{
    display:grid;
    grid-template-columns:repeat(3, 145px);
    column-gap:72px;
    row-gap:42px;
    justify-content:center;
}

.miniature-accueil{
    display:block;
    width:145px;
    height:218px;

    border-radius:10px;
    overflow:hidden;

    text-decoration:none;
    box-sizing:border-box;
	transition:transform .20s ease, box-shadow .18s ease;

}

.miniature-accueil img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.miniature-accueil:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.texte-ressources a{
    color:inherit;
    text-decoration:none;
}

.texte-ressources a:hover{
    text-decoration:underline;
}
.grille-dnb{
    display:grid;
    grid-template-columns:repeat(2,145px);
    justify-content:center;
    column-gap:120px;
    margin-top:45px;
}
/* Couleurs des titres des disciplines */

.titre-francais{
    color:#0F4D8A;
}

.titre-maths{
    color:#C23a2b;
}

.titre-svt{
    color:#2E7D32;
}

.titre-histoire{
    color:#B8860B;
}

.titre-geographie{
    color:#C76B1C;
}

.titre-physique{
    color:#4A4A4A;
}

.titre-dnb{
    color:#0F7A7A;
}

.titre-outils{
    color:#6E3AA6;
}

.titre-contact{
    color:#0D6D7A;
}
.intro-enigmes p{
    line-height:2.3;
	position: relative;
	top: -10px;
}
/* Couleurs des titres des hover */

/* Français */
.francais .pdf:hover{
    color:#4F7FD1;
  
}

/* Maths */
.maths .pdf:hover{
    color:#C62828;
    
}

/* Histoire-Géo */
.histoire .pdf:hover{
    color:#2E7D32;
    
}

/* Sciences */
.sciences .pdf:hover{
    color:#00ACC1;

}

/* Géographie */
.geographie .pdf:hover{
    color:#D96B0B;
   
}
/* Outils */
.pdf-outils .pdf:hover{
    color:#6E3AA6;
	}