@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic,700");
@import url("fontawesome-all.min.css");

/* ================================
   🎨 PALETTE COULEURS UCJM
   ================================ */
:root {
    --primary-color: #264E86;     /* Bleu roi */
    --secondary-color: #8B1E1E;   /* Rouge profond */
    --accent-color: #E2C275;      /* Doré doux */
    --light-bg: #FAFAFA;          /* Fond clair */
    --alt-bg: #ECECEC;            /* Fond alternatif */
    --text-color: #1E1E1E;        /* Texte principal */
}


/* Position normale sur grand écran */
#register.wrapper {

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;  /* centre verticalement */
  padding: 20px;
  transition: all 0.3s ease;
}
 #presentation.wrapper {
    padding: 5px;
 }

/* Bloc carte */
#register .card {
  max-width: 200px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  
}



@media (max-width: 768px) {
  #presentation.wrapper {
    align-items: flex-start;  /* place le contenu en haut */
    padding-top: 200px;       /* descend visuellement le bloc sous le menu */
    min-height: auto;         /* empêche le centrage vertical forcé */
  }
}



@media (max-width: 780px) {

    #presentation .row {
        display: block; /* Image puis texte en dessous */
    }

    #presentation .col-6 {
        width: 100% !important;
        max-width: 100%;
    }

    /* Image grande, responsive */
    #presentation img {
        width: 100%;
        height: 50vh; /* Grande hauteur pour effet immersif */
        object-fit: cover;
    }

    /* Texte large sous l’image */
    #presentation .col-6.col-12-medium {
        padding: 2px 1px;
        text-align: left; /* pas centré */
    }

    /* Amélioration lisibilité mobile */
    #presentation p, 
    #presentation blockquote {
        font-size: 1.08rem;
        line-height: 1.55;
    }

    #presentation blockquote {
        border-left: 4px solid #436fad;
        padding-left: 1px;
        margin: 1px 0;
        font-weight: bold;
    }
}



/* ================================
   🧭 RESET & BASE TYPO
   ================================ */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.85em;
    background: var(--light-bg);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.75em;
}

/* ================================
   🧭 NAVIGATION MODERNISÉE
   ================================ */
#nav {
    background-color: var(--primary-color);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    height: 4.5em;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 6px rgba(219, 206, 20, 0.1);
}

#nav .nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
 .logo img {
    height: 100px;
    border-radius: 50%;
}



/* Menu */
#nav .menu {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}

#nav .menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#nav .menu li a:hover {
    color: var(--accent-color);
}

/* Icône login */
#nav .menu li a i {
    font-size: 20px;
    vertical-align: middle;
    color: #fff;
    transition: color 0.3s ease;
}

#nav .menu li a:hover i {
    color: var(--accent-color);
}

/* ================================
   WRAPPERS (sections)
   ================================ */
.wrapper.style1 {
    background-color: #1baedb;
    padding-top: 300px;
}


.wrapper.style3 {
    background-color:#e2e7ee;
    color: #080808;
}



/* ================================
    SECTION PRÉSENTATION
   ================================ */

#presentation header h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

#presentation p {
    font-size: 1.1em;
    line-height: 1.6;
}

#presentation .row {
    margin-top: 2em;
    align-items: center;
}

#presentation .image.fit img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ================================
   📱 RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    #nav .logo img {
        height: 55px;
    }

    #nav .menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    #nav {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    #nav .logo img {
        margin: 0 auto 1rem auto;
        height: 80px;
    }

    #nav .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    #nav .menu li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #nav .logo img {
        height: 45px;
    }

    #nav .menu li a {
        font-size: 0.85rem;
    }
}


#footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3em 2em 2em 2em;
    margin-top: 4em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2em;
}

/* Logo + texte */
.footer-logo {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1em;
}

.footer-logo p {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Liens */
.footer-links {
    flex: 1 1 200px;
    min-width: 180px;
}

.footer-links h3 {
    font-size: 1.2em;
    margin-bottom: 0.8em;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5em;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

/* Contact */
.footer-contact {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-contact h3 {
    font-size: 1.2em;
    margin-bottom: 0.8em;
    color: var(--accent-color);
}

.footer-contact p {
    font-size: 0.95em;
    margin: 0.4em 0;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 0.5em;
}

/* Bas de page */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2em;
    padding-top: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85em;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Icônes sociales */
.social-icons a {
    color: #fff;
    font-size: 1.1em;
    margin-left: 1em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* ================================
   📱 Responsive
   ================================ */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1em;
    }

    .social-icons a {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
}



