/* === Reset & base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fff;
  color: #222;
  line-height: 1.6;
 
}


/* === Container === */
.container{
  width: 100%;
  max-width: 1300px;
  margin: 0 auto ;
}


.container h2{
  font-size: 60px;
}

/* === Header === */
.site-header {
  background-color: #111;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0px -200px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand a {
  color: #ffa31a;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.brand a:hover {
  color: #fff;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffa31a;
}
.logo {
    display: flex;
    align-items: center;
    line-height: 1.2;
    order: 0;
}

.logo-main {
    font-size: 15px;
    font-weight: 100;
    margin-right: 8px;
    color: white; /* Rouge SPD */
    height: 57px;
    width: 67px;

}
/* === Dropdown menu === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 1.5rem;
  transition: color 0.3s;
}

.dropbtn:hover {
  color: #ffa31a;
}

/* Contenu du menu déroulant */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.dropdown-content a {
  color: #fff;
  padding: 0.8rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #ffa31a;
  color: #111;
}

/* Affiche le menu au survol */
.dropdown:hover .dropdown-content {
  display: block;
}


nav .btn {
  background-color: #ffa31a;
  color: #111;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav .btn:hover {
  background-color: #fff;
  color: #000;
}

/* === Main Content === */
main {
  padding: 3rem 0;
}

/* === Flash messages === */
.flash-messages {
  margin-bottom: 1.5rem;
}

.flash {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 500;
}

.flash.success {
  background-color: #28a745;
}

.flash.error {
  background-color: #dc3545;
}

/* === Footer === */
.site-footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 3px solid #ffa31a;
}

.site-footer p {
  font-size: 0.9rem;
}





/* === COURS FRANÇAIS === */
.course-intro {
  text-align: center;
  padding: 2rem 0;
}

.course-intro h1 {
  color: #c50a0a;
  font-size: 2.2rem;
}

.course-intro p {
  color: #444;
}

/* Levels Grid */
/* .levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.level-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.level-card:hover {
  transform: translateY(-6px);
}

.level-header {
  background-color: #ffa31a;
  color: #111;
  padding: 0.6rem 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.level-card h3 {
  color: #000;
  margin: 1rem;
}

.level-card p, .level-card strong {
  margin: 0 1rem 1rem 1rem;
  color: #333;
} */




/* === FOOTER === */
.site-footer {
  background-color: #000;
  color: #f8f8f8;
  padding: 3rem 2rem 1.5rem;
  font-family: 'Poppins', sans-serif;
}

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

.footer-about h3 {
  color: #ff7b00;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.footer-about p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: #ff7b00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: #f8f8f8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ff7b00;
}

.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: #ff7b00;
  margin-right: 0.5rem;
}

/* --- Icônes Réseaux --- */
.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fff;
  color: rgba(255, 123, 0, 0.6);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  
}

.social-icons a:hover {
  background-color: #16c9cf;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(255, 123, 0, 0.6);
}

/* --- Bas du Footer --- */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}


.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffa31a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    text-decoration: none;
}

.chat-button img {
    width: 30px;
    height: 30px;
    background: none;
}

.chat-button:hover {
    background-color: #ff7b00;
    transform: scale(1.1);
}


.chat-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}

.chat-floating-btn img {
    width: 32px;
    height: 32px;
    filter: invert(1); /* rend l'icône blanche si tu veux */
}

.chat-floating-btn:hover {
    transform: scale(1.1);
    background: #0056c7;
}
