/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: white;
    overflow-x: hidden;
}

/* ================= BUBBLES ================= */
.bubble {
    position: fixed;
    bottom: -30%;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    animation: rise 40s infinite ease-in;
}

.bubble:nth-child(1){left:10%; width:8rem; height:8rem; animation-delay:0s;}
.bubble:nth-child(2){left:50%; width:12rem; height:12rem; animation-delay:10s;}
.bubble:nth-child(3){left:80%; width:10rem; height:10rem; animation-delay:20s;}
.bubble:nth-child(4){left:30%; width:6rem; height:6rem; animation-delay:30s;}

@keyframes rise {
    from {transform: translateY(0) scale(1);}
    to {transform: translateY(-200vh) scale(0);}
}

/* ================= HEADER ================= */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: rgba(255,255,255,0.9);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo img {
    width: 3rem;
}

/* Navigation */
.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.nav input {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid #ccc;
}

/* ================= MOBILE MENU ================= */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
}

.hero-text h2 {
    font-size: 3rem;
}

.hero-text span {
    font-size: 1rem;
    opacity: 0.8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s;
    }

    #menu-toggle:checked + .menu-icon + .nav {
        max-height: 300px;
        padding: 1rem 0;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }
}
* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, sans-serif;
}

/* SLIDER CONTAINER */
.slider-container{
    width:100%;
    max-width:1100px;
    margin:3rem auto;
    padding:0 1rem;
}

.slider-wrapper{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(75, 96, 191, 0.554);
}

/* SLIDER */
.slider{
    display:flex;
    transition:transform 0.5s ease-in-out;
}

/* SLIDE */
.slide{
    min-width:100%;
    height:60vh;
    position:relative;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* CONTENU SUR IMAGE */
.slide-content{
    position:absolute;
    bottom:1.5rem;
    left:1.5rem;
    display:flex;
    align-items:flex-end;
    gap:1rem;
}

/* ICONES */
.icons{
    font-size:1.6rem;
    background:rgba(255,255,255,0.75);
    padding:0.6rem 0.8rem;
    border-radius:10px;
}

/* TEXTE */
.caption{
    background:rgba(255,255,255,0.85);
    padding:0.6rem 1rem;
    border-radius:10px;
    font-size:1.2rem;
    font-weight:bold;
}

/* FLÈCHES */
.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    color:#fff;
    border:none;
    font-size:2rem;
    padding:0.5rem 0.9rem;
    cursor:pointer;
    border-radius:50%;
    transition:0.3s;
    z-index:5;
}

.arrow:hover{
    background:rgba(0,0,0,0.8);
    transform:translateY(-50%) scale(1.1);
}

.arrow.left{ left:15px; }
.arrow.right{ right:15px; }

/* RESPONSIVE */
@media (max-width:768px){
    .slide{
        height:45vh;
    }

    .caption{
        font-size:1rem;
    }

    .icons{
        font-size:1.3rem;
    }
}





.mot {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 5%;
  flex-wrap: wrap;
}

.mot2,
.mot3 {
  max-width: 320px;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f2f2f2);
  box-shadow: 0 15px 35px rgba(75, 96, 191, 0.554);
  animation: fadeIn 1.5s ease-in-out;
}

.mot2 h2,
.mot3 h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.mot2 p,
.mot3 p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* =========================
   FOOTER GLOBAL
========================= */
.fing1 {
  background: #f9f9f9;
  padding: 3rem 5%;
  border-radius: 15px;
  box-shadow: 0 20px 60pxrgba(75, 96, 191, 0.554);
}

/* CONTENU FOOTER */
.fin1 {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

/* BLOCS FOOTER */
.ffin,
.Identités {
  flex: 1;
  min-width: 220px;
}

.ffin h3,
.Identités h3 {
  margin-bottom: 1rem;
}

/* LIENS */
.ffin a {
  display: block;
  text-decoration: none;
  color: #000;
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.ffin a:hover {
  text-decoration: underline;
}

/* CENTRE FOOTER */
.Identités {
  text-align: center;
}

.Identités img {
  width: 70px;
  margin-bottom: 1rem;
}

.Identités p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* BOUTON INSCRIPTION */
.bs1inscrir {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: none;
  background: #00c853;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bs1inscrir:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* FORM CONTACT */
.ffin input[type="tel"],
.ffin input[type="submit"] {
  width: 100%;
  max-width: 220px;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.ffin input[type="submit"] {
  margin-top: 0.8rem;
  cursor: pointer;
  background: #000;
  color: #fff;
  border: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .mot {
    flex-direction: column;
    align-items: center;
  }

  .fin1 {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.formatbalise{

justify-self: center;
text-shadow: 5px 5px 10px;
align-items: center;
text-align: center;
height: 700px; 
width: 800px; 
font-size: 15px;
background-color:  white;
border-radius: 20px; 
box-shadow: 10px 10px 8px rgba(75, 96, 191, 0.554);
}
.formatbalise:hover{
  transform: translateY(-4px);
  box-shadow: 10px 0px 10px rgba(75, 96, 191, 0.554);
  transition: all 2s ease;  
 
}
.bcomencer{
  
  align-items: center;
  color: rgba(75, 96, 191, 0.554);
  justify-content: center;
  border: white;
  background-color: white;
  box-shadow: 10px 10px 8px;
  font-size: 30px;
  height: 100px;
  width: 400px;
  border-radius: 15px;
}
.bcomencer:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 2s ease; 
}

/*button publier du contenu*/

.content {
    padding: 40px;
}

/* Bouton fixe bas droite */
.publish-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Icône */
.publish-btn .icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Hover */
.publish-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Rotation icône au hover */
.publish-btn:hover .icon {
    transform: rotate(90deg);
}

/* Effet clic */
.publish-btn:active {
    transform: scale(0.95);
}

/* Responsive mobile */
@media (max-width: 600px) {
    .publish-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
}